Thanks, yes, it is created by Gradle. Unfortunately we have some tests
which have part of their setup in gradle files which is a major
anti-pattern for tests. We should NOT be doing this. The setup for the test
should be within the test itself.

On Tue, Apr 28, 2020 at 4:32 PM Robert Houghton <rhough...@pivotal.io>
wrote:

> Pretty sure it is generated by Gradle in geode-assembly
>
> On Tue, Apr 28, 2020, 16:09 Kirk Lund <kl...@apache.org> wrote:
>
> > Does anyone know how geodeOldVersionInstalls.txt gets created?
> >
> > When I try to run
> > TomcatSessionBackwardsCompatibilityTomcat8WithOldModuleCanDoPutsTest
> > locally, it fails with the following stack trace.
> >
> > I've searched for geodeOldVersionInstalls.txt and grepped for code that
> > involves the file, but I can't figure out how this file gets created or
> how
> > to run that test.
> >
> > Anyone have ideas how to debug this test or how to
> > ensure geodeOldVersionInstalls.txt gets created?
> >
> > java.lang.InternalError: VersionManager: unable to locate
> > geodeOldVersionInstalls.txt in class-path
> >
> > at
> >
> >
> org.apache.geode.test.version.VersionManager.checkForLoadFailure(VersionManager.java:150)
> > at
> >
> >
> org.apache.geode.test.version.VersionManager.getVersionsWithoutCurrent(VersionManager.java:141)
> > at
> >
> >
> org.apache.geode.session.tests.TomcatSessionBackwardsCompatibilityTestBase.data(TomcatSessionBackwardsCompatibilityTestBase.java:55)
> > 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:50)
> > at
> >
> >
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> > at
> >
> >
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> > at org.junit.runners.Parameterized.allParameters(Parameterized.java:280)
> > at org.junit.runners.Parameterized.<init>(Parameterized.java:248)
> > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> > at
> >
> >
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> > at
> >
> >
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> > at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> > at
> >
> >
> org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
> > at
> >
> >
> org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
> > at
> >
> >
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> > at
> >
> >
> org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
> > at
> >
> >
> org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
> > at
> org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
> > at
> >
> >
> com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:49)
> > at
> >
> >
> com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
> > at
> >
> >
> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
> > at
> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
> >
>

Reply via email to