Q7

AUT is not terminated after test execution in some cases

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1.2
  • Component/s: Launching (Runtime)
  • Labels:
    None

Description

Остаются запущенные AUT: http://build.xored.com/browse/Q7-Q7D11-TSTSWIN-117

Q7 - Q7 Dev 1.1 - Q7 Tests Windows › Q7-Q7D11-TSTSWIN-117 : Could not remove working directory for plan 'Q7-Q7D11-TSTSWIN': Unable to delete file: C:\bam\xml-data\build-dir\Q7-Q7D11-TSTSWIN\q7tests\platform_tests\target\q7workspace\.metadata\.plugins\org.eclipse.pde.core\AUT (9)\org.eclipse.osgi\bundles\363\1\.cp\swt-win32-3735.dll
(java.io.IOException : Unable to delete file: C:\bam\xml-data\build-dir\Q7-Q7D11-TSTSWIN\q7tests\platform_tests\target\q7workspace\.metadata\.plugins\org.eclipse.pde.core\AUT (9)\org.eclipse.osgi\bundles\363\1\.cp\swt-win32-3735.dll)
(28 ноя 2011, 7:47:14 PM, Occurrences: 5 , Agents: winxp4, winxp3)

Activity

Hide
ystrot added a comment - 29/Nov/11 2:22 PM

I've replaced AUT shutdown with termination to avoid timing issues. Currently all AUTs should be terminated after test execution or on JVM exit (through shutdown hook).

Note it doesn't guarantee AUTs will be stopped in case JVM was terminated incorrectly. For example, if you kill process or stop HeadlessRunner through terminate button in the Console view, AUTs might be not killed.

Show
ystrot added a comment - 29/Nov/11 2:22 PM I've replaced AUT shutdown with termination to avoid timing issues. Currently all AUTs should be terminated after test execution or on JVM exit (through shutdown hook). Note it doesn't guarantee AUTs will be stopped in case JVM was terminated incorrectly. For example, if you kill process or stop HeadlessRunner through terminate button in the Console view, AUTs might be not killed.

People

  • Assignee:
    ystrot
    Reporter:
    ystrot
Vote (0)
Watch (0)

Dates

  • Created:
    28/Nov/11 8:02 PM
    Updated:
    29/Nov/11 2:22 PM
    Resolved:
    29/Nov/11 2:22 PM