See <https://jenkins.x2go.org:8443/job/x2goserver+nightly+epel-6/470/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 68.75 KB...] + [[ name=epel-testing =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=epel-testing =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=epel-testing + 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 + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel6&arch=x86_64' + read line + [[ failovermethod=priority =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ failovermethod=priority =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo failovermethod=priority + 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 + [[ [local] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [local] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[local]' + read line + [[ name=local =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=local =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=local + read line + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo baseurl=https://kojipkgs.fedoraproject.org/repos/dist-6E-epel-build/latest/x86_64/ + read line + [[ cost=2000 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ cost=2000 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo cost=2000 + 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 + [[ 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 + [[ [epel-debuginfo] =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ [epel-debuginfo] =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo '[epel-debuginfo]' + read line + [[ name=epel-debug =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ name=epel-debug =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo name=epel-debug + read line + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&arch=x86_64 =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&arch=x86_64 =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo 'mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-6&arch=x86_64' + read line + [[ failovermethod=priority =~ ^[[:space:]]*config_opts\['yum\.conf'\][[:space:]]*=[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 1 ']' + [[ failovermethod=priority =~ ^[[:space:]]*"""[[:space:]]*$ ]] + '[' 1 -eq 0 ']' + echo failovermethod=priority + 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 + [[ 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-epel]' + (( ++i )) + (( i < 8 )) + echo 'name=Upstream X2Go EPEL Packages (Extra Packages)' + (( ++i )) + (( i < 8 )) + echo baseurl=http://packages.x2go.org/epel/6/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/6/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-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg + typeset 'tmp_regex=^.*\.cfg$' + [[ ! /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg =~ ^.*\.cfg$ ]] + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg ']' + '[' '!' -r /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg ']' ++ basename -s .cfg /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg + typeset mock_cache_file_name=epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70 + typeset tmp=epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70 + mock_cache_file_name=epel-6-x86_64-x2go-nightly-full + '[' epel-6-x86_64-x2go-nightly-full = epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70 ']' + mock_cache_file_name=epel-6-x86_64-x2go-nightly-full.cfg + typeset mock_cache_file_path=/var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg + '[' -f /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg ']' + '[' -r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg ']' + cmp -s /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg /var/lib/jenkins/mock-cache//epel-6-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-6-x86_64-x2go-nightly-full.cfg + return 0 + return 0 + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full' + '[' 0 -eq 0 ']' + MOCK_CHROOT_CONFIG='-r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg' + return 0 + mock --buildsrpm -r /var/lib/jenkins/mock-cache//epel-6-x86_64-x2go-nightly-full.cfg --resultdir=/var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/SRPM/ --spec /var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/SRPM/rpmbuild/SOURCES/x2goserver.spec --sources /var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/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/epel/6/SRPM/rpmbuild/SOURCES/x2goserver.spec) Config(epel-6-x86_64) Start: clean chroot Finish: clean chroot Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled yum cache Start: cleaning yum metadata Finish: cleaning yum metadata Mock Version: 1.3.2-2.6x2go1 INFO: Mock Version: 1.3.2-2.6x2go1 Start: yum install ERROR: Exception(/var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/SRPM/rpmbuild/SOURCES/x2goserver.spec) Config(epel-6-x86_64) 0 minutes 0 seconds INFO: Results and/or logs in: /var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/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/yum --installroot /var/lib/mock/epel-6-x86_64/root/ --releasever 6 install @buildsys-build + cat /var/lib/jenkins/pkg-dist/heuler/x2goserver/epel/6/SRPM/build.log Mock Version: 1.3.2-2.6x2go1 Mock Version: 1.3.2-2.6x2go1 + exit 1 + cleanup + '[' -n /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl ']' + '[' -e /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl ']' + case "${TMP_MOCK_CFG_DIR}" in + typeset file= + for file in "${TMP_MOCK_CFG_DIR}/"* + '[' '!' -f /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg ']' + rm -- /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl/epel-6-x86_64-x2go-nightly-full.9Warvrh3qLMwpjkQpz98cZ70.cfg + '[' -e /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl ']' + '[' -d /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl ']' + rmdir -- /var/lib/jenkins/tmp/x2go-mock-dZzJ95sYEbCx0c5cEwaK3twl + typeset temp_dir= + for temp_dir in "${temp_cleanup[@]}" + '[' -n /var/lib/jenkins/tmp/tmp.WhtChKsQT6kBii1XHaEumwRz ']' + '[' -d /var/lib/jenkins/tmp/tmp.WhtChKsQT6kBii1XHaEumwRz ']' + rm -Rf -- /var/lib/jenkins/tmp/tmp.WhtChKsQT6kBii1XHaEumwRz Build step 'Execute shell' marked build as failure