See <https://jenkins.x2go.org:8443/job/x2goserver+nightly+fedora-rawhide/473/display/redirect?page=changes> Changes: [ionic] x2goserver/bin/x2gostartagent: fetch the agent PID as early as possible. [ionic] x2goserver/bin/x2gooptionsstring: actually default to transformation mode if none was explicitly selected. [ionic] x2goserver/bin/x2goresume-session: make (most) non-exported variables lowercase, rename variables to more descriptive names, use typeset all over the place and change the variable type for some variables. [ionic] x2goserver/bin/x2goresume-session: use global-scope msg variable. [ionic] x2goserver/bin/x2goresume-session: update copyright notice. [ionic] x2goserver/bin/x2goresume-session: use printf more often instead of the not-so-portable echo builtin. [ionic] x2goserver/bin/x2goresume-session: fix err_msg => msg usage. [ionic] debian/x2goserver.init: rewrite init script to make it idempotent and actually check if the cleanup service was started correctly. [ionic] x2goserver/bin/x2gooptionsstring: replace uses of C<> with B<> in cases where the generated output of the C<> sequence might enclose it in double quotes and creates confusing documentation strings. [ionic] X2Go/Server/Agent/NX/Options.pm: same C<>-to-B<> conversion as in the previous commit. [ionic] debian/control: pull in base64 as a run-time dependency. [ionic] x2goserver.spec: add run-time base64 dependency. [ionic] x2goserver/bin/x2goresume-session: simplify where possible, use x2gooptionsstring instead of awk field splitting hackery. [ionic] x2goserver/bin/x2gostartagent: prevent logfile corruption. [ionic] x2goserver-x2goagent/etc/keystrokes.cfg: sync with nx-libs 3.5.99.26. ------------------------------------------ [...truncated 73.05 KB...] + '[' 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-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary' + read line + [[ skip_if_unavailable=False =~ ^[[:space:]]*config_opts\['yum\.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\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [rawhide-modular-debuginfo] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [rawhide-modular-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[rawhide-modular-debuginfo]' + read line + [[ name=Fedora - Modular Rawhide - Debug =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=Fedora - Modular Rawhide - Debug =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'name=Fedora - Modular Rawhide - Debug' + read line + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-debug&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-debug&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-debug&arch=$basearch' + 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 + [[ gpgcheck=1 =~ ^[[:space:]]*config_opts\['yum\.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-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary' + read line + [[ skip_if_unavailable=False =~ ^[[:space:]]*config_opts\['yum\.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\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ '' =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '' + read line + [[ [rawhide-modular-source] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [rawhide-modular-source] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[rawhide-modular-source]' + read line + [[ name=Fedora - Modular Rawhide - Source =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=Fedora - Modular Rawhide - Source =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'name=Fedora - Modular Rawhide - Source' + read line + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'metalink=https://mirrors.fedoraproject.org/metalink?repo=rawhide-modular-source&arch=$basearch' + 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 + [[ gpgcheck=1 =~ ^[[:space:]]*config_opts\['yum\.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-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'gpgkey=file:///etc/pki/mock/RPM-GPG-KEY-fedora-$releasever-$basearch file:///etc/pki/mock/RPM-GPG-KEY-fedora-33-primary file:///etc/pki/mock/RPM-GPG-KEY-fedora-32-primary' + read line + [[ skip_if_unavailable=False =~ ^[[:space:]]*config_opts\['yum\.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\.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/rawhide/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/rawhide/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-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg + typeset mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1 + typeset tmp=fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1 + mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full + '[' fedora-rawhide-x86_64-x2go-nightly-full = fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1 ']' + mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg /var/lib/jenkins/mock-cache//fedora-rawhide-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-rawhide-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg' + return 0 + mock --buildsrpm -r /var/lib/jenkins/mock-cache//fedora-rawhide-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/rpmbuild/SOURCES/x2goserver.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/rpmbuild/SOURCES/ INFO: mock.py version 1.3.2-2.6x2go1 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/x2goserver/fedora/rawhide/SRPM/rpmbuild/SOURCES/x2goserver.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled dnf cache Start: cleaning dnf metadata Finish: cleaning dnf metadata Mock Version: 1.3.2-2.6x2go1 INFO: Mock Version: 1.3.2-2.6x2go1 Start: dnf install ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/rpmbuild/SOURCES/x2goserver.spec) Config(fedora-rawhide-x86_64) 0 minutes 32 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/ INFO: Cleaning up build root ('cleanup_on_failure=True') Start: clean chroot Finish: clean chroot ERROR: Command failed. See logs for output. # /usr/bin/dnf --installroot /var/lib/mock/fedora-rawhide-x86_64/root/ --releasever 33 --disableplugin=local --setopt=deltarpm=false install @buildsys-build + cat /var/lib/jenkins/pkg-dist/heuler/x2goserver/fedora/rawhide/SRPM/build.log Mock Version: 1.3.2-2.5x2go1 Mock Version: 1.3.2-2.6x2go1 Mock Version: 1.3.2-2.6x2go1 + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc/fedora-rawhide-x86_64-x2go-nightly-full.zzWzwXhkIwDB1EEe1t9e00e1.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-a8pFEaIsm5dJbmeTQIqYKfWc + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.ilFkh4G9VC16kfnWIT9rL0ag ']' + '[' -d /var/lib/jenkins/tmp/tmp.ilFkh4G9VC16kfnWIT9rL0ag ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.ilFkh4G9VC16kfnWIT9rL0ag Build step 'Execute shell' marked build as failure