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

jenkins at x2go.org jenkins at x2go.org
Mon Dec 2 17:57:26 CET 2019


See <https://jenkins.x2go.org:8443/job/pyhoca-gui+nightly+epel-7/125/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 126.57 KB...]
+ '[' 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-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ ! /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg =~ ^.*\.cfg$ ]]
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg ']'
+ '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg ']'
++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg
+ typeset mock_cache_file_name=epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z
+ typeset tmp=epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z
+ 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.8IYSxsE9682UHWYTecC7SI9z ']'
+ 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-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.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-gui/epel/7/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//epel-7-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/epel/7/x86_64 /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/epel/7/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.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-gui/epel/7/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.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-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.el7.src.rpm
Start: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.el7.src.rpm
Finish: build setup for pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.el7.src.rpm
Start: rpmbuild pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.el7.src.rpm
ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/epel/7/SRPM/pyhoca-gui-0.5.1.1-0.0x2go1.0.git20191202.1408.heuler.el7.src.rpm) Config(epel-7-x86_64) 8 minutes 53 seconds
INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/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-gui.spec
+ cat /var/lib/jenkins/pkg-dist/heuler/pyhoca-gui/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-gui.spec'], logger=<mockbuild.trace_decorator.getLog object at 0x7f9ccbd70978>printOutput=Falsetimeout=0user='mockbuild'shell=Falseuid=106env={'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'}chrootPath='/var/lib/mock/epel-7-x86_64/root'gid=402)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'} and shell False
sh: /usr/bin/python2: No such file or directory
sh: /usr/bin/python2: No such file or directory
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.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-gui.spec'], private_network=Truelogger=<mockbuild.trace_decorator.getLog object at 0x7f9ccbd70978>printOutput=Falsetimeout=0user='mockbuild'shell=Falseuid=106env={'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'}chrootPath='/var/lib/mock/epel-7-x86_64/root'gid=402)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pyhoca-gui.spec'] with env {'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RrmY8e
+ 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 -xf -
+ 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.Q3xgVA
+ umask 022
+ cd /builddir/build/BUILD
+ cd pyhoca-gui-0.5.1.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'
  File "setup.py", line 29
    from __future__ import print_function
SyntaxError: from __future__ imports must occur at the beginning of the file
error: Bad exit status from /var/tmp/rpm-tmp.Q3xgVA (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Q3xgVA (%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-WwPmaypLNUAQDoO0jJfj8Ao7 ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7 ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.1S1IlMbL0ezmQhfM0LuhJYGl.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.1S1IlMbL0ezmQhfM0LuhJYGl.cfg
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7/epel-7-x86_64-x2go-nightly-full.8IYSxsE9682UHWYTecC7SI9z.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7 ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7 ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-WwPmaypLNUAQDoO0jJfj8Ao7
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.BrmZVIB6GNWXtF8mXEXEUVRX ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.BrmZVIB6GNWXtF8mXEXEUVRX ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.BrmZVIB6GNWXtF8mXEXEUVRX
Build step 'Execute shell' marked build as failure


More information about the x2go-commits mailing list