See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+fedora-28/95/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: don't try to prepend %{_qt4_bindir} if the macro is not defined. [ionic] Makefile: allow passing down variables that are safe to pass via the environment. ------------------------------------------ [...truncated 66.91 KB...] + echo name=fedora-debuginfo + read line + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch' + read line + [[ enabled=0 =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [updates-debuginfo] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [updates-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[updates-debuginfo]' + read line + [[ name=updates-debuginfo =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ 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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [updates-testing-debuginfo] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg + typeset mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui + typeset tmp=fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui + 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.u0srUsbzNX1pwBHxpW5c3Qui ']' + 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-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.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 + mock --buildsrpm -r /var/lib/jenkins/mock-cache//fedora-28-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/rpmbuild/SOURCES/x2goclient.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/rpmbuild/SOURCES/ INFO: mock.py version 1.3.2-2.9x2go1 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/x2goclient/fedora/28/SRPM/rpmbuild/SOURCES/x2goclient.spec) 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.9x2go1 INFO: Mock Version: 1.3.2-2.9x2go1 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/x2goclient/fedora/28/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(fedora-28-x86_64) 0 minutes 45 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/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/x2goclient.spec + cat /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/build.log Mock Version: 1.3.2-2.9x2go1 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'], gid=402env={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'}chrootPath='/var/lib/mock/fedora-28-x86_64/root'user='mockbuild'printOutput=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fc068ac09e8>timeout=0uid=106shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'HOME': '/builddir'} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:151: 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/x2goclient.spec + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5 ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5 ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5/fedora-28-x86_64-x2go-nightly-full.u0srUsbzNX1pwBHxpW5c3Qui.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5 ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5 ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-LcyDJIEWsLtR72MqmnXWWLi5 + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.5DEtEGqEntHyfk4zKSuCO9aa ']' + '[' -d /var/lib/jenkins/tmp/tmp.5DEtEGqEntHyfk4zKSuCO9aa ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.5DEtEGqEntHyfk4zKSuCO9aa Build step 'Execute shell' marked build as failure
See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+fedora-28/96/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: fix condition with maybe-undefined macro. ------------------------------------------ [...truncated 132.45 KB...] + '[' 1 -eq 0 ']' + echo enabled=0 + read line + [[ skip_if_unavailable=False =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [updates-debuginfo] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [updates-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[updates-debuginfo]' + read line + [[ name=updates-debuginfo =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ 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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [updates-testing-debuginfo] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg + typeset mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0 + typeset tmp=fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0 + 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.3ccUBjU9120BKy7OMw4MXYP0 ']' + 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-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.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/x2goclient/fedora/28/SRPM/ -type f -iname 'x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.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/x2goclient/fedora/28/x86_64 /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm INFO: mock.py version 1.3.2-2.9x2go1 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/x2goclient/fedora/28/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.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.9x2go1 INFO: Mock Version: 1.3.2-2.9x2go1 Start: dnf update Finish: dnf update Finish: chroot init Start: build phase for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm Start: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm Finish: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm Start: rpmbuild x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc28.src.rpm) Config(fedora-28-x86_64) 5 minutes 17 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goclient/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/x2goclient.spec + cat /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/28/x86_64/build.log Mock Version: 1.3.2-2.9x2go1 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'], timeout=0uid=106env={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}gid=402shell=Falseuser='mockbuild'printOutput=FalsechrootPath='/var/lib/mock/fedora-28-x86_64/root'logger=<mockbuild.trace_decorator.getLog object at 0x7fd59ecf19b0>) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.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/x2goclient.spec'], timeout=0private_network=Trueuid=106env={'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'}gid=402shell=Falseuser='mockbuild'printOutput=FalsechrootPath='/var/lib/mock/fedora-28-x86_64/root'logger=<mockbuild.trace_decorator.getLog object at 0x7fd59ecf19b0>) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOSTNAME': 'mock', 'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8'} and shell False error: types must match error: /builddir/build/SPECS/x2goclient.spec:151: 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 -bb --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.3ccUBjU9120BKy7OMw4MXYP0.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.bHPpTbzMB7yUSWvGa6ep6VvA.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H/fedora-28-x86_64-x2go-nightly-full.bHPpTbzMB7yUSWvGa6ep6VvA.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-9TiunVfGTk4rLchskzvncH1H + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.esWigzraFnnzi4xK08nMF5Rf ']' + '[' -d /var/lib/jenkins/tmp/tmp.esWigzraFnnzi4xK08nMF5Rf ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.esWigzraFnnzi4xK08nMF5Rf Build step 'Execute shell' marked build as failure