Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 333874 - [testing] Spurious NPE during testOpenFileFromTarArchive on hudson.eclipse.org
Summary: [testing] Spurious NPE during testOpenFileFromTarArchive on hudson.eclipse.org
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.3   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Xuan Chen CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-10 10:05 EST by Martin Oberhuber CLA
Modified: 2011-03-21 15:46 EDT (History)
0 users

See Also:


Attachments
Patch: Add more logging to track failure. (4.21 KB, patch)
2011-01-27 09:52 EST, Xuan Chen CLA
no flags Details | Diff
Patch to remove this testcase. (1.83 KB, text/plain)
2011-03-21 10:33 EDT, Xuan Chen CLA
no flags Details
Remove this testcase totally (869 bytes, text/plain)
2011-03-21 15:46 EDT, Xuan Chen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2011-01-10 10:05:08 EST
Seen during the N-build on hudson.eclipse.org on 10-Jan-2011:
https://hudson.eclipse.org/hudson/job/cbi-tm-3.2-nightly/188/
The error does not always happen, might be timing dependent.

junit.framework.AssertionFailedError: null
	at org.eclipse.rse.tests.subsystems.files.FileServiceArchiveBaseTest.testOpenFileFromTarArchive(FileServiceArchiveBaseTest.java:925)
	at org.eclipse.rse.tests.core.RSECoreTestCase.runTest(RSECoreTestCase.java:425)
Comment 1 Martin Oberhuber CLA 2011-01-10 11:18:52 EST
FWIW, this happened during the

   FileServiceTgzArchiveTest.testOpenFileFromTarArchive

test, and it also occurred on the Jan 6 Hudson build (but not on Jan 7).
Comment 2 Martin Oberhuber CLA 2011-01-12 12:33:57 EST
Xuan can you please look at this as just discussed in the monthly meeting?
Comment 3 Xuan Chen CLA 2011-01-14 11:35:30 EST
I cannot reproduce it using my development driver.

I will probably add more messages to help narrow down the failure.
Comment 4 Xuan Chen CLA 2011-01-27 09:52:32 EST
Created attachment 187733 [details]
Patch: Add more logging to track failure.
Comment 5 Martin Oberhuber CLA 2011-02-07 10:26:45 EST
As of 3.3M5, Hudson shows an AssertionFailed instead of the NPE:

https://hudson.eclipse.org/hudson/job/cbi-tm-3.2-nightly/211/testReport/junit/org.eclipse.rse.tests.subsystems.files/FileServiceTgzArchiveTest/testOpenFileFromTarArchive/

Error Message

difference: c is: 116 but d is: 104  a so far is:  but b so far is:
Comment 6 Xuan Chen CLA 2011-03-21 10:33:02 EDT
Created attachment 191615 [details]
Patch to remove this testcase.
Comment 7 Xuan Chen CLA 2011-03-21 10:34:35 EDT
I committed my fix into cvs.
Comment 8 Xuan Chen CLA 2011-03-21 10:34:58 EDT
It is resolved now.
Comment 9 Xuan Chen CLA 2011-03-21 15:46:47 EDT
Created attachment 191642 [details]
Remove this testcase totally