[midPoint-ci] Build failed in Jenkins: midPoint - master - Generic repo, Oracle 21c XE, JDK 21 (Eclipse Temurin) #492
Jenkins
noreply at evolveum.com
Tue Aug 13 23:54:27 CEST 2024
See <https://jenkins.evolveum.com/job/midpoint-master-generic-oracle-jdk21/492/display/redirect>
Changes:
------------------------------------------
[...truncated 12438 lines...]
[ERROR] com.evolveum.midpoint.testing.story.associations.TestAssociationsFirstStepsActiveDirectory.springTestContextPrepareTestInstance -- Time elapsed: 10.22 s <<< FAILURE!
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.evolveum.midpoint.testing.story.associations.TestAssociationsFirstStepsActiveDirectory.ORIGINAL': Invocation of init method failed
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:222)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:422)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1798)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:412)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:144)
at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:98)
at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:260)
at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance(AbstractTestNGSpringContextTests.java:119)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethodConsideringTimeout(MethodInvocationHelper.java:69)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurationMethod(ConfigInvoker.java:390)
at org.testng.internal.invokers.ConfigInvoker.invokeConfigurations(ConfigInvoker.java:325)
at org.testng.internal.invokers.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:180)
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:122)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
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)
Caused by: com.evolveum.midpoint.util.exception.SystemException: Couldn't find type for class 'class com.evolveum.midpoint.xml.ns._public.common.common_3.MarkType'.
at com.evolveum.midpoint.repo.sql.helpers.BaseHelper.handleGeneralRuntimeException(BaseHelper.java:210)
at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.auditAttempt(SqlAuditServiceImpl.java:154)
at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.audit(SqlAuditServiceImpl.java:129)
at com.evolveum.midpoint.init.AuditServiceProxy.audit(AuditServiceProxy.java:82)
at com.evolveum.midpoint.repo.common.AuditHelper.audit(AuditHelper.java:91)
at com.evolveum.midpoint.model.impl.lens.ClockworkAuditHelper.auditEvent(ClockworkAuditHelper.java:183)
at com.evolveum.midpoint.model.impl.lens.ClockworkClick.processClockworkException(ClockworkClick.java:300)
at com.evolveum.midpoint.model.impl.lens.ClockworkClick.click(ClockworkClick.java:126)
at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:417)
at com.evolveum.midpoint.model.impl.lens.Clockwork.runWithConflictDetection(Clockwork.java:157)
at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:109)
at com.evolveum.midpoint.model.impl.controller.ModelController.executeChangesNonRaw(ModelController.java:358)
at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:312)
at com.evolveum.midpoint.model.api.ModelService.executeChanges(ModelService.java:226)
at com.evolveum.midpoint.model.test.ModelObjectImporterImpl.importObject(ModelObjectImporterImpl.java:43)
at com.evolveum.midpoint.test.TestObject.importObject(TestObject.java:175)
at com.evolveum.midpoint.test.TestObject.commonInit(TestObject.java:244)
at com.evolveum.midpoint.test.TestObject.init(TestObject.java:234)
at com.evolveum.midpoint.test.AbstractIntegrationTest.initTestObjects(AbstractIntegrationTest.java:4561)
at com.evolveum.midpoint.testing.story.associations.TestAssociationsFirstStepsActiveDirectory.initSystem(TestAssociationsFirstStepsActiveDirectory.java:142)
at com.evolveum.midpoint.test.AbstractIntegrationTest.initSystem(AbstractIntegrationTest.java:292)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMethod.invoke(InitDestroyAnnotationBeanPostProcessor.java:457)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:401)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:219)
... 35 more
Caused by: java.lang.IllegalArgumentException: Couldn't find type for class 'class com.evolveum.midpoint.xml.ns._public.common.common_3.MarkType'.
at com.evolveum.midpoint.repo.sql.data.common.other.RObjectType.getByJaxbType(RObjectType.java:91)
at com.evolveum.midpoint.repo.sql.audit.mapping.QAuditEventRecordMapping.targetTypeToRepoOrdinal(QAuditEventRecordMapping.java:390)
at com.evolveum.midpoint.repo.sql.audit.mapping.QAuditEventRecordMapping.toRowObject(QAuditEventRecordMapping.java:321)
at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.insertAuditEventRecord(SqlAuditServiceImpl.java:168)
at com.evolveum.midpoint.repo.sql.SqlAuditServiceImpl.auditAttempt(SqlAuditServiceImpl.java:143)
... 59 more
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] TestAssociationsFirstStepsActiveDirectory>AbstractTestNGSpringContextTests.springTestContextPrepareTestInstance:119 ยป BeanCreation Error creating bean with name 'com.evolveum.midpoint.testing.story.associations.TestAssociationsFirstStepsActiveDirectory.ORIGINAL': Invocation of init method failed
[INFO]
[ERROR] Tests run: 802, Failures: 1, Errors: 0, Skipped: 105
[INFO]
[INFO]
[INFO] --- failsafe:3.1.2:verify (integration-test) @ story ---
[ERROR] There are test failures.
Please refer to /home/jenkins/agent/workspace/midpoint-master-generic-oracle-jdk21/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] --- dependency: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.9-SNAPSHOT [5/5]
[INFO] from rest/pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce) @ rest ---
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- checkstyle:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ rest ---
[INFO] Setting Git Describe: v4.9devel-2410-g6cfb16da267
[INFO]
[INFO] --- resources: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-oracle-jdk21/testing/rest/src/main/resources
[INFO]
[INFO] --- compiler:3.11.0:compile (default-compile) @ rest ---
[INFO] No sources to compile
[INFO]
[INFO] --- resources:3.1.0:testResources (default-testResources) @ rest ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 147 resources
[INFO]
[INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ rest ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- surefire:3.1.2:test (default-test) @ rest ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- jar:3.4.2:jar (default-jar) @ rest ---
[INFO] Skipping packaging of the jar
[INFO]
[INFO] >>> source:3.1.0:jar (attach-sources) > generate-sources @ rest >>>
[INFO]
[INFO] --- enforcer:3.4.1:enforce (enforce) @ rest ---
[INFO] Rule 1: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed
[INFO] Rule 2: org.apache.maven.enforcer.rules.dependency.BannedDependencies passed
[INFO]
[INFO] --- checkstyle:3.1.2:check (validate) @ rest ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe:3.0:gitdescribe (git-describe) @ rest ---
[INFO]
[INFO] <<< source:3.1.0:jar (attach-sources) < generate-sources @ rest <<<
[INFO]
[INFO]
[INFO] --- source:3.1.0:jar (attach-sources) @ rest ---
[INFO] No sources in project. Archive not created.
[INFO]
[INFO] --- failsafe:3.1.2:integration-test (integration-test) @ rest ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Integration
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 384.5 s -- in Integration
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 287, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- failsafe:3.1.2:verify (integration-test) @ rest ---
[INFO]
[INFO] --- dependency:3.3.0:analyze-only (analyze) @ rest ---
[INFO] No dependency problems found
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Testing Infrastructure 4.9-SNAPSHOT:
[INFO]
[INFO] midPoint Testing Infrastructure .................... SUCCESS [ 2.571 s]
[INFO] midPoint Testing - Resource Connection Tests ....... SUCCESS [ 4.735 s]
[INFO] midPoint Testing - Long Tests ...................... SUCCESS [06:31 min]
[INFO] midPoint Testing - Story Tests ..................... SUCCESS [39:04 min]
[INFO] midPoint Testing - REST API ........................ SUCCESS [06:27 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 52:12 min
[INFO] Finished at: 2024-08-13T21:54:04Z
[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-oracle-jdk21/builds/492/testng/testng-results-1.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-10.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-11.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-12.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-13.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-14.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-15.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-16.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-17.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-18.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-19.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-2.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-20.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-21.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-22.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-23.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-24.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-25.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-26.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-27.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-28.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-29.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-3.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-30.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-31.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-32.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-33.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-34.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-35.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-36.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-4.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-5.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-6.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-7.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-8.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results-9.xml'
Processing '/var/jenkins_home/jobs/midpoint-master-generic-oracle-jdk21/builds/492/testng/testng-results.xml'
Failed configuration methods found. Marking build as FAILURE.
TestNG Reports Processing: FINISH
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] container
[Pipeline] {
[Pipeline] withKubeConfig
[Pipeline] {
[Pipeline] sh
pod "test-db-midpoint-master-generic-oracle-jdk21-492" deleted
persistentvolumeclaim "test-db-midpoint-master-generic-oracle-jdk21-492" deleted
[Pipeline] }
[kubernetes-cli] kubectl configuration cleaned up
[Pipeline] // withKubeConfig
[Pipeline] }
[Pipeline] // container
[Pipeline] step
More information about the midPoint-ci
mailing list