Bug 73662 - org.eclipse.jdt.core.tests.model is failing
Summary: org.eclipse.jdt.core.tests.model is failing
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC HP-UX
: P3 major (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-10 09:15 EDT by Balasubramaniyan K CLA
Modified: 2004-10-08 08:01 EDT (History)
3 users (show)

See Also:


Attachments
test results (767.99 KB, text/html)
2004-09-10 09:17 EDT, Balasubramaniyan K CLA
no flags Details
Test results with only 4 errors (452.00 KB, text/html)
2004-09-10 12:09 EDT, Balasubramaniyan K CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balasubramaniyan K CLA 2004-09-10 09:15:37 EDT
We have run org.ecliipse.jdt.core.tests.model in HP_UX several times
before and it has always passed 100%. But today we ran it against Eclipse
3.0.1RC2 and it has passed 97.11% (120 Errors & 1 Failure)

All the errors seems to have the same problem as attached. When we gave
777 permission to eclipse-testing folder, then only 4 tests have failed.
Can somebody help us to correct this behaviour.
Comment 1 Balasubramaniyan K CLA 2004-09-10 09:17:29 EDT
Created attachment 14487 [details]
test results
Comment 2 Jerome Lanneluc CLA 2004-09-10 09:49:47 EDT
It looks like IFile.setReadOnly(false) failed on your system. This can either 
be a VM bug, or a bug with your OS. Do you know any latency the OS could have 
when setting the readonly flag ?
Comment 3 Balasubramaniyan K CLA 2004-09-10 10:57:13 EDT
but how did it work for even 3.0.1RC1. In 3.0.1RC1, all the test cases passed 
(100%). Is this is a new change between 3.0.1RC1 & 3.0.1RC2?
Comment 4 Jerome Lanneluc CLA 2004-09-10 11:00:39 EDT
There were no change at the JDT Core level in this area. 

DJ any change around the readonly flag in Platform Resources ?
Comment 5 DJ Houghton CLA 2004-09-10 11:10:23 EDT
No, that's strange. I just checked and our HP-UX library hasn't changed since
June and the only thing that we changed in Core-Resources between those builds
were removing unused import statements.

I presume that the tests were run several times and the same results happened
each time?
Comment 6 Balasubramaniyan K CLA 2004-09-10 11:12:32 EDT
Yes , we have run these tests atleast for 3 times today. We have encountered 
the same results.

But when we gave 777 permission to eclipse-testing folder , we got only 4 
errors while running these tests. Does this give any clue ?
Comment 7 DJ Houghton CLA 2004-09-10 12:04:54 EDT
No idea. You should post the results from the 4-errors run as well so we can see
if there are real problems there too. Thanks.
Comment 8 Balasubramaniyan K CLA 2004-09-10 12:09:08 EDT
Created attachment 14490 [details]
Test results with only 4 errors
Comment 9 Jerome Lanneluc CLA 2004-09-13 04:58:19 EDT
So only the conditions you run the tests can have changed (since there was no 
code change at the Eclipse level). 
1. Are you using the same VM to run the tests in RC1 and RC2 ?
2. Are you using the same OS version to run the tests in RC1 and RC2 ?
3. Are you using the same machine to run the tests in RC1 and Rc2 ?
Comment 10 Ragav CLA 2004-09-13 05:37:09 EDT
'Yes' to all.
-Ragav.
Comment 11 Jerome Lanneluc CLA 2004-09-13 05:46:31 EDT
To summarize there are no change on the Eclipse side, there is no change on 
your side. Since I don't have access to HP-UX, I can only help you debug it.

To debug it, you need to check out org.eclipse.jdt.core.tests.compiler and 
org.eclipse.jdt.core.tests.model from dev.eclipse.org (take the v_452_R30x 
version). Add a breakpoint in the test that is failing. Run AllJavaModelTests 
in debug mode.
Comment 12 Balasubramaniyan K CLA 2004-09-16 06:32:21 EDT
We ran org.ecliipse.jdt.core.tests.model test suite today with the 
build "200409151412". It has passed successfully (100%). We have not made any 
change in the code and neither there is any change in the system set up. 

Can you tell us if this gives you some clue ? Thanks for your time
Comment 13 Jerome Lanneluc CLA 2004-09-16 11:42:24 EDT
Sorry but JDT Core didn't change anything in this area in 200409151412 (we 
didn't even change a single line of code between 3.0.1 and M200409151412)
Comment 14 Balasubramaniyan K CLA 2004-09-20 09:40:59 EDT
Looks like we get this error in the alternate builds. 

We got the same errors again in Eclipse 3.0.1. We are sure that there is no 
change in the system environment. I know the response is misleading but this is 
what we are getting. 

Comment 15 Jerome Lanneluc CLA 2004-10-08 08:01:02 EDT
This problem cannot be reproduced. Nothing JDT Core can do. Closing as third
party problem.