Closed dhaura closed 6 months ago
PR builder started Link: https://github.com/wso2/product-is/actions/runs/7899151090
PR builder completed Link: https://github.com/wso2/product-is/actions/runs/7899151090 Status: failure
PR builder failed due to reason that unit tests of this repo are written in PoweMock version 1 which is incompatible with Java 11 [1]. When the repo is built against Java 8, all unit tests pass with a successful build.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for WSO2 Carbon Extension - X509 Certificate POM 3.1.14-SNAPSHOT:
[INFO]
[INFO] WSO2 Carbon Extension - X509 Certificate POM ....... SUCCESS [ 2.718 s]
[INFO] WSO2 Carbon - X509Certificate Authenticator ........ SUCCESS [ 29.181 s]
[INFO] WSO2 Carbon - X509Certificate Authenticator Feature SUCCESS [ 0.510 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 33.341 s
[INFO] Finished at: 2024-02-14T15:40:48+05:30
[INFO] ------------------------------------------------------------------------
PR builder started Link: https://github.com/wso2/product-is/actions/runs/7910444938
@dhaura We should be able to trigger PR builds using java8.
PR builder completed Link: https://github.com/wso2/product-is/actions/runs/7910444938 Status: failure
index.html
[ERROR] Tests run: 1979, Failures: 2, Errors: 0, Skipped: 1, Time elapsed: 4,487.476 s <<< FAILURE! - in TestSuite
[ERROR] testInit(org.wso2.identity.integration.test.saml.RegistryMountTestCase) Time elapsed: 4.009 s <<< FAILURE!
java.lang.AssertionError: Tenant creation failed expected:<201> but was:<500>
at org.wso2.identity.integration.test.saml.RegistryMountTestCase.addRegistryMountTenant(RegistryMountTestCase.java:264)
at org.wso2.identity.integration.test.saml.RegistryMountTestCase.testInit(RegistryMountTestCase.java:114)
[ERROR] testClear(org.wso2.identity.integration.test.saml.RegistryMountTestCase) Time elapsed: 0.005 s <<< FAILURE!
java.lang.NullPointerException
at org.wso2.identity.integration.test.saml.RegistryMountTestCase.deleteApplication(RegistryMountTestCase.java:290)
at org.wso2.identity.integration.test.saml.RegistryMountTestCase.testClear(RegistryMountTestCase.java:136)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] RegistryMountTestCase.testClear:136->deleteApplication:290 NullPointer
[ERROR] RegistryMountTestCase.testInit:114->addRegistryMountTenant:264 Tenant creation failed expected:<201> but was:<500>
[INFO]
[ERROR] Tests run: 1979, Failures: 2, Errors: 0, Skipped: 1
PR builder started Link: https://github.com/wso2/product-is/actions/runs/7911585184
PR builder completed Link: https://github.com/wso2/product-is/actions/runs/7911585184 Status: success
Purpose
Related Issues
[1] - https://github.com/wso2/product-is/issues/18437#issuecomment-1929320969