JDK-8156814 : tools/pack200/TestNormal.java time out with "failed to clean up files after test"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-05-12
  • Updated: 2016-07-28
  • Resolved: 2016-05-12
Related Reports
Duplicate :  
Description
tools/pack200/TestNormal.java

Recently observed test  fails intermittently on Windows. Error message like:

error: failed to rename D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\8\\normalized.jar to D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\tools\\pack200\\TestNormal\\normalized.jar
Can't save files in D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\scratch\\8
Test result (overridden): Error. Agent error: java.lang.Exception: Agent timed out with a timeout of 2400 seconds; check console log for any additional details

...
section:main
----------messages:(8/288)----------
command: main TestNormal
reason: User specified action: run main/timeout=600 TestNormal 
Mode: agentvm
Timeout signalled after 2,400 seconds
Timeout information:
Could not find process id for the process that timed out.
Skipping timeout handling.
elapsed time (seconds): 2400.107
----------configuration:(9/684)*----------
Boot Layer
  class path: D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\javatest.jar 
              D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\mach5\\jdkbuildwrapper\\.data\\unpacked\\jpg\\infra\\builddeps\\jtreg-4.2\\1.2\\jtreg\\lib\\jtreg.jar 
  patch:      java.base D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\patches\\java.base 

Test Layer
  class path: D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\JTwork\\jdk_test\\classes\\19\\tools\\pack200 
              D:\\jenkins\\workspace\\9-dev-tier2-windows-i586\\jdk\\test\\tools\\pack200 

...
result: Error. Agent error: java.lang.Exception: Agent timed out with a timeout of 2400 seconds; check console log for any additional details