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

jenkins at ovirt.org jenkins at ovirt.org
Wed Mar 12 01:27:53 UTC 2014


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

------------------------------------------
Started by timer
Building remotely on centos6-vm01 in workspace <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/>
Fetching changes from the remote Git repository
Fetching upstream changes from http://gerrit.ovirt.org/p/ovirt-node-iso.git
Checking out Revision 5ac5557fc5521d644a84559741db5a6c0beee4ba (origin/master)
Deleting old artifacts from #1274
Deleting old artifacts from #1273
Deleting old artifacts from #1272
Deleting old artifacts from #1270
Deleting old artifacts from #1269
Deleting old artifacts from #1268
[ovirt-node-iso] $ /bin/sh -xe /tmp/hudson6484347490733202485.sh
+ rm -rf <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/ovirt-cache/ovirt/noarch> <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/ovirt-cache/ovirt/repodata> <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/rpmbuild> '*iso'
+ mkdir -p <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/ovirt-cache/ovirt/noarch>
+ rm -vf .rpmmacros
Copied 10 artifacts from "ovirt-node-stable" build number 640
[ovirt-node-iso] $ /bin/sh -xe /tmp/hudson6607538231744348670.sh
+ <http://jenkins.ovirt.org/job/ovirt-node-iso/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.1.0.tar.gz repos.ks Makefile.in aclocal.m4 autom4te.cache configure install-sh missing *.ks" || rm -f ovirt-node-iso-3.1.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 9 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... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
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/ws/ovirt-node-recipe/usr/share/ovirt-node-recipe/*.ks> .
rm -f version.ks
( \
      if [ -n "6" ]; 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//stable/rpm/EL/6\n" ;\
        OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases//nightly/rpm/EL/6\n" ;\
        OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases//beta/rpm/EL/6\n" ;\
        OVIRT_ALPHA_REPO_LINE="repo --name=ovirt-alpha-repo --baseurl=http://ovirt.org/releases//alpha/rpm/EL/6\n" ;\
        NODE_STABLE_REPO_LINE="repo --name=node-stable-repo --baseurl=http://ovirt.org/releases//node-base/stable/rpm/EL/6\n" ;\
        NODE_NIGHTLY_REPO_LINE="repo --name=node-nightly-repo --baseurl=http://ovirt.org/releases//node-base/nightly/rpm/EL/6\n" ;\
        NODE_BETA_REPO_LINE="repo --name=node-beta-repo --baseurl=http://ovirt.org/releases//node-base/beta/rpm/EL/6\n" ;\
        NODE_ALPHA_REPO_LINE="repo --name=node-alpha-repo --baseurl=http://ovirt.org/releases//node-base/alpha/rpm/EL/6\n" ;\
	GLUSTER_REPO_LINE="repo --name=gluster-3.4 --baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.0/CentOS/epel-6Server/x86_64/\n" ;\
        echo "${CENTOS_REPO_LINE}" > repos.ks ;\
        echo "${UPDATES_REPO_LINE}" >> repos.ks ;\
        echo "${EPEL_REPO_LINE}" >> repos.ks ;\
      elif [ -n "" ]; then \
            OVIRT_STABLE_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=http://ovirt.org/releases//stable/rpm/Fedora/\n" ;\
            OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases//nightly/rpm/Fedora/\n" ;\
            OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases//beta/rpm/Fedora/\n" ;\
            OVIRT_ALPHA_REPO_LINE="repo --name=ovirt-alpha-repo --baseurl=http://ovirt.org/releases//alpha/rpm/Fedora/\n" ;\
            NODE_STABLE_REPO_LINE="repo --name=node-stable-repo --baseurl=http://ovirt.org/releases//node-base/stable/rpm/Fedora/\n" ;\
            NODE_NIGHTLY_REPO_LINE="repo --name=node-nightly-repo --baseurl=http://ovirt.org/releases//node-base/nightly/rpm/Fedora/\n" ;\
            NODE_BETA_REPO_LINE="repo --name=node-beta-repo --baseurl=http://ovirt.org/releases//node-base/beta/rpm/Fedora/\n" ;\
            NODE_ALPHA_REPO_LINE="repo --name=node-alpha-repo --baseurl=http://ovirt.org/releases//node-base/alpha/rpm/Fedora/\n" ;\
            if [ 0 == 020 ]; then \
                FEDORA_REPO=rawhide ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64" ;\
            elif [ 0 == 020 ]; then \
                FEDORA_REPO=f ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f&arch=x86_64\n" ;\
                VIRT_PREVIEW_LINE="repo --name=${FEDORA_REPO}-virt-preview --baseurl=http://fedorapeople.org/groups/virt/virt-preview/fedora-/x86_64\n" ;\
            else \
                FEDORA_REPO=f ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f&arch=x86_64\n" ;\
                VIRT_PREVIEW_LINE="repo --name=${FEDORA_REPO}-virt-preview --baseurl=http://fedorapeople.org/groups/virt/virt-preview/fedora-/x86_64\n" ;\
            fi ;\
            echo "repo --name=${FEDORA_REPO} ${FEDORA_REPO_LOC}" > repos.ks ;\
            printf "${UPDATE_REPO_LINE}" >> repos.ks ;\
            printf "${VIRT_PREVIEW_LINE}" >> repos.ks ;\
      else \
            echo "# NODE_REPO_URL=" > repos.ks ;\
            for repo in ; do \
               echo "repo --name=repo${i} --baseurl=${repo}" >> repos.ks ;\
               i=${i}_ ;\
            done ;\
      fi ;\
      printf "${NODE_STABLE_REPO_LINE}" >> repos.ks ;\
      printf "${GLUSTER_REPO_LINE}" >> repos.ks ;\
	  if [ "${MANAGEMENT}" == "OVIRT" ]; then \
        printf "${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
      fi ;\
      if [ "${BUILD_TYPE}" == "NIGHTLY" ]; then \
		if [ "${MANAGEMENT}" == "OVIRT" ]; then \
            printf "${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
            printf "${OVIRT_ALPHA_REPO_LINE}" >> repos.ks ;\
            printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
        fi ;\
        printf "${NODE_NIGHTLY_REPO_LINE}" >> repos.ks ;\
        printf "${NODE_ALPHA_REPO_LINE}" >> repos.ks ;\
        printf "${NODE_BETA_REPO_LINE}" >> repos.ks ;\
      elif [ "${BUILD_TYPE}" == "ALPHA" ]; then \
		if [ "${MANAGEMENT}" == "OVIRT" ]; then \
            printf "${OVIRT_ALPHA_REPO_LINE}" >> repos.ks ;\
            printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
        fi ;\
        printf "${NODE_BETA_REPO_LINE}" >> repos.ks ;\
        printf "${NODE_ALPHA_REPO_LINE}" >> repos.ks ;\
      elif [ "${BUILD_TYPE}" == "BETA" ]; then \
		if [ "${MANAGEMENT}" == "OVIRT" ]; then \
            printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
        fi ;\
        printf "${NODE_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.1.0" ;\
	    echo "RELEASE=0.999.999.20140304121306gite380570.1276.el6" ;\
	) > version.ks
ksflatten -c ovirt-node-image.ks -o ovirt-node-iso.ks
./node-creator ovirt-node-iso.ks
You must run livecd-creator as root
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