See 
<http://jenkins.x2go.org:8080/job/pyhoca-cli+nightly+fedora-26/27/display/redirect?page=changes>

Changes:

[ionic] setup.py: we actually also need the version information, so import it.

------------------------------------------
[...truncated 129.11 KB...]
+ [[ name=updates-debuginfo =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo name=updates-debuginfo
+ read line
+ [[ 
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f26&arch=$basearch
 =~ 
^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$
 ]]
+ '[' 1 -eq 1 ']'
+ [[ 
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f26&arch=$basearch
 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 
'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f26&arch=$basearch'
+ 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:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo ''
+ read line
+ [[ [updates-testing-debuginfo] =~ 
^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$
 ]]
+ '[' 1 -eq 1 ']'
+ [[ [updates-testing-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo '[updates-testing-debuginfo]'
+ read line
+ [[ name=updates-testing-debuginfo =~ 
^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$
 ]]
+ '[' 1 -eq 1 ']'
+ [[ name=updates-testing-debuginfo =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo name=updates-testing-debuginfo
+ read line
+ [[ 
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f26&arch=$basearch
 =~ 
^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$
 ]]
+ '[' 1 -eq 1 ']'
+ [[ 
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f26&arch=$basearch
 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 
'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f26&arch=$basearch'
+ 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-fedora]'
+ (( ++i ))
+ (( i < 8 ))
+ echo 'name=Upstream X2Go Fedora Packages (Extra Packages)'
+ (( ++i ))
+ (( i < 8 ))
+ echo baseurl=http://packages.x2go.org/fedora/26/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-fedora]'
+ (( ++i ))
+ (( i < 8 ))
+ echo 'name=Upstream X2Go Fedora Packages (Nightly Builds)'
+ (( ++i ))
+ (( i < 8 ))
+ echo baseurl=http://packages.x2go.org/fedora/26/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-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ ! 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
 =~ ^.*\.cfg$ ]]
+ '[' '!' -f 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
 ']'
+ '[' '!' -r 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
 ']'
++ basename -s .cfg 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
+ typeset 
mock_cache_file_name=fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr
+ typeset tmp=fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr
+ mock_cache_file_name=fedora-26-x86_64-x2go-nightly-full
+ '[' fedora-26-x86_64-x2go-nightly-full = 
fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr ']'
+ mock_cache_file_name=fedora-26-x86_64-x2go-nightly-full.cfg
+ typeset 
mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full.cfg
+ '[' -f /var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full.cfg ']'
+ '[' -r /var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full.cfg ']'
+ cmp -s 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
 /var/lib/jenkins/mock-cache//fedora-26-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//fedora-26-x86_64-x2go-nightly-full.cfg
+ return 0
+ return 0
+ MOCK_CHROOT_CONFIG='-r 
/var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full'
+ '[' 0 -eq 0 ']'
+ MOCK_CHROOT_CONFIG='-r 
/var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full.cfg'
+ return 0
+ find /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/fedora/26/SRPM/ -type f 
-iname 'pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.*.src.rpm' -print0
+ read -r -d '' srpm
+ mock -r /var/lib/jenkins/mock-cache//fedora-26-x86_64-x2go-nightly-full.cfg 
--resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/fedora/26/x86_64 
/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/fedora/26/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.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/fedora/26/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm)
  Config(fedora-26-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 dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.3.2-2
INFO: Mock Version: 1.3.2-2
Start: dnf update
Finish: dnf update
Finish: chroot init
Start: build phase for 
pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm
Start: build setup for 
pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm
Finish: build setup for 
pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm
Start: rpmbuild 
pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm
ERROR: 
Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/fedora/26/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.fc26.src.rpm)
 Config(fedora-26-x86_64) 3 minutes 56 seconds
INFO: Results and/or logs in: 
/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/fedora/26/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/fedora/26/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'], 
shell=FalseprintOutput=Falseenv={'HOSTNAME': 'mock', 'PS1': '<mock-chroot> 
\\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 
'HOME': '/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf 
"\\033]0;<mock-chroot>\\007"', 'TERM': 
'vt100'}user='mockbuild'uid=106timeout=0gid=402chrootPath='/var/lib/mock/fedora-26-x86_64/root'logger=<mockbuild.trace_decorator.getLog
 object at 0x7fa336e6f898>)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target 
x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'HOSTNAME': 
'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': 
'/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100'} 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.288.heuler.fc26.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'], 
shell=Falselogger=<mockbuild.trace_decorator.getLog object at 
0x7fa336e6f898>env={'HOSTNAME': 'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 
'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': 
'/builddir', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf 
"\\033]0;<mock-chroot>\\007"', 'TERM': 
'vt100'}private_network=Trueuser='mockbuild'timeout=0gid=402chrootPath='/var/lib/mock/fedora-26-x86_64/root'printOutput=Falseuid=106)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target 
x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'HOSTNAME': 
'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'PATH': 
'/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'SHELL': '/bin/bash', 
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100'} and 
shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g8xCby
+ 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 -xof -
+ 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.yNHaYj
+ umask 022
+ cd /builddir/build/BUILD
+ cd pyhoca-cli-0.6.0.1
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 
-mtune=generic'
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s'
Traceback (most recent call last):
  File "setup.py", line 29, in <module>
    if sys.version_info[0] < 3:
NameError: name 'sys' is not defined
error: Bad exit status from /var/tmp/rpm-tmp.yNHaYj (%build)
    Bad exit status from /var/tmp/rpm-tmp.yNHaYj (%build)
RPM build errors:
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-xl8HAWVJXBt4Hxgpos9orZ0r ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.5xpw5x0eZ0w5FG99b3EbX9i6.cfg
 ']'
+ rm -- 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.5xpw5x0eZ0w5FG99b3EbX9i6.cfg
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
 ']'
+ rm -- 
/var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r/fedora-26-x86_64-x2go-nightly-full.MBZQGgns3VSfzHMn80xAirZr.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-xl8HAWVJXBt4Hxgpos9orZ0r
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.78W6hZNr05YEzHkxeMmDNFbq ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.78W6hZNr05YEzHkxeMmDNFbq ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.78W6hZNr05YEzHkxeMmDNFbq
Build step 'Execute shell' marked build as failure
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to