quattor / maven-tools Goto Github PK
View Code? Open in Web Editor NEWMaven-based Build Tools
Home Page: www.quattor.org
License: Apache License 2.0
Maven-based Build Tools
Home Page: www.quattor.org
License: Apache License 2.0
Currently man pages are installed in /usr/share/doc/man which is not in the default MANPATH for RedHat based systems. Using /usr/share/man appears to be more standard. e.g. http://www.pathname.com/fhs/2.2/fhs-4.11.html
As part of the documentation clean up it was decided to move to single source, e.g. keep the pod documentation in the pm file.
We currently copy over the pod files from src to target to make further documentation.
I managed to make maven copy over the pm files (instead of pod) and then rename them to pod. (in this branch: https://github.com/wdpypere/maven-tools/tree/pmdocs) But this would require us to adapt all components at once, which is not really feasible.
I would like to make this conditional:
But to be honest, I find maven really confusing and not very flexible, so if anyone has any tips or pointers, please share. ๐
$ cd ncm-spma
$ mvn test # passes
$ mvnprove.pl
... (all tests pass to this point)
ok 16 - All files copied to /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/config-common.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/config-ips.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/config-rpm.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/config.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/functions.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/ips/schema.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/repository_cleanup.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/schema.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/software.pan.
# VERBOSE No unfold of pantemplate /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan/components/spma/yum/schema.pan.
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# ERROR: ttincludepath not defined
not ok 17 - ttincludepath not defined
# Failed test 'ttincludepath not defined'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
ok 18 - TT relpath defined spma
ok 19 - testspath /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests exists
ok 20 - profilespath /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles exists
ok 21 - regexpspath /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps exists
# VERBOSE Found regexps directory fastestmirror (abs /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/fastestmirror) with files fastestmirror/base, fastestmirror/oneenabled
# VERBOSE Found regexps file nofastestmirror (abs /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/nofastestmirror)
# VERBOSE Found regexps directory priorities (abs /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/priorities) with files priorities/base, priorities/oneenabled
# VERBOSE Found regexps directory repository (abs /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository) with files repository/repo0, repository/repo1, repository/repo2
# VERBOSE Found regexps directory versionlock (abs /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/versionlock) with files versionlock/base
ok 22 - Found regexps
ok 23 - relpath /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles exists and is directory
ok 24 - panpath /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles exists and is directory
# VERBOSE Namespace regex pattern (?-xism:^(declaration|unique|object|structure)\stemplate\s(\S+);$)
# VERBOSE Found matching template base type unique
# VERBOSE Found matching template fastestmirror type object
# VERBOSE Found matching template nofastestmirror type object
# VERBOSE Found matching template priorities type object
# VERBOSE Found matching template repository type object
# VERBOSE Found matching template versionlock type object
ok 25 - No invalid pan templates
ok 26 - Found profiles
ok 27 - All regexps have matching profile
# DEBUG: Converted profile /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/repository.pan in cache name repository
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/global.lock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/latest.cid
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# Creating default ccm.cfg in /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma
# DEBUG: Pan compiler called from directory /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles (proc panc --formats json --output-dir /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/profiles --include-path /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan:/d/d1/dimmock/template-library-core:/d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles:. /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/repository.pan)
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/ccm.cfg
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvcmVwb3NpdG9yeS5qc29u
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvcmVwb3NpdG9yeS5qc29u
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/profile.2/path2eid.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/profile.2/eid2data.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/latest.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/profile.2/profile.url
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/profile.2/profile.xml
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/repository/profile.2/ccm-active-profile.2-24851
ok 28 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo0 found.
ok 29 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo0
ok 30 - Description: Value test for repository 0
# INFO BEGIN test for Value test for repository 0
ok 31 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 32 - Renderpath /software found
ok 33 - rendermodule specifiedrepository
ok 34 - contentspath specified/software/repositories/0
ok 35 - contentspath elementExists
not ok 36 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 37 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module repository
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
# VERBOSE FAIL: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
not ok 38 - No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))
# Failed test 'No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 39 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 40 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '18'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^# Basic Yum repository file. See the man pages for$))). Something went wrong before.
not ok 41 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^# NCM::Component::spma and yum.conf$))). Something went wrong before.
not ok 42 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^# for more details.$))). Something went wrong before.
not ok 43 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[zero\]$))). Something went wrong before.
not ok 44 - Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[zero\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[zero\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=zero$))). Something went wrong before.
not ok 45 - Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=zero$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=zero$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://some.example.com/repoone$))). Something went wrong before.
not ok 46 - Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://some.example.com/repoone$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://some.example.com/repoone$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
not ok 47 - Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/zero.pkgs$))). Something went wrong before.
not ok 48 - Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/zero.pkgs$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/zero.pkgs$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^exclude=pkg1 \*pkg2\*$))). Something went wrong before.
not ok 49 - Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^exclude=pkg1 \*pkg2\*$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^exclude=pkg1 \*pkg2\*$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^proxy))). Something went wrong before.
not ok 50 - Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^proxy))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^proxy))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
not ok 51 - Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.
not ok 52 - Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.
not ok 53 - Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^repo_gpgcheck=0$))). Something went wrong before.
not ok 54 - Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^repo_gpgcheck=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^repo_gpgcheck=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^gpgcakey=file:///super/ca/key$))). Something went wrong before.
not ok 55 - Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^gpgcakey=file:///super/ca/key$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^gpgcakey=file:///super/ca/key$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 15 (pattern (?-xism:(?m:^gpgkey= file:///path/to/key$))). Something went wrong before.
not ok 56 - Match count is missing/undefined for test idx 15 (pattern (?-xism:(?m:^gpgkey= file:///path/to/key$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 15 (pattern (?-xism:(?m:^gpgkey= file:///path/to/key$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 16 (pattern (?-xism:(?m:^ https://somewhere/very/very/far$))). Something went wrong before.
not ok 57 - Match count is missing/undefined for test idx 16 (pattern (?-xism:(?m:^ https://somewhere/very/very/far$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 16 (pattern (?-xism:(?m:^ https://somewhere/very/very/far$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 17 (pattern (?-xism:(?m:^ ftp://because/ftp/and/security/go/well/together$))). Something went wrong before.
not ok 58 - Match count is missing/undefined for test idx 17 (pattern (?-xism:(?m:^ ftp://because/ftp/and/security/go/well/together$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 17 (pattern (?-xism:(?m:^ ftp://because/ftp/and/security/go/well/together$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for Value test for repository 0
ok 59 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo1 found.
ok 60 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo1
ok 61 - Description: Value test for repository 1
# INFO BEGIN test for Value test for repository 1
ok 62 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 63 - Renderpath /software found
ok 64 - rendermodule specifiedrepository
ok 65 - contentspath specified/software/repositories/1
ok 66 - contentspath elementExists
not ok 67 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 68 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module repository
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
# VERBOSE FAIL: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
not ok 69 - No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))
# Failed test 'No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 70 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 71 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '14'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^# Basic Yum repository file. See the man pages for$))). Something went wrong before.
not ok 72 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^# NCM::Component::spma and yum.conf$))). Something went wrong before.
not ok 73 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^# for more details.$))). Something went wrong before.
not ok 74 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[one\]$))). Something went wrong before.
not ok 75 - Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[one\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[one\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=one$))). Something went wrong before.
not ok 76 - Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=one$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=one$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://not.example.com/woohoo$))). Something went wrong before.
not ok 77 - Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://not.example.com/woohoo$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= http://not.example.com/woohoo$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^ http://not.example.com/either$))). Something went wrong before.
not ok 78 - Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^ http://not.example.com/either$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^ http://not.example.com/either$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
not ok 79 - Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/one.pkgs$))). Something went wrong before.
not ok 80 - Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/one.pkgs$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/one.pkgs$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^exclude=dont want$))). Something went wrong before.
not ok 81 - Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^exclude=dont want$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^exclude=dont want$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^proxy=https://proxy/$))). Something went wrong before.
not ok 82 - Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^proxy=https://proxy/$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^proxy=https://proxy/$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.
not ok 83 - Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=1$))). Something went wrong before.
not ok 84 - Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^skip_if_unavailable=1$))). Something went wrong before.
not ok 85 - Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^skip_if_unavailable=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^skip_if_unavailable=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for Value test for repository 1
ok 86 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo2 found.
ok 87 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/repository/repo2
ok 88 - Description: Value test for repository 2
# INFO BEGIN test for Value test for repository 2
ok 89 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 90 - Renderpath /software found
ok 91 - rendermodule specifiedrepository
ok 92 - contentspath specified/software/repositories/2
ok 93 - contentspath elementExists
not ok 94 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 95 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module repository
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
# VERBOSE FAIL: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt)
not ok 96 - No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))
# Failed test 'No renderfailure (fail: Failed to render with module repository: Non-existing template names: /usr/share/templates/quattor/spma/repository.tt (abs_path of /usr/share/templates/quattor/spma/repository.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 97 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 98 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '15'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^# Basic Yum repository file. See the man pages for$))). Something went wrong before.
not ok 99 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\# Basic Yum repository file. See the man pages for$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^# NCM::Component::spma and yum.conf$))). Something went wrong before.
not ok 100 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^\# NCM::Component::spma and yum.conf$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^# for more details.$))). Something went wrong before.
not ok 101 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^\# for more details.$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[two\]$))). Something went wrong before.
not ok 102 - Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[two\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^\[two\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=two$))). Something went wrong before.
not ok 103 - Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=two$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^name=two$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= https://secret.example.com/repo$))). Something went wrong before.
not ok 104 - Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= https://secret.example.com/repo$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^baseurl= https://secret.example.com/repo$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^sslcacert=/etc/pki/CA/cert.pem$))). Something went wrong before.
not ok 105 - Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^sslcacert=/etc/pki/CA/cert.pem$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^sslcacert=/etc/pki/CA/cert.pem$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^sslclientkey=/etc/pki/key.pem$))). Something went wrong before.
not ok 106 - Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^sslclientkey=/etc/pki/key.pem$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^sslclientkey=/etc/pki/key.pem$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^sslclientcert=/etc/pki/cert/pem$))). Something went wrong before.
not ok 107 - Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^sslclientcert=/etc/pki/cert/pem$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^sslclientcert=/etc/pki/cert/pem$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
not ok 108 - Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^metadata_expire=7d$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/two.pkgs$))). Something went wrong before.
not ok 109 - Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/two.pkgs$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 10 (pattern (?-xism:(?m:^include=/etc/yum.repos.d/two.pkgs$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.
not ok 110 - Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 11 (pattern (?-xism:(?m:^enabled=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.
not ok 111 - Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 12 (pattern (?-xism:(?m:^gpgcheck=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^includepkgs=alot \*more\*$))). Something went wrong before.
not ok 112 - Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^includepkgs=alot \*more\*$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 13 (pattern (?-xism:(?m:^includepkgs=alot \*more\*$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.
not ok 113 - Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 14 (pattern (?-xism:(?m:^skip_if_unavailable=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for Value test for repository 2
# DEBUG: Converted profile /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/nofastestmirror.pan in cache name nofastestmirror
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/global.lock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/latest.cid
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# Creating default ccm.cfg in /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvbm9mYXN0ZXN0bWlycm9yLmpzb24=
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvbm9mYXN0ZXN0bWlycm9yLmpzb24=
# DEBUG: Pan compiler called from directory /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles (proc panc --formats json --output-dir /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/profiles --include-path /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan:/d/d1/dimmock/template-library-core:/d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles:. /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/nofastestmirror.pan)
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/profile.2/path2eid.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/profile.2/eid2data.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/latest.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/profile.2/profile.url
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/profile.2/profile.xml
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/nofastestmirror/profile.2/ccm-active-profile.2-24851
ok 114 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/nofastestmirror found.
ok 115 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/nofastestmirror
# VERBOSE multiline set but ignored with quote flag
ok 116 - Description: Default test (nothing configured) Intentionally uses /software/groups to mimic missing config
# INFO BEGIN test for Default test (nothing configured) Intentionally uses /software/groups to mimic missing config
ok 117 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 118 - Renderpath /software found
ok 119 - rendermodule specifiedyumplugins/fastestmirror
ok 120 - contentspath specified/software/groups
ok 121 - contentspath elementExists
not ok 122 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 123 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/fastestmirror
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
not ok 124 - No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 125 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 126 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '1'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?:^\[main\]
#
# enabled=0
# $))). Something went wrong before.
not ok 127 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?:^\[main\]
#
# enabled=0
# $))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?:^\[main\]
#
# enabled=0
# $))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for Default test (nothing configured) Intentionally uses /software/groups to mimic missing config
# DEBUG: Converted profile /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/versionlock.pan in cache name versionlock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/global.lock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/latest.cid
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# Creating default ccm.cfg in /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvdmVyc2lvbmxvY2suanNvbg==
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvdmVyc2lvbmxvY2suanNvbg==
# DEBUG: Pan compiler called from directory /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles (proc panc --formats json --output-dir /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/profiles --include-path /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan:/d/d1/dimmock/template-library-core:/d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles:. /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/versionlock.pan)
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/profile.2/path2eid.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/profile.2/eid2data.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/latest.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/profile.2/profile.url
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/profile.2/profile.xml
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/versionlock/profile.2/ccm-active-profile.2-24851
ok 128 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/versionlock/base found.
ok 129 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/versionlock/base
ok 130 - Description: basic test
# INFO BEGIN test for basic test
ok 131 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 132 - Renderpath /software found
ok 133 - rendermodule specifiedyumplugins/versionlock
ok 134 - contentspath specified/software/components/spma/plugins/versionlock
ok 135 - contentspath elementExists
not ok 136 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 137 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/versionlock
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/versionlock.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/versionlock.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/versionlock: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/versionlock.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/versionlock.tt)
not ok 138 - No renderfailure (fail: Failed to render with module yumplugins/versionlock: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/versionlock.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/versionlock.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/versionlock: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/versionlock.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/versionlock.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 139 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 140 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '4'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
not ok 141 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
not ok 142 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^follow_obsoletes=0$))). Something went wrong before.
not ok 143 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^follow_obsoletes=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^follow_obsoletes=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^locklist=/etc/yum/pluginconf.d/versionlock.list$))). Something went wrong before.
not ok 144 - Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^locklist=/etc/yum/pluginconf.d/versionlock.list$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^locklist=/etc/yum/pluginconf.d/versionlock.list$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for basic test
# DEBUG: Converted profile /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/priorities.pan in cache name priorities
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/global.lock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/latest.cid
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# Creating default ccm.cfg in /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma
# DEBUG: Pan compiler called from directory /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles (proc panc --formats json --output-dir /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/profiles --include-path /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan:/d/d1/dimmock/template-library-core:/d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles:. /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/priorities.pan)
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvcHJpb3JpdGllcy5qc29u
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvcHJpb3JpdGllcy5qc29u
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/profile.2/path2eid.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/profile.2/eid2data.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/latest.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/profile.2/profile.url
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/profile.2/profile.xml
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/priorities/profile.2/ccm-active-profile.2-24851
ok 145 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/priorities/base found.
ok 146 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/priorities/base
ok 147 - Description: config for priorities plugin
# INFO BEGIN test for config for priorities plugin
ok 148 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 149 - Renderpath /software found
ok 150 - rendermodule specifiedyumplugins/priorities
ok 151 - contentspath specified/software/components/spma/plugins/priorities
ok 152 - contentspath elementExists
not ok 153 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 154 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/priorities
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt)
not ok 155 - No renderfailure (fail: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 156 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 157 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '3'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
not ok 158 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^check_obsoletes=1$))). Something went wrong before.
not ok 159 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^check_obsoletes=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^check_obsoletes=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
not ok 160 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for config for priorities plugin
ok 161 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/priorities/oneenabled found.
ok 162 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/priorities/oneenabled
ok 163 - Description: only one enabled statement
# INFO BEGIN test for only one enabled statement
ok 164 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 165 - Renderpath /software found
ok 166 - rendermodule specifiedyumplugins/priorities
ok 167 - contentspath specified/software/components/spma/plugins/priorities
ok 168 - contentspath elementExists
not ok 169 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 170 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/priorities
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt)
not ok 171 - No renderfailure (fail: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/priorities: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/priorities.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/priorities.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 172 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 173 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '1'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.
not ok 174 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for only one enabled statement
# DEBUG: Converted profile /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/fastestmirror.pan in cache name fastestmirror
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/global.lock
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/latest.cid
# VERBOSE template-library-core path found /d/d1/dimmock/template-library-core
# Creating default ccm.cfg in /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvZmFzdGVzdG1pcnJvci5qc29u
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/data/ZmlsZTovLy9kL2QxL2RpbW1vY2svY29uZmlndXJhdGlvbi1tb2R1bGVzLWNvcmUvbmNtLXNwbWEvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMvZmFzdGVzdG1pcnJvci5qc29u
# DEBUG: Pan compiler called from directory /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles (proc panc --formats json --output-dir /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/profiles --include-path /d/d1/dimmock/configuration-modules-core/ncm-spma/target/pan:/d/d1/dimmock/template-library-core:/d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles:. /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/profiles/fastestmirror.pan)
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/profile.2/path2eid.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/profile.2/eid2data.fmt
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/latest.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/current.cid
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/profile.2/profile.url
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/profile.2/profile.xml
updated /d/d1/dimmock/configuration-modules-core/ncm-spma/target/test/cache/components/spma/fastestmirror/profile.2/ccm-active-profile.2-24851
ok 175 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/fastestmirror/base found.
ok 176 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/fastestmirror/base
ok 177 - Description: config for fastestmirror plugin
# INFO BEGIN test for config for fastestmirror plugin
ok 178 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 179 - Renderpath /software found
ok 180 - rendermodule specifiedyumplugins/fastestmirror
ok 181 - contentspath specified/software/components/spma/plugins/fastestmirror
ok 182 - contentspath elementExists
not ok 183 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 184 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/fastestmirror
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
not ok 185 - No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 186 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 187 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '10'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
not ok 188 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^\[main\]$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^always_print_best_host=true$))). Something went wrong before.
not ok 189 - Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^always_print_best_host=true$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 1 (pattern (?-xism:(?m:^always_print_best_host=true$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
not ok 190 - Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 2 (pattern (?-xism:(?m:^enabled=1$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^exclude=\*.something,more.more$))). Something went wrong before.
not ok 191 - Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^exclude=\*.something,more.more$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 3 (pattern (?-xism:(?m:^exclude=\*.something,more.more$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^hostfilepath=timedhosts.txt$))). Something went wrong before.
not ok 192 - Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^hostfilepath=timedhosts.txt$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 4 (pattern (?-xism:(?m:^hostfilepath=timedhosts.txt$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^include_only=me.too,even.more$))). Something went wrong before.
not ok 193 - Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^include_only=me.too,even.more$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 5 (pattern (?-xism:(?m:^include_only=me.too,even.more$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^maxhostfileage=10$))). Something went wrong before.
not ok 194 - Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^maxhostfileage=10$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 6 (pattern (?-xism:(?m:^maxhostfileage=10$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^maxthreads=15$))). Something went wrong before.
not ok 195 - Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^maxthreads=15$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 7 (pattern (?-xism:(?m:^maxthreads=15$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^socket_timeout=3$))). Something went wrong before.
not ok 196 - Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^socket_timeout=3$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 8 (pattern (?-xism:(?m:^socket_timeout=3$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# ERROR: Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^verbose=0$))). Something went wrong before.
not ok 197 - Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^verbose=0$))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 9 (pattern (?-xism:(?m:^verbose=0$))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for config for fastestmirror plugin
ok 198 - Regexp file /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/fastestmirror/oneenabled found.
ok 199 - Expected number of blocks in regexptest /d/d1/dimmock/configuration-modules-core/ncm-spma/src/main/resources/tests/regexps/fastestmirror/oneenabled
ok 200 - Description: only one enabled statement
# INFO BEGIN test for only one enabled statement
ok 201 - config EDG::WP4::CCM::Configuration instance isa EDG::WP4::CCM::Configuration
ok 202 - Renderpath /software found
ok 203 - rendermodule specifiedyumplugins/fastestmirror
ok 204 - contentspath specified/software/components/spma/plugins/fastestmirror
ok 205 - contentspath elementExists
not ok 206 - ttincludepath specified <undef>
# Failed test 'ttincludepath specified <undef>'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 104.
ok 207 - ttrelpath specified spma
# VERBOSE Set eol to 0
# VERBOSE Using includepath /usr/share/templates/quattor
# VERBOSE Using relpath 'spma'
# DEBUG: 3 Using Template::Toolkit to render module yumplugins/fastestmirror
# DEBUG: 3 Contents is a Element instance
# DEBUG: 3 We must ensure that all templates lie below /usr/share/templates/quattor.
# VERBOSE FAIL: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
# VERBOSE FAIL: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt)
not ok 208 - No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))
# Failed test 'No renderfailure (fail: Failed to render with module yumplugins/fastestmirror: Non-existing template names: /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt (abs_path of /usr/share/templates/quattor/spma/yumplugins/fastestmirror.tt))'
# at /usr/lib/perl/Test/Quattor/TextRender/RegexpTest.pm line 152.
not ok 209 - Text to test defined
# Failed test 'Text to test defined'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 527.
# ERROR: No text to match defined
not ok 210 - Match for each test
# Failed test 'Match for each test'
# at /usr/lib/perl/Test/Quattor/RegexpTest.pm line 532.
# got: '1'
# expected: '0'
# ERROR: Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.
not ok 211 - Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.
# Failed test 'Match count is missing/undefined for test idx 0 (pattern (?-xism:(?m:^enabled=))). Something went wrong before.'
# at /usr/lib/perl/Test/Quattor/Object.pm line 289.
# INFO END test for only one enabled statement
1..211
# Looks like you failed 106 tests of 211.
Dubious, test returned 106 (wstat 27136, 0x6a00)
Failed 106/211 subtests
dimmock@idesktop30:ncm-spma$ rpm -qf /usr/bin/mvnprove.pl
perl-Test-Quattor-16.2.1-SNAPSHOT20160505172327.noarch
HEAD is:
commit d43db845e6b42e7ca76daa1a8d294410ca2420da
Merge: 8d1dcc5 4f44790
Author: James Adams [email protected]
Date: Tue Apr 19 09:34:44 2016 +0200
Merge pull request #736 from kwaegema/limits
ncm-metaconfig: add service for limits.conf file
Every component should contain the following in its config.pan
.
include if_exists('component/${project.artifactId}/site_config.pan');
To allow sites to override default settings (e.g. dispatch
) if required.
Add unittest framework for generating / validating any documentation
I tried to release version 1.41 of maven tools. release:prepare
ran successfully but unfortunately I got unit test errors for build-scrips
during release:perform
. Not sure why because the test have been run successfully during release:prepare
... Probably something different in the environment of release:perform
. Any hint appreciated... I'll probably not be able to work on this before middle of the afternoon...
[INFO] ------------------------------------------------------------------------
[INFO] Building build-scripts 1.41
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ build-scripts ---
[INFO]
[INFO] --- exec-maven-plugin:1.2:exec (prove) @ build-scripts ---
src/test/perl/component.t ................... ok
src/test/perl/object-gather_pan.t ........... ok
src/test/perl/object-new.t .................. ok
src/test/perl/panc.t ........................ ok
src/test/perl/pod-syntax.t .................. ok
# Unable to compile profile profilecache_broken.pan. Minimal panc version is 10.2. Pan compiler called with: panc --formats json --output-dir /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/test/profiles --include-path .:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/9vhg9o973e profilecache_broken.pan from directory /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources with output
# parse error [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/profilecache_broken.pan:1.1-1.1]
#
# Encountered: Woohoo
# Was expecting one of:
# "unique" ...
# "object" ...
# "template" ...
# "structure" ...
# "declaration" ...
#
#
src/test/perl/profilecache.t ................ ok
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
src/test/perl/quattor.t ..................... ok
src/test/perl/quattor_mock.t ................ ok
src/test/perl/regexptest-flags.t ............ ok
src/test/perl/regexptest-tests.t ............ ok
src/test/perl/regexptest.t .................. ok
# ERROR: no more guesses for template-library-core path: tlc
# ERROR: No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# Failed test 'No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)'
# at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Object.pm line 143.
Use of uninitialized value $dirs[1] in join or string at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Panc.pm line 99.
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# INFO BEGIN test for Base test
# INFO END test for Base test
# Looks like you failed 1 test of 44.
src/test/perl/textrender-component.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/44 subtests
src/test/perl/textrender-gather_pan.t ....... ok
src/test/perl/textrender-gather_tt.t ........ ok
# INFO TT gather and verification test disabled
# ERROR: no more guesses for template-library-core path: tlc
# ERROR: No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# Failed test 'No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)'
# at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Object.pm line 143.
Use of uninitialized value $dirs[1] in join or string at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Panc.pm line 99.
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
Unable to compile profile /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/nottservice/tests/profiles/config.pan. Minimal panc version is 10.2. Pan compiler called with: panc --formats json --output-dir /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/test/profiles --include-path /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/nottservice/tests/profiles:. /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/nottservice/tests/profiles/config.pan from directory /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/nottservice/tests/profiles with output
evaluation error [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/nottservice/schema.pan:3.1-3.20]
cannot locate template named 'pan/types'
>>> call stack trace
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/nottservice/schema.pan:3.1-3.20]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/nottservice/config.pan:3.1-3.40]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/nottservice/tests/profiles/config.pan:3.1-3.40]
>>> ====================
at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/ProfileCache.pm line 208
# Tests were run but no plan was declared and done_testing() was not seen.
src/test/perl/textrender-metaconfig-nott.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/26 subtests
# ERROR: no more guesses for template-library-core path: tlc
# ERROR: No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# Failed test 'No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)'
# at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Object.pm line 143.
Use of uninitialized value $dirs[1] in join or string at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Panc.pm line 99.
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# INFO BEGIN test for Nopan
# INFO END test for Nopan
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
Unable to compile profile /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan. Minimal panc version is 10.2. Pan compiler called with: panc --formats json --output-dir /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/test/profiles --include-path /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles:. /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan from directory /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles with output
evaluation error [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/testservice/schema.pan:3.1-3.20]
cannot locate template named 'pan/types'
>>> call stack trace
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/testservice/schema.pan:3.1-3.20]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan/metaconfig/testservice/config.pan:3.1-3.40]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan:3.1-3.40]
>>> ====================
at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/ProfileCache.pm line 208
# Tests were run but no plan was declared and done_testing() was not seen.
src/test/perl/textrender-metaconfig.t .......
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/42 subtests
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
src/test/perl/textrender-regexptest.t ....... ok
# Start actual Suite tests v2.0
# ERROR: no more guesses for template-library-core path: tlc
# ERROR: No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# Failed test 'No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)'
# at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Object.pm line 143.
Use of uninitialized value $dirs[1] in join or string at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Panc.pm line 99.
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# INFO BEGIN test for Ordered test v2.0
# INFO END test for Ordered test v2.0
# Looks like you failed 1 test of 65.
src/test/perl/textrender-suite-2.0.t ........
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/65 subtests
# Start actual Suite tests
# ERROR: no more guesses for template-library-core path: tlc
# ERROR: No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# Failed test 'No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)'
# at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Object.pm line 143.
Use of uninitialized value $dirs[1] in join or string at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/Panc.pm line 99.
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
# INFO BEGIN test for Nopan
# INFO END test for Nopan
# ERROR: no more guesses for template-library-core path: tlc
# INFO No template-library-core path found (set QUATTOR_TEST_TEMPLATE_LIBRARY_CORE?)
Unable to compile profile /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan. Minimal panc version is 10.2. Pan compiler called with: panc --formats json --output-dir /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/test/profiles --include-path /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/textrender/namespace/2UjKCZbVWh:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles:.:/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/pan /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan from directory /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles with output
evaluation error [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/textrender/namespace/2UjKCZbVWh/metaconfig/testservice/schema.pan:3.1-3.20]
cannot locate template named 'pan/types'
>>> call stack trace
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/textrender/namespace/2UjKCZbVWh/metaconfig/testservice/schema.pan:3.1-3.20]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/target/textrender/namespace/2UjKCZbVWh/metaconfig/testservice/config.pan:3.1-3.40]
>>> [/exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/test/resources/metaconfig/testservice/1.0/tests/profiles/simple.pan:3.1-3.40]
>>> ====================
at /exp/si/jouvin/GitRepositories/Quattor/maven-tools/target/checkout/build-scripts/src/main/perl/Test/Quattor/ProfileCache.pm line 208
# Tests were run but no plan was declared and done_testing() was not seen.
src/test/perl/textrender-suite.t ............
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/41 subtests
Test Summary Report
-------------------
src/test/perl/textrender-component.t (Wstat: 256 Tests: 44 Failed: 1)
Failed test: 19
Non-zero exit status: 1
src/test/perl/textrender-metaconfig-nott.t (Wstat: 256 Tests: 26 Failed: 1)
Failed test: 15
Non-zero exit status: 1
Parse errors: No plan found in TAP output
src/test/perl/textrender-metaconfig.t (Wstat: 256 Tests: 42 Failed: 1)
Failed test: 17
Non-zero exit status: 1
Parse errors: No plan found in TAP output
src/test/perl/textrender-suite-2.0.t (Wstat: 256 Tests: 65 Failed: 1)
Failed test: 14
Non-zero exit status: 1
src/test/perl/textrender-suite.t (Wstat: 256 Tests: 41 Failed: 1)
Failed test: 14
Non-zero exit status: 1
Parse errors: No plan found in TAP output
Files=19, Tests=385, 36 wallclock secs ( 0.16 usr 0.05 sys + 58.52 cusr 2.80 csys = 61.53 CPU)
Result: FAIL
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] quattor maven build tools ......................... SUCCESS [1:31.282s]
[INFO] assemblies ........................................ SUCCESS [10.824s]
[INFO] build-scripts ..................................... FAILURE [36.245s]
[INFO] build-profile ..................................... SKIPPED
[INFO] quattor cfg. module archetype ..................... SKIPPED
[INFO] quattor build maven plugin ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:20.059s
[INFO] Finished at: Fri Mar 13 08:28:03 CET 2015
[INFO] Final Memory: 20M/430M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec (prove) on project build-scripts: Command execution failed. Process exited with an error: 1(Exit value: 1) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :build-scripts
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] quattor maven build tools ......................... FAILURE [2:26.908s]
[INFO] assemblies ........................................ SKIPPED
[INFO] build-scripts ..................................... SKIPPED
[INFO] build-profile ..................................... SKIPPED
[INFO] quattor cfg. module archetype ..................... SKIPPED
[INFO] quattor build maven plugin ........................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2:29.128s
[INFO] Finished at: Fri Mar 13 08:28:04 CET 2015
[INFO] Final Memory: 12M/304M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.1:perform (default-cli) on project maven: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
apparently old directories in /usr/share/doc/
are not cleaned up. They do appear to be empty. This is from one of our long running servers:
[wdpypere@gastly doc]$ ls /usr/share/doc/ | grep ncm
ncm-accounts-13.5.0
ncm-accounts-13.9.0
ncm-accounts-14.10.0
ncm-accounts-14.5.0
ncm-accounts-14.8.0
ncm-accounts-15.4.0-rc3
ncm-accounts-15.8.0-rc4-SNAPSHOT
ncm-accounts-16.2.0-rc2
ncm-aiiserver-13.5.0
ncm-aiiserver-13.9.0
ncm-aiiserver-14.10.0
ncm-aiiserver-14.5.0
ncm-aiiserver-14.8.0
ncm-aiiserver-15.4.0-rc3
ncm-aiiserver-15.8.0-rc4-SNAPSHOT
ncm-aiiserver-16.2.0-rc2
ncm-aiiserver-16.6.1-SNAPSHOT
ncm-altlogrotate-13.5.0
ncm-altlogrotate-13.9.0
ncm-altlogrotate-14.10.0
ncm-altlogrotate-14.5.0
ncm-altlogrotate-14.8.0
ncm-altlogrotate-15.4.0-rc3
ncm-altlogrotate-15.8.0-rc4-SNAPSHOT
ncm-altlogrotate-16.2.0-rc2
ncm-ccm-13.5.0
ncm-ccm-13.9.0
ncm-ccm-14.10.0
ncm-ccm-14.5.0
ncm-ccm-14.8.0
ncm-ccm-15.2.1-SNAPSHOT
ncm-ccm-15.4.0-rc3
ncm-ccm-15.8.0-rc4-SNAPSHOT
ncm-ccm-16.2.0-rc3-SNAPSHOT
ncm-cdispd-13.5.0
ncm-cdispd-13.9.0
ncm-cdispd-14.10.0
ncm-cdispd-14.5.0
ncm-cdispd-14.5.0-rc1
ncm-cdispd-14.6.0
ncm-cdispd-14.6.0-rc2
ncm-cdispd-14.8.0
ncm-cdispd-15.12.0
ncm-cdispd-15.4.0
ncm-cdispd-15.4.0-rc3
ncm-cdispd-15.8.0
ncm-cdispd-15.8.0-rc4-SNAPSHOT
ncm-cdispd-16.2.0
ncm-cdispd-16.2.1-SNAPSHOT
ncm-cdispd-16.6.0
ncm-cdp-13.5.0
ncm-cdp-13.9.0
ncm-cdp-14.10.0
ncm-cdp-14.5.0
ncm-cdp-14.8.0
ncm-cdp-15.4.0-rc3
ncm-cdp-15.8.0-rc4-SNAPSHOT
ncm-cdp-16.2.0-rc2
ncm-chkconfig-13.5.0
ncm-chkconfig-13.9.0
ncm-chkconfig-14.10.0
ncm-chkconfig-14.5.0
ncm-chkconfig-14.8.0
ncm-chkconfig-15.4.0-rc3
ncm-chkconfig-15.8.0-rc4-SNAPSHOT
ncm-chkconfig-16.2.0-rc2
ncm-cron-13.5.0
ncm-cron-13.9.0
ncm-cron-14.10.0
ncm-cron-14.5.0
ncm-cron-14.8.0
ncm-cron-15.4.0-rc3
ncm-cron-15.8.0-rc4-SNAPSHOT
ncm-cron-16.2.0-rc2
ncm-dhcp-15.12.0-rc2-SNAPSHOT
ncm-dhcp-15.12.1-SNAPSHOT
ncm-dhcp-16.2.0-rc3-SNAPSHOT
ncm-dhcp-16.6.0-rc2-SNAPSHOT
ncm-dhcp-16.6.1-SNAPSHOT
ncm-dirperm-13.5.0
ncm-dirperm-13.9.0
ncm-dirperm-14.10.0
ncm-dirperm-14.5.0
ncm-dirperm-14.8.0
ncm-dirperm-15.4.0-rc3
ncm-dirperm-15.8.0-rc4-SNAPSHOT
ncm-dirperm-16.2.0-rc2
ncm-download-13.5.0
ncm-download-13.9.0
ncm-download-14.10.0
ncm-download-14.5.0
ncm-download-14.8.0
ncm-download-15.12.1-SNAPSHOT
ncm-download-15.4.0-rc3
ncm-download-15.8.0-rc4-SNAPSHOT
ncm-download-16.2.0-rc2
ncm-filecopy-13.5.0
ncm-filecopy-13.9.0
ncm-filecopy-14.10.0
ncm-filecopy-14.5.0
ncm-filecopy-14.8.0
ncm-filecopy-15.4.0-rc3
ncm-filecopy-15.8.0-rc4-SNAPSHOT
ncm-filecopy-16.2.0-rc2
ncm-fstab-14.10.0
ncm-fstab-15.4.0-rc3
ncm-fstab-15.8.0-rc4-SNAPSHOT
ncm-fstab-16.2.0-rc2
ncm-grub-13.5.0
ncm-grub-13.9.0
ncm-grub-14.10.0
ncm-grub-14.5.0
ncm-grub-14.8.0
ncm-grub-15.4.0-rc3
ncm-grub-15.8.0-rc4-SNAPSHOT
ncm-grub-16.2.0-rc2
ncm-ks-13.5.0
ncm-ks-13.5.1-SNAPSHOT
ncm-ks-13.6.1-SNAPSHOT
ncm-ks-13.9.0
ncm-ks-14.10.0
ncm-ks-14.12.0-rc5-SNAPSHOT
ncm-ks-14.4.0-rc2-SNAPSHOT
ncm-ks-14.4.0-rc3-SNAPSHOT
ncm-ks-14.5.0-rc1
ncm-ks-14.5.1-SNAPSHOT
ncm-ks-14.6.0
ncm-ks-14.6.0-rc2
ncm-ks-14.6.1-SNAPSHOT
ncm-ks-14.8.1-SNAPSHOT
ncm-ks-15.12.0-rc2-SNAPSHOT
ncm-ks-15.12.1-SNAPSHOT
ncm-ks-15.2.1-SNAPSHOT
ncm-ks-15.4.0
ncm-ks-15.4.0-rc13-SNAPSHOT
ncm-ks-15.8.0
ncm-ks-15.8.0-rc3
ncm-ks-15.8.0-rc4-SNAPSHOT
ncm-ks-16.2.0-rc3-SNAPSHOT
ncm-ks-16.2.0-rc4-SNAPSHOT
ncm-ks-16.2.1-SNAPSHOT
ncm-ks-16.6.0-rc2-SNAPSHOT
ncm-ks-16.6.1-SNAPSHOT
ncm-lib-blockdevices-13.5.0
ncm-lib-blockdevices-13.9.0
ncm-lib-blockdevices-13.9.1-SNAPSHOT
ncm-lib-blockdevices-14.10.0
ncm-lib-blockdevices-14.10.1-SNAPSHOT
ncm-lib-blockdevices-14.4.0-rc1
ncm-lib-blockdevices-14.4.0-rc2-SNAPSHOT
ncm-lib-blockdevices-14.4.0-rc3-SNAPSHOT
ncm-lib-blockdevices-14.5.0-rc1
ncm-lib-blockdevices-14.5.1-SNAPSHOT
ncm-lib-blockdevices-14.6.0
ncm-lib-blockdevices-14.6.0-rc3-SNAPSHOT
ncm-lib-blockdevices-14.6.1-SNAPSHOT
ncm-lib-blockdevices-14.8.0
ncm-lib-blockdevices-15.12.0-rc2-SNAPSHOT
ncm-lib-blockdevices-15.12.1-SNAPSHOT
ncm-lib-blockdevices-15.4.0
ncm-lib-blockdevices-15.4.0-rc3
ncm-lib-blockdevices-15.4.1-SNAPSHOT
ncm-lib-blockdevices-15.8.0
ncm-lib-blockdevices-15.8.0-rc4-SNAPSHOT
ncm-lib-blockdevices-16.2.0
ncm-lib-blockdevices-16.2.0-rc2-SNAPSHOT
ncm-lib-blockdevices-16.2.0-rc3-SNAPSHOT
ncm-lib-blockdevices-16.2.1-SNAPSHOT
ncm-lib-blockdevices-16.6.0
ncm-metaconfig-13.5.0
ncm-metaconfig-13.9.0
ncm-metaconfig-13.9.1-SNAPSHOT
ncm-metaconfig-14.10.0
ncm-metaconfig-14.5.0
ncm-metaconfig-14.8.0
ncm-metaconfig-15.12.0-rc3-SNAPSHOT
ncm-metaconfig-15.12.1-SNAPSHOT
ncm-metaconfig-15.2.1-SNAPSHOT
ncm-metaconfig-15.4.0-rc12-SNAPSHOT
ncm-metaconfig-15.8.0-rc4-SNAPSHOT
ncm-metaconfig-15.8.1-SNAPSHOT
ncm-metaconfig-16.2.1-SNAPSHOT
ncm-metaconfig-16.6.0-rc4-SNAPSHOT
ncm-named-13.5.0
ncm-named-13.9.0
ncm-named-14.10.0
ncm-named-14.5.0
ncm-named-14.8.0
ncm-named-15.4.0-rc3
ncm-named-15.4.1-SNAPSHOT
ncm-named-15.8.0-rc4-SNAPSHOT
ncm-named-16.2.0-rc2
ncm-ncd-13.5.0
ncm-ncd-13.9.0
ncm-ncd-14.10.0
ncm-ncd-14.5.0
ncm-ncd-14.5.0-rc1
ncm-ncd-14.6.0
ncm-ncd-14.6.0-rc2
ncm-ncd-14.8.0
ncm-ncd-15.4.0
ncm-ncd-15.4.0-rc13-SNAPSHOT
ncm-ncd-15.8.0-rc3
ncm-ncd-15.8.0-rc6-SNAPSHOT
ncm-ncd-16.2.0-rc3-SNAPSHOT
ncm-ncd-16.2.1-SNAPSHOT
ncm-ncd-16.6.0-rc4-SNAPSHOT
ncm-network-13.5.1-SNAPSHOT
ncm-network-13.9.0
ncm-network-14.10.0
ncm-network-14.5.0
ncm-network-14.8.0
ncm-network-15.2.1-SNAPSHOT
ncm-network-15.4.0-rc3
ncm-network-15.8.0-rc4-SNAPSHOT
ncm-network-16.2.0-rc2
ncm-network-16.2.0-rc2-SNAPSHOT
ncm-network-16.2.1-SNAPSHOT
ncm-nrpe-13.5.0
ncm-nrpe-13.9.0
ncm-nrpe-14.10.0
ncm-nrpe-14.5.0
ncm-nrpe-14.8.0
ncm-nrpe-15.4.0-rc3
ncm-nrpe-15.8.0-rc4-SNAPSHOT
ncm-nrpe-16.2.0-rc2
ncm-ntpd-13.5.0
ncm-ntpd-13.9.0
ncm-ntpd-14.10.0
ncm-ntpd-14.5.0
ncm-ntpd-14.8.0
ncm-ntpd-15.4.0-rc3
ncm-ntpd-15.8.0-rc4-SNAPSHOT
ncm-ntpd-16.2.0
ncm-ntpd-16.2.0-rc2
ncm-openvpn-13.5.0
ncm-openvpn-13.9.0
ncm-openvpn-14.10.0
ncm-openvpn-14.5.0
ncm-openvpn-14.8.0
ncm-openvpn-15.4.0-rc3
ncm-openvpn-15.8.0-rc4-SNAPSHOT
ncm-openvpn-16.2.0-rc2
ncm-pxelinux-13.5.0
ncm-pxelinux-13.9.0
ncm-pxelinux-14.10.0
ncm-pxelinux-14.12.0-rc5-SNAPSHOT
ncm-pxelinux-14.4.0-rc2-SNAPSHOT
ncm-pxelinux-14.4.0-rc3-SNAPSHOT
ncm-pxelinux-14.5.0-rc1
ncm-pxelinux-14.5.1-SNAPSHOT
ncm-pxelinux-14.6.0
ncm-pxelinux-14.6.0-rc2
ncm-pxelinux-14.6.1-SNAPSHOT
ncm-pxelinux-14.8.1-SNAPSHOT
ncm-pxelinux-15.12.0-rc2-SNAPSHOT
ncm-pxelinux-15.12.1-SNAPSHOT
ncm-pxelinux-15.2.1-SNAPSHOT
ncm-pxelinux-15.4.0
ncm-pxelinux-15.4.0-rc13-SNAPSHOT
ncm-pxelinux-15.8.0
ncm-pxelinux-15.8.0-rc3
ncm-pxelinux-15.8.0-rc4-SNAPSHOT
ncm-pxelinux-16.2.0-rc3-SNAPSHOT
ncm-pxelinux-16.6.0-rc2-SNAPSHOT
ncm-pxelinux-16.6.1-SNAPSHOT
ncm-query-13.5.0
ncm-query-13.9.0
ncm-query-14.10.0
ncm-query-14.5.0
ncm-query-14.5.0-rc1
ncm-query-14.6.0
ncm-query-14.6.0-rc2
ncm-query-14.8.0
ncm-query-15.12.0
ncm-query-15.4.0
ncm-query-15.4.0-rc3
ncm-query-15.8.0
ncm-query-15.8.0-rc3
ncm-query-16.2.0
ncm-query-16.6.0
ncm-shorewall-13.5.0
ncm-shorewall-13.5.1-SNAPSHOT
ncm-shorewall-13.9.0
ncm-shorewall-14.10.0
ncm-shorewall-14.5.0
ncm-shorewall-14.8.0
ncm-shorewall-15.4.0-rc3
ncm-shorewall-15.8.0-rc4-SNAPSHOT
ncm-shorewall-16.2.0-rc2
ncm-shorewall-16.2.1-SNAPSHOT
ncm-sindes_getcert-13.5.1-SNAPSHOT
ncm-sindes_getcert-13.9.0
ncm-sindes_getcert-14.4.0-rc2
ncm-spma-13.5.0
ncm-spma-13.5.1-SNAPSHOT
ncm-spma-13.6.1-SNAPSHOT
ncm-spma-13.9.0
ncm-spma-14.10.0
ncm-spma-14.10.1-SNAPSHOT
ncm-spma-14.5.0
ncm-spma-14.8.0
ncm-spma-15.4.0-rc3
ncm-spma-15.8.0-rc4-SNAPSHOT
ncm-spma-16.2.1-SNAPSHOT
ncm-ssh-13.5.0
ncm-ssh-13.9.0
ncm-ssh-14.10.0
ncm-ssh-14.5.0
ncm-ssh-14.8.0
ncm-ssh-15.4.0-rc3
ncm-ssh-15.8.0-rc4-SNAPSHOT
ncm-ssh-16.2.0-rc2
ncm-ssh-16.2.1-SNAPSHOT
ncm-sudo-13.5.0
ncm-sudo-13.9.0
ncm-sudo-14.10.0
ncm-sudo-14.5.0
ncm-sudo-14.8.0
ncm-sudo-15.4.0-rc3
ncm-sudo-15.8.0-rc4-SNAPSHOT
ncm-sudo-16.2.0-rc2
ncm-symlink-13.5.0
ncm-symlink-13.9.0
ncm-symlink-14.10.0
ncm-symlink-14.5.0
ncm-symlink-14.8.0
ncm-symlink-15.4.0-rc3
ncm-symlink-15.8.0-rc4-SNAPSHOT
ncm-symlink-16.2.0-rc2
ncm-symlink-16.2.1-SNAPSHOT
ncm-sysconfig-13.5.0
ncm-sysconfig-13.9.0
ncm-sysconfig-14.10.0
ncm-sysconfig-14.5.0
ncm-sysconfig-14.8.0
ncm-sysconfig-15.4.0-rc3
ncm-sysconfig-15.8.0-rc4-SNAPSHOT
ncm-sysconfig-16.2.0-rc2
ncm-sysctl-13.5.0
ncm-sysctl-13.9.0
ncm-sysctl-14.10.0
ncm-sysctl-14.5.0
ncm-sysctl-14.8.0
ncm-syslog-13.5.0
ncm-syslog-13.9.0
ncm-syslog-14.10.0
ncm-syslog-14.5.0
ncm-syslog-14.8.0
ncm-syslog-15.4.0-rc3
ncm-syslog-15.8.0-rc4-SNAPSHOT
ncm-syslog-16.2.0-rc2
ncm-useraccess-13.5.0
ncm-useraccess-13.9.0
ncm-useraccess-14.10.0
ncm-useraccess-14.5.0
ncm-useraccess-14.8.0
ncm-useraccess-15.4.0-rc3
ncm-useraccess-15.8.0-rc4-SNAPSHOT
ncm-useraccess-16.2.0-rc2
ncm-validate-1.0.1
During 1.49 release of the build-tools, I faced a problem because package-build-scripts
has a parent pom version which is updated during the release process prepare phase to the next snapshot (as it is always done). But during the verify phase, package-build-scripts
needs to access its parent which is not yet available... I remember reading in Maven documentation that verify
phase should not depend on things done during the test
phase or later...
I managed to work around the problem by:
package-build-scripts/pom.xml
to revert to previous parent version during prepare
phase after its initial failureprepare
phase and perform
phase and commit the changed pom.perform
phase, revert the last changeThe chicken&egg problem must be reviewed to solve this release issue. It can be tested first by executing the verify
phase, then by doing a release:prepare
and cancel/revert it when it begins to ask for the GPG keys (the problem happens before).
rpmlint on the configuration-modules-grid
rpms gives a warning for invalid download url, as it point to the configuration-modules-core
repo; and this is hard to replace.
we should parametrise https://github.com/quattor/maven-tools/blob/master/build-profile/pom.xml#L403, will also clean up other pom.xml a bit
Running mvn versions:display-plugin-updates
reveals that we are running a lot of outdated plugins. would be good to update them after 16.4 release.
I tried to remove CAF::Object::NoAction=1
in a few unit tests, like write_grub2_config.t
in AII aii-pxelinux
. This results in the following exception:
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /usr/lib/perl/LC/Fatal.pm line 261
LC::Fatal::mkdir called at /usr/lib/perl/LC/File.pm line 529
LC::File::makedir called at /usr/lib/perl/LC/File.pm line 524
LC::File::makedir called at /usr/lib/perl/LC/Check.pm line 231
LC::Check::directory called at /usr/lib/perl/LC/Check.pm line 262
LC::Check::parent_directory called at /usr/lib/perl/LC/Check.pm line 913
LC::Check::file called at /usr/lib/perl/CAF/FileWriter.pm line 237
CAF::FileWriter::close called at /exp/si/jouvin/GitRepositories/Quattor/aii/aii-pxelinux/target/dependency/build-scripts/Test/Quattor.pm line 385
Test::Quattor::new_filewriter_close called at /exp/si/jouvin/GitRepositories/Quattor/aii/aii-pxelinux/target/lib/perl/NCM/Component/pxelinux.pm line 520
NCM::Component::pxelinux::_write_grub2_config called at src/test/perl/write_grub2_config.t line 33
main::check_config called at src/test/perl/write_grub2_config.t line 63
*** mkdir(/grub, 0755): Permission denied
# Tests were run but no plan was declared and done_testing() was not seen.
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /usr/lib/perl/LC/Fatal.pm line 261
LC::Fatal::mkdir called at /usr/lib/perl/LC/File.pm line 529
LC::File::makedir called at /usr/lib/perl/LC/File.pm line 524
LC::File::makedir called at /usr/lib/perl/LC/Check.pm line 231
LC::Check::directory called at /usr/lib/perl/LC/Check.pm line 262
LC::Check::parent_directory called at /usr/lib/perl/LC/Check.pm line 913
LC::Check::file called at /usr/lib/perl/CAF/FileWriter.pm line 237
CAF::FileWriter::close called at /exp/si/jouvin/GitRepositories/Quattor/aii/aii-pxelinux/target/dependency/build-scripts/Test/Quattor.pm line 385
Test::Quattor::new_filewriter_close called at /exp/si/jouvin/GitRepositories/Quattor/aii/aii-pxelinux/target/lib/perl/NCM/Component/pxelinux.pm line 520
NCM::Component::pxelinux::_write_grub2_config called at src/test/perl/write_grub2_config.t line 33
main::check_config called at src/test/perl/write_grub2_config.t line 67
*** mkdir(/grub, 0755): Permission denied
src/test/perl/write_grub2_config.t ..
This seems unexpected as CAF::FileWriter
is supposed to be mocked...
Methods added in quattor/CAF#225 should be mocked in Test::Quattor
.
In a few pom.xml
that I looked at recently, I saw that people who contributed to a Quattor component tended to add themselves as contributors. But it looks like we don't do anything with contributors (apart keeping track of them into the pom.xml
file). Sometimes, someone gets added as a developer which is added in the file header (after the licence) for most components. Do we really want a difference? Should we document some guidelines about whether you are added as one or the other? Should credit to contributors appear somewhere?
as agreed on workshop
See quattor/CAF#134 and quattor/CAF#135
The Maven mock version of NCM::Component
does not provide the escape()
, unescape()
or Debug()
methods, which means it is currently not possible (not pleasant) to write tests for components that call on these routines.
the build-info
template
# ${build-info}
is now being replaced with some odd indented text, e.g.
# #
# metaconfig, 14.10.1-SNAPSHOT, SNAPSHOT20141208093425, 20141208-1034
#
(the # #
of the first line is understandable, but the indentation is not. and it's only an issue with teh build-info
template)
i'd like to setup a jenkins test for this repo and any PRs.
however, running the unittests of current master with mvn test
, gives failure
[INFO] ------------------------------------------------------------------------
[INFO] Building build-profile 1.39-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] quattor maven build tools ......................... SUCCESS [0.221s]
[INFO] assemblies ........................................ SUCCESS [0.110s]
[INFO] build-scripts ..................................... SUCCESS [7.431s]
[INFO] quattor build maven plugin ........................ SUCCESS [1.127s]
[INFO] build-profile ..................................... FAILURE [0.066s]
[INFO] quattor cfg. module archetype ..................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.917s
[INFO] Finished at: Sun Dec 07 15:56:16 CET 2014
[INFO] Final Memory: 16M/215M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project build-profile: Could not resolve dependencies for project org.quattor.maven:build-profile:pom:1.39-SNAPSHOT: The following artifacts could not be resolved: org.quattor.maven:assemblies:tar.gz:assemblies:1.39-SNAPSHOT, org.quattor.maven:build-scripts:tar.gz:scripts:1.39-SNAPSHOT: Failure to find org.quattor.maven:assemblies:tar.gz:assemblies:1.39-SNAPSHOT in http://stratuslab-srv01.lal.in2p3.fr:8081/content/repositories/quattor-releases was cached in the local repository, resolution will not be reattempted until the update interval of quattor-releases has elapsed or updates are forced -> [Help 1]
i think it makes sense that you can't test the release that you are currently preparing to publish.
but what is the build-profile
dir needed for? it only has a single pom.xml.
We currently have the group set to "quattor", we should probably consider changing the group to something like Applications/System
, which seems to be the best fit out of the standard groups.
Will remove one more rpmlint
warning.
As originally discussed in quattor/LC#14.
the "real" Component class has counters for ERRORS
and WARNINGS
, the test equivalent has ERROR
and WARNING
, an inconsistency best modified.
Required to debug quattor/configuration-modules-core#1036 (comment)
set_caf_file_close_diff
, aNoAction
and tests on files that actually exist give unexpected results. (e.g. the autofs issue in quattor/release#115)
It would be very nice to be able to do extra validation on generated files in the tests. For instance if you are generating an XML file with metaconfig that you can actually get the output and run it through an XML parser to see if it's valid.
Something for example like:
use Test::More;
use Test::Quattor::TextRender::Metaconfig;
use XML::Parser;
my $u = Test::Quattor::TextRender::Metaconfig->new(
service => 'some-service',
)->test();
my $p = XML::Parser->new(Style => 'Tree');
my $t;
eval { $t = $p->parse($u->output); };
ok(! @$, "No XML parsing errors");
done_testing;
Build tools contains a component cfg-module
that can be used to initialize a new configuration module and produce the skeletons for the POM file, the perl module, the pan templates... This is typically done with the command:
mvn archetype:generate -DarchetypeArtifactId=cfg-module -DarchetypeGroupId=org.quattor.maven -DarchetypeVersion=1.51
Unfortunately the result is not compliant with our current best practices and standards... An update is needed!
One cfg-module
has been updated, it would be good to add the commande to the developer documentation.
I have not found why yet but build tools 1.49 breaks any unit test that compiles a profile in configuration-modules-grid
(ncm-dpmlfc
and ncm-xrootd
). The error is the same in all case, below is an example:
# DEBUG: Converted profile dpm-config in cache name dpm_2dconfig
# VERBOSE template-library-core path found /exp/si/jouvin/GitRepositories/Quattor/template-library-core
# DEBUG: Pan compiler called from directory /exp/si/jouvin/GitRepositories/Quattor/configuration-modules-grid/ncm-dpmlfc/src/test/resources (proc panc --formats json --output-dir /exp/si/jouvin/GitRepositories/Quattor/configuration-modules-grid/ncm-dpmlfc/target/test/profiles --include-path .:/exp/si/jouvin/GitRepositories/Quattor/configuration-modules-grid/ncm-dpmlfc/target/pan:/exp/si/jouvin/GitRepositories/Quattor/template-library-core dpm-config.pan)
# DEBUG: Converted profile dpm-config in cache name dpm_2dconfig
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /usr/lib/perl/LC/Fatal.pm line 204
LC::Fatal::stat called at /usr/lib/perl/LC/Check.pm line 883
LC::Check::file called at /exp/si/jouvin/GitRepositories/Quattor/CAF/target/lib/perl//CAF/FileWriter.pm line 209
CAF::FileWriter::close called at /exp/si/jouvin/GitRepositories/Quattor/CAF/target/lib/perl//CAF/FileWriter.pm line 350
CAF::FileWriter::DESTROY called at src/test/perl/configure.t line 0
(eval) called at src/test/perl/configure.t line 0
*** stat(/exp/si/jouvin/GitRepositories/Quattor/configuration-modules-grid/ncm-dpmlfc/target/test/cache/dpm_2dconfig/profile.2/profile.xml): No such file or directory
src/test/perl/configure.t ...
Is it something link to the additional mocking introduced in 1.49? Reverting to 1.48, the tests are ok.
Writing a unit test, I made a mistake and declared the pan template associated with the test (declared in use Quattor qw()
) as a normal template rather than an object template. The result was that the test execution was blocked in or after the compilation (the last message displayed was DEBUG: Pan compiler called...
and the test was never started (if the first line was a `$this_app->info(), nothing was displayed). I check that executed the reported pan command did complete successfully.
I don't know what could be done but it would be good to exit with an error rather than getting the test stucked when such a mistake is done.
As discussed, running perlcritic at its lowest setting (severity=5) provides an attainable and reasonable set of policies for all new code and most existing code. Being able to further optionally white or blacklist policies remains helpful.
Add testing based on https://metacpan.org/pod/Test::Vars to tqu.
Panc.pm
looks at @}
for the end of annotation mark. But panc
requires only }
. regexp used should be relaxed to comply with panc
requirements.
Requires quattor/pan#133 (that panlint is packaged with panc)
Hi,
If you put a pan annotation (starting with @{) in a template managed by Maven, Maven is doing some weird parsing and messes up the template contents, resulting in a pan syntax check failure. An example that trigs the problem:
@{
author = Michel Jouvin
}
Michel
# Failed test 'Invalid option (keeps_state) passed to _make_link()'
I made a mistake when adding a new PAN file to ncm-spma/src/test/resources. I copied an existing one and failed to update the template line. As a result the compile failed but no error message was shown in the unit test output, even when running prove -v. The only indication that there was a problem was an error about calling getElement() on an undefined value.
We have this issue in our machine running mvn test as example for aii-ks:
...
...
Unable to stat profile cache: target/test/cache/kickstart_nologging_just_method_and_protocol/data/ZmlsZTovLy9ob21lL2xzaW1uZ2FyL1VHZW50L2hwY3VnZW50L2FpaS9haWkta3MvdGFyZ2V0L3Rlc3QvcHJvZmlsZXMva2lja3N0YXJ0X25vbG9nZ2luZ19qdXN0X21ldGhvZF9hbmRfcHJvdG9jb2wuanNvbg== (File name too long) at /home/lsimngar/UGent/CAF/lib/perl/EDG/WP4/CCM/Fetch.pm line 308.
BEGIN failed--compilation aborted at src/test/perl/kickstart_nologging_just_method_and_protocol.t line 4
...
...
We are using Ubuntu linux:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
And Perl 5:
Summary of my perl5 (revision 5 version 18 subversion 2) configuration:
Platform:
osname=linux, osvers=3.2.0-58-generic, archname=x86_64-linux-gnu-thread-multi
uname='linux brownie 3.2.0-58-generic #88-ubuntu smp tue dec 3 17:37:58 utc 2013 x86_64 x86_64 x86_64 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Dldflags= -Wl,-Bsymbolic-functions -Wl,-z,relro -Dlddlflags=-shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Dcccdlflags=-fPIC -Darchname=x86_64-linux-gnu -Dprefix=/usr -Dprivlib=/usr/share/perl/5.18 -Darchlib=/usr/lib/perl/5.18 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.18.2 -Dsitearch=/usr/local/lib/perl/5.18.2 -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 -Dsiteman1dir=/usr/local/man/man1 -Dsiteman3dir=/usr/local/man/man3 -Duse64bitint -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Ud_ualarm -Uusesfio -Uusenm -Ui_libutil -Uversiononly -DDEBUGGING=-g -Doptimize=-O2 -Duseshrplib -Dlibperl=libperl.so.5.18.2 -des'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2 -g',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='4.8.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib /usr/lib
libs=-lgdbm -lgdbm_compat -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=, so=so, useshrplib=true, libperl=libperl.so.5.18.2
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_PRESERVE_IVUV PERL_SAWAMPERSAND USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC USE_PERLIO USE_PERL_ATOF
USE_REENTRANT_API
Locally applied patches:
DEBPKG:debian/cpan_definstalldirs - Provide a sensible INSTALLDIRS default for modules installed from CPAN.
DEBPKG:debian/db_file_ver - http://bugs.debian.org/340047 Remove overly restrictive DB_File version check.
DEBPKG:debian/doc_info - Replace generic man(1) instructions with Debian-specific information.
DEBPKG:debian/enc2xs_inc - http://bugs.debian.org/290336 Tweak enc2xs to follow symlinks and ignore missing @INC directories.
DEBPKG:debian/errno_ver - http://bugs.debian.org/343351 Remove Errno version check due to upgrade problems with long-running processes.
DEBPKG:debian/libperl_embed_doc - http://bugs.debian.org/186778 Note that libperl-dev package is required for embedded linking
DEBPKG:fixes/respect_umask - Respect umask during installation
DEBPKG:debian/writable_site_dirs - Set umask approproately for site install directories
DEBPKG:debian/extutils_set_libperl_path - EU:MM: Set location of libperl.a to /usr/lib
DEBPKG:debian/no_packlist_perllocal - Don't install .packlist or perllocal.pod for perl or vendor
DEBPKG:debian/prefix_changes - Fiddle with *PREFIX and variables written to the makefile
DEBPKG:debian/fakeroot - Postpone LD_LIBRARY_PATH evaluation to the binary targets.
DEBPKG:debian/instmodsh_doc - Debian policy doesn't install .packlist files for core or vendor.
DEBPKG:debian/ld_run_path - Remove standard libs from LD_RUN_PATH as per Debian policy.
DEBPKG:debian/libnet_config_path - Set location of libnet.cfg to /etc/perl/Net as /usr may not be writable.
DEBPKG:debian/mod_paths - Tweak @INC ordering for Debian
DEBPKG:debian/module_build_man_extensions - http://bugs.debian.org/479460 Adjust Module::Build manual page extensions for the Debian Perl policy
DEBPKG:debian/prune_libs - http://bugs.debian.org/128355 Prune the list of libraries wanted to what we actually need.
DEBPKG:fixes/net_smtp_docs - [rt.cpan.org #36038] http://bugs.debian.org/100195 Document the Net::SMTP 'Port' option
DEBPKG:debian/perlivp - http://bugs.debian.org/510895 Make perlivp skip include directories in /usr/local
DEBPKG:debian/cpanplus_definstalldirs - http://bugs.debian.org/533707 Configure CPANPLUS to use the site directories by default.
DEBPKG:debian/cpanplus_config_path - Save local versions of CPANPLUS::Config::System into /etc/perl.
DEBPKG:debian/deprecate-with-apt - http://bugs.debian.org/702096 Point users to Debian packages of deprecated core modules
DEBPKG:debian/squelch-locale-warnings - http://bugs.debian.org/508764 Squelch locale warnings in Debian package maintainer scripts
DEBPKG:debian/skip-upstream-git-tests - Skip tests specific to the upstream Git repository
DEBPKG:debian/patchlevel - http://bugs.debian.org/567489 List packaged patches for 5.18.2-2ubuntu1 in patchlevel.h
DEBPKG:debian/skip-kfreebsd-crash - http://bugs.debian.org/628493 [perl #96272] Skip a crashing test case in t/op/threads.t on GNU/kFreeBSD
DEBPKG:fixes/document_makemaker_ccflags - http://bugs.debian.org/628522 [rt.cpan.org #68613] Document that CCFLAGS should include $Config{ccflags}
DEBPKG:debian/find_html2text - http://bugs.debian.org/640479 Configure CPAN::Distribution with correct name of html2text
DEBPKG:debian/hurd_test_skip_stack - http://bugs.debian.org/650175 Disable failing GNU/Hurd tests dist/threads/t/stack.t
DEBPKG:fixes/manpage_name_Test-Harness - http://bugs.debian.org/650451 [rt.cpan.org #73399] cpan/Test-Harness: add NAME headings in modules with POD
DEBPKG:debian/makemaker-pasthru - http://bugs.debian.org/660195 [rt.cpan.org #28632] Make EU::MM pass LD through to recursive Makefile.PL invocations
DEBPKG:debian/perl5db-x-terminal-emulator.patch - http://bugs.debian.org/668490 Invoke x-terminal-emulator rather than xterm in perl5db.pl
DEBPKG:debian/cpan-missing-site-dirs - http://bugs.debian.org/688842 Fix CPAN::FirstTime defaults with nonexisting site dirs if a parent is writable
DEBPKG:fixes/memoize_storable_nstore - [rt.cpan.org #77790] http://bugs.debian.org/587650 Memoize::Storable: respect 'nstore' option not respected
DEBPKG:fixes/net_ftp_failed_command - [rt.cpan.org #37700] http://bugs.debian.org/491062 Net::FTP: cope gracefully with a failed command
DEBPKG:fixes/perlbug-patchlist - [3541c11] http://bugs.debian.org/710842 [perl #118433] Make perlbug look up the list of local patches at run time
DEBPKG:fixes/module_metadata_security_doc - [68cdd4b] CVE-2013-1437 documentation fix
DEBPKG:fixes/module_metadata_taint_fix - [bff978f] http://bugs.debian.org/722210 [rt.cpan.org #88576] untaint version, if needed, in Module::Metadata
DEBPKG:fixes/IPC-SysV-spelling - http://bugs.debian.org/730558 [rt.cpan.org #86736] Fix spelling of IPC_CREAT in IPC-SysV documentation
DEBPKG:fixes/fix-undef-source -
Built under linux
Compiled at Mar 27 2014 18:30:28
%ENV:
PERL5LIB="/home/lsimngar/UGent/CAF/lib/perl"
@INC:
/home/lsimngar/UGent/CAF/lib/perl
/etc/perl
/usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.18
/usr/share/perl/5.18
/usr/local/lib/site_perl
.
Do you have any clue where this issue comes from?
Cheers
Alvaro
this will speedup the unittests, as a lot of time is spend in starting the jvm during each individual panc
. will make it controllable via environment variable
In order to do Quattor development without maven you need an rpm generated from this repo to provide the mvnprove.pl script.
Currently, TT files used by ncm-metaconfig
services are built during the test phase which is not compliant with what the test file is supposed to do... it should not produce anything required by other phases, just validate what has been done in the previous phases (mainly compile
).
We need to improve the build tools to process the TT files during the compile phase.
set_contents should make a copy of the variable it gets.
see quattor/CAF#129
So that we can test the code paths in which directory manipulations fail.
while running tests on jenkins for quattor/configuration-modules-core#1036 (comment), i noticed following in the output
[ERROR] Failed to render tabcompletion: Failed to render with module tabcompletion: Non-existing template names: <undef> (abs_path of /usr/share/temp\
lates/quattor/CCM/tabcompletion.tt)
the used (o at least generated ccm.cfg
file has tabcompletion 0
, so this should not occur
If we want to be able to use last features of the pan language, introduced in panc 10.x, like bracket-less include
, we need to upgrade the panc version used by unit test. Should not be a problem as everybody is using panc 10.x nowadays...
See http://perldoc.perl.org/diagnostics.html
Proposal to switch it on on Test::Quattor::Object
(so enabled for all unittests), and also add it to the standard PM
module template (so enabled for all perl modules that use it).
It's trivial to implement
mvn test
fails with
[INFO] --- exec-maven-plugin:1.2:exec (prove) @ cdp ---
Only one of verbose, quiet or really_quiet should be specified
tests pass with -Dprove.args='-v'
on command line; is there a way to set this as default?
CAF (and all others projects) prove includes need to be extracted from pom.xml
Might be worth a look at trying to use
https://github.com/ajmfulcher/fpm-maven-plugin
for packaging, to help out solaris and debian users.
Required minimum version is 1.118 when the available version is 1.05... This makes impossible to succeed 00-tqu.t
test when present... (seen in ncm-lib-blockdevices
).
eg
# VERBOSE Namespace regex pattern (?^:^(declaration|unique|object|structure)\stemplate\s(\S+);$)
# VERBOSE Found matching template components/accounts/config type unique
# VERBOSE Found matching template components/accounts/functions type declaration
# VERBOSE Found matching template components/accounts/schema type declaration
# VERBOSE Found matching template components/accounts/sysgroups type unique
# VERBOSE Found matching template components/accounts/sysusers type unique
# DEBUG: Pan annotations called (proc panc-annotations --base-dir target/pan --output-dir target/panannotations components/accounts/config.pan components/accounts/sysgroups.pan components/accounts/schema.pan components/accounts/functions.pan components/accounts/sysusers.pan)
# Failed test 'No faulty pan annotation: components/accounts/schema.pan,components/accounts/functions.pan,components/accounts/sysusers.pan'
# at /var/lib/jenkins/jobs/NCM_components/workspace/ncm-accounts/target/dependency/build-scripts/Test/Quattor/Doc.pm line 194.
# got: '3'
# expected: '0'
requires more debug output to see why the test thinks something is wrong (or what went wrong)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.