See <https://jenkins.x2go.org:8443/job/x2goclient+ppc64le+nightly+epel-7/192/display/redirect?page=changes> Changes: [o.shneyder] Fix crashes in broker mode when server key check has failed ------------------------------------------ [...truncated 66.26 KB...] + echo '' + read -r line + [[ '' =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read -r line + [[ [local] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [local] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[local]' + read -r line + [[ name=local =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=local =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=local + read -r line + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/ppc64le/ + read -r line + [[ cost=2000 =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ cost=2000 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo cost=2000 + read -r 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 -r line + [[ '' =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read -r line + [[ [epel-debuginfo] =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [epel-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[epel-debuginfo]' + read -r line + [[ name=epel-debug =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=epel-debug =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=epel-debug + read -r line + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=ppc64le' + read -r line + [[ failovermethod=priority =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ failovermethod=priority =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo failovermethod=priority + read -r 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 -r 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-epel]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go EPEL Packages (Extra Packages)' + (( ++i )) + (( i < 8 )) + echo baseurl=http://packages.x2go.org/epel/7/extras/ppc64le + (( ++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/ppc64le + (( ++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 -r line + IFS=' ' + cache_mock_config + typeset tmp_mock_config=/home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg ']' + '[' '!' -r /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg ']' ++ basename -s .cfg /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg + typeset mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9 + typeset tmp=epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9 + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full + '[' epel-7-ppc64le-x2go-nightly-full = epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9 ']' + mock_cache_file_name=epel-7-ppc64le-x2go-nightly-full.cfg + typeset mock_cache_file_path=/home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg + '[' -f /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + '[' -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg ']' + cmp -s /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg /home/x2go-jenkins/mock-cache//epel-7-ppc64le-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=/home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg' + return 0 + /usr/bin/mock --buildsrpm -r /home/x2go-jenkins/mock-cache//epel-7-ppc64le-x2go-nightly-full.cfg --resultdir=/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/ --spec /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec --sources /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/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(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-ppc64le) Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: root cache aged out! cache will be rebuilt 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 install Finish: yum install Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: Start: buildsrpm Start: rpmbuild -bs Finish: rpmbuild -bs Finish: buildsrpm ERROR: Exception(/home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-ppc64le) 13 minutes 8 seconds INFO: Results and/or logs in: /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + cat /home/x2go-jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/build.log Mock Version: 1.3.2-2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'], gid=402printOutput=Falseshell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffae5c21d0>timeout=0chrootPath='/var/lib/mock/epel-7-ppc64le/root'uid=1001user='mockbuild'env={'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'TERM': 'vt100'} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:106: bad %if condition Building target platforms: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec Mock Version: 1.3.2-2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'], gid=402uid=1001shell=Falseuser='mockbuild'timeout=0chrootPath='/var/lib/mock/epel-7-ppc64le/root'printOutput=Falselogger=<mockbuild.trace_decorator.getLog object at 0x3fffa0133198>env={'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'}) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'TERM': 'vt100'} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:106: bad %if condition Building target platforms: ppc64le Building for target ppc64le 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 ppc64le --nodeps /builddir/build/SPECS/x2goclient.spec + exit 1 + cleanup + '[' -n /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ ']' + '[' -e /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg ']' + rm -- /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ/epel-7-ppc64le-x2go-nightly-full.Ek8KTZki9oNxeqjGXBxzhWm9.cfg + '[' -e /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ ']' + '[' -d /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ ']' + rmdir -- /home/x2go-jenkins/tmp/x2go-mock-w00j7uKaHlbfNDW3XIzsg9RZ + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /home/x2go-jenkins/tmp/tmp.TaqJZiTWddGjSC9YLsBuYs7p ']' + '[' -d /home/x2go-jenkins/tmp/tmp.TaqJZiTWddGjSC9YLsBuYs7p ']' + rm -Rf -- /home/x2go-jenkins/tmp/tmp.TaqJZiTWddGjSC9YLsBuYs7p Build step 'Execute shell' marked build as failure