| Summary: | Running a test linked to a datapool cause Severe Error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | jkubasta | ||||
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | blocker | ||||||
| Priority: | P1 | CC: | dkhodges, dmorris, huangxy | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 2000 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
I have reproduced this in a plain TPTP URL test using the TPTP i6 driver. I get the same load error from Common_DatapoolFactoryImpl. In both cases, the datapool file is physically there and intact. Here is the TPTP portion of the call stack from the consumming product: User [DefaultUserGroup][000001] experienced severe error org.eclipse.hyades.execution.runtime.datapool.DatapoolException: IWAT3056E Datapool could not be loaded from file C:\WINDOWS\TEMP\deployment_root\tarman\D6FDA5781F1662D021A2D8F00CB411DD\D6FDA5781F1662D03A8C69300CB411DD.datapool org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:308) org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.load(Common_DatapoolFactoryImpl.java:435) This particular error was with the product using the 4.5 M5 driver. Note that the renaming of the datapool with the datapool GUID identifier for deployment is normal for this product to insure a unique name for each datapool in a given deployment directory and the file GUID name data path was confirmed. From Xin Ying Huang (https://bugs.eclipse.org/bugs/show_bug.cgi?id=224843#c26): I verified this defect using below build in my local enviroment : a) agntctrl.win_ia32.sdk-TPTP-4.5.0-200804031156C b) eclipse-SDK-3.4M6-win32 c) tptp.sdk-TPTP-4.5.0-200804031156C.zip d)emf-runtime-2.4.0M6 e)xsd-runtime-2.4.0M6 But still met the same error : org.eclipse.hyades.execution.runtime.datapool.DatapoolException: IWAT3056E Datapool could not be loaded from file C:\work\develop\TPTP_EncryptedDatapool\TPTP4.5.0\04087\wrokspace\datapoolExample\shoppingCartDatapool.datapool at org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:308) at org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.load(Common_DatapoolFactoryImpl.java:435) at MyShoppingCartTest.setUp(MyShoppingCartTest.java:57) at junit.framework.TestCase.runBare(TestCase.java:128) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at org.eclipse.hyades.test.common.junit.HyadesTestCase.run(HyadesTestCase.java:172) at junit.framework.TestSuite.runTest(TestSuite.java:230) at org.eclipse.hyades.test.common.junit.HyadesTestSuite.runTest(HyadesTestSuite.java:457) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.hyades.test.common.junit.HyadesTestSuite.doRun(HyadesTestSuite.java:425) at org.eclipse.hyades.test.common.junit.HyadesTestSuite.run(HyadesTestSuite.java:338) at org.eclipse.hyades.test.common.junit.HyadesTestRunner.run(HyadesTestRunner.java:504) at org.eclipse.hyades.test.java.runner.HyadesJUnitRunner.main(HyadesJUnitRunner.java:117) org.eclipse.hyades.execution.runtime.datapool.DatapoolException: IWAT3056E Datapool could not be loaded from file C:\WINDOWS\TEMP\deployment_root\tarman\D6FDA5781F1662D021A2D8F00CB411DD\D6FDA5781F1662D03A8C69300CB411DD.datapool org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.loadForEdit(Common_DatapoolFactoryImpl.java:308) org.eclipse.hyades.models.common.datapool.impl.Common_DatapoolFactoryImpl.load(Common_DatapoolFactoryImpl.java:435) Created attachment 96928 [details]
Sample JUnit and URL Test Project.
The symptoms for this defect cannot be reproduced using the 4.5 M6 driver (http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.5.0M6-200804031156) for both the JUnit and URL test types (see enclosed project). The symptoms are the same as https://bugs.eclipse.org/bugs/show_bug.cgi?id=224843 (regression caused by https://bugs.eclipse.org/bugs/show_bug.cgi?id=208719), which was resolved on April 1. The 4.5 M6 driver (http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.5.0M6-200804031156) contains this fix. Note, the fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=224843 requires an update to the Agent Controller. *** This bug has been marked as a duplicate of bug 224843 *** Note, we will improve the error reporting when loading datapools at runtime under TPTP defect https://bugs.eclipse.org/bugs/show_bug.cgi?id=257127. closing |
To reproduce: - record an http test - run it (it should complete successfully) - now, add a datapool to the test, using the 'Add Datapool' button in the Common Options tab - save and run the test => BUG: the run seems to be launched correctly, but it soon switches to the 'Complete' status, whereas the performance report is almost empty and the Protocol Data's Event Log area does not display any event. Work-around: remove the datapool from the test ("Delete" button in Common Options tab) to make it runnable again.