java.lang.AssertionError: expected:<1> but was:<2>

Sonatype JIRA | Benjamin Hanzelmann | 4 years ago
  1. 0

    Regression org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd (from Nexus5249IndexerManagerTest) {code} Error Message expected:<1> but was:<2> Stacktrace java.lang.AssertionError: expected:<1> but was:<2> at org.junit.Assert.fail(Assert.java:93) at org.junit.Assert.failNotEquals(Assert.java:647) at org.junit.Assert.assertEquals(Assert.java:128) at org.junit.Assert.assertEquals(Assert.java:472) at org.junit.Assert.assertEquals(Assert.java:456) at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 2012-10-05 02:31:46 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Configuring EHCache CacheManager from classpath. 2012-10-05 02:31:46 WARN [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:46 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - ------------------------------------------------- Initializing Sonatype Nexus 2.3-SNAPSHOT ------------------------------------------------- 2012-10-05 02:31:46 INFO [main ] - org.sonatype.nexus.DefaultNexus - Activating locally installed plugins... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.sisu.velocity.Velocity - Creating default instance of VelocityEngine 2012-10-05 02:31:47 WARN [main ] - org.sonatype.sisu.pr.bundle.internal.RsaAesBundleEncryptor - Neither PublicKey instance nor public key file available. Bundle encryption will be skipped. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Loading Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.StaticConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 WARN [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - No configuration file in place, copying the default one and continuing with it. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Configuration loaded successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.source.FileConfigurationSource - Nexus configuration validated successfully. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:47 INFO [main ] - org.sonatype.security.configuration.source.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work/conf/security-configuration.xml 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.4] 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5' does not yet exist. Creating now. 2012-10-05 02:31:47 INFO [main ] - org.apache.shiro.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.5] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryTypeRegistry - Registered default repository types. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.attributes.DefaultLSAttributeStorage - Default FS AttributeStorage in place, using JacksonJSON marshaller. 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central" [id=central][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:47 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Apache Snapshots" [id=apache-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Codehaus Snapshots" [id=codehaus-snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenProxyRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Releases" [id=releases][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Snapshots" [id=snapshots][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "3rd party" [id=thirdparty][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.maven.MavenHostedRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Central M1 shadow" [id=central-m1][contentClass=Maven1][mainFacet=org.sonatype.nexus.proxy.maven.MavenShadowRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.proxy.registry.DefaultRepositoryRegistry - Added repository "Public Repositories" [id=public][contentClass=Maven2][mainFacet=org.sonatype.nexus.proxy.repository.GroupRepository] 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Initializing Scheduler... 2012-10-05 02:31:48 INFO [main ] - org.sonatype.scheduling.DefaultTaskConfigManager - 0 task(s) to load. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - This is 1st start of new Nexus instance. 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Nexus Work Directory : /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-core-plugins/nexus-indexer-lucene-plugin-parent/nexus-indexer-lucene-plugin/target/plexus-home--7155402454563808038/nexus-work 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.DefaultNexus - Started Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:48 INFO [main ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration - Applying Nexus Configuration... 2012-10-05 02:31:48 INFO [host-7-thread-1] - org.sonatype.nexus.events.IndexingRepositoryRegistryRepositoryAsyncEventInspector - Enabled download of indexes on repository "Apache Snapshots" (id=apache-snapshots), doing full reindex of it. 2012-10-05 02:31:49 INFO [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) started :: Repairing repository index "Apache Snapshots" from path null and below. 2012-10-05 02:31:50 INFO [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:50 WARN [pool-3-thread-1] - org.sonatype.nexus.tasks.RepairIndexTask - Scheduled task (RepairIndexTask) failed :: Repairing repository index "Apache Snapshots" from path null and below. (started 2012-10-05T02:31:49-05:00, runtime 0:00:01.031) java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) ~[junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) ~[junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) ~[junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) ~[junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) ~[junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) ~[na:na] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) ~[surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) ~[surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) ~[surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:51 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Trying to get remote index for repository "Apache Snapshots" [id=apache-snapshots] 2012-10-05 02:31:51 WARN [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Cannot fetch remote index for repository "Apache Snapshots" [id=apache-snapshots] due to IO problem. java.io.IOException: something bad happened at org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:192) ~[test-classes/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) [junit-dep-4.10.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.10.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) [junit-dep-4.10.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) [junit-dep-4.10.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) [junit-dep-4.10.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:300) [junit-dep-4.10.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) [surefire-junit4-2.10.jar:2.10] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) [surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) [surefire-booter-2.10.jar:2.10] 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository releases [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository thirdparty [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository codehaus-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository apache-snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository snapshots [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository public [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Publishing index for repository central [INFO] Unable to read properties file, will force index regeneration 2012-10-05 02:31:53 INFO [main ] - org.sonatype.scheduling.DefaultScheduler - Shutting down Scheduler... 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.index.DefaultIndexerManager - Shutting down Nexus IndexerManager 2012-10-05 02:31:53 INFO [main ] - org.sonatype.nexus.DefaultNexus - Stopped Sonatype Nexus 2.3-SNAPSHOT 2012-10-05 02:31:53 INFO [main ] - org.sonatype.sisu.ehcache.CacheManagerComponentImpl - Shutting down EHCache CacheManager. {code}

    Sonatype JIRA | 4 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: expected:<1> but was:<2>
  2. 0

    Dependency Management with Apache Ivy | | InformIT

    informit.com | 6 months ago
    java.lang.AssertionError: expected:<1> but was:<2>
  3. 0

    Flakey IndexerModelImplTest.testEvents

    GitHub | 3 years ago | whoschek
    java.lang.AssertionError: expected:<1> but was:<2>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  1. davidvanlaatum 1 times, last 1 week ago
  2. andyglick 9 times, last 8 months ago
  3. WoodenDoors 3 times, last 8 months ago
  4. davidvanlaatum 103 times, last 9 months ago
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    expected:<1> but was:<2>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:93)
    2. org.junit.Assert.failNotEquals(Assert.java:647)
    3. org.junit.Assert.assertEquals(Assert.java:128)
    4. org.junit.Assert.assertEquals(Assert.java:472)
    5. org.junit.Assert.assertEquals(Assert.java:456)
    5 frames
  3. Sonatype Nexus Indexer
    Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd
    1. org.sonatype.nexus.index.Nexus5249IndexerManagerTest.remoteNon404ResponseFailsProcessingAtTheEnd(Nexus5249IndexerManagerTest.java:206)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
    6. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    7. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
    8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
    9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
    10. org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
    11. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
    12. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
    13. org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
    14. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
    15. org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    15 frames
  6. JUnit4 Provider
    JUnit4Provider.invoke
    1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
    2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
    3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. SureFire
    ForkedBooter.main
    1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
    2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
    3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
    4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
    5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
    5 frames