Continuum ha scritto:
Hmm, this build failure was caused by the following error:
-------------------------------------------------------------------------------
Test set: org.vfny.geoserver.wms.requests.GetLegendGraphicKvpReaderTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.663 sec <<< FA
ILURE!
testRemoteSLDMultipleStyles(org.vfny.geoserver.wms.requests.GetLegendGraphicKvpR
eaderTest) Time elapsed: 0.658 sec <<< ERROR!
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:828)
at org.vfny.geoserver.testdata.MockUtils.writeTempFile(MockUtils.java:43
0)
at org.vfny.geoserver.testdata.MockUtils.writeTempFiles(MockUtils.java:4
06)
at org.vfny.geoserver.testdata.MockUtils.createCiteDataStore(MockUtils.j
ava:380)
at org.vfny.geoserver.testdata.MockUtils.createDataStoresMap(MockUtils.j
ava:294)
at org.vfny.geoserver.testdata.MockUtils.createTestCiteData(MockUtils.ja
va:265)
at org.vfny.geoserver.wms.requests.GetLegendGraphicKvpReaderTest.setUp(G
etLegendGraphicKvpReaderTest.java:89)
at junit.framework.TestCase.runBare(TestCase.java:125)
I went to /tmp, deleted the cite_test_datastore directory by hand (using
root privileges) and then run again the build, it went fine in my
account, but keeps on failing for cruise... bah! The dir gets apparently
created so that no two users can use it (with rwxr-x permissions, so
that only the user that created it can write in it).
I've added a deleteOnExit to the cite_test_datastore directory as well,
this should make it disappear
Cheers
Andrea