microsoft / SCXcore

System Center Cross Platform Provider for Operations Manager
Microsoft Public License
36 stars 31 forks source link

Program `scxsslconfig` now failing unit tests #86

Closed jeffaco closed 7 years ago

jeffaco commented 7 years ago

Since commit hash 6fc4a5d, unit tests are now failing:

---- All tests run ----

!!!FAILURES!!!
Test Results:
Run:  381   Failures: 1   Errors: 0

1) test: ScxSSLCertTest::testNonRFCcompliantDomainFallback (F) line: 494 /home/serviceb/jenkins/workspace/SCXCore-Runner/label/SUSE_10.0_X64/opsmgr/test/code/shared/tools/scx_ssl_config/scxsslcert_test.cpp
assertion failed
- Expression: ret == 0
- Error running: ./openssl_1.0.0/scxsslconfig, error message is: Error generating SSL certificate.  Use scxsslconfig to generate a new certificate, specifying host and domain names if necessary.  The error was: 'Unable to add the domain name to the subject.'
, error code is: 255

make: *** [testrun] Error 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE

This is causing nightly build failures.

Normally, pbuild should eliminate these sorts of failures. I'd like to understand how this occurred so that we can prevent failures like this in the future. Please collaborate with me on this so we can improve build reliability, thanks.

sarojcare commented 7 years ago

Issue fixed.