See
<https://jenkins.x2go.org:8443/job/x2goserver+nightly+fedora-rawhide/472/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.
[ionic] x2goserver/lib/x2goupdateoptionsstring: simplify a for loop a bit.
[ionic] x2goserver/lib/x2goupdateoptionsstring: fix typo in comment.
[ionic] x2goserver/lib/x2goupdateoptionsstring: fix typo in print statement
syntax.
[ionic] debian/libx2go-server-perl.install: remove duplicated entry for
X2Go/Utils.pm.
[ionic] x2goserver/lib/x2goupdateoptionsstring: update copyright notice.
[ionic] X2Go/Server/Agentt/: add new (stub) file NX/Options.pm as a library
version of the options string manipulation code.
[ionic] x2goserver/lib/x2goupdateoptionsstring: fix man page specification,
options string was missing.
[ionic] x2goserver/lib/x2goupdateoptionsstring: move most code to
X2Go/Server/Agent/NX/Options.pm.
[ionic] x2goserver/lib/x2goupdateoptionsstring: revert for loop simplification.
[ionic] X2Go/Server/Agent/NX/Options.pm: add a lot of documentation.
[ionic] x2goserver/lib/x2goupdateoptionsstring: update synopsis to include the
optional character of a plus sign, but a non-optional character for a minus
sign.
[ionic] x2goserver/lib/x2goupdateoptionsstring: make clear that "additional
parameters" are transformations.
[ionic] x2goserver/lib/x2goupdateoptionsstring: replace occurrences of "option
string" with "options string".
[ionic] X2Go/Server/Agent/NX/Options.pm: replace occurrences of "option string"
with "options string".
[ionic] X2Go/Server/Agent/NX/Options.pm: document that duplicate keys in the
input options string are possible and accepted, but actually discouraged and
semantically redundant.
[ionic] X2Go/Server/Agent/NX/Options.pm: whitespace-only in comment.
[ionic] X2Go/Server/Agent/NX/Options.pm: add and use an enum-like construct as
the internal mode selector for transforms.
[ionic] X2Go/Server/Agent/NX/Options.pm: rename options parameter in
transform_intermediate to intermediate.
[ionic] X2Go/Server/Agent/NX/Options.pm: document key-value pairs with either
empty keys or empty (!= non-existent) values.
[ionic] X2Go/Server/Agent/NX/Options.pm: make sure that intermediates never
include undef entries.
[ionic] x2goserver/lib/x2goupdateoptionsstring: switch to "X2Go/NX Agent" term
and make it bold to denote something special.
[ionic] X2Go/Server/Agent/NX/Options.pm: add new function compact_intermediate,
used to remove duplicated and empty elements.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add new --compact/-c switch to
enable the use of compactation.
[ionic] x2goserver/lib/x2goupdateoptionsstring: document new --compact/-c
switch.
[ionic] x2goserver/lib/x2goupdateoptionsstring: split up GetOptionsFromArray ()
line.
[ionic] X2Go/Server/Agent/NX/Options.pm: document the new compact_intermediate
() function and its implications.
[ionic] X2Go/Server/Agent/NX/Options.pm: fix some Perl Critic warnings and
silence others.
[ionic] x2goserver/lib/x2goupdateoptionsstring: fix some Perl Critic warnings
and silence others.
[ionic] X2Go/Server/Agent/NX/Options.pm: grammar/typo fix in comment and
improve a different comment.
[ionic] X2Go/Server/Agent/NX/Options.pm: avoid copying arrays if not necessary
when passing to grep and map operations.
[ionic] X2Go/Server/Agent/NX/Options.pm: rework the lastly modified comment
again, the changed explanation didn't match the reality.
[ionic] X2Go/Server/Agent/NX/Options.pm: fix typos in internal section links.
[ionic] X2Go/Server/Agent/NX/Options.pm: add newline before __END__,
non-functional.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}: add
=pod markers.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}:
update AUTHOR sections with proper links.
[ionic] X2Go/Server/Agent/NX/Options.pm: fix nxagent man page link.
[ionic] x2goserver/lib/x2goupdateoptionsstring: considerably simplify while
loop logic that iterates over transformations.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}:
reformat/reflow so that each sentence starts on a proper line.
[ionic] X2Go/Server/Agent/NX/Options.pm: replace "treat as" with "treat like".
[ionic] X2Go/Server/Agent/NX/Options.pm: clear up "logically equivalent but
logically very different" situation.
[ionic] x2goserver/lib/x2goupdateoptionsstring: rename EXAMPLE section to
EXAMPLES.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add links to
X2Go::Server::Agent::NX::Options documentation on option strings and
transformations.
[ionic] x2goserver/lib/x2goupdateoptionsstring: document how to cheat and just
compact options strings.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add options terminators to
example calls.
[ionic] X2Go/Server/Agent/NX/Options.pm: document that NUL bytes can only be
URL-encoded, but that this not recommended.
[ionic] X2Go/Server/Agent/NX/Options.pm: typo compactation => compaction.
[ionic] X2Go/Server/Agent/NX/Options.pm: whitespace-only on fake enum-subs.
[ionic] X2Go/Server/Agent/NX/Options.pm: add empty BEGIN block in case it's
ever needed (and if not, it shouldn't have any side effects anyway).
[ionic] x2goserver/lib/x2goupdateoptionsstring: add space between link and
punctuation character for easier copying.
[ionic] x2goserver/lib/x2goupdateoptionsstring: better document end-of-options
terminator and highlight its importance.
[ionic] X2Go/Server/Agent/NX/Options.pm: reflow some text.
[ionic] X2Go/Server/Agent/NX/Options.pm: document other non-printable
characters.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add comment regarding the shiftÂ
() operations after sanitizing program options.
[ionic] X2Go/Server/Agent/NX/Options.pm: if ("string") in Perl does something
weird in a dualvar sense - it converts a string to a number, which typically
evaluates into a plain "0" if it doesn't start with any digits.
[ionic] X2Go/Server/Agent/NX/Options.pm: make sure to add/modify elements with
an empty string or undef key and an undef value as an empty hash.
[ionic] x2goserver/lib/x2goupdateoptionsstring: fix parsing of multiple
subsequent separating "--" pseudo-options.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add debug print statements for
in-depth examination of program options parsing.
[ionic] x2goserver/lib/x2goupdateoptionsstring: add mode selection
functionality.
[ionic] X2Go/Server/Agent/NX/Options.pm: port modes "enum" subs to the constant
pragma to make the code more consistent with the program wrapper.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}:
update Perl critic overrides to allow the constant pragma and document it and
other overrides (unless they are self-explanatory).
[ionic] x2goserver/lib/x2goupdateoptionsstring: rework mode selection, split
out abbreviation parsing into a separate function to take out nesting
complexity.
[ionic] debian/changelog: typo and whitespace fixes.
[ionic] debian/changelog: fixup x2goserver/{lib,bin}/x2goupdateoptionsstring.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}:
fix/silence a few Perl::Critic warnings.
[ionic] x2goserver/bin/x2goupdateoptionsstring: typo fix in output message only.
[ionic] x2goserver/bin/x2goupdateoptionsstring: remove obsolete comment, we're
not using a do block/do-while loop any longer.
[ionic] X2Go/Server/Agent/NX/Options.pm: undef can't be referenced, so
adjust/fix the comments.
[ionic] x2goserver/bin/x2goupdateoptionsstring: more typo fixes in output
messages only.
[ionic] x2goserver/bin/x2goupdateoptionsstring: generalize code looping through
program arguments and split out transformation operation into own subroutine.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}:
enable Unicode handling, as far as possible.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}:
fatalize text coding errors.
[ionic] x2goserver/bin/x2goupdateoptionsstring: sanitize/convert data in @ARGV.
[ionic] x2goserver/bin/x2goupdateoptionsstring: add non-functional extraction
mode.
[ionic] x2goserver/bin/x2goupdateoptionsstring: fix syntax and strict mode
errors.
[ionic] X2Go/Server/Agent/NX/Options.pm: simplify error handling by splitting
intermediate checking out into a separate subroutine.
[ionic] X2Go/Server/Agent/NX/Options.pm: rename $options variable to
$intermediate in intermediate_to_string () for internal consistency.
[ionic] X2Go/Server/Agent/NX/Options.pm: document that subroutines and
constants that are not marked for export are internal and should not be used.
[ionic] X2Go/Server/Agent/NX/Options.pm: add extract_element subroutine, used
to extract key-value pairs.
[ionic] x2goserver/bin/x2goupdateoptionsstring: correctly use MIME::Base64.
[ionic] x2goserver/bin/x2goupdateoptionsstring: actually implement extraction
mode.
[ionic] x2goserver/bin/x2goupdateoptionsstring: don't encode/decode in-place.
[ionic]
{X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}:
explicitly use package foreign package names all across the code for
consistency.
[ionic] x2goserver/bin/x2goupdateoptionsstring: fix typos in documentation and
reword misinterpreted-as-options section.
[ionic] x2goserver/bin/x2goupdateoptionsstring: document mode selection and
extraction mode.
[ionic] x2goserver/bin/x2goupdateoptionsstring: fix error handling for kv-pair
extraction.
[ionic] x2goserver/bin/x2goupdateoptionsstring: add base64 encode and decode
helpers, add new --base64 parameter that enabled global use of base64.
[ionic] X2Go/Server/Agent/NX/Options.pm: actually check for a specific value in
the kv-pair filter function if so specified.
[ionic] x2goserver/bin/x2goupdateoptionsstring: extend extraction example for
how to check for full key-value pair combinations.
[ionic] x2goserver/bin/x2goupdateoptionsstring: document the new base6
pseudo-mode.
[ionic] x2goserver/bin/x2goupdateoptionsstring: an equal sign or space
character is mandatory after the -m or --mode switch.
[ionic] X2Go/Server/Agent/NX/Options.pm: document key-value pair extraction.
[ionic] x2goserver/bin/x2goupdateoptionsstring: fix some Perl::Critic warnings.
[ionic] x2goserver/bin/x2goupdateoptionsstring: encode/decode to/from shell
locale.
[ionic] x2goserver.spec: add dependency upon perl(Encode::Locale) for older
distros.
[ionic] x2goserver/bin: rename x2goupdateoptionsstring to x2gooptionsstring.
[ionic] x2goserver/Makefile: rename x2goupdateoptionsstring to
x2gooptionsstring.
[ionic] debian/x2goserver.manpages: rename x2goupdateoptionsstring to
x2gooptionsstring.
[ionic] debian/x2goserver.install: rename x2goupdateoptionsstring to
x2gooptionsstring.
[ionic] x2goserver/bin/x2gooptionsstring: rename x2goupdateoptionsstring to
x2gooptionsstring.
------------------------------------------
[...truncated 73.10 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-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-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ !
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
=~ ^.*\.cfg$ ]]
+ '[' '!' -f
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
']'
+ '[' '!' -r
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
']'
++ basename -s .cfg
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
+ typeset
mock_cache_file_name=fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm
+ typeset tmp=fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm
+ 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.6FYM2gREHvRdunMAun9lIHHm ']'
+ 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-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.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 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 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
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
']'
+ rm --
/var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm/fedora-rawhide-x86_64-x2go-nightly-full.6FYM2gREHvRdunMAun9lIHHm.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-mfVSPtrBKVti73sXjH5Zykjm
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.5PArlft7liBObVnEyzwvCjTG ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.5PArlft7liBObVnEyzwvCjTG ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.5PArlft7liBObVnEyzwvCjTG
Build step 'Execute shell' marked build as failure
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits