[midPoint-ci] Build failed in Jenkins: midPoint - master - Generic repo, SQL Server 2019, JDK 17 #305
Jenkins
noreply at evolveum.com
Sat Sep 23 04:34:47 CEST 2023
See <https://jenkins.evolveum.com/job/midpoint-master-generic-sql-server-2019-jdk17/305/display/redirect>
Changes:
------------------------------------------
[...truncated 18921 lines...]
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[ERROR] com.evolveum.midpoint.testing.story.TestUnixTolerantAux.test132MeddleWithAccountAndReconcileUserLargo -- Time elapsed: 0.237 s <<< FAILURE!
java.lang.AssertionError: Unexpected number of audit records; expected 3 but was 4
at com.evolveum.midpoint.test.DummyAuditService.assertRecords(DummyAuditService.java:170)
at com.evolveum.midpoint.testing.story.TestUnixTolerantAux.assertTest132Audit(TestUnixTolerantAux.java:76)
at com.evolveum.midpoint.testing.story.TestUnix.test132MeddleWithAccountAndReconcileUserLargo(TestUnix.java:791)
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:656)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
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:848)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397)
at org.testng.SuiteRunner.run(SuiteRunner.java:336)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1200)
at org.testng.TestNG.runSuites(TestNG.java:1114)
at org.testng.TestNG.run(TestNG.java:1082)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[ERROR] com.evolveum.midpoint.testing.story.TestUnixTolerantAux.test135UnAssignUserLargoUnix -- Time elapsed: 0.222 s <<< FAILURE!
java.lang.AssertionError: Unexpected number of audit records; expected 3 but was 4
at com.evolveum.midpoint.test.DummyAuditService.assertRecords(DummyAuditService.java:170)
at com.evolveum.midpoint.testing.story.TestUnixTolerantAux.assertTest135Audit(TestUnixTolerantAux.java:86)
at com.evolveum.midpoint.testing.story.TestUnix.test135UnAssignUserLargoUnix(TestUnix.java:908)
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:656)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50)
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957)
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200)
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:848)
at org.testng.TestRunner.run(TestRunner.java:621)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397)
at org.testng.SuiteRunner.run(SuiteRunner.java:336)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1200)
at org.testng.TestNG.runSuites(TestNG.java:1114)
at org.testng.TestNG.run(TestNG.java:1082)
at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:308)
at org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:71)
at org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:113)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestUnix>AbstractTestNGSpringContextTests.run:154->test132MeddleWithAccountAndReconcileUserLargo:791->assertTest132Audit:801 Unexpected number of audit records; expected 2 but was 3
[ERROR] TestUnix>AbstractTestNGSpringContextTests.run:154->test135UnAssignUserLargoUnix:908->assertTest135Audit:914 Unexpected number of audit records; expected 2 but was 3
[ERROR] TestUnixTolerantAux>AbstractTestNGSpringContextTests.run:154->TestUnix.test132MeddleWithAccountAndReconcileUserLargo:791->assertTest132Audit:76 Unexpected number of audit records; expected 3 but was 4
[ERROR] TestUnixTolerantAux>AbstractTestNGSpringContextTests.run:154->TestUnix.test135UnAssignUserLargoUnix:908->assertTest135Audit:86 Unexpected number of audit records; expected 3 but was 4
[INFO]
[ERROR] Tests run: 773, Failures: 4, Errors: 0, Skipped: 60
[INFO]
[INFO]
[INFO] --- maven-failsafe-plugin:3.1.2:verify (integration-test) @ story ---
[ERROR] There are test failures.
Please refer to /home/jenkins/agent/workspace/midpoint-master-generic-sql-server-2019-jdk17/testing/story/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.3.0:analyze-only (analyze) @ story ---
[INFO] No dependency problems found
[INFO]
[INFO] -----------------< com.evolveum.midpoint.testing:rest >-----------------
[INFO] Building midPoint Testing - REST API 4.8-SNAPSHOT [5/5]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ rest ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ rest ---
[INFO] Setting Git Describe: v4.8devel-1487-gaf86ab839a0
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/jenkins/agent/workspace/midpoint-master-generic-sql-server-2019-jdk17/testing/rest/src/main/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:compile (default-compile) @ rest ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 143 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.11.0:testCompile (default-testCompile) @ rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:3.1.2:test (default-test) @ rest ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ rest ---
[INFO] Skipping packaging of the jar
[INFO]
[INFO] >>> maven-source-plugin:3.1.0:jar (attach-sources) > generate-sources @ rest >>>
[INFO]
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce) @ rest ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ rest ---
[INFO]
[INFO] <<< maven-source-plugin:3.1.0:jar (attach-sources) < generate-sources @ rest <<<
[INFO]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ rest ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- maven-failsafe-plugin:3.1.2:integration-test (integration-test) @ rest ---
[INFO] Using auto detected provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Integration
[INFO] Tests run: 263, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 244.5 s -- in Integration
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 263, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-failsafe-plugin:3.1.2:verify (integration-test) @ rest ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0: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 [ 3.391 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [ 5.036 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [32:58 min]
[INFO] midPoint Testing - Story Tests ..................... SUCCESS [27:26 min]
[INFO] midPoint Testing - REST API ........................ SUCCESS [04:06 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 h
[INFO] Finished at: 2023-09-23T02:34:36Z
[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-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-1.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-10.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-11.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-12.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-13.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-14.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-15.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-16.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-17.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-18.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-19.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-2.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-20.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-21.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-22.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-23.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-24.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-25.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-26.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-27.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-28.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-29.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-3.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-30.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-31.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-32.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-33.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-34.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-4.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-5.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-6.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-7.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-8.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/testng/testng-results-9.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-sql-server-2019-jdk17/builds/305/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