-
Bug
-
Resolution: Duplicate
-
P3
-
hs25, 7, 9, 10
-
windows
The test attach002a fails when trying to load a native agent:
[2014-01-09T04:04:53.61] Trying to load native agent: 'attach002aAgent00' (agent options: '-pathToNewByteCode=C:/local/aurora/sandbox/sca/vmsqe/testbase/vm/8/build/execution/vm//bin/newclass00 -agentName=NativeAgent-0')
[2014-01-09T04:04:53.61] # ERROR: Unexpected IOException during agent loading: java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.createPipe(Native Method)
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:85)
[2014-01-09T04:04:53.61] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:58)
[2014-01-09T04:04:53.61] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:71)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.attachAgents(AgentsAttacher.java:48)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.doTestActions(AODTestRunner.java:63)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:116)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:163)
[2014-01-09T04:04:53.61] Detaching from the VM 'sun.tools.attach.WindowsAttachProvider@132e575: 1362408'
[2014-01-09T04:04:53.61] Exception in thread "main" nsk.share.Failure: Couldn't attach agent to the target application
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.failed(AgentsAttacher.java:113)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:102)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.attachAgents(AgentsAttacher.java:48)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.doTestActions(AODTestRunner.java:63)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:116)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:163)
[2014-01-09T04:04:53.61] Caused by: java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.createPipe(Native Method)
[2014-01-09T04:04:53.62] at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:85)
[2014-01-09T04:04:53.62] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:58)
[2014-01-09T04:04:53.62] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)
[2014-01-09T04:04:53.62] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:71)
[2014-01-09T04:04:53.62] ... 4 more
[2014-01-09T04:04:53.62]
[2014-01-09T04:04:53.61] Trying to load native agent: 'attach002aAgent00' (agent options: '-pathToNewByteCode=C:/local/aurora/sandbox/sca/vmsqe/testbase/vm/8/build/execution/vm//bin/newclass00 -agentName=NativeAgent-0')
[2014-01-09T04:04:53.61] # ERROR: Unexpected IOException during agent loading: java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.createPipe(Native Method)
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:85)
[2014-01-09T04:04:53.61] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:58)
[2014-01-09T04:04:53.61] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:71)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.attachAgents(AgentsAttacher.java:48)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.doTestActions(AODTestRunner.java:63)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:116)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:163)
[2014-01-09T04:04:53.61] Detaching from the VM 'sun.tools.attach.WindowsAttachProvider@132e575: 1362408'
[2014-01-09T04:04:53.61] Exception in thread "main" nsk.share.Failure: Couldn't attach agent to the target application
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.failed(AgentsAttacher.java:113)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:102)
[2014-01-09T04:04:53.61] at nsk.share.aod.AgentsAttacher.attachAgents(AgentsAttacher.java:48)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.doTestActions(AODTestRunner.java:63)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:116)
[2014-01-09T04:04:53.61] at nsk.share.aod.AODTestRunner.main(AODTestRunner.java:163)
[2014-01-09T04:04:53.61] Caused by: java.io.IOException: CreateNamedPipe failed
[2014-01-09T04:04:53.61] at sun.tools.attach.WindowsVirtualMachine.createPipe(Native Method)
[2014-01-09T04:04:53.62] at sun.tools.attach.WindowsVirtualMachine.execute(WindowsVirtualMachine.java:85)
[2014-01-09T04:04:53.62] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:58)
[2014-01-09T04:04:53.62] at sun.tools.attach.HotSpotVirtualMachine.loadAgentLibrary(HotSpotVirtualMachine.java:79)
[2014-01-09T04:04:53.62] at nsk.share.aod.AgentsAttacher.tryToLoadAgent(AgentsAttacher.java:71)
[2014-01-09T04:04:53.62] ... 4 more
[2014-01-09T04:04:53.62]