icate for www.example.com will expire in 21 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.22d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 38) # Expected: "/Subject: The certificate for www.example.com will expire in 22 days/" # ./certwatch.t line 38 is: ok `$certwatch certw.22d`, "/$pfx will expire in 22 days/"; # Test 11 got: "To: root\nSubject: The certificate for www.example.com will expire in 28 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.29d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 39) # Expected: "/Subject: The certificate for www.example.com will expire in 29 days/" # ./certwatch.t line 39 is: ok `$certwatch certw.29d`, "/$pfx will expire in 29 days/"; # Test 12 got: "To: root\nSubject: The certificate for www.example.com will expire in 29 days\n\n ################# SSL/TLS Certificate Warning ################\n\n Certificate for hostname 'www.example.com', in file:\n\n certw.31d\n\n The certificate needs to be renewed. Web browsers and \n other clients will not be able to correctly connect to this\n web site using SSL/TLS until the certificate is renewed.\n\n ##############################################################\n Generated by certwatch(1)\n\n" (./certwatch.t at line 40) # Expected: "" # ./certwatch.t line 40 is: ok `$certwatch certw.31d`, ''; # Test 18 got: "" (./certwatch.t at line 47) # Expected: "/Subject: The certificate for another.example.com is not yet valid/" # ./certwatch.t line 47 is: ok `$certwatch notvalid.pem`, # Failed test 20 in ./certwatch.t at line 53 # ./certwatch.t line 53 is: ok system("$certwatch -q certw.$c") != 0; # Test 29 got: "256" (./certwatch.t at line 58 fail #5) # Expected: "0" # ./certwatch.t line 58 is: ok system("$certwatch -q $c"), 0; ./certwatch.t .. 1..39 # Running under perl version 5.032001 for linux # Current time local: Fri May 7 13:51:54 2021 # Current time GMT: Fri May 7 13:51:54 2021 # Using Test.pm version 1.31 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 not ok 9 not ok 10 not ok 11 not ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 not ok 18 ok 19 not ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 not ok 29 ok 30 ok 31 ok 32 ok 33 ok 34 ok 35 ok 36 ok 37 ok 38 ok 39 Failed 7/39 subtests Test Summary Report ------------------- ./certwatch.t (Wstat: 0 Tests: 39 Failed: 7) Failed tests: 9-12, 18, 20, 29 Files=1, Tests=39, 12 wallclock secs ( 1.08 usr 0.17 sys + 7.45 cusr 3.22 csys = 11.92 CPU) Result: FAIL RPM build errors: make: *** [Makefile:26: check] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.OnRxBK (%check) Bad exit status from /var/tmp/rpm-tmp.OnRxBK (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/certwatch.spec