2 Replies Latest reply on Oct 7, 2014 3:45 PM by Nikhil Trivedi

    Master branch failing tests

    Nikhil Trivedi Newbie

      Hey all,

       

      After doing a direct clone of the current ModeShape master branch, I'm getting test failures when I try to build the app. I'm I missing some setup in my environment? I thought I'd ask here before I filed this as a bug, in case I'm missing something. I'm running OSX Mavericks 10.9.4, git 1.8.5.2, java 1.7.0_51, maven 3.0.5. I'm running the command `mvn clean install -s settings.xml` and getting these errors:

       

      Running org.modeshape.connector.git.GitConnectorTest

      13:13:38,407  INFO SLF4J implementation located in the classpath. It will be used by ModeShape for logging.

      13:13:38,620  INFO ModeShape version 4.1-SNAPSHOT

      13:13:38,978  INFO ISPN000128: Infinispan version: Infinispan 'Infinium' 6.0.2.Final

      13:13:46,395  WARN The commit "22f4ff9d762b8feac26b88744fc29dabac937358" has multiple parents. Only the first one: "167530a1cdaf1b6a33d5b9fa94ee4cc6c15a6079" will be taken into account for computing the differences.

      13:13:46,408  WARN The commit "1027e90c4a35cd5fc51a0007282e4653ce998b29" has multiple parents. Only the first one: "0f595c13cd8e65d712bab124db7e5c59ac34a617" will be taken into account for computing the differences.

      13:13:46,464  WARN The commit "f270794329f16444b78fb8f9205cd29ffe5a38cb" has multiple parents. Only the first one: "43e62b9ca0e9dc631713da10faf00c0661156439" will be taken into account for computing the differences.

      13:13:46,480  WARN The commit "43e62b9ca0e9dc631713da10faf00c0661156439" has multiple parents. Only the first one: "9dbb3debf9c27bc2415dd14bd9096ad2a8de1125" will be taken into account for computing the differences.

      13:13:46,488  WARN The commit "9dbb3debf9c27bc2415dd14bd9096ad2a8de1125" has multiple parents. Only the first one: "ca70e87c9d13e95c0b423a39e2ab9c0758cb7dda" will be taken into account for computing the differences.

      13:13:46,531  WARN The commit "ca70e87c9d13e95c0b423a39e2ab9c0758cb7dda" has multiple parents. Only the first one: "1968d8ce36cce00ad2826fdff1e80bbc4ee256b2" will be taken into account for computing the differences.

      13:13:46,550  WARN The commit "1968d8ce36cce00ad2826fdff1e80bbc4ee256b2" has multiple parents. Only the first one: "3c4c35157c59ba6456e493a4c905ac89f9dd7b76" will be taken into account for computing the differences.

      13:13:46,610  WARN The commit "3c4c35157c59ba6456e493a4c905ac89f9dd7b76" has multiple parents. Only the first one: "928622b7d8d3138b176e6aad9b4a551107ea7172" will be taken into account for computing the differences.

      13:13:46,629  WARN The commit "928622b7d8d3138b176e6aad9b4a551107ea7172" has multiple parents. Only the first one: "519e56d37444d7c19e8dba3dae5918b6056205b4" will be taken into account for computing the differences.

      13:13:46,658  WARN The commit "519e56d37444d7c19e8dba3dae5918b6056205b4" has multiple parents. Only the first one: "f2eade55d7d7d9eb3433617b90a99135cd202c7d" will be taken into account for computing the differences.

      13:13:46,676  WARN The commit "f2eade55d7d7d9eb3433617b90a99135cd202c7d" has multiple parents. Only the first one: "86d0beead3ab7678bb3c78dffd0ede5c600fb45c" will be taken into account for computing the differences.

      13:13:46,699  WARN The commit "86d0beead3ab7678bb3c78dffd0ede5c600fb45c" has multiple parents. Only the first one: "7ed1a804b518df7ba0a90ef08d33e6eb663b6b46" will be taken into account for computing the differences.

      13:13:46,713  WARN The commit "7ed1a804b518df7ba0a90ef08d33e6eb663b6b46" has multiple parents. Only the first one: "de35ee678e5abd7a0054275f9b7615ba7f6d1224" will be taken into account for computing the differences.

      13:13:46,740  WARN The commit "de35ee678e5abd7a0054275f9b7615ba7f6d1224" has multiple parents. Only the first one: "e024f157dabd14d259cc36c7ea6058356933cfe4" will be taken into account for computing the differences.

      Tests run: 14, Failures: 4, Errors: 1, Skipped: 1, Time elapsed: 9.49 sec <<< FAILURE!

      shouldContainTagsAndBranchNamesAndCommitsUnderTreeNode(org.modeshape.connector.git.GitConnectorTest)  Time elapsed: 3.327 sec  <<< FAILURE!

      java.lang.AssertionError: Names of children not found under node: [3.0.x, 2.2.x, 2.x, 2.8.x, 2.5.x, master]

      Expected: is <true>

           but: was <false>

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)

        at org.junit.Assert.assertThat(Assert.java:865)

        at org.modeshape.jcr.AbstractJcrRepositoryTest.assertChildrenInclude(AbstractJcrRepositoryTest.java:554)

        at org.modeshape.jcr.AbstractJcrRepositoryTest.assertChildrenInclude(AbstractJcrRepositoryTest.java:514)

        at org.modeshape.connector.git.GitConnectorTest.shouldContainTagsAndBranchNamesAndCommitsUnderTreeNode(GitConnectorTest.java:169)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.rules.RunRules.evaluate(RunRules.java:20)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      shouldReadBranches(org.modeshape.connector.git.GitConnectorTest)  Time elapsed: 0.003 sec  <<< FAILURE!

      java.lang.AssertionError: Names of children not found under node: [3.0.x, 2.2.x, 2.x, 2.8.x, 2.5.x, master]

      Expected: is <true>

           but: was <false>

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)

        at org.junit.Assert.assertThat(Assert.java:865)

        at org.modeshape.jcr.AbstractJcrRepositoryTest.assertChildrenInclude(AbstractJcrRepositoryTest.java:554)

        at org.modeshape.jcr.AbstractJcrRepositoryTest.assertChildrenInclude(AbstractJcrRepositoryTest.java:514)

        at org.modeshape.connector.git.GitConnectorTest.shouldReadBranches(GitConnectorTest.java:94)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.rules.RunRules.evaluate(RunRules.java:20)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      shouldFindMasterBranchAsPrimaryItemUnderBranchNode(org.modeshape.connector.git.GitConnectorTest)  Time elapsed: 0.001 sec  <<< FAILURE!

      java.lang.AssertionError:

      Expected: is not null

           but: was null

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)

        at org.junit.Assert.assertThat(Assert.java:865)

        at org.junit.Assert.assertThat(Assert.java:832)

        at org.modeshape.connector.git.GitConnectorTest.shouldFindMasterBranchAsPrimaryItemUnderBranchNode(GitConnectorTest.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.rules.RunRules.evaluate(RunRules.java:20)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      shouldFindMasterBranchAsPrimaryItemUnderTreeNode(org.modeshape.connector.git.GitConnectorTest)  Time elapsed: 0.002 sec  <<< FAILURE!

      java.lang.AssertionError:

      Expected: is not null

           but: was null

        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)

        at org.junit.Assert.assertThat(Assert.java:865)

        at org.junit.Assert.assertThat(Assert.java:832)

        at org.modeshape.connector.git.GitConnectorTest.shouldFindMasterBranchAsPrimaryItemUnderTreeNode(GitConnectorTest.java:191)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.rules.RunRules.evaluate(RunRules.java:20)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      shouldFindLatestCommitInMasterBranch(org.modeshape.connector.git.GitConnectorTest)  Time elapsed: 0.128 sec  <<< ERROR!

      javax.jcr.PathNotFoundException: The child "master" could not be found under "/repos/git-modeshape/commits" in workspace "default"

        at org.modeshape.jcr.AbstractJcrNode.getNode(AbstractJcrNode.java:791)

        at org.modeshape.jcr.AbstractJcrNode.getNode(AbstractJcrNode.java:100)

        at org.modeshape.connector.git.GitConnectorTest.shouldFindLatestCommitInMasterBranch(GitConnectorTest.java:217)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.rules.RunRules.evaluate(RunRules.java:20)

        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

        at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:234)

        at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)

        at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)

        at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)

        at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)

        at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)

        at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

       

      Thanks!

      nikhil