[X2Go-Commits] Build failed in Jenkins: python-x2go+nightly+fedora-30 #15

jenkins at x2go.org jenkins at x2go.org
Wed Dec 18 08:45:24 CET 2019


See <https://jenkins.x2go.org:8443/job/python-x2go+nightly+fedora-30/15/display/redirect?page=changes>

Changes:

[ionic] python-x2go.spec: rework python_module compat section.

[ionic] python-x2go.spec: add name_helper_python3 macro, simplifying Python 3

[ionic] python-x2go.spec: same thing as name_helper_python2 for Python 2 names.

[ionic] python-x2go.spec: switch to actually using %{name_helper_python3}.

[ionic] python-x2go.spec: same for %{name_helper_python2}.

[ionic] python-x2go.spec: macros with empty bodies are not allowed, define them

[ionic] python-x2go.spec: don't override sections if the target name is

------------------------------------------
[...truncated 82.71 KB...]
+ echo enabled=0
+ read line
+ [[ repo_gpgcheck=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ repo_gpgcheck=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo repo_gpgcheck=0
+ read line
+ [[ type=rpm =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ type=rpm =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo type=rpm
+ 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-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-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:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo ''
+ read line
+ [[ [fedora-modular-source] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ [fedora-modular-source] =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo '[fedora-modular-source]'
+ read line
+ [[ name=Fedora Modular $releasever - Source =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ name=Fedora Modular $releasever - Source =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 'name=Fedora Modular $releasever - Source'
+ read line
+ [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$releasever&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$releasever&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-modular-source-$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
+ [[ repo_gpgcheck=0 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ repo_gpgcheck=0 =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo repo_gpgcheck=0
+ read line
+ [[ type=rpm =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ type=rpm =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo type=rpm
+ 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-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 1 ']'
+ [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]]
+ '[' 1 -eq 0 ']'
+ echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-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/30/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/30/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-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ ! /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg =~ ^.*\.cfg$ ]]
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg ']'
+ '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg ']'
++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg
+ typeset mock_cache_file_name=fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O
+ typeset tmp=fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O
+ mock_cache_file_name=fedora-30-x86_64-x2go-nightly-full
+ '[' fedora-30-x86_64-x2go-nightly-full = fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O ']'
+ mock_cache_file_name=fedora-30-x86_64-x2go-nightly-full.cfg
+ typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg
+ '[' -f /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg ']'
+ '[' -r /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg ']'
+ cmp -s /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg /var/lib/jenkins/mock-cache//fedora-30-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-30-x86_64-x2go-nightly-full.cfg
+ return 0
+ return 0
+ MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full'
+ '[' 0 -eq 0 ']'
+ MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg'
+ return 0
+ mock --buildsrpm -r /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/rpmbuild/SOURCES/python-x2go.spec --sources /var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/rpmbuild/SOURCES/
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/python-x2go/fedora/30/SRPM/rpmbuild/SOURCES/python-x2go.spec)  Config(fedora-30-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: buildsrpm
Start: rpmbuild -bs
Finish: rpmbuild -bs
Finish: buildsrpm
ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/rpmbuild/SOURCES/python-x2go.spec) Config(fedora-30-x86_64) 0 minutes 31 seconds
INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/
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 -bs --target x86_64 --nodeps /builddir/build/SPECS/python-x2go.spec
+ cat /var/lib/jenkins/pkg-dist/heuler/python-x2go/fedora/30/SRPM/build.log
Mock Version: 1.3.2-2
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-x2go.spec'], timeout=0user='mockbuild'gid=402env={'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}uid=106printOutput=FalsechrootPath='/var/lib/mock/fedora-30-x86_64/root'logger=<mockbuild.trace_decorator.getLog object at 0x7f7c6b2379b0>shell=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-x2go.spec'] with env {'HOME': '/builddir', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} and shell False
error: unmatched (
error: /builddir/build/SPECS/python-x2go.spec:20: bad %if condition
Building target platforms: x86_64
Building for target x86_64
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 -bs --target x86_64 --nodeps /builddir/build/SPECS/python-x2go.spec
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg ']'
+ rm -- /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg/fedora-30-x86_64-x2go-nightly-full.LX1uyM0I20cvBU8f2HiWjQ9O.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-fNypawTplYSsowR5nowSJFPg
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.S5UhHXjapAHrSgn2VLZiYklU ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.S5UhHXjapAHrSgn2VLZiYklU ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.S5UhHXjapAHrSgn2VLZiYklU
Build step 'Execute shell' marked build as failure


More information about the x2go-commits mailing list