Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335852 - FileNotFoundExceptions running test suite (N20110128-2000)
Summary: FileNotFoundExceptions running test suite (N20110128-2000)
Status: RESOLVED WORKSFORME
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE API Tools Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-31 10:13 EST by Michael Rennie CLA
Modified: 2011-02-01 19:13 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2011-01-31 10:13:15 EST
Looking at the test failure for the N20110128-2000 build, I noticed some interesting entries in the console output logs for Windows. There were two entries for FNFE's each claiming 'access denied'.

!ENTRY org.eclipse.core.filesystem 4 271 2011-01-29 04:03:27.250
!MESSAGE File not found: C:\buildtest\N20110128-2000\eclipse-testing\test-eclipse\eclipse\api_tools_plugins_folder\data\test_plugin_project\build.properties.
!STACK 0
java.io.FileNotFoundException: C:\buildtest\N20110128-2000\eclipse-testing\test-eclipse\eclipse\api_tools_plugins_folder\data\test_plugin_project\build.properties (Access is denied)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:735)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.pde.internal.core.build.WorkspaceBuildModel.load(WorkspaceBuildModel.java:67)
	at org.eclipse.pde.core.plugin.PluginRegistry.createBuildModel(PluginRegistry.java:414)
	at org.eclipse.pde.internal.core.ClasspathUtilCore.getBuild(ClasspathUtilCore.java:194)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.computePluginEntries(RequiredPluginsClasspathContainer.java:133)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.getClasspathEntries(RequiredPluginsClasspathContainer.java:88)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1866)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1815)
	at org.eclipse.jdt.internal.core.ClasspathValidation.validate(ClasspathValidation.java:68)
	at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:51)
	at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
	at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4921)
	at org.eclipse.pde.internal.core.PluginModelManager$UpdateClasspathsJob.run(PluginModelManager.java:64)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

!ENTRY org.eclipse.core.filesystem 4 271 2011-01-29 04:03:27.250
!MESSAGE File not found: C:\buildtest\N20110128-2000\eclipse-testing\test-eclipse\eclipse\api_tools_plugins_folder\data\test_plugin_project\build.properties.
!STACK 0
java.io.FileNotFoundException: C:\buildtest\N20110128-2000\eclipse-testing\test-eclipse\eclipse\api_tools_plugins_folder\data\test_plugin_project\build.properties (Access is denied)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at org.eclipse.core.internal.filesystem.local.LocalFile.openInputStream(LocalFile.java:362)
	at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceManager.java:735)
	at org.eclipse.core.internal.resources.File.getContents(File.java:293)
	at org.eclipse.pde.internal.core.build.WorkspaceBuildModel.load(WorkspaceBuildModel.java:67)
	at org.eclipse.pde.internal.core.build.BuildModel.getBuild(BuildModel.java:36)
	at org.eclipse.pde.internal.core.ClasspathUtilCore.getBuild(ClasspathUtilCore.java:195)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.computePluginEntries(RequiredPluginsClasspathContainer.java:133)
	at org.eclipse.pde.internal.core.RequiredPluginsClasspathContainer.getClasspathEntries(RequiredPluginsClasspathContainer.java:88)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1866)
	at org.eclipse.jdt.internal.core.ClasspathEntry.validateClasspathEntry(ClasspathEntry.java:1815)
	at org.eclipse.jdt.internal.core.ClasspathValidation.validate(ClasspathValidation.java:68)
	at org.eclipse.jdt.internal.core.ChangeClasspathOperation.classpathChanged(ChangeClasspathOperation.java:51)
	at org.eclipse.jdt.internal.core.SetContainerOperation.executeOperation(SetContainerOperation.java:110)
	at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:728)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:793)
	at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore.java:4921)
	at org.eclipse.pde.internal.core.PluginModelManager$UpdateClasspathsJob.run(PluginModelManager.java:64)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Kim Moir CLA 2011-01-31 10:26:47 EST
The build machines have been cleaned automatically since the N20110128-2000 build so I can't reproduce the problem.  I notice that the N20110128-2000 build is completely clean, no tests failures....did the problem go away?
Comment 2 Michael Rennie CLA 2011-02-01 19:13:15 EST
(In reply to comment #1)
> is completely clean, no tests failures....did the problem go away?

It would appear so. closing WORKSFORME