[node-patches] Build failed in Jenkins: ovirt-node-iso #223
Jenkins oVirt Server
jenkins at ovirt.org
Thu Jul 12 10:16:37 UTC 2012
See <http://jenkins.ovirt.org/job/ovirt-node-iso/223/>
------------------------------------------
Started by upstream project "ovirt-node-stable" build number 224
Building remotely on jenkins.ekohl.nl
Checkout:ovirt-node-iso / <http://jenkins.ovirt.org/job/ovirt-node-iso/ws/> - hudson.remoting.Channel at 44a2ff5f:jenkins.ekohl.nl
Using strategy: Default
Last Built Revision: Revision d3fbc0802fd717611ba6e52748123f15c6029ad6 (origin/master)
Fetching changes from 1 remote Git repository
Fetching upstream changes from http://gerrit.ovirt.org/p/ovirt-node-iso.git
Commencing build of Revision d3fbc0802fd717611ba6e52748123f15c6029ad6 (origin/master)
Checking out Revision d3fbc0802fd717611ba6e52748123f15c6029ad6 (origin/master)
[ovirt-node-iso] $ /bin/sh -xe /tmp/hudson5867591149742713334.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>
+ cat
Copied 4 artifacts from "ovirt-node-stable" build number 224
[ovirt-node-iso] $ /bin/sh -xe /tmp/hudson153731197553794965.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-2.4.0.tar.gz" || rm -f ovirt-node-iso-2.4.0.tar.gz
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 3 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]+\.(.*)\.fc[0-9]+$/\1./')
echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.fc[0-9]+$/\1./')
echo $ONT_RELEASE | sed -r 's/^[0-9]+\.(.*)\.fc[0-9]+$/\1./'
if [ "$ONT_BUILD_NUMBER" = "$ONT_RELEASE" ]; then
ONT_BUILD_NUMBER=""
fi
cd ${WORKSPACE}
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}
checking for a BSD-compatible install... /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 iso
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
( \
echo "PRODUCT='"oVirt Node Hypervisor"'" ;\
echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\
echo "PACKAGE=ovirt-node-iso" ;\
echo "VERSION=2.4.0" ;\
echo "RELEASE=999.20120712101553giteeeb0e0.223.fc17" ;\
) > version.ks
ksflatten -c ovirt-node-image.ks -o ovirt-node-iso.ks
./node-creator ovirt-node-iso.ks
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 215, in <module>
sys.exit(main())
File "/usr/bin/livecd-creator", line 178, in main
title=title, product=product)
File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 53, in __init__
useplugins=useplugins)
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 792, in __init__
ImageCreator.__init__(self, ks, name, releasever=releasever, tmpdir=tmpdir, useplugins=useplugins)
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 85, in __init__
self.__sanity_check()
File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 413, in __sanity_check
raise CreatorError("No packages or groups specified")
imgcreate.errors.CreatorError: No packages or groups specified
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