See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+fedora-30/49/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 84.12 KB...] + echo enabled=0 + read line + [[ repo_gpgcheck=0 =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|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 + [[ [fedora-modular-source] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|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/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-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg + typeset mock_cache_file_name=fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK + typeset tmp=fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK + 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.JX0YTG4nTQx9bUTOqR9iUkkK ']' + 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-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.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/x2goclient/fedora/30/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/SRPM/rpmbuild/SOURCES/x2goclient.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/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/30/SRPM/rpmbuild/SOURCES/x2goclient.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.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/30/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(fedora-30-x86_64) 0 minutes 44 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goclient/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/x2goclient.spec + cat /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/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'], printOutput=Falseenv={'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash'}chrootPath='/var/lib/mock/fedora-30-x86_64/root'gid=402user='mockbuild'uid=106logger=<mockbuild.trace_decorator.getLog object at 0x7f9d43dae9e8>shell=Falsetimeout=0) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash'} 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-DZkYvLRr1mCE6wYNwjfZpWuu ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu/fedora-30-x86_64-x2go-nightly-full.JX0YTG4nTQx9bUTOqR9iUkkK.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-DZkYvLRr1mCE6wYNwjfZpWuu + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.HpTYupFI2cm1SQRgPwBxVfwy ']' + '[' -d /var/lib/jenkins/tmp/tmp.HpTYupFI2cm1SQRgPwBxVfwy ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.HpTYupFI2cm1SQRgPwBxVfwy Build step 'Execute shell' marked build as failure
See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+fedora-30/50/display/redirect?page=changes> Changes: [ionic] x2goclient.spec: fix condition with maybe-undefined macro. ------------------------------------------ [...truncated 166.65 KB...] + '[' 1 -eq 0 ']' + echo type=rpm + read line + [[ gpgcheck=1 =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|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 + [[ [fedora-modular-source] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|dnf)\.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|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/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-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg + typeset mock_cache_file_name=fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7 + typeset tmp=fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7 + 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.yrJleLBh8X3t1MZNNtNBijD7 ']' + 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-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.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 + read -r -d '' srpm + find /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/SRPM/ -type f -iname 'x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.*.src.rpm' -print0 + mock -r /var/lib/jenkins/mock-cache//fedora-30-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/x86_64 /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.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/30/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.src.rpm) 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.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.fc30.src.rpm Start: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.src.rpm Finish: build setup for x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.src.rpm Start: rpmbuild x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.src.rpm ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/SRPM/x2goclient-4.1.2.3-0.0x2go1.0.git20210516.1986.heuler.fc30.src.rpm) Config(fedora-30-x86_64) 7 minutes 51 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goclient/fedora/30/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/30/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'], logger=<mockbuild.trace_decorator.getLog object at 0x7f4f65a40978>chrootPath='/var/lib/mock/fedora-30-x86_64/root'printOutput=Falseuser='mockbuild'timeout=0gid=402shell=Falseenv={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}uid=106) 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', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} 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.fc30.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'], logger=<mockbuild.trace_decorator.getLog object at 0x7f4f65a40978>private_network=TruechrootPath='/var/lib/mock/fedora-30-x86_64/root'gid=402user='mockbuild'timeout=0printOutput=Falseshell=Falseenv={'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}uid=106) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'LANG': 'en_US.UTF-8', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} 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-vvrId8x9A9cqWeDKOle8hJQg ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.7yecHCagKhheibReohH2xU6r.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.7yecHCagKhheibReohH2xU6r.cfg + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg/fedora-30-x86_64-x2go-nightly-full.yrJleLBh8X3t1MZNNtNBijD7.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-vvrId8x9A9cqWeDKOle8hJQg + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.IUlYXcHsxAEhNAsC11K3gfKu ']' + '[' -d /var/lib/jenkins/tmp/tmp.IUlYXcHsxAEhNAsC11K3gfKu ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.IUlYXcHsxAEhNAsC11K3gfKu Build step 'Execute shell' marked build as failure