[node-patches] Build failed in Jenkins: ovirt-node-stable #266

Jenkins oVirt Server jenkins at ovirt.org
Thu Sep 6 19:16:02 UTC 2012


See <http://jenkins.ovirt.org/job/ovirt-node-stable/266/changes>

Changes:

[Mike Burns] remove deprecated ovirt-config-boot

[Mike Burns] fix systemd checks

[gerrit2] fix dracut config

------------------------------------------
[...truncated 312 lines...]
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/recipe'>
Making all in scripts
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
Making all in services
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
Making all in logrotate
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
Making all in modules
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
Making all in tools
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/'>
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/'>
rm -f *.tar.gz
+ rm -f '*.tar.gz'
make dist
+ make dist
if test -d "ovirt-node-2.5.999"; then find "ovirt-node-2.5.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.5.999" || { sleep 5 && rm -rf "ovirt-node-2.5.999"; }; else :; fi
test -d "ovirt-node-2.5.999" || mkdir "ovirt-node-2.5.999"
 (cd dracut && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/dracut \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/dracut'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/dracut'>
 (cd images && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/images \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/images'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/images'>
 (cd kinit && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/kinit \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/kinit'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/kinit'>
 (cd recipe && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/recipe \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
error: Unclosed %if
error: query of specfile ../ovirt-node.spec failed, can't parse
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/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 "17" ]; then \
            OVIRT_STABLE_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=http://ovirt.org/releases/stable/rpm/Fedora/17\n" ;\
            OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/nightly/rpm/Fedora/17\n" ;\
            OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/beta/rpm/Fedora/17\n" ;\
            if [ 017 == 019 ]; then \
                FEDORA_REPO=rawhide ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64" ;\
            elif [ 017 == 018 ]; then \
                FEDORA_REPO=f17 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f17&arch=x86_64\n" ;\
            else \
                FEDORA_REPO=f17 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17&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.5.999" ;\
    echo "RELEASE=" ;\
) > version.ks
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/recipe'>
 (cd scripts && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/scripts \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
 (cd services && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/services \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
 (cd logrotate && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/logrotate \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
 (cd modules && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/modules \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
 (cd tools && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/tools \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
test -n "" \
|| find "ovirt-node-2.5.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-stable/ws/install-sh> -c -m a+r {} {} \; \
|| chmod -R a+r "ovirt-node-2.5.999"
tardir=ovirt-node-2.5.999 && tar --format=posix -chf - "$tardir" | GZIP=--best gzip -c >ovirt-node-2.5.999.tar.gz
if test -d "ovirt-node-2.5.999"; then find "ovirt-node-2.5.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.5.999" || { sleep 5 && rm -rf "ovirt-node-2.5.999"; }; else :; fi

#clean up old artifacts
rm -rf rpmbuild
+ rm -rf rpmbuild
mkdir -p rpmbuild
+ mkdir -p rpmbuild

UNITDIR=$(HOME=${WORKSPACE} rpm --eval %{_unitdir})
HOME=${WORKSPACE} rpm --eval %{_unitdir})
HOME=${WORKSPACE} rpm --eval %{_unitdir}
++ HOME=<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/>
++ rpm --eval '%{_unitdir}'
+ UNITDIR=/usr/lib/systemd/system
if [ "$UNITDIR" = "%{_unitdir}" ]; then
    echo %_unitdir /lib/systemd/system >> .rpmmacros
fi
+ '[' /usr/lib/systemd/system = '%{_unitdir}' ']'


HOME=${WORKSPACE} make _ovirt_dev=1 BUILD_TYPE=BETA publish
+ HOME=<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/>
+ make _ovirt_dev=1 BUILD_TYPE=BETA publish
if test -d "ovirt-node-2.5.999"; then find "ovirt-node-2.5.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.5.999" || { sleep 5 && rm -rf "ovirt-node-2.5.999"; }; else :; fi
test -d "ovirt-node-2.5.999" || mkdir "ovirt-node-2.5.999"
 (cd dracut && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/dracut \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/dracut'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/dracut'>
 (cd images && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/images \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/images'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/images'>
 (cd kinit && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/kinit \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/kinit'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/kinit'>
 (cd recipe && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/recipe \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
error: Unclosed %if
error: query of specfile ../ovirt-node.spec failed, can't parse
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/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 "17" ]; then \
            OVIRT_STABLE_REPO_LINE="repo --name=ovirt-stable-repo --baseurl=http://ovirt.org/releases/stable/rpm/Fedora/17\n" ;\
            OVIRT_NIGHTLY_REPO_LINE="repo --name=ovirt-nightly-repo --baseurl=http://ovirt.org/releases/nightly/rpm/Fedora/17\n" ;\
            OVIRT_BETA_REPO_LINE="repo --name=ovirt-beta-repo --baseurl=http://ovirt.org/releases/beta/rpm/Fedora/17\n" ;\
            if [ 017 == 019 ]; then \
                FEDORA_REPO=rawhide ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=x86_64" ;\
            elif [ 017 == 018 ]; then \
                FEDORA_REPO=f17 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates-testing --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f17&arch=x86_64\n" ;\
            else \
                FEDORA_REPO=f17 ;\
                FEDORA_REPO_LOC="--mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=x86_64" ;\
                UPDATE_REPO_LINE="repo --name=${FEDORA_REPO}-updates --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17&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.5.999" ;\
    echo "RELEASE=" ;\
) > version.ks
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/recipe'>
 (cd scripts && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/scripts \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/scripts'>
 (cd services && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/services \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/services'>
 (cd logrotate && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/logrotate \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/logrotate'>
 (cd modules && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/modules \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/modules'>
 (cd tools && make  top_distdir=../ovirt-node-2.5.999 distdir=../ovirt-node-2.5.999/tools \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[1]: Entering directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
make[1]: Leaving directory `<http://jenkins.ovirt.org/job/ovirt-node-stable/ws/tools'>
test -n "" \
|| find "ovirt-node-2.5.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-stable/ws/install-sh> -c -m a+r {} {} \; \
|| chmod -R a+r "ovirt-node-2.5.999"
tardir=ovirt-node-2.5.999 && tar --format=posix -chf - "$tardir" | GZIP=--best gzip -c >ovirt-node-2.5.999.tar.gz
if test -d "ovirt-node-2.5.999"; then find "ovirt-node-2.5.999" -type d ! -perm -200 -exec chmod u+w {} ';' && rm -rf "ovirt-node-2.5.999" || { sleep 5 && rm -rf "ovirt-node-2.5.999"; }; else :; fi
rpmbuild --define "ovirt_cache_dir <http://jenkins.ovirt.org/job/ovirt-node-stable/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.5.999.tar.gz
error: Unclosed %if
make: *** [rpms] Error 1
Build step 'Execute shell' marked build as failure
Archiving artifacts



More information about the node-patches mailing list