See <https://jenkins.x2go.org:8443/job/pyhoca-gui+nightly+fedora-28/24/display/redirect?page=changes> Changes: [mike.gabriel] PyHocaGUI.OnExit(): Return an exitcode. [mike.gabriel] run 2to3 on this project [mike.gabriel] More porting to Python 3 (manually). [mike.gabriel] wxgui/profilemanager.py: Capture failures that might occur when writing [mike.gabriel] Menu.Append{,Menu}() calls: Turn arguments into positional arguments. [mike.gabriel] Port to wxPython 4.0.x. [mike.gabriel] pyhoca/wxgui/{logon.py,passphrase.py}: Merge code of both files into [mike.gabriel] debian/changelog: update from Git history [mike.gabriel] debian/control: Switch from Py2 to Py3 (B-Ds and Ds). ------------------------------------------ [...truncated 131.24 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-f$releasever&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&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 + [[ 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:]]*$ ]] + '[' 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-f$releasever&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&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 + [[ 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/28/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/28/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-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg + typeset mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd + typeset tmp=fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd + mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full + '[' fedora-28-x86_64-x2go-nightly-full = fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd ']' + mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg /var/lib/jenkins/mock-cache//fedora-28-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-28-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg' + return 0 + find /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/ -type f -iname 'pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.*.src.rpm' -print0 + read -r -d '' srpm + mock -r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.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/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm) Config(fedora-28-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.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm Start: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm Finish: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm Start: rpmbuild pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.src.rpm) Config(fedora-28-x86_64) 12 minutes 12 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/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/28/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'], gid=402timeout=0logger=<mockbuild.trace_decorator.getLog object at 0x7f4314f149b0>user='mockbuild'env={'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100'}chrootPath='/var/lib/mock/fedora-28-x86_64/root'uid=106printOutput=Falseshell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', '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-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.fc28.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'], gid=402printOutput=Falsetimeout=0logger=<mockbuild.trace_decorator.getLog object at 0x7f4314f149b0>user='mockbuild'env={'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'TERM': 'vt100'}chrootPath='/var/lib/mock/fedora-28-x86_64/root'uid=106private_network=Trueshell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PS1': '<mock-chroot> \\s-\\v\\$ ', '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.kyCt6M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyhoca-gui-0.5.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyhoca-gui-0.5.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyhoca-gui-0.5.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KJoVio + umask 022 + cd /builddir/build/BUILD + cd pyhoca-gui-0.5.1.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' File "setup.py", line 29 from __future__ import print_function SyntaxError: from __future__ imports must occur at the beginning of the file RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.KJoVio (%build) Bad exit status from /var/tmp/rpm-tmp.KJoVio (%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-gui.spec + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.kxMFrvZAVYNc9oamtZfee9Qd.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.WQdoGKGukW50dF98N7YByWt5.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs/fedora-28-x86_64-x2go-nightly-full.WQdoGKGukW50dF98N7YByWt5.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-IZN0w0tuKiWeqajr3HThSXOs + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.tKXKZKK4uiHd4TriElKZzVry ']' + '[' -d /var/lib/jenkins/tmp/tmp.tKXKZKK4uiHd4TriElKZzVry ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.tKXKZKK4uiHd4TriElKZzVry Build step 'Execute shell' marked build as failure
See <https://jenkins.x2go.org:8443/job/pyhoca-gui+nightly+fedora-28/25/display/redirect?page=changes> Changes: [mike.gabriel] __future__ imports need to be at the very top of a .py file. [mike.gabriel] debian/control: typo fix in B-Ds. ------------------------------------------ [...truncated 132.05 KB...] + '[' 1 -eq 0 ']' + echo name=updates-testing-debuginfo + read line + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&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 + [[ 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/28/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/28/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-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg + typeset mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D + typeset tmp=fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D + mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full + '[' fedora-28-x86_64-x2go-nightly-full = fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D ']' + mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg /var/lib/jenkins/mock-cache//fedora-28-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-28-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg' + return 0 + find /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/ -type f -iname 'pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.*.src.rpm' -print0 + read -r -d '' srpm + mock -r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.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/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm) Config(fedora-28-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.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm Start: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm Finish: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm Start: rpmbuild pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.src.rpm) Config(fedora-28-x86_64) 9 minutes 45 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/fedora/28/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/28/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'], gid=402uid=106printOutput=Falseuser='mockbuild'shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fec5c9459b0>chrootPath='/var/lib/mock/fedora-28-x86_64/root'timeout=0env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', '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-gui-0.5.1.1-0.0x2go1.0.git20191202.1410.heuler.fc28.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'], gid=402uid=106private_network=TrueprintOutput=Falseuser='mockbuild'shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fec5c9459b0>chrootPath='/var/lib/mock/fedora-28-x86_64/root'timeout=0env={'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'TERM': 'vt100', '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.Bgm4hB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyhoca-gui-0.5.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pyhoca-gui-0.5.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pyhoca-gui-0.5.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ya1LhV + umask 022 + cd /builddir/build/BUILD + cd pyhoca-gui-0.5.1.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'executables' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zipfile' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'windows' warnings.warn(msg) running build running build_py creating build/lib creating build/lib/pyhoca creating build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/serverinfo.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/basepath.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/__init__.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/brokerlogon.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/launcher.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/taskbar.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/about.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/profilemanager.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/printingprefs.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/sessiontitle.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/splash.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/menus_taskbar.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/defaults.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/notify.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/messages.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/mswin_logging.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/listdesktops.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/logon.py -> build/lib/pyhoca/wxgui copying ./pyhoca/wxgui/frontend.py -> build/lib/pyhoca/wxgui running build_i18n intltool-update -p -g PyHoca-GUI ../pyhoca/wxgui/logon.py:83: warning: 'msgid' format string with unnamed arguments cannot be properly localized: The translator cannot reorder the arguments. Please consider using a format string with named arguments, and a mapping instead of a tuple for the arguments. xgettext: error while opening "../pyhoca/wxgui/passphrase.py" for reading: No such file or directory ERROR: xgettext failed to generate PO template file. Please consult error message above if there is any. error: command 'intltool-update' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.ya1LhV (%build) Bad exit status from /var/tmp/rpm-tmp.ya1LhV (%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-kE4i6bNIa2S8BbD054o9lsKW ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.tld1rkvveUnwJJiWsTzDM5Ea.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.tld1rkvveUnwJJiWsTzDM5Ea.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW/fedora-28-x86_64-x2go-nightly-full.XHYZZ8JtKTpEJ2lXRIYe4n9D.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-kE4i6bNIa2S8BbD054o9lsKW + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.5f5RAKQBkV2kO9RPfQOEBEri ']' + '[' -d /var/lib/jenkins/tmp/tmp.5f5RAKQBkV2kO9RPfQOEBEri ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.5f5RAKQBkV2kO9RPfQOEBEri Build step 'Execute shell' marked build as failure