See <https://jenkins.x2go.org:8443/job/x2goclient+nightly+epel-7/627/display/redirect?page=changes>
Changes: [o.shneyder] Fix crashes in broker mode when server key check has failed ------------------------------------------ [...truncated 79.71 KB...] + 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/x86_64/ =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/ + 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 + [[ 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 -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=Extra Packages for Enterprise Linux $releasever - $basearch - Debug =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'name=Extra Packages for Enterprise Linux $releasever - $basearch - Debug' + read -r line + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64 =~ ^[[:space:]]*config_opts\['(yum|dnf)\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64' + 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 + [[ 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 -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/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-epel]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go EPEL Packages (Nightly Builds)' + (( ++i )) + (( i < 8 )) + echo baseurl=http://packages.x2go.org/epel/7/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 -r line + IFS=' ' + cache_mock_config + typeset tmp_mock_config=/var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg + typeset mock_cache_file_name=epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4 + typeset tmp=epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4 + mock_cache_file_name=epel-7-x86_64-x2go-nightly-full + '[' epel-7-x86_64-x2go-nightly-full = epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4 ']' + mock_cache_file_name=epel-7-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg /var/lib/jenkins/mock-cache//epel-7-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//epel-7-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg' + return 0 + /usr/bin/mock --buildsrpm -r /var/lib/jenkins/mock-cache//epel-7-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/ INFO: mock.py version 1.3.2-2.14x2go1 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/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-x86_64) 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.14x2go1 INFO: Mock Version: 1.3.2-2.14x2go1 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(/var/lib/jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/rpmbuild/SOURCES/x2goclient.spec) Config(epel-7-x86_64) 6 minutes 44 seconds INFO: Results and/or logs in: /var/lib/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 x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec + cat /var/lib/jenkins/pkg-dist/heuler/x2goclient/epel/7/SRPM/build.log Mock Version: 1.3.2-2.14x2go1 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'], user='mockbuild'chrootPath='/var/lib/mock/epel-7-x86_64/root'printOutput=Falsegid=402env={'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'}timeout=0shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fe7e5221a20>uid=106) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'LANG': 'en_US.UTF-8', 'HOME': '/builddir', 'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock'} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:106: 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 568, 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 Mock Version: 1.3.2-2.14x2go1 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 0x7f77e14299e8>uid=106gid=402chrootPath='/var/lib/mock/epel-7-x86_64/root'timeout=0printOutput=Falseuser='mockbuild'env={'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100'}shell=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'TERM': 'vt100'} and shell False error: parse error in expression error: /builddir/build/SPECS/x2goclient.spec:106: 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 568, 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-3Pts4faPORNRkK4msektHTrk ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk/epel-7-x86_64-x2go-nightly-full.dVUhd8FT9WfwpuIqYvZkrub4.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-3Pts4faPORNRkK4msektHTrk + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.MggOY7AKyflcSqoHJc9exy0K ']' + '[' -d /var/lib/jenkins/tmp/tmp.MggOY7AKyflcSqoHJc9exy0K ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.MggOY7AKyflcSqoHJc9exy0K Build step 'Execute shell' marked build as failure _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits