[midPoint-ci] Build failed in Jenkins: midPoint - master - Native repo, PG 14, JDK 17 #268

Jenkins noreply at evolveum.com
Fri May 26 09:01:44 CEST 2023


See <https://jenkins.evolveum.com/job/midpoint-master-native-pg14-jdk17/268/display/redirect>

Changes:


------------------------------------------
[...truncated 6120 lines...]
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.testng.TestRunner.privateRun(TestRunner.java:829)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
	at org.testng.TestNG.runSuites(TestNG.java:1099)
	at org.testng.TestNG.run(TestNG.java:1067)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:324)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:74)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:123)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[ERROR] com.evolveum.midpoint.testing.rest.TestRestServiceYaml.test102AddUserTemplate  Time elapsed: 0.087 s  <<< FAILURE!
java.lang.AssertionError: Expected 201 but got 404 expected:<201> but was:<404>
	at org.testng.AssertJUnit.fail(AssertJUnit.java:65)
	at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:467)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:318)
	at com.evolveum.midpoint.testing.rest.AbstractRestServiceInitializer.assertStatus(AbstractRestServiceInitializer.java:134)
	at com.evolveum.midpoint.testing.rest.TestAbstractRestService.test102AddUserTemplate(TestAbstractRestService.java:319)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:258)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:154)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:272)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:669)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.testng.TestRunner.privateRun(TestRunner.java:829)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
	at org.testng.TestNG.runSuites(TestNG.java:1099)
	at org.testng.TestNG.run(TestNG.java:1067)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:324)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:74)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:123)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[ERROR] com.evolveum.midpoint.testing.rest.TestRestServiceProxyAuthentication.test001getUserSelfBySomebody  Time elapsed: 0.13 s  <<< FAILURE!
java.lang.AssertionError: Expected 200 but got 404 expected:<200> but was:<404>
	at org.testng.AssertJUnit.fail(AssertJUnit.java:65)
	at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:467)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:318)
	at com.evolveum.midpoint.testing.rest.AbstractRestServiceInitializer.assertStatus(AbstractRestServiceInitializer.java:134)
	at com.evolveum.midpoint.testing.rest.TestRestServiceProxyAuthentication.test001getUserSelfBySomebody(TestRestServiceProxyAuthentication.java:76)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:258)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:154)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:272)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:669)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.testng.TestRunner.privateRun(TestRunner.java:829)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
	at org.testng.TestNG.runSuites(TestNG.java:1099)
	at org.testng.TestNG.run(TestNG.java:1067)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:324)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:74)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:123)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[ERROR] com.evolveum.midpoint.testing.rest.TestRestServiceProxyAuthentication.test002getUserSelfByEgoist  Time elapsed: 0.114 s  <<< FAILURE!
java.lang.AssertionError: Expected 200 but got 404 expected:<200> but was:<404>
	at org.testng.AssertJUnit.fail(AssertJUnit.java:65)
	at org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:467)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:88)
	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:318)
	at com.evolveum.midpoint.testing.rest.AbstractRestServiceInitializer.assertStatus(AbstractRestServiceInitializer.java:134)
	at com.evolveum.midpoint.testing.rest.TestRestServiceProxyAuthentication.test002getUserSelfByEgoist(TestRestServiceProxyAuthentication.java:97)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
	at org.testng.internal.invokers.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:258)
	at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:154)
	at org.testng.internal.invokers.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:272)
	at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:669)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:221)
	at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
	at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:969)
	at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:194)
	at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148)
	at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.testng.TestRunner.privateRun(TestRunner.java:829)
	at org.testng.TestRunner.run(TestRunner.java:602)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:437)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:431)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:391)
	at org.testng.SuiteRunner.run(SuiteRunner.java:330)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1256)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1176)
	at org.testng.TestNG.runSuites(TestNG.java:1099)
	at org.testng.TestNG.run(TestNG.java:1067)
	at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:324)
	at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:74)
	at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:123)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:456)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581)

[INFO] 
[INFO] Results:
[INFO] 
[ERROR] Failures: 
[ERROR]   TestRestServiceJson>AbstractTestNGSpringContextTests.run:154->TestAbstractRestService.test102AddUserTemplate:319->AbstractRestServiceInitializer.assertStatus:134 Expected 201 but got 404 expected:<201> but was:<404>
[ERROR]   TestRestServiceJsonSecQ>AbstractTestNGSpringContextTests.run:154->TestAbstractRestService.test102AddUserTemplate:319->AbstractRestServiceInitializer.assertStatus:134 Expected 201 but got 404 expected:<201> but was:<404>
[ERROR]   TestRestServiceProxyAuthentication>AbstractTestNGSpringContextTests.run:154->test001getUserSelfBySomebody:76->AbstractRestServiceInitializer.assertStatus:134 Expected 200 but got 404 expected:<200> but was:<404>
[ERROR]   TestRestServiceProxyAuthentication>AbstractTestNGSpringContextTests.run:154->test002getUserSelfByEgoist:97->AbstractRestServiceInitializer.assertStatus:134 Expected 200 but got 404 expected:<200> but was:<404>
[ERROR]   TestRestServiceXml>AbstractTestNGSpringContextTests.run:154->TestAbstractRestService.test102AddUserTemplate:319->AbstractRestServiceInitializer.assertStatus:134 Expected 201 but got 404 expected:<201> but was:<404>
[ERROR]   TestRestServiceYaml>AbstractTestNGSpringContextTests.run:154->TestAbstractRestService.test102AddUserTemplate:319->AbstractRestServiceInitializer.assertStatus:134 Expected 201 but got 404 expected:<201> but was:<404>
[INFO] 
[ERROR] Tests run: 263, Failures: 6, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-failsafe-plugin:3.0.0-M6:verify (integration-test) @ rest ---
[ERROR] There are test failures.

Please refer to /home/jenkins/agent/workspace/midpoint-master-native-pg14-jdk17/testing/rest/target/failsafe-reports for the individual test results.
Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[INFO] 
[INFO] --- maven-dependency-plugin:3.1.2:analyze-only (analyze) @ rest ---
[INFO] No dependency problems found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Testing Infrastructure 4.8-SNAPSHOT:
[INFO] 
[INFO] midPoint Testing Infrastructure .................... SUCCESS [  2.594 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [  4.635 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [15:32 min]
[INFO] midPoint Testing - Story Tests ..................... SUCCESS [23:54 min]
[INFO] midPoint Testing - REST API ........................ SUCCESS [03:26 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  43:01 min
[INFO] Finished at: 2023-05-26T07:01:24Z
[INFO] ------------------------------------------------------------------------
+ '[' 0 -ge 1 ']'
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (collect-test-results)
[Pipeline] container
[Pipeline] {
[Pipeline] testNG
TestNG Reports Processing: START
Looking for TestNG results report in workspace using pattern: **/testng-results.xml
Saving reports...
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-1.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-10.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-11.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-12.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-13.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-14.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-15.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-16.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-17.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-18.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-19.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-2.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-20.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-21.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-22.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-23.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-24.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-25.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-26.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-27.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-28.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-29.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-3.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-30.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-31.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-32.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-33.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-4.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-5.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-6.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-7.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-8.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results-9.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-native-pg14-jdk17/builds/268/testng/testng-results.xml'
Failed configuration methods found. Marking build as FAILURE.
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] step


More information about the midPoint-ci mailing list