<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Fixes committed. You can rerun the
tests, if you wish (I only ran the two tests you mentioned with TZ
set to Yekaterinburg time :)<br>
I hope there will be no other timezone-dependent ones.<br>
<br>
Best regards,<br>
Pavol<br>
<br>
</div>
<blockquote cite="mid:55C9AB0A.1070209@evolveum.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Hello Oleg,<br>
<br>
yes, 3.2 release is stable. In our case, all tests passed
without problems, see e.g. <a moz-do-not-send="true"
href="https://bamboo.evolveum.com/browse/MID-TRUNK-3578">https://bamboo.evolveum.com/browse/MID-TRUNK-3578</a>
(testing 3.2 as it was released - regular tests), or <a
moz-do-not-send="true"
href="https://bamboo.evolveum.com/browse/MID-LONG-518">https://bamboo.evolveum.com/browse/MID-LONG-518</a>
(the same with extended tests). There are some recent
(3.3-SNAPSHOT) test failures but these seem to be caused by a
bug in a newly added test, so they will be corrected soon.<br>
<br>
I've looked at the failing tests i.e. CleanupTest and
TestExpressionFunctions. Both seem to have problems because of
the timezone. I'm fixing them and will push the commit today.
(CleanupTest also depends on the execution order within
task-quartz-impl module, which I also fixed, even if it hasn't
manifested as test failure yet.)<br>
<br>
But these test failures had no effect on the midPoint 3.2
functionality. You can safely use it.<br>
<br>
Best regards,<br>
Pavol<br>
<br>
</div>
<blockquote
cite="mid:2B9E678CA0E1864583F87FBC34DDEF81FE66D7@EX-MB1.solar.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<style type="text/css" id="owaParaStyle"></style>
<style type="text/css"></style>
<div style="direction: ltr;font-family: Tahoma;color:
#000000;font-size: 10pt;">Hello guys.
<div><br>
</div>
<div>Today I tried to build midPoint v.3.2 but got 2 failed
tests.</div>
<div>Just in case, I would like to be sure that release v.3.2
is stable.</div>
<div><br>
</div>
<div>My JDK:</div>
<div>
<div>java version "1.7.0_79"</div>
<div>Java(TM) SE Runtime Environment (build 1.7.0_79-b15)</div>
<div>Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02,
mixed mode)</div>
</div>
<div><br>
</div>
<div>Maven command: mvn clean install (from midpoint root dir)</div>
<div>And, just to mention, I did not change the code (only
commented out first failed test to see if any next fails)</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>Running TestSuite</div>
<div>Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time
elapsed: 104.4 sec <<< FAILURE! - in TestSuite</div>
<div>testTasksCleanup(com.evolveum.midpoint.task.quartzimpl.CleanupTest)
Time elapsed: 0.397 sec <<< FAILURE!</div>
<div>java.lang.AssertionError: expected:<1> but
was:<2></div>
<div> at
org.testng.AssertJUnit.fail(AssertJUnit.java:59)</div>
<div> at
org.testng.AssertJUnit.failNotEquals(AssertJUnit.java:364)</div>
<div> at
org.testng.AssertJUnit.assertEquals(AssertJUnit.java:80)</div>
<div> at
org.testng.AssertJUnit.assertEquals(AssertJUnit.java:245)</div>
<div> at
org.testng.AssertJUnit.assertEquals(AssertJUnit.java:252)</div>
<div> at
com.evolveum.midpoint.task.quartzimpl.CleanupTest.testTasksCleanup(CleanupTest.java:99)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div>
<div> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div>
<div> at
java.lang.reflect.Method.invoke(Method.java:606)</div>
<div> at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)</div>
<div> at
org.testng.internal.MethodInvocationHelper$1.runTestMethod(MethodInvocationHelper.java:200)</div>
<div> at
org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:172)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div>
<div> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div>
<div> at
java.lang.reflect.Method.invoke(Method.java:606)</div>
<div> at
org.testng.internal.MethodInvocationHelper.invokeHookable(MethodInvocationHelper.java:212)</div>
<div> at
org.testng.internal.Invoker.invokeMethod(Invoker.java:707)</div>
<div> at
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)</div>
<div> at
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)</div>
<div> at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)</div>
<div> at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)</div>
<div> at
org.testng.TestRunner.privateRun(TestRunner.java:767)</div>
<div> at
org.testng.TestRunner.run(TestRunner.java:617)</div>
<div> at
org.testng.SuiteRunner.runTest(SuiteRunner.java:348)</div>
<div> at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)</div>
<div> at
org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)</div>
<div> at
org.testng.SuiteRunner.run(SuiteRunner.java:254)</div>
<div> at
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)</div>
<div> at
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)</div>
<div> at
org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)</div>
<div> at
org.testng.TestNG.runSuitesLocally(TestNG.java:1149)</div>
<div> at org.testng.TestNG.run(TestNG.java:1057)</div>
<div> at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:293)</div>
<div> at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)</div>
<div> at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:91)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)</div>
<div><br>
</div>
<div><br>
</div>
<div>Results :</div>
<div><br>
</div>
<div>Failed tests:</div>
<div>
CleanupTest>AbstractTestNGSpringContextTests.run:172->testTasksCleanup:99
expected:<1> but was:<2></div>
<div> </div>
<div>(and this failed after I commented out CleanUpTest and
re-ran entire build)</div>
<div><br>
</div>
<div>Tests run: 239, Failures: 1, Errors: 0, Skipped: 0,
Time elapsed: 83.123 sec <<< FAILURE! - in
TestSuite</div>
<div>testFormatDateTime(com.evolveum.midpoint.model.common.expression.script.TestExpressionFunctions)
Time elapsed: 2.306 sec <<< FAILURE!</div>
<div>java.lang.AssertionError: Wrong result value
expected:<1975 05 30 22:30:00.000 Central European
Time> but was:<1975 05 31 00:30:00.000 Eastern
African Time></div>
<div> at
org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)</div>
<div> at
com.evolveum.midpoint.model.common.expression.script.TestExpressionFunctions.testFormatDateTime(TestExpressionFunctions.java:357)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)</div>
<div> at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)</div>
<div> at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</div>
<div> at
java.lang.reflect.Method.invoke(Method.java:606)</div>
<div> at
org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)</div>
<div> at
org.testng.internal.Invoker.invokeMethod(Invoker.java:714)</div>
<div> at
org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)</div>
<div> at
org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)</div>
<div> at
org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)</div>
<div> at
org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)</div>
<div> at
org.testng.TestRunner.privateRun(TestRunner.java:767)</div>
<div> at
org.testng.TestRunner.run(TestRunner.java:617)</div>
<div> at
org.testng.SuiteRunner.runTest(SuiteRunner.java:348)</div>
<div> at
org.testng.SuiteRunner.runSequentially(SuiteRunner.java:343)</div>
<div> at
org.testng.SuiteRunner.privateRun(SuiteRunner.java:305)</div>
<div> at
org.testng.SuiteRunner.run(SuiteRunner.java:254)</div>
<div> at
org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)</div>
<div> at
org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)</div>
<div> at
org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)</div>
<div> at
org.testng.TestNG.runSuitesLocally(TestNG.java:1149)</div>
<div> at org.testng.TestNG.run(TestNG.java:1057)</div>
<div> at
org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:293)</div>
<div> at
org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:84)</div>
<div> at
org.apache.maven.surefire.testng.TestNGProvider.invoke(TestNGProvider.java:91)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)</div>
<div> at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)</div>
<div><br>
</div>
<div><br>
</div>
<div>Results :</div>
<div><br>
</div>
<div>Failed tests:</div>
<div> TestExpressionFunctions.testFormatDateTime:357 Wrong
result value expected:<1975 05 30 22:30:00.000 Central
European Time> but was:<1975 05 31 00:30:00.000
Eastern African Time></div>
<div> </div>
<div> </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
</body>
</html>