See <http://jenkins.x2go.org:8080/job/pyhoca-cli+nightly+epel-6/57/display/redirect?page=changes>
Changes: [ionic] setup.py: we actually also need the version information, so import it. ------------------------------------------ [...truncated 123.29 KB...] + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-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-6&arch=x86_64 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&arch=x86_64 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&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/6/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/6/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-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg + typeset mock_cache_file_name=epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO + typeset tmp=epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO + mock_cache_file_name=epel-6-x86_64-x2go-nightly-full + '[' epel-6-x86_64-x2go-nightly-full = epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO ']' + mock_cache_file_name=epel-6-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg /var/lib/jenkins/mock-cache//epel-6-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-6-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg' + return 0 + find /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/6/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//epel-6-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/6/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/6/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.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/6/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.src.rpm) Config(epel-6-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.288.heuler.el6.src.rpm Start: build setup for pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.src.rpm Finish: build setup for pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.src.rpm Start: rpmbuild pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/6/SRPM/pyhoca-cli-0.6.0.1-0.0x2go1.0.git20181110.288.heuler.el6.src.rpm) Config(epel-6-x86_64) 1 minutes 35 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-cli/epel/6/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/6/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'], user='mockbuild'logger=<mockbuild.trace_decorator.getLog object at 0x7fa9f9a93860>shell=Falseuid=106env={'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}printOutput=Falsegid=402timeout=0chrootPath='/var/lib/mock/epel-6-x86_64/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'} 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.el6.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'], user='mockbuild'logger=<mockbuild.trace_decorator.getLog object at 0x7fa9f9a93860>shell=Falseuid=106env={'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}private_network=Truegid=402timeout=0chrootPath='/var/lib/mock/epel-6-x86_64/root'printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-cli.spec'] with env {'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wVKig2 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + 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 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyhoca-cli-0.6.0.1 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ulnW22 + umask 022 + cd /builddir/build/BUILD + cd pyhoca-cli-0.6.0.1 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + /usr/bin/python2.6 setup.py build '--executable=/usr/bin/python2.6 -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 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ulnW22 (%build) Bad exit status from /var/tmp/rpm-tmp.ulnW22 (%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-pmXJ6nw4QBSEat5tValha9E0 ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0 ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.KekMvF2uXFkBXHTxZHdsRKvO.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.XlSYth8FVjNx6dIq67bbotcE.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0/epel-6-x86_64-x2go-nightly-full.XlSYth8FVjNx6dIq67bbotcE.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0 ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0 ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-pmXJ6nw4QBSEat5tValha9E0 + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.8Qbz0mjSBkLSzGnDr4XjtcF1 ']' + '[' -d /var/lib/jenkins/tmp/tmp.8Qbz0mjSBkLSzGnDr4XjtcF1 ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.8Qbz0mjSBkLSzGnDr4XjtcF1 Build step 'Execute shell' marked build as failure _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits