question

kmd6076 avatar image
kmd6076 asked lakshminarayana answered

Internal Error when running test

I am running iTest 4.1.4 on linux and am getting this error when a test is executed from withing the iTest UI. The first part of the test calls a procedure which returns output and the returned data is mapped properly. However the mapped response is not saved (I don't see them in the Queries view) and each time I run the test case I see the errors below. I searched the workspace directory thinking the previous Windows path was saved somewhere but there were no instances of this path at all in the workspace. Where would this path be getting set? org.eclipse.core.runtime.CoreException: Parent of resource: /Z:/kdoherty/Docs/iTestReports/set_interface_static_2013-10-03_14-22-24.html is marked as read-only. at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:55) at org.eclipse.core.internal.filesystem.local.LocalFile.checkReadOnlyParent(LocalFile.java:68) at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:384) at com.fnfr.itest.reporting.core.ExportTestReportOperation.generateReport(ExportTestReportOperation.java:460) at com.fnfr.itest.jobs.ui.internal.reporting.ExecutionStatusListener$GenerateReportJob.run(ExecutionStatusListener.java:59) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: java.io.FileNotFoundException: /Z:/kdoherty/Docs/iTestReports/set_interface_static_2013-10-03_14-22-24.html (Permission denied) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.(Unknown Source) at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:382) ... 3 more
iTestLinux
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

madhuri avatar image
madhuri answered kmd6076 commented
Could you please cross check if Auto-Export Test report options are enabled for that workspace under preferences as shown below and check the path pointed to store test reports. ![alt text][1] [1]: /storage/temp/3688-report.png If you are using the job to execute the testcases, then please check if you have enabled the check box to auto-export test reports under preferences->Fanfare->Jobs.

report.png (53.8 KiB)
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kmd6076 avatar image kmd6076 commented ·
Since I imported my ProjectSet that was configured on Windows to a linux system, the Fanfare > Jobs folder was pointing to the old Windows path. Thanks!
0 Likes 0 ·
lakshminarayana avatar image
lakshminarayana answered
We reproduced the same issue in the Ubuntu system. This is because of the permission issue where the file is marked as readonly. Give the complete permission so that you wont get this error. [link text][1] [1]: /storage/temp/3691-log.txt

log.txt (1.9 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sai_kiran avatar image
sai_kiran answered
It seems you are facing this internal error due to lack of permission to the test reports folder. Please make sure you have full permissions to access all the directories which are used in this test.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kmd6076 avatar image
kmd6076 answered
Update: The mapped response was in a different procedure so the queries were not being seen. Passing the desired value from the mapped response fixes that issue but I am still seeing the Internal Errors when running the testcases.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.