See <https://jenkins.x2go.org:8443/job/pyhoca-gui+nightly+fedora-rawhide/166/display/redirect?page=changes> Changes: [ionic] pyhoca-gui.spec: backport Python-2/3-selection fix from pyhoca-cli. ------------------------------------------ [...truncated 147.76 KB...] + read line + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch' + 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 + [[ gpgcheck=1 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ gpgcheck=1 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo gpgcheck=1 + read line + [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-31-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-31-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-31-primary' + read line + [[ skip_if_unavailable=False =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ skip_if_unavailable=False =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo skip_if_unavailable=False + 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/rawhide/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/rawhide/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-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg + typeset mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7 + typeset tmp=fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7 + mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full + '[' fedora-rawhide-x86_64-x2go-nightly-full = fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7 ']' + mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg /var/lib/jenkins/mock-cache//fedora-rawhide-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-rawhide-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg' + return 0 + find /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/SRPM/ -type f -iname 'pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.*.src.rpm' -print0 + read -r -d '' srpm + mock -r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/SRPM/pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.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-gui/fedora/rawhide/SRPM/pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm) Config(fedora-rawhide-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-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm Start: build setup for pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm Finish: build setup for pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm Start: rpmbuild pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/SRPM/pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm) Config(fedora-rawhide-x86_64) 6 minutes 10 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/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-gui.spec + cat /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/rawhide/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-gui.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x7f8b0b9f7978>uid=106user='mockbuild'timeout=0printOutput=Falsegid=402shell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash'} and shell False warning: Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora warning: Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. warning: Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the warning: Macro expanded in comment on line 30: %{?with_python2} was kept enabled. warning: Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora warning: Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. warning: Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the warning: Macro expanded in comment on line 30: %{?with_python2} was kept enabled. Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pyhoca-gui-0.6.1.0-0.0x2go1.0.git20191224.1435.heuler.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x7f8b0b9f7978>uid=106user='mockbuild'timeout=0printOutput=Falsegid=402private_network=Trueshell=FalsechrootPath='/var/lib/mock/fedora-rawhide-x86_64/root'env={'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'SHELL': '/bin/bash'} and shell False warning: Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora warning: Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. warning: Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the warning: Macro expanded in comment on line 30: %{?with_python2} was kept enabled. warning: Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora warning: Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. warning: Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the warning: Macro expanded in comment on line 30: %{?with_python2} was kept enabled. Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7gZm7E + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyhoca-gui-0.6.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyhoca-gui-0.6.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyhoca-gui-0.6.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i -e '1s@^#/usr/bin/env python3@/usr/bin/env python2@' pyhoca-gui + sed -i -e '1s@^#/usr/bin/env python3@/usr/bin/env python3@' pyhoca-gui + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hQneKD + umask 022 + cd /builddir/build/BUILD + cd pyhoca-gui-0.6.1.0 + /usr/bin/python2 setup.py build_i18n Traceback (most recent call last): File "setup.py", line 61, in <module> from setuptools import setup ImportError: No module named setuptools error: Bad exit status from /var/tmp/rpm-tmp.hQneKD (%build) Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the Macro expanded in comment on line 30: %{?with_python2} was kept enabled. Macro expanded in comment on line 24: %bcond_without python2 for all older Fedora Macro expanded in comment on line 25: %bcond_with python3 for all Fedora versions starting with 26. Macro expanded in comment on line 28: %bcond_with python2, essentially disabling it and preferring the Macro expanded in comment on line 30: %{?with_python2} was kept enabled. Bad exit status from /var/tmp/rpm-tmp.hQneKD (%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-gui.spec + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.65woa7v67xktKG0GtsHURCwP.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.65woa7v67xktKG0GtsHURCwP.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS/fedora-rawhide-x86_64-x2go-nightly-full.I7BfWPR2cE8Zv6lF3yditjP7.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-wgiw38UUueY8hFVWTnY9LtpS + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.ShlmpDFwvKJuXSNlNQnFfPdj ']' + '[' -d /var/lib/jenkins/tmp/tmp.ShlmpDFwvKJuXSNlNQnFfPdj ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.ShlmpDFwvKJuXSNlNQnFfPdj Build step 'Execute shell' marked build as failure