[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555722#comment-14555722 ] Gerhard Petracek commented on DELTASPIKE-908: - then it would be great if you can debug it! we can't reproduce the issue - even our ci-jobs for weld work usually - see https://builds.apache.org/view/A-D/view/DeltaSpike/ org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Priority: Minor {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555651#comment-14555651 ] Tomas Remes commented on DELTASPIKE-908: Well it happens 100% regularly with Weld on my machine. org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Priority: Minor {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555732#comment-14555732 ] Gerhard Petracek commented on DELTASPIKE-908: - i can reproduce it a bit better now. org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14555989#comment-14555989 ] Tomas Remes commented on DELTASPIKE-908: Well it could be really random. I have following theory : The test fails when the test method checkManualSchedulerJobManagement is executed at first by junit. In this case the AutoRegisteredJob is deleted at the end of this method and there is no mechanism which will register this job again. Is it possible? New annotation @FixMethodOrder(MethodSorters.NAME_ASCENDING) from junit version 4.11 could help. org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14556203#comment-14556203 ] Gerhard Petracek commented on DELTASPIKE-908: - yes - i found the same some hours ago. this test was a contribution, but it isn't implemented correctly and we mainly reviewed the implementation and not the test. org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14556554#comment-14556554 ] ASF GitHub Bot commented on DELTASPIKE-908: --- Github user asfgit closed the pull request at: https://github.com/apache/deltaspike/pull/32 org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14556557#comment-14556557 ] Rafael Benevides commented on DELTASPIKE-908: - PR reviewed and merged! org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14556515#comment-14556515 ] ASF GitHub Bot commented on DELTASPIKE-908: --- GitHub user danielsoro opened a pull request: https://github.com/apache/deltaspike/pull/32 Fixed: [DELTASPIKE-908] org.apache.deltaspike.test.scheduler.custom.C… …ustomSchedulerWarFileTest fails with Weld You can merge this pull request into a Git repository by running: $ git pull https://github.com/danielsoro/deltaspike DELTASPIKE-908 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/deltaspike/pull/32.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #32 commit 00df37802d61fdd93cf477235daa82baf2ffe344 Author: Daniel Cunha (soro) daniels...@gmail.com Date: 2015-05-22T17:55:45Z Fixed: [DELTASPIKE-908] org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (DELTASPIKE-908) org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld
[ https://issues.apache.org/jira/browse/DELTASPIKE-908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14556527#comment-14556527 ] Daniel Cunha (soro) commented on DELTASPIKE-908: Sorry guys! Test fixed: https://github.com/apache/deltaspike/pull/32 org.apache.deltaspike.test.scheduler.custom.CustomSchedulerWarFileTest fails with Weld -- Key: DELTASPIKE-908 URL: https://issues.apache.org/jira/browse/DELTASPIKE-908 Project: DeltaSpike Issue Type: Bug Components: Scheduler Affects Versions: 1.3.0 Reporter: Tomas Remes Assignee: Gerhard Petracek Priority: Minor Fix For: 1.4.1 {noformat} junit.framework.AssertionFailedError: expected:lt;1gt; but was:lt;0gt; at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at junit.framework.Assert.assertEquals(Assert.java:205) at org.apache.deltaspike.test.scheduler.custom.CustomSchedulerTest.checkAutoRegisteredSchedulerJob(CustomSchedulerTest.java:54) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:273) at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) {noformat} I am not sure what's the cause yet. I need to do further investigation. Weld version doesn't matter here. -- This message was sent by Atlassian JIRA (v6.3.4#6332)