[X2Go-Commits] Build failed in Jenkins: pyhoca-cli+nightly+epel-7 #48

jenkins at x2go.org jenkins at x2go.org
Sat Nov 10 13:22:26 CET 2018


See <http://jenkins.x2go.org:8080/job/pyhoca-cli+nightly+epel-7/48/display/redirect?page=changes>

Changes:

[ionic] pyhoca-cli.spec: either EL6 or EL7, not both at the same time.

[ionic] pyhoca-cli.spec: use modern python build and install macros.

------------------------------------------
[...truncated 125.74 KB...]
+ [[ name=local =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo name=local
+ read line
+ [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/ =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/
+ read line
+ [[ cost=2000 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ cost=2000 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo cost=2000
+ read line
+ [[ enabled=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ enabled=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo enabled=0
+ read line
+ [[ '' =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo ''
+ read line
+ [[ [epel-debuginfo] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ [epel-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo '[epel-debuginfo]'
+ read line
+ [[ name=epel-debug =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ name=epel-debug =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo name=epel-debug
+ read line
+ [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64'
+ read line
+ [[ failovermethod=priority =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ failovermethod=priority =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo failovermethod=priority
+ read line
+ [[ enabled=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ enabled=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo enabled=0
+ read line
+ [[ """ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ """ =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ printf '\n'
+ typeset -i i=0
+ (( i = 0 ))
+ (( i < 8 ))
+ echo '[x2go-extras-epel]'
+ (( ++i ))
+ (( i < 8 ))
+ echo 'name=Upstream X2Go EPEL Packages (Extra Packages)'
+ (( ++i ))
+ (( i < 8 ))
+ echo baseurl=http://packages.x2go.org/epel/7/extras/x86_64
+ (( ++i ))
+ (( i < 8 ))
+ echo gpgcheck=0
+ (( ++i ))
+ (( i < 8 ))
+ echo gpgkey=http://packages.x2go.org/pub.key
+ (( ++i ))
+ (( i < 8 ))
+ echo enabled=1
+ (( ++i ))
+ (( i < 8 ))
+ echo protect=0
+ (( ++i ))
+ (( i < 8 ))
+ echo ''
+ (( ++i ))
+ (( i < 8 ))
+ '[' full = full ']'
+ printf '\n'
+ typeset -i i=0
+ (( i = 0 ))
+ (( i < 8 ))
+ echo '[x2go-nightly-epel]'
+ (( ++i ))
+ (( i < 8 ))
+ echo 'name=Upstream X2Go EPEL Packages (Nightly Builds)'
+ (( ++i ))
+ (( i < 8 ))
+ echo baseurl=http://packages.x2go.org/epel/7/heuler/x86_64
+ (( ++i ))
+ (( i < 8 ))
+ echo gpgcheck=0
+ (( ++i ))
+ (( i < 8 ))
+ echo gpgkey=http://packages.x2go.org/pub.key
+ (( ++i ))
+ (( i < 8 ))
+ echo enabled=1
+ (( ++i ))
+ (( i < 8 ))
+ echo protect=0
+ (( ++i ))
+ (( i < 8 ))
+ echo ''
+ (( ++i ))
+ (( i < 8 ))
+ echo '"""'
+ read line
+ IFS=' 	
'
+ cache_mock_config
+ typeset tmp_mock_config=/var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ ! /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg =~ ^.*\.cfg$ ]]
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg ']'
+ '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg ']'
++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg
+ typeset mock_cache_file_name=epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6
+ typeset tmp=epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6
+ mock_cache_file_name=epel-7-x86_64-x2go-nightly-full
+ '[' epel-7-x86_64-x2go-nightly-full = epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6 ']'
+ mock_cache_file_name=epel-7-x86_64-x2go-nightly-full.cfg
+ typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg
+ '[' -f /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg ']'
+ '[' -r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg ']'
+ cmp -s /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg
+ echo 'Cached mock config file matches generated one, using the cached file.'
Cached mock config file matches generated one, using the cached file.
+ TMP_MOCK_CFG_FILE=/var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg
+ return 0
+ return 0
+ MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full'
+ '[' 0 -eq 0 ']'
+ MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg'
+ return 0
+ find /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/SRPM/ -type f -iname 'pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.*.src.rpm' -print0
+ read -r -d '' srpm
+ mock -r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
INFO: mock.py version 1.3.2-2 starting (python version = 3.5.3)...
Start: init plugins
INFO: selinux disabled
Finish: init plugins
Start: run
INFO: Start(/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm)  Config(epel-7-x86_64)
Start: clean chroot
Finish: clean chroot
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled yum cache
Start: cleaning yum metadata
Finish: cleaning yum metadata
Mock Version: 1.3.2-2
INFO: Mock Version: 1.3.2-2
Start: yum update
Finish: yum update
Finish: chroot init
Start: build phase for pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
Start: build setup for pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
Finish: build setup for pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
Start: rpmbuild pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm) Config(epel-7-x86_64) 4 minutes 32 seconds
INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/x86_64
INFO: Cleaning up build root ('cleanup_on_failure=True')
Start: clean chroot
Finish: clean chroot
ERROR: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec
+ cat /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/7/x86_64/build.log
Mock Version: 1.3.2-2
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'], gid=402printOutput=Falsetimeout=0user='mockbuild'uid=106logger=<mockbuild.trace_decorator.getLog object at 0x7f52ea707898>shell=FalsechrootPath='/var/lib/mock/epel-7-x86_64/root'env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir'})
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.285.heuler.el7.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'], gid=402printOutput=Falsetimeout=0user='mockbuild'uid=106logger=<mockbuild.trace_decorator.getLog object at 0x7f52ea707898>env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir'}shell=Falseprivate_network=TruechrootPath='/var/lib/mock/epel-7-x86_64/root')
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'TERM': 'vt100', 'HOME': '/builddir'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.l8JxFQ
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf pyhoca-cli-0.6.0.1
+ /usr/bin/gzip -dc /builddir/build/SOURCES/pyhoca-cli-0.6.0.1.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pyhoca-cli-0.6.0.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mM94YA
+ umask 022
+ cd /builddir/build/BUILD
+ cd pyhoca-cli-0.6.0.1
+ CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic'
+ /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s'
Traceback (most recent call last):
  File "setup.py", line 26, in <module>
    for line in open(os.path.join('pyhoca', 'cli', '__init__.py'),encoding='utf-8').readlines():
TypeError: 'encoding' is an invalid keyword argument for this function
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.mM94YA (%build)
    Bad exit status from /var/tmp/rpm-tmp.mM94YA (%build)
Child return code was: 1
EXCEPTION: [Error()]
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/mockbuild/trace_decorator.py", line 89, in trace
    result = func(*args, **kw)
  File "/usr/lib/python3/dist-packages/mockbuild/util.py", line 569, in do
    raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
mockbuild.exception.Error: Command failed. See logs for output.
 # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.iZZMxT6930NtfjCF2sYhA6s6.cfg
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.rCpzdhZUXGOB7RV4u27GPHeV.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S/epel-7-x86_64-x2go-nightly-full.rCpzdhZUXGOB7RV4u27GPHeV.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-76YZGacISMiCcJ3scDYPPL9S
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.T5UzsgrI2fNyAnGzoxx9ECDM ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.T5UzsgrI2fNyAnGzoxx9ECDM ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.T5UzsgrI2fNyAnGzoxx9ECDM
Build step 'Execute shell' marked build as failure


More information about the x2go-commits mailing list