See <https://jenkins.x2go.org:8443/job/x2goserver+nightly+fedora-rawhide/471/display/redirect?page=changes> Changes: [ionic] x2goserver-common/etc/x2goserver.conf: add x2gocleansessions section and agent-startup-time configurable option, to be set to the allowed time period in seconds between session creation and agent PID insertion into the database. [ionic] x2goserver/sbin/x2gocleansessions: fetch and sanity-check x2gocleansessions.agent-startup-time from config file. [ionic] x2goserver/sbin/x2gocleansessions: rework comment explaining what a session without an agent PID entry actually means and use the value from x2gocleansessions.agent-startup-time (if valid) instead of a hardcoded value. [ionic] x2goserver/sbin/x2gocleansessions: replace time check with PID validity check in check_pid and calls. ------------------------------------------ [...truncated 74.51 KB...] + [[ 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-31-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-31-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-31-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-31-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-31-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-31-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-31-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-31-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-31-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-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg + typeset mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb + typeset tmp=fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb + 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.D8FaWMklpnznWCOfOcgeL3Hb ']' + 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-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.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.5x2go1 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: 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.5x2go1 INFO: Mock Version: 1.3.2-2.5x2go1 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 33 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 32 --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 + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla/fedora-rawhide-x86_64-x2go-nightly-full.D8FaWMklpnznWCOfOcgeL3Hb.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-ymDCorBKGtu1sDY8Yfqn9Dla + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.P5ZEBnrz9Zam4SPl37gMXbMh ']' + '[' -d /var/lib/jenkins/tmp/tmp.P5ZEBnrz9Zam4SPl37gMXbMh ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.P5ZEBnrz9Zam4SPl37gMXbMh Build step 'Execute shell' marked build as failure