http://jenkins.x2go.org:8080/job/x2goserver+nightly+fedora-25/14/Changes: [ionic] x2goserver.spec: add the correct package name to the %posttrans [ionic] x2goserver.spec: make sure that we don't go into branches just because a [ionic] x2goserver.spec: work around a bug in SuSE's mime DB update script... [ionic] x2goserver.spec: make sure that there's always at least one (nil) [ionic] x2goserver.spec: break older SLES builds on purpose to see what branch ------------------------------------------ [...truncated 61.10 KB...] + read line + [[ '' =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [updates-debuginfo] =~ ^[[:space:]]*config_opts\['yum\.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\.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-f25&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f25&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f25&arch=$basearch' + 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:]]*$ ]] + '[' 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-f25&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f25&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f25&arch=$basearch' + 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-fedora]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go Fedora Packages (Extra Packages)' + (( ++i )) + (( i < 8 )) + echo 'baseurl=http://packages.x2go.org/fedora/25/extras/$basearch' + (( ++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/25/heuler/$basearch' + (( ++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-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg + typeset mock_cache_file_name=fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW + typeset tmp=fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW + mock_cache_file_name=fedora-25-x86_64-x2go-nightly-full + '[' fedora-25-x86_64-x2go-nightly-full = fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW ']' + mock_cache_file_name=fedora-25-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-25-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//fedora-25-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//fedora-25-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg /var/lib/jenkins/mock-cache//fedora-25-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-25-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r ../..//var/lib/jenkins/mock-cache//fedora-25-x86_64-x2go-nightly-full' + '[' 1 -eq 0 ']' + return 0 + mock --buildsrpm -r ../..//var/lib/jenkins/mock-cache//fedora-25-x86_64-x2go-nightly-full --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/25/rpmbuild/SRPMS --spec /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/25//rpmbuild/SOURCES/x2goserver.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/25//rpmbuild/SOURCES/ INFO: mock.py version 1.1.33 starting... Start: init plugins INFO: selinux disabled Finish: init plugins Start: run INFO: Start(x2goserver.spec) Config(fedora-25-x86_64) Start: lock buildroot Start: clean chroot Finish: clean chroot Finish: lock buildroot Start: chroot init Start: lock buildroot Mock Version: 1.1.33 INFO: Mock Version: 1.1.33 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 INFO: enabled ccache Start: device setup Finish: device setup Start: yum update Start: Outputting list of available packages Finish: Outputting list of available packages Finish: yum update Finish: lock buildroot Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs Finish: rpmbuild -bs Finish: buildsrpm ERROR: Exception(x2goserver.spec) Config(fedora-25-x86_64) 0 minutes 20 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/25/rpmbuild/SRPMS INFO: Cleaning up build root ('clean_on_failure=True') Start: lock buildroot Start: clean chroot INFO: chroot (/var/lib/mock/fedora-25-x86_64) unlocked and deleted Finish: clean chroot Finish: lock buildroot ERROR: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/x2goserver.spec'] + cat /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/25/rpmbuild/SRPMS/build.log Mock Version: 1.1.33 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/x2goserver.spec'], False, '/var/lib/mock/fedora-25-x86_64/root/', None, 0, True, False, 106, 999, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'}, logger=<mockbuild.trace_decorator.getLog object at 0x7f55ba1a5f90>) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/x2goserver.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'CCACHE_DIR': '/tmp/ccache', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'CCACHE_UMASK': '002'} sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory sh: /usr/bin/perl: No such file or directory error: parse error in expression error: /builddir/build/SPECS/x2goserver.spec:703: bad %if condition Building target platforms: x86_64 Building for target x86_64 Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/x2goserver.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/dist-packages/mockbuild/util.py", line 361, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/x2goserver.spec'] LEAVE do --> EXCEPTION RAISED + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in '"${TMP_MOCK_CFG_DIR}/"*' + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT/fedora-25-x86_64-x2go-nightly-full.1FvLcQBrp4fgY1PlJhMG6CXW.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-jqfobRuTk5FltYGGRS3CVxjT + typeset temp_dir= + for temp_dir in '"${temp_cleanup[@]}"' + '[' -n /var/lib/jenkins/tmp/tmp.PNnaYbV8Rdl3yWSc9uzmpLPT ']' + '[' -d /var/lib/jenkins/tmp/tmp.PNnaYbV8Rdl3yWSc9uzmpLPT ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.PNnaYbV8Rdl3yWSc9uzmpLPT Build step 'Execute shell' marked build as failure