See 
<https://jenkins.x2go.org:8443/job/x2goclient+nightly+fedora-28/144/display/redirect?page=changes>

Changes:

[o.shneyder] Fix crashes in broker mode when server key check has failed


------------------------------------------
[...truncated 67.67 KB...]
+ 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
+ [[ [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 -r 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 -r 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 -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
+ [[ [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 -r 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 -r 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 -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-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 -r line
+ IFS='         
'
+ cache_mock_config
+ typeset 
tmp_mock_config=/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ ! 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
 =~ ^.*\.cfg$ ]]
+ '[' '!' -f 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
 ']'
+ '[' '!' -r 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
 ']'
++ basename -s .cfg 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
+ typeset 
mock_cache_file_name=fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P
+ typeset tmp=fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P
+ 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.fy8ig8o8RDBzl5z4emIBXt9P ']'
+ 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-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.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
+ /usr/bin/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.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/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
INFO: root cache aged out! cache will be rebuilt
INFO: enabled dnf cache
Start: cleaning dnf metadata
Finish: cleaning dnf metadata
Mock Version: 1.3.2-2.14x2go1
INFO: Mock Version: 1.3.2-2.14x2go1
Start: dnf install
Finish: dnf 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/fedora/28/SRPM/rpmbuild/SOURCES/x2goclient.spec)
 Config(fedora-28-x86_64) 12 minutes 48 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.14x2go1
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 
--nodeps /builddir/build/SPECS/x2goclient.spec'], 
gid=402user='mockbuild'timeout=0shell=Falselogger=<mockbuild.trace_decorator.getLog
 object at 
0x7fe63fb49a58>printOutput=Falseuid=106chrootPath='/var/lib/mock/fedora-28-x86_64/root'env={'TERM':
 'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 
'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': 
'/builddir'})
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target 
x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'TERM': 
'vt100', 'LANG': 'en_US.UTF-8', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'HOSTNAME': 'mock', 
'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': 
'/builddir'} 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'], 
timeout=0logger=<mockbuild.trace_decorator.getLog object at 
0x7fd3a2398a58>env={'TERM': 'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 
'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'SHELL': '/bin/bash', 
'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PATH': 
'/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 
'mock'}user='mockbuild'uid=106shell=FalseprintOutput=FalsechrootPath='/var/lib/mock/fedora-28-x86_64/root'gid=402)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target 
x86_64 --nodeps /builddir/build/SPECS/x2goclient.spec'] with env {'TERM': 
'vt100', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'HOME': '/builddir', 'LANG': 
'en_US.UTF-8', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf 
"\\033]0;<mock-chroot>\\007"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 
'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
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
 ']'
+ rm -- 
/var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls/fedora-28-x86_64-x2go-nightly-full.fy8ig8o8RDBzl5z4emIBXt9P.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-Ju6o7ydNFtS4bK5kEfcR90ls
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.mIbs8z2k2pp82lA3CzOFj7NJ ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.mIbs8z2k2pp82lA3CzOFj7NJ ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.mIbs8z2k2pp82lA3CzOFj7NJ
Build step 'Execute shell' marked build as failure
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to