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

Fabian Deutsch fabiand at redhat.com
Thu Apr 18 15:20:04 UTC 2013


A missing build dependency (selinux-policy-doc).
fabian

Am Donnerstag, den 18.04.2013, 15:38 +0100 schrieb jenkins at ovirt.org:
> See <http://jenkins.ovirt.org/job/ovirt-node-devel/2455/changes>
> 
> Changes:
> 
> [Fabian Deutsch] selinux: Introduce ovirt-node-selinux sub-package
> 
> ------------------------------------------
> [...truncated 246 lines...]
> make[1]: Entering directory `/jenkins-workspaces/ovirt-node-devel/modules'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/modules'
> Making all in tools
> make[1]: Entering directory `/jenkins-workspaces/ovirt-node-devel/tools'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/tools'
> make[1]: Entering directory `/jenkins-workspaces/ovirt-node-devel'
> make[1]: Nothing to be done for `all-am'.
> make[1]: Leaving directory `/jenkins-workspaces/ovirt-node-devel'
> rm -f *.tar.gz
> +10:37:19: rm -f '*.tar.gz'
> make dist
> +10:37:19: make dist
> make  dist-gzip am__post_remove_distdir='@:'
> make[1]: Entering directory `/jenkins-workspaces/ovirt-node-devel'
> if test -d "ovirt-node-2.6.999"; then find "ovirt-node-2.6.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.6.999" || { sleep 5 && rm -rf "ovirt-node-2.6.999"; }; else :; fi
> test -d "ovirt-node-2.6.999" || mkdir "ovirt-node-2.6.999"
>  (cd dracut && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/dracut \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/dracut'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/dracut'
>  (cd images && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/images \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/images'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/images'
>  (cd recipe && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/recipe \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> /usr/bin/sed: can't read /usr/share/selinux/devel/policyhelp: No such file or directory
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/recipe'
> ( \
>       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/" ;\
>         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/stable/rpm/Fedora/18\n" ;\
>             OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/nightly/rpm/Fedora/18\n" ;\
>             OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/beta/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 ;\
>             printf "${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
>             if [ "${BUILD_TYPE}" == "NIGHTLY" ]; then \
>               printf "${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
>               printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
>             elif [ "${BUILD_TYPE}" == "BETA" ]; then \
>               printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
>             fi ;\
>       else \
>             echo "# OVIRT_REPO_URL=" > repos.ks ;\
>             for repo in ; do \
>                echo "repo --name=repo${i} --baseurl=${repo}" >> repos.ks ;\
>                i=${i}_ ;\
>             done ;\
>       fi ;\
> )
> ( \
>     echo "PRODUCT='"oVirt Node Hypervisor"'" ;\
>     echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\
>     echo "PACKAGE=ovirt-node-image" ;\
>     echo "VERSION=2.6.999" ;\
>     echo "RELEASE=999.1.fc18" ;\
> ) > version.ks
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/recipe'
>  (cd scripts && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/scripts \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/scripts'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/scripts'
>  (cd src && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/src \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/src'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/src'
>  (cd services && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/services \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/services'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/services'
>  (cd logrotate && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/logrotate \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/logrotate'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/logrotate'
>  (cd plugins && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/plugins \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/plugins'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/plugins'
>  (cd modules && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/modules \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/modules'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/modules'
>  (cd tools && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/tools \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/tools'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/tools'
> test -n "" \
> || find "ovirt-node-2.6.999" -type d ! -perm -755 \
> 	-exec chmod u+rwx,go+rx {} \; -o \
>   ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
>   ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
>   ! -type d ! -perm -444 -exec /bin/bash <http://jenkins.ovirt.org/job/ovirt-node-devel/ws/install-sh> -c -m a+r {} {} \; \
> || chmod -R a+r "ovirt-node-2.6.999"
> tardir=ovirt-node-2.6.999 && tar --format=posix -chf - "$tardir" | GZIP=--best gzip -c >ovirt-node-2.6.999.tar.gz
> make[1]: Leaving directory `/jenkins-workspaces/ovirt-node-devel'
> if test -d "ovirt-node-2.6.999"; then find "ovirt-node-2.6.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.6.999" || { sleep 5 && rm -rf "ovirt-node-2.6.999"; }; else :; fi
> 
> #clean up old artifacts
> rm -rf rpmbuild
> +10:37:26: rm -rf rpmbuild
> mkdir -p rpmbuild
> +10:37:26: mkdir -p rpmbuild
> 
> UNITDIR=$(HOME=${WORKSPACE} rpm --eval %{_unitdir})
> HOME=${WORKSPACE} rpm --eval %{_unitdir})
> HOME=${WORKSPACE} rpm --eval %{_unitdir}
> ++10:37:26: HOME=<http://jenkins.ovirt.org/job/ovirt-node-devel/ws/>
> ++10:37:26: rpm --eval '%{_unitdir}'
> +10:37:26: UNITDIR=/usr/lib/systemd/system
> if [ "$UNITDIR" = "%{_unitdir}" ]; then
>     echo %_unitdir /lib/systemd/system >> .rpmmacros
> fi
> +10:37:26: '[' /usr/lib/systemd/system = '%{_unitdir}' ']'
> 
> 
> HOME=${WORKSPACE} make _ovirt_dev=1 BUILD_TYPE=BETA publish
> +10:37:26: HOME=<http://jenkins.ovirt.org/job/ovirt-node-devel/ws/>
> +10:37:26: make _ovirt_dev=1 BUILD_TYPE=BETA publish
> make  dist-gzip am__post_remove_distdir='@:'
> make[1]: Entering directory `/jenkins-workspaces/ovirt-node-devel'
> if test -d "ovirt-node-2.6.999"; then find "ovirt-node-2.6.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.6.999" || { sleep 5 && rm -rf "ovirt-node-2.6.999"; }; else :; fi
> test -d "ovirt-node-2.6.999" || mkdir "ovirt-node-2.6.999"
>  (cd dracut && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/dracut \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/dracut'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/dracut'
>  (cd images && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/images \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/images'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/images'
>  (cd recipe && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/recipe \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> /usr/bin/sed: can't read /usr/share/selinux/devel/policyhelp: No such file or directory
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/recipe'
> ( \
>       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/" ;\
>         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/stable/rpm/Fedora/18\n" ;\
>             OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/nightly/rpm/Fedora/18\n" ;\
>             OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/beta/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 ;\
>             printf "${OVIRT_STABLE_REPO_LINE}" >> repos.ks ;\
>             if [ "${BUILD_TYPE}" == "NIGHTLY" ]; then \
>               printf "${OVIRT_NIGHTLY_REPO_LINE}" >> repos.ks ;\
>               printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
>             elif [ "${BUILD_TYPE}" == "BETA" ]; then \
>               printf "${OVIRT_BETA_REPO_LINE}" >> repos.ks ;\
>             fi ;\
>       else \
>             echo "# OVIRT_REPO_URL=" > repos.ks ;\
>             for repo in ; do \
>                echo "repo --name=repo${i} --baseurl=${repo}" >> repos.ks ;\
>                i=${i}_ ;\
>             done ;\
>       fi ;\
> )
> ( \
>     echo "PRODUCT='"oVirt Node Hypervisor"'" ;\
>     echo "PRODUCT_SHORT='"oVirt Node Hypervisor"'" ;\
>     echo "PACKAGE=ovirt-node-image" ;\
>     echo "VERSION=2.6.999" ;\
>     echo "RELEASE=999.1.git5425e2f.fc18" ;\
> ) > version.ks
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/recipe'
>  (cd scripts && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/scripts \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/scripts'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/scripts'
>  (cd src && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/src \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/src'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/src'
>  (cd services && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/services \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/services'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/services'
>  (cd logrotate && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/logrotate \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/logrotate'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/logrotate'
>  (cd plugins && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/plugins \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/plugins'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/plugins'
>  (cd modules && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/modules \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/modules'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/modules'
>  (cd tools && make  top_distdir=../ovirt-node-2.6.999 distdir=../ovirt-node-2.6.999/tools \
>      am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
> make[2]: Entering directory `/jenkins-workspaces/ovirt-node-devel/tools'
> make[2]: Leaving directory `/jenkins-workspaces/ovirt-node-devel/tools'
> test -n "" \
> || find "ovirt-node-2.6.999" -type d ! -perm -755 \
> 	-exec chmod u+rwx,go+rx {} \; -o \
>   ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
>   ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
>   ! -type d ! -perm -444 -exec /bin/bash <http://jenkins.ovirt.org/job/ovirt-node-devel/ws/install-sh> -c -m a+r {} {} \; \
> || chmod -R a+r "ovirt-node-2.6.999"
> tardir=ovirt-node-2.6.999 && tar --format=posix -chf - "$tardir" | GZIP=--best gzip -c >ovirt-node-2.6.999.tar.gz
> make[1]: Leaving directory `/jenkins-workspaces/ovirt-node-devel'
> if test -d "ovirt-node-2.6.999"; then find "ovirt-node-2.6.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.6.999" || { sleep 5 && rm -rf "ovirt-node-2.6.999"; }; else :; fi
> rpmbuild --define "ovirt_cache_dir <http://jenkins.ovirt.org/job/ovirt-node-devel/ws/ovirt-cache"> --define "extra_release .$(date --utc +%Y%m%d%H%M%S)git$(git log -1 --pretty=format:%h)" -ta ovirt-node-2.6.999.tar.gz
> /usr/bin/sed: can't read /usr/share/selinux/devel/policyhelp: No such file or directory
> error: Failed build dependencies:
> 	/usr/share/selinux/devel/policyhelp is needed by ovirt-node-2.6.999-999.20130418143731git5425e2f.fc18.noarch
> make: *** [rpms] Error 1
> Build step 'Execute shell' marked build as failure
> Archiving artifacts
> _______________________________________________
> node-patches mailing list
> node-patches at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/node-patches





More information about the node-patches mailing list