See
<https://jenkins.x2go.org:8443/job/x2goserver+nightly+epel-6/469/display/redirect?page=changes>
Changes:
[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 72.40 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-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
+ typeset 'tmp_regex=^.*\.cfg$'
+ [[ !
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
=~ ^.*\.cfg$ ]]
+ '[' '!' -f
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
']'
+ '[' '!' -r
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
']'
++ basename -s .cfg
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
+ typeset
mock_cache_file_name=epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN
+ typeset tmp=epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN
+ 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.UY5Scias5YO5nP5BxdjAz5JN ']'
+ 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-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.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: root cache aged out! cache will be rebuilt
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 1 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
+ exit 1
+ cleanup
+ '[' -n /var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94 ']'
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94 ']'
+ case "${TMP_MOCK_CFG_DIR}" in
+ typeset file=
+ for file in "${TMP_MOCK_CFG_DIR}/"*
+ '[' '!' -f
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
']'
+ rm --
/var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94/epel-6-x86_64-x2go-nightly-full.UY5Scias5YO5nP5BxdjAz5JN.cfg
+ '[' -e /var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94 ']'
+ '[' -d /var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94 ']'
+ rmdir -- /var/lib/jenkins/tmp/x2go-mock-q4v6x4znQywPAVzhmsYSHU94
+ typeset temp_dir=
+ for temp_dir in "${temp_cleanup[@]}"
+ '[' -n /var/lib/jenkins/tmp/tmp.VaHaClF78XfDTUTdqvOjhQFC ']'
+ '[' -d /var/lib/jenkins/tmp/tmp.VaHaClF78XfDTUTdqvOjhQFC ']'
+ rm -Rf -- /var/lib/jenkins/tmp/tmp.VaHaClF78XfDTUTdqvOjhQFC
Build step 'Execute shell' marked build as failure
_______________________________________________
x2go-commits mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-commits