quattor / configuration-modules-core

Node Configuration Manager Components for Everyone
www.quattor.org
Other
6 stars 54 forks source link

Some tests are broken #1696

Closed wpoely86 closed 3 weeks ago

wpoely86 commented 4 weeks ago

Currently the github actions fails to run:

2024-08-14T09:52:54.0818737Z # INFO: /__w/configuration-modules-core/configuration-modules-core/ncm-sysctl/target/test/cache/simple/profile.1/eid2data.fmt status is mode=384
2024-08-14T09:52:54.0833495Z #   Failed test 'Configure succeeds'
2024-08-14T09:52:54.0834188Z #   at src/test/perl/configure.t line 29.
2024-08-14T09:52:54.0834815Z #          got: undef
2024-08-14T09:52:54.0835317Z #     expected: '1'
2024-08-14T09:52:54.0836931Z #   Failed test 'A file was actually created'
2024-08-14T09:52:54.0837646Z #   at src/test/perl/configure.t line 31.
2024-08-14T09:52:54.0843072Z #   Failed test 'undef isa 'CAF::FileWriter''
2024-08-14T09:52:54.0844124Z #   at src/test/perl/configure.t line 32.
2024-08-14T09:52:54.0845166Z #     undef isn't defined
2024-08-14T09:52:54.0846547Z #   Failed test 'Perl warning: Use of uninitialized value $fh in string at src/test/perl/configure.t line 33.
2024-08-14T09:52:54.0847776Z # '
2024-08-14T09:52:54.0850123Z #   at /__w/configuration-modules-core/configuration-modules-core/ncm-sysctl/target/dependency/build-scripts/Test/Quattor/Object.pm line 46.
2024-08-14T09:52:54.0851948Z #   Failed test 'Found kernel.sysrq variable'
2024-08-14T09:52:54.0852585Z #   at src/test/perl/configure.t line 33.
2024-08-14T09:52:54.0853522Z #                   ''
2024-08-14T09:52:54.0854334Z #     doesn't match '(?^m:^kernel.sysrq = 1$)'
2024-08-14T09:52:54.0855539Z #   Failed test '/sbin/sysctl -e -p /etc/sysctl.d/50-quattor.conf was run after file change'
2024-08-14T09:52:54.0856497Z #   at src/test/perl/configure.t line 34.
2024-08-14T09:52:54.0861457Z # Looks like you failed 6 tests of 6.

Oddly enough I cannot reproduce it locally. Any ideas @jrha ?