[midPoint-ci] Build failed in Jenkins: midPoint - master - quick #637
Jenkins
noreply at evolveum.com
Thu Sep 29 16:09:08 CEST 2022
See <https://jenkins.evolveum.com/job/midpoint-master-quick/637/display/redirect>
Changes:
------------------------------------------
[...truncated 5018 lines...]
[INFO]
[INFO] --- maven-source-plugin:3.1.0:jar (attach-sources) @ certification-api ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-quick/model/certification-api/target/certification-api-4.6-SNAPSHOT-sources.jar
[INFO]
[INFO] --- maven-dependency-plugin:3.1.2:analyze-only (analyze) @ certification-api ---
[INFO] No dependency problems found
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ certification-api ---
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-quick/model/certification-api/target/certification-api-4.6-SNAPSHOT.jar to /root/.m2/repository/com/evolveum/midpoint/model/certification-api/4.6-SNAPSHOT/certification-api-4.6-SNAPSHOT.jar
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-quick/model/certification-api/pom.xml to /root/.m2/repository/com/evolveum/midpoint/model/certification-api/4.6-SNAPSHOT/certification-api-4.6-SNAPSHOT.pom
[INFO] Installing /home/jenkins/agent/workspace/midpoint-master-quick/model/certification-api/target/certification-api-4.6-SNAPSHOT-sources.jar to /root/.m2/repository/com/evolveum/midpoint/model/certification-api/4.6-SNAPSHOT/certification-api-4.6-SNAPSHOT-sources.jar
[INFO]
[INFO] ---------------< com.evolveum.midpoint.model:model-impl >---------------
[INFO] Building midPoint Model - impl 4.6-SNAPSHOT [47/64]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ model-impl ---
[INFO] Deleting /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/target
[INFO]
[INFO] --- maven-enforcer-plugin:3.0.0:enforce (enforce) @ model-impl ---
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (validate) @ model-impl ---
[INFO] Starting audit...
Audit done.
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- gitdescribe-maven-plugin:3.0:gitdescribe (git-describe) @ model-impl ---
[INFO] Setting Git Describe: v4.6devel-1732-g4b65b69132
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ model-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:compile (default-compile) @ model-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 508 source files to /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/target/classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptingExpressionEvaluator.java: Some input files use or override a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/ScriptingExpressionEvaluator.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/actions/BaseActionExecutor.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ model-impl ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 331 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ model-impl ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 59 source files to /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/target/test-classes
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java: Some input files use or override a deprecated API.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestPolicyRules2.java: Recompile with -Xlint:deprecation for details.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/AbstractModelImplementationIntegrationTest.java: Some input files use unchecked or unsafe operations.
[INFO] /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/AbstractModelImplementationIntegrationTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M6:test (default-test) @ model-impl ---
[INFO] Using configured provider org.apache.maven.surefire.testng.TestNGProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running Unit
[ERROR] Tests run: 283, Failures: 53, Errors: 0, Skipped: 6, Time elapsed: 1,013.701 s <<< FAILURE! - in Unit
[ERROR] com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentFullname Time elapsed: 0.602 s <<< FAILURE!
java.lang.AssertionError: Unexpected script output expected:<Guybrush Threepwood> but was:<null>
at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:115)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.assertExecuteScriptExpressionString(TestModelExpressions.java:356)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentFullname(TestModelExpressions.java:234)
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:184)
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:962)
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:806)
at org.testng.TestRunner.run(TestRunner.java:601)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
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.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentFullnameRepo Time elapsed: 0.053 s <<< FAILURE!
com.evolveum.midpoint.util.exception.ExpressionEvaluationException[ERROR] com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentFullnameRepo Time elapsed: 0.053 s <<< FAILURE!
com.evolveum.midpoint.util.exception.ExpressionEvaluationException: Cannot invoke "com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType.asPrismObject()" because "shadowType" is null in testGetLinkedShadowKindIntentFullnameRepo
at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:79)
at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:162)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.evaluate(TestModelExpressions.java:419)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.executeScriptExpressionString(TestModelExpressions.java:380)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.assertExecuteScriptExpressionString(TestModelExpressions.java:355)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentFullnameRepo(TestModelExpressions.java:273)
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:184)
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:962)
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:806)
at org.testng.TestRunner.run(TestRunner.java:601)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
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)
Caused by: java.lang.NullPointerException: Cannot invoke "com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType.asPrismObject()" because "shadowType" is null
at com.evolveum.midpoint.schema.util.ShadowUtil.getAttributeValue(ShadowUtil.java:292)
at com.evolveum.midpoint.model.common.expression.functions.BasicExpressionFunctions.getAttributeValue(BasicExpressionFunctions.java:574)
at com.evolveum.midpoint.model.common.expression.functions.BasicExpressionFunctions.getAttributeValue(BasicExpressionFunctions.java:566)
at com.evolveum.midpoint.model.common.expression.functions.BasicExpressionFunctions$getAttributeValue.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:148)
at testGetLinkedShadowKindIntentFullnameRepo.run(testGetLinkedShadowKindIntentFullnameRepo:8)
at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:193)
at com.evolveum.midpoint.model.common.expression.script.groovy.GroovyScriptEvaluator.evaluateScript(GroovyScriptEvaluator.java:45)
at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:71)
... 40 more
[ERROR] com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentUsername Time elapsed: 0.056 s <<< FAILURE!
com.evolveum.midpoint.util.exception.ExpressionEvaluationException: Cannot invoke "com.evolveum.midpoint.xml.ns._public.common.common_3.ShadowType.asPrismObject()" because "shadowType" is null in testGetLinkedShadowKindIntentUsername
at com.evolveum.midpoint.model.common.expression.script.AbstractCachingScriptEvaluator.evaluate(AbstractCachingScriptEvaluator.java:79)
at com.evolveum.midpoint.model.common.expression.script.ScriptExpression.evaluate(ScriptExpression.java:162)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.evaluate(TestModelExpressions.java:419)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.executeScriptExpressionString(TestModelExpressions.java:380)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.assertExecuteScriptExpressionString(TestModelExpressions.java:355)
at com.evolveum.midpoint.model.impl.expr.TestModelExpressions.testGetLinkedShadowKindIntentUsername(TestModelExpressions.java:221)
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:184)
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:962)
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:806)
at org.testng.TestRunner.run(TestRunner.java:601)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:433)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:427)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:387)
at org.testng.SuiteRunner.run(SuiteRun[ERROR] There are test failures.
Please refer to /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/target/surefire-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-jar-plugin:3.2.2:jar (default-jar) @ model-impl ---
[INFO] Building jar: /home/jenkins/agent/workspace/midpoint-master-quick/model/model-impl/target/model-impl-4.6-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for midPoint Project 4.6-SNAPSHOT:
[INFO]
[INFO] midPoint Project ................................... SUCCESS [ 2.844 s]
[INFO] midPoint Infrastructure ............................ SUCCESS [ 0.176 s]
[INFO] midPoint Infrastructure - schema ................... SUCCESS [02:14 min]
[INFO] midPoint Repository ................................ SUCCESS [ 0.096 s]
[INFO] midPoint Repository - api .......................... SUCCESS [ 0.553 s]
[INFO] midPoint Task Manager - api ........................ SUCCESS [ 0.658 s]
[INFO] midPoint Infrastructure - testing utils (lvl 2) .... SUCCESS [ 6.383 s]
[INFO] midPoint Infrastructure - common ................... SUCCESS [ 28.308 s]
[INFO] midPoint Audit - api ............................... SUCCESS [ 0.480 s]
[INFO] midPoint Security - api ............................ SUCCESS [ 0.459 s]
[INFO] midPoint Repository - SQL common support ........... SUCCESS [ 0.957 s]
[INFO] midPoint Repository - sql repository ............... SUCCESS [ 4.757 s]
[INFO] midPoint System Initialization ..................... SUCCESS [ 10.951 s]
[INFO] midPoint Repository - new SQL repository ........... SUCCESS [ 3.085 s]
[INFO] midPoint Repository - sql repository test .......... SUCCESS [03:43 min]
[INFO] midPoint Repository Cache .......................... SUCCESS [ 53.044 s]
[INFO] midPoint Audit - logging impl ...................... SUCCESS [ 0.312 s]
[INFO] midPoint Tools ..................................... SUCCESS [ 0.079 s]
[INFO] midPoint Tools - Ninja ............................. SUCCESS [ 56.473 s]
[INFO] midPoint Tools - custom Spring Boot JAR layout ..... SUCCESS [ 0.259 s]
[INFO] midPoint Infrastructure - pure JAXB schema ......... SUCCESS [ 11.126 s]
[INFO] midPoint Icf Connectors ............................ SUCCESS [ 0.091 s]
[INFO] Dummy Resource ..................................... SUCCESS [ 0.548 s]
[INFO] midPoint Repository - test utils ................... SUCCESS [ 3.371 s]
[INFO] midPoint Security - impl ........................... SUCCESS [ 1.698 s]
[INFO] midPoint Task Manager - Quartz impl ................ SUCCESS [01:33 min]
[INFO] midPoint Repo Commons .............................. SUCCESS [05:53 min]
[INFO] midPoint Security Enforcer - api ................... SUCCESS [ 0.334 s]
[INFO] midPoint Security Enforcer - impl .................. SUCCESS [ 0.580 s]
[INFO] midPoint Provisioning .............................. SUCCESS [ 0.069 s]
[INFO] midPoint Provisioning - api ........................ SUCCESS [ 0.429 s]
[INFO] Unified Connector Framework - api .................. SUCCESS [ 0.483 s]
[INFO] Dummy Connector .................................... SUCCESS [ 0.508 s]
[INFO] Unified Connector Framework - ConnId impl .......... SUCCESS [01:35 min]
[INFO] Unified Connector Framework - Built-in impl ........ SUCCESS [ 0.907 s]
[INFO] midPoint Provisioning - impl ....................... SUCCESS [08:57 min]
[INFO] midPoint Model ..................................... SUCCESS [ 0.185 s]
[INFO] midPoint Model - api ............................... SUCCESS [ 1.211 s]
[INFO] midPoint Model - common ............................ SUCCESS [ 35.614 s]
[INFO] midPoint Notifications - api ....................... SUCCESS [ 0.467 s]
[INFO] Dummy Connector Fake ............................... SUCCESS [ 0.153 s]
[INFO] midPoint Authentication - api ...................... SUCCESS [ 0.348 s]
[INFO] midPoint Model - test .............................. SUCCESS [ 1.741 s]
[INFO] midPoint Report - api ...
[Pipeline] }
[Pipeline] // container
[Pipeline] }
[Pipeline] // stage
[Pipeline] error
[Pipeline] step
More information about the midPoint-ci
mailing list