Community
Participate
Working Groups
I ran a test build yesterday, and noticed test failures on the windows 7 slave machine for jdtui. Do you know why these would occur? (I don't have access to the machine to look at it other than the logs it produces) (login with committer id and pw) https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/JUnit-win/lastCompletedBuild/testReport/ (look for jdt ui in the test failure messages) For example https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/JUnit-win/lastCompletedBuild/testReport/org.eclipse.jdt.ui.tests.core.source/GenerateConstructorUsingFieldsTest/test01/ Error Message Could not write file: C:\Users\HUDSONBUILD\hudson\workspace\JUnit-win\ws\2011-01-31_13-42-02\eclipse-testing\test-eclipse\eclipse\jdt_folder\DummyProject. Stacktrace org.eclipse.core.runtime.CoreException: Could not write file: C:\Users\HUDSONBUILD\hudson\workspace\JUnit-win\ws\2011-01-31_13-42-02\eclipse-testing\test-eclipse\eclipse\jdt_folder\DummyProject. at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:50) at org.eclipse.core.internal.filesystem.local.LocalFile.checkTargetIsNotWritable(LocalFile.java:84) at org.eclipse.core.internal.filesystem.local.LocalFile.mkdir(LocalFile.java:289) at org.eclipse.core.internal.localstore.FileSystemResourceManager.write(FileSystemResourceManager.java:1032) at org.eclipse.core.internal.localstore.FileSystemResourceManager.internalWrite(FileSystemResourceManager.java:595) at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1463) at org.eclipse.core.internal.resources.Project.writeDescription(Project.java:1444) at org.eclipse.core.internal.resources.Project.create(Project.java:313) at org.eclipse.core.internal.resources.Project.create(Project.java:269) at org.eclipse.core.internal.resources.Project.create(Project.java:262)
Markus, please check on your Windows 7 machine.
I can't reproduce this in my workspace, and I don't really understand how this could happen. The tests fail because java.io.File#mkdirs() didn't create the folder "DummyProject" on the file system (right below the workspace root). The best "explanation" I can come up with would be that someone else was messing around with the workspace while the tests were running.
Thanks for checking Markus. The machine resides at an ISP so I don't think there are issues with the people messing with the filesystem :-) We are the only team that uses this machine. I'll run the tests again.
(In reply to comment #2) > The best "explanation" I can come up with would be that someone else was > messing around with the workspace while the tests were running. Kim, which JRE are you using?
jdk1.6.0_20
They passed on the test build we ran on the weekend. https://hudson.eclipse.org/hudson/view/Eclipse%20and%20Equinox/job/JUnit- win/lastCompletedBuild/testReport/