[node-patches] Build failed in Jenkins: ovirt-node-iso-devel #2538

jenkins at ovirt.org jenkins at ovirt.org
Sun Jun 16 10:13:38 UTC 2013


See <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/2538/>

------------------------------------------
Started by upstream project "vdsm_create_rpms" build number 445
originally caused by:
 Started by an SCM change
Building remotely on fedora18-vm01 in workspace <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/>
Checkout:ovirt-node-iso-devel / <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/> - hudson.remoting.Channel at 621a25b2:fedora18-vm01
Using strategy: Default
Last Built Revision: Revision 1ebdbed373a0b9050078ce86f7f5d7a1de88230f (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from origin
Commencing build of Revision 1ebdbed373a0b9050078ce86f7f5d7a1de88230f (origin/master)
Checking out Revision 1ebdbed373a0b9050078ce86f7f5d7a1de88230f (origin/master)
[ovirt-node-iso-devel] $ /bin/sh -xe /tmp/hudson6388252804151577681.sh
+ export 'UPDATE_PACKAGES=selinux-policy selinux-policy-targeted policycoreutils setools-libs setools-console livecd-tools'
+ UPDATE_PACKAGES='selinux-policy selinux-policy-targeted policycoreutils setools-libs setools-console livecd-tools'
+ echo 'Checking for orphan loop devices'
Checking for orphan loop devices
++ /usr/sbin/losetup -a
++ wc -l
++ grep '(deleted)'
+ [[ 0 -gt 10 ]]
[ovirt-node-iso-devel] $ /bin/sh -xe /tmp/hudson2774359769524758341.sh
+ rm -rf <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/binary> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/label=fedora17> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/label=fedora18> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/label=rhel_64> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/noarch> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/repodata> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/src> <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/rpmbuild> ovirt-node-iso-3.0.0-0.999.999.20130614194653git99781e8.2537.fc18.iso
+ sudo rm -rf <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/yum-x86_64>
+ mkdir -p <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/ovirt/noarch>
+ cat
Copied 8 artifacts from "ovirt-node-devel" build number 3235
Copied 1 artifact from "vdsm_create_rpms » fedora17" build number 445
Copied 1 artifact from "vdsm_create_rpms » fedora18" build number 445
Copied 1 artifact from "vdsm_create_rpms » rhel_64" build number 445
[ovirt-node-iso-devel] $ /bin/sh -xe /tmp/hudson3582301158544556434.sh
+ export BUILD_TYPE=NIGHTLY
+ BUILD_TYPE=NIGHTLY
+ export HOME=<http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/>
+ HOME=<http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/>
+ <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/jenkins.sh>

#Cleanup
test -f Makefile && make -k distclean
test -z "ovirt-node-iso.spec" || rm -f ovirt-node-iso.spec
test . = "." || test -z "" || rm -f 
test -z "ovirt-node-iso-3.0.0.tar.gz repos.ks Makefile.in aclocal.m4 autom4te.cache configure install-sh missing *.ks" || rm -f ovirt-node-iso-3.0.0.tar.gz repos.ks Makefile.in aclocal.m4 autom4te.cache configure install-sh missing *.ks
rm: cannot remove ‘autom4te.cache’: Is a directory
make: [distclean-generic] Error 1 (ignored)
rm -f config.status config.cache config.log configure.lineno config.status.lineno
rm -f Makefile
rm -rf ${WORKSPACE}/ovirt-node-tools ${WORKSPACE}/*iso ${WORKSPACE}/rpmbuild ${WORKSPACE}/manifest* ${WORKSPACE}/old_artifacts ${WORKSPACE}/ovirt-node-recipe

OVIRT_CACHE_DIR=${WORKSPACE}/ovirt-cache
OVIRT_LOCAL_REPO=file://${OVIRT_CACHE_DIR}/ovirt
export OVIRT_CACHE_DIR OVIRT_LOCAL_REPO
if ls ${OVIRT_CACHE_DIR}/ovirt/noarch/ovirt-node-recipe*rpm >/dev/null 2>&1; then
    RECIPE_RPM_NAME=ovirt-node-recipe
elif ls ${OVIRT_CACHE_DIR}/ovirt/noarch/ovirt-node-tools*rpm >/dev/null 2>&1; then
    RECIPE_RPM_NAME=ovirt-node-tools
else
    echo "ERROR: no recipe rpm found"
    exit 4
fi

OVIRT_NODE_RECIPE_RPM=$(ls -t ${OVIRT_CACHE_DIR}/ovirt/noarch/${RECIPE_RPM_NAME}* | head -n1)
ls -t ${OVIRT_CACHE_DIR}/ovirt/noarch/${RECIPE_RPM_NAME}* | head -n1)
ls -t ${OVIRT_CACHE_DIR}/ovirt/noarch/${RECIPE_RPM_NAME}* | head -n1
export HOME=${WORKSPACE}

createrepo ${OVIRT_CACHE_DIR}/ovirt
Spawning worker 0 with 7 pkgs
Workers Finished
Gathering worker results

Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete

# ovirt-node recipe rpm should be copied to ${OVIRT_CACHE_DIR}/ovirt/noarch
mkdir ${WORKSPACE}/${RECIPE_RPM_NAME}
cd ${WORKSPACE}/${RECIPE_RPM_NAME}
rpm2cpio ${OVIRT_NODE_RECIPE_RPM} | pax -r
OVIRT_NODE_RECIPE_RPM=$(basename ${OVIRT_NODE_RECIPE_RPM})
basename ${OVIRT_NODE_RECIPE_RPM})
basename ${OVIRT_NODE_RECIPE_RPM}
ONT_NAME=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\1/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\1/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\1/'
ONT_VERSION=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\2/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\2/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\2/'
ONT_RELEASE=$(echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\3/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\3/')
echo $OVIRT_NODE_RECIPE_RPM | sed -r 's/^([a-zA-Z0-9\-]+)-([a-zA-Z0-9\.]+)-([a-zA-Z0-9\.]+).noarch.rpm$/\3/'
ONT_BUILD_NUMBER=$(echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.[ef][lc][0-9]+$/\1./')
echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.[ef][lc][0-9]+$/\1./')
echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.[ef][lc][0-9]+$/\1./'
if [ "$ONT_BUILD_NUMBER" = "$ONT_RELEASE" ]; then
    ONT_BUILD_NUMBER=""
fi
cd ${WORKSPACE}

if [ -z "${BUILD_TYPE}" ]; then
    BUILD_TYPE="STABLE"
fi

RECIPE_DIR=${WORKSPACE}/${RECIPE_RPM_NAME}/usr/share/${RECIPE_RPM_NAME}
cp ${WORKSPACE}/${RECIPE_RPM_NAME}/usr/sbin/node-creator ${WORKSPACE}

./autogen.sh --with-recipe=${RECIPE_DIR} --with-build-number=${ONT_BUILD_NUMBER}${BUILD_NUMBER}
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ovirt-node-iso.spec

make BUILD_TYPE=$BUILD_TYPE iso publish
rm -f *.ks
cp <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-node-recipe/usr/share/ovirt-node-recipe/*.ks> .
rm -f version.ks
( \
      if [ -n "" ]; then \
        CENTOS_REPO_LINE="repo --name=centos --mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os" ;\
        UPDATES_REPO_LINE="repo --name=centos-updates --mirrorlist=http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=updates" ;\
        EPEL_REPO_LINE="repo --name=epel --baseurl=http://dl.fedoraproject.org/pub/epel/6/x86_64/" ;\
        OVIRT_STABLE_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=http://ovirt.org/releases/node-base/stable/rpm/EL/6\n" ;\
        OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/node-base/nightly/rpm/EL/6\n" ;\
        OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/node-base/beta/rpm/EL/6\n" ;\
        OVIRT_ALPHA_REPO_LINE="repo --name=ovirt-alpha-repo --baseurl=http://ovirt.org/releases/node-base/alpha/rpm/EL/6\n" ;\
        echo "${CENTOS_REPO_LINE}" > repos.ks ;\
        echo "${UPDATES_REPO_LINE}" >> repos.ks ;\
        echo "${EPEL_REPO_LINE}" >> repos.ks ;\
      elif [ -n "18" ]; then \
            OVIRT_STABLE_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=http://ovirt.org/releases/node-base/stable/rpm/Fedora/18\n" ;\
            OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/node-base/nightly/rpm/Fedora/18\n" ;\
            OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/node-base/beta/rpm/Fedora/18\n" ;\
            OVIRT_ALPHA_REPO_LINE="repo --name=ovirt-alpha-repo --baseurl=http://ovirt.org/releases/node-base/alpha/rpm/Fedora/18\n" ;\
            if [ 018 == 020 ]; then \
                FEDORA_REPO=rawhide ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64" ;\
            elif [ 018 == 019 ]; then \
                FEDORA_REPO=f18 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-18&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f18&arch=x86_64\n" ;\
            else \
                FEDORA_REPO=f18 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-18&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f18&arch=x86_64\n" ;\
            fi ;\
            echo "repo --name=${FEDORA_REPO} ${FEDORA_REPO_LOC}" > repos.ks ;\
            printf "${UPDATE_REPO_LINE}" >> repos.ks ;\
      else \
            echo "# OVIRT_REPO_URL=" > repos.ks ;\
            for repo in ; do \
               echo "repo --name=repo${i} --baseurl=${repo}" >> repos.ks ;\
               i=${i}_ ;\
            done ;\
      fi ;\
      printf "${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
      if [ "${BUILD_TYPE}" == "NIGHTLY" ]; then \
        printf "${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
        printf "${OVIRT_ALPHA_REPO_LINE}" >> repos.ks ;\
        printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
      elif [ "${BUILD_TYPE}" == "ALPHA" ]; then \
        printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
        printf "${OVIRT_ALPHA_REPO_LINE}" >> repos.ks ;\
      elif [ "${BUILD_TYPE}" == "BETA" ]; then \
        printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
      fi ;\
)
( \
    echo "PRODUCT='"oVirt Node Hypervisor"'" ;\
    echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\
    echo "PACKAGE=ovirt-node-iso" ;\
    echo "VERSION=3.0.0" ;\
    echo "RELEASE=0.999.999.20130614194653git99781e8.2538.fc18" ;\
) > version.ks
ksflatten -c ovirt-node-image.ks -o ovirt-node-iso.ks
./node-creator ovirt-node-iso.ks
lazy umount succeeded on <http://jenkins.ovirt.org/job/ovirt-node-iso-devel/ws/ovirt-cache/node-creator-x86_64-tmp/imgcreate-M6Z1kj/install_root//var/cache/yum>
Traceback (most recent call last):
  File "/bin/livecd-creator", line 237, in <module>
    sys.exit(main())
  File "/bin/livecd-creator", line 218, in main
    creator.install()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 641, in install
    ayum.setup(yum_conf, self._instroot)
  File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 104, in setup
    self.doTsSetup()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 129, in doTsSetup
    return self._getTs()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 137, in _getTs
    if not remove_only and self._tsInfo.pkgSack is None:
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 131, in <lambda>
    pkgSack = property(fget=lambda self: self._getPkgSack(),
  File "/usr/lib/python2.7/site-packages/yum/transactioninfo.py", line 128, in _getPkgSack
    self._pkgSack = self._pkgSackCtor()
  File "/usr/lib/python2.7/site-packages/yum/depsolve.py", line 76, in __call__
    return self.ayum.pkgSack
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1014, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 780, in _getSacks
    self.repos.populateSack(which=repos)
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 352, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 223, in populate
    if self._check_db_version(repo, mydbtype):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 313, in _check_db_version
    return repo._check_db_version(mdtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1437, in _check_db_version
    repoXML = self.repoXML
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1623, in <lambda>
    repoXML = property(fget=lambda self: self._getRepoXML(),
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1619, in _getRepoXML
    self._loadRepoXML(text=self.ui_id)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1610, in _loadRepoXML
    return self._groupLoadRepoXML(text, self._mdpolicy2mdtypes())
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1584, in _groupLoadRepoXML
    if self._commonLoadRepoXML(text):
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1412, in _commonLoadRepoXML
    self._revertOldRepoXML()
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1248, in _revertOldRepoXML
    raise Errors.RepoError, "Can't download or revert repomd.xml for %s" % self.ui_id
yum.Errors.RepoError: Can't download or revert repomd.xml for ovirt-alpha-repo
ERROR: ISO build failed.
make: *** [iso] Error 1
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the node-patches mailing list