Skip to content

GWT unit test failing in cloudbees #2

@DavidWhitlock

Description

@DavidWhitlock

The GWT unit tests are failing on cloudbees with this exception:

[INFO] --- gwt-maven-plugin:2.4.0:test (surefire-it) @ gwt ---
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running GWT Examples
[INFO] [WARN] Unable to create new cache log file /scratch/jenkins/workspace/DavidWhitlock/PortlandStateJava/target/www-test/../gwt-unitCache/gwt-unitCache-0000013E3F8480CE.
[INFO] java.io.IOException: No such file or directory
[INFO]  at java.io.UnixFileSystem.createFileExclusively(Native Method)
[INFO]  at java.io.File.createNewFile(File.java:947)
[INFO]  at com.google.gwt.dev.javac.PersistentUnitCache.<init>(PersistentUnitCache.java:331)
[INFO]  at com.google.gwt.dev.javac.UnitCacheFactory.get(UnitCacheFactory.java:58)
[INFO]  at com.google.gwt.dev.javac.CompilationStateBuilder.init(CompilationStateBuilder.java:385)
[INFO]  at com.google.gwt.dev.DevModeBase.doStartup(DevModeBase.java:892)
[INFO]  at com.google.gwt.dev.DevMode.doStartup(DevMode.java:424)
[INFO]  at com.google.gwt.junit.JUnitShell.doStartup(JUnitShell.java:932)
[INFO]  at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1058)
[INFO]  at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:708)
[INFO]  at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:653)
[INFO]  at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
[INFO]  at junit.framework.TestCase.runBare(TestCase.java:134)
[INFO]  at junit.framework.TestResult$1.protect(TestResult.java:110)
[INFO]  at junit.framework.TestResult.runProtected(TestResult.java:128)
[INFO]  at junit.framework.TestResult.run(TestResult.java:113)
[INFO]  at junit.framework.TestCase.run(TestCase.java:124)
[INFO]  at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)
[INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO]  at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO]  at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO]  at junit.framework.TestSuite.runTest(TestSuite.java:232)
[INFO]  at junit.framework.TestSuite.run(TestSuite.java:227)
[INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.doRun(MavenTestRunner.java:105)
[INFO]  at junit.textui.TestRunner.start(TestRunner.java:180)
[INFO]  at org.codehaus.mojo.gwt.test.MavenTestRunner.main(MavenTestRunner.java:63)

I wonder if the relative path (..) is causing problems. What version of Java is cloudbees using? What is the native platform?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions