Regression

org.dataone.integration.it.apiTests.MNReadV2IT.testGetReplica_PublicObject

Failing for the past 1 build (Since Unstable#500 )
Took 9 sec.

Error Message

Should be able to retrieve a public object (as subject cnSandboxORC1).  If the node is checking the client subject against the CN for all getReplica requests, and the node is not registered to an environment, this failure can be ignored.  Got:NotAuthorized: 0:: A CN has not authorized the target MN to create a replica of object. target_mn="CN=urn:node:cnSandboxORC1,DC=dataone,DC=org", pid="testView_Scimeta_2018361458187", cn_error="name: NotFound errorCode: 404 detailCode: 4874 description: Couldn't find an object identified by testView_Scimeta_2018361458187. "  [for host GET https://pangaea-dev-orc-1.test.dataone.org/mn/v2/replica/testView_Scimeta_2018361458187 ]

Stacktrace

java.lang.AssertionError: Should be able to retrieve a public object (as subject cnSandboxORC1).  If the node is checking the client subject against the CN for all getReplica requests, and the node is not registered to an environment, this failure can be ignored.  Got:NotAuthorized: 0:: A CN has not authorized the target MN to create a replica of object. target_mn="CN=urn:node:cnSandboxORC1,DC=dataone,DC=org", pid="testView_Scimeta_2018361458187", cn_error="name: NotFound
errorCode: 404
detailCode: 4874
description: Couldn't find an object identified by testView_Scimeta_2018361458187.
"  [for host GET https://pangaea-dev-orc-1.test.dataone.org/mn/v2/replica/testView_Scimeta_2018361458187 ]
	at org.junit.Assert.fail(Assert.java:91)
	at org.dataone.integration.ContextAwareTestCaseDataone$5.call(ContextAwareTestCaseDataone.java:1825)
	at org.junit.rules.ErrorCollector.checkSucceeds(ErrorCollector.java:70)
	at org.dataone.integration.ContextAwareTestCaseDataone.handleFail(ContextAwareTestCaseDataone.java:1820)
	at org.dataone.integration.it.ContextAwareAdapter.handleFail(ContextAwareAdapter.java:100)
	at org.dataone.integration.it.testImplementations.MNReadTestImplementations.testGetReplica_PublicObject(MNReadTestImplementations.java:110)
	at org.dataone.integration.it.testImplementations.MNReadTestImplementations.testGetReplica_PublicObject(MNReadTestImplementations.java:88)
	at org.dataone.integration.it.apiTests.MNReadV2IT.testGetReplica_PublicObject(MNReadV2IT.java:172)
	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:498)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.rules.Verifier$1.evaluate(Verifier.java:34)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
	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:498)
	at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
	at com.sun.proxy.$Proxy0.invoke(Unknown Source)
	at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
	at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)