[Geoserver-devel] [JIRA] (GEOS-8213) UpdateSequenceListenerTest.testCatalogUpdates is flaky

Sam Antha created an issue

GeoServer / BugGEOS-8213

UpdateSequenceListenerTest.testCatalogUpdates is flaky

Issue Type:

BugBug

Assignee:

Unassigned

Created:

06/Jul/17 11:40 PM

Environment:

Ubuntu 12.04.5 LTS, Java 1.8.0_31 and Maven 3.3.9.

Priority:

MediumMedium

Reporter:

Sam Antha

UpdateSequenceListenerTest.testCatalogUpdates failed for us on commit e1c38bb, but does not fail in the corresponding run on Travis (https://travis-ci.org/geoserver/geoserver/builds/235624580).

Our tool confirms that this test is flaky. The full stack trace is below. We set up our build environment to be as close to your Travis environment as possible, using Ubuntu 12.04.5 LTS, Java 1.8.0_31 and Maven 3.3.9.

> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.584 sec <<< FAILURE!
> testCatalogUpdates(org.geoserver.config.UpdateSequenceListenerTest) Time elapsed: 0.573 sec <<< ERROR!
> org.geoserver.catalog.CatalogException: Error persisting FeatureTypeInfoImpl[Locks] to workspaces/cdf/cdf/Locks/featuretype.xml
> at org.hsqldb.Database.connect(Unknown Source)
> at org.hsqldb.DatabaseManager.newSession(Unknown Source)
> at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
> at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
> at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source)
> at org.hsqldb.jdbc.JDBCDataSource.getConnection(Unknown Source)
> at org.geotools.referencing.factory.epsg.DirectEpsgFactory.getConnection(DirectEpsgFactory.java:3316)
> at org.geotools.referencing.factory.epsg.DirectEpsgFactory$Finder.getSpecificCodeCandidates(DirectEpsgFactory.java:3066)
> at org.geotools.referencing.factory.IdentifiedObjectFinder$Adapter.getSpecificCodeCandidates(IdentifiedObjectFinder.java:504)
> at org.geotools.referencing.factory.IdentifiedObjectFinder$Adapter.getSpecificCodeCandidates(IdentifiedObjectFinder.java:504)
> at org.geotools.referencing.factory.IdentifiedObjectFinder.createFromCodes(IdentifiedObjectFinder.java:347)
> at org.geotools.referencing.factory.IdentifiedObjectFinder.find(IdentifiedObjectFinder.java:183)
> at org.geotools.referencing.factory.IdentifiedObjectFinder.findIdentifier(IdentifiedObjectFinder.java:200)
> at org.geotools.referencing.factory.BufferedAuthorityFactory$Finder.findIdentifier(BufferedAuthorityFactory.java:1188)
> at org.geotools.referencing.CRS.lookupIdentifier(CRS.java:1103)
> at org.geotools.referencing.CRS.lookupEpsgCode(CRS.java:1126)
> at org.geoserver.config.util.XStreamPersister$SRSConverter.toString(XStreamPersister.java:1243)
> at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.toString(SingleValueConverterWrapper.java:37)
> at com.thoughtworks.xstream.converters.SingleValueConverterWrapper.marshal(SingleValueConverterWrapper.java:45)
> at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)
> at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:250)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:226)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:189)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:135)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)
> at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)
> at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshallField(AbstractReflectionConverter.java:250)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:226)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:189)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(AbstractReflectionConverter.java:135)
> at org.geoserver.config.util.XStreamPersister$AbstractReflectionConverter.doMarshal(XStreamPersister.java:1518)
> at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.marshal(AbstractReflectionConverter.java:83)
> at com.thoughtworks.xstream.core.TreeMarshaller.convert(TreeMarshaller.java:70)
> at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
> at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
> at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
> at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
> at com.thoughtworks.xstream.XStream.marshal(XStream.java:1022)
> at com.thoughtworks.xstream.XStream.marshal(XStream.java:1011)
> at com.thoughtworks.xstream.XStream.toXML(XStream.java:984)
> at org.geoserver.config.util.XStreamPersister.save(XStreamPersister.java:590)
> at org.geoserver.config.GeoServerPersister.persist(GeoServerPersister.java:740)
> at org.geoserver.config.GeoServerPersister.addFeatureType(GeoServerPersister.java:453)
> at org.geoserver.config.GeoServerPersister.handleAddEvent(GeoServerPersister.java:96)
> at org.geoserver.catalog.impl.CatalogImpl.event(CatalogImpl.java:1516)
> at org.geoserver.catalog.impl.CatalogImpl.fireAdded(CatalogImpl.java:1477)
> at org.geoserver.catalog.impl.CatalogImpl.added(CatalogImpl.java:1466)
> at org.geoserver.catalog.impl.CatalogImpl.add(CatalogImpl.java:391)
> at org.geoserver.data.test.SystemTestData.addVectorLayer(SystemTestData.java:613)
> at org.geoserver.data.test.SystemTestData.addVectorLayer(SystemTestData.java:530)
> at org.geoserver.data.test.SystemTestData.addVectorLayer(SystemTestData.java:506)
> at org.geoserver.data.test.SystemTestData.addVectorLayer(SystemTestData.java:494)
> at org.geoserver.data.test.SystemTestData.setUpDefaultLayers(SystemTestData.java:156)
> at org.geoserver.data.test.SystemTestData.setUpDefault(SystemTestData.java:146)
> at org.geoserver.test.GeoServerSystemTestSupport.setUpTestData(GeoServerSystemTestSupport.java:312)
> at org.geoserver.test.GeoServerSystemTestSupport.setUp(GeoServerSystemTestSupport.java:214)
> at org.geoserver.test.GeoServerSystemTestSupport.setUp(GeoServerSystemTestSupport.java:165)
> at org.geoserver.test.GeoServerBaseTestSupport.doSetup(GeoServerBaseTestSupport.java:151)
> at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source)
> 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: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.RunBefores.evaluate(RunBefores.java:24)
> 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:264)
> at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
> at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
> 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.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208)
> at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:158)
> at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
> at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)

Add Comment

Add Comment

Get JIRA notifications on your phone! Download the JIRA Cloud app here.


This message was sent by Atlassian JIRA (v1000.1101.0#100054-sha1:6f413c5)

Atlassian logo