-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b73
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136106 | emb-9 | Roger Riggs | P4 | Resolved | Fixed | team |
One of the spawned test processes has an unexpected Virus scanner subprocess.
The test should ignore extraneous processes.
whenComplete: pid: 84808, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7664106S
whenComplete: pid: 85556, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7724154S
whenComplete: pid: 93620, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7734161S
whenComplete: pid: 86276, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 61628, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 31608, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 70444, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.8264586S
whenComplete: pid: 49080, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.835466S
whenComplete: pid: 67560, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT1.9235364S
after onExit:pid 67560, alive: false; parent: Optional.empty, []
after onExit:pid 70444, alive: false; parent: Optional.empty, []
after onExit:pid 49080, alive: false; parent: Optional.empty, []
after onExit:pid 61628, alive: false; parent: Optional.empty, []
after onExit:pid 86276, alive: false; parent: Optional.empty, []
after onExit:pid 85556, alive: false; parent: Optional.empty, []
after onExit:pid 31608, alive: false; parent: Optional.empty, []
after onExit:pid 93620, alive: false; parent: Optional.empty, []
after onExit:pid 84808, alive: false; parent: Optional.empty, []
after onExit:pid 40632, alive: true; parent: Optional.empty, [user: Optional[SCAAA276\\aurora], cmd: C:\\Program Files (x86)\\McAfee\\VirusScan Enterprise\\shstat.exe, startTime: Optional[2015-04-30T20:16:13.355Z], totalTime: Optional[PT3.796875S]]
children2: []
test OnExitTest.test2(): failure
java.lang.AssertionError: Unaccounted for children expected [0] but found [1]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at OnExitTest.test2(OnExitTest.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:163)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
The test should ignore extraneous processes.
whenComplete: pid: 84808, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7664106S
whenComplete: pid: 85556, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7724154S
whenComplete: pid: 93620, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7734161S
whenComplete: pid: 86276, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 61628, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 31608, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.7744181S
whenComplete: pid: 70444, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.8264586S
whenComplete: pid: 49080, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-25,10,system], elapsed: PT1.835466S
whenComplete: pid: 67560, exception: null, thread: Thread[ForkJoinPool.commonPool-worker-4,10,system], elapsed: PT1.9235364S
after onExit:pid 67560, alive: false; parent: Optional.empty, []
after onExit:pid 70444, alive: false; parent: Optional.empty, []
after onExit:pid 49080, alive: false; parent: Optional.empty, []
after onExit:pid 61628, alive: false; parent: Optional.empty, []
after onExit:pid 86276, alive: false; parent: Optional.empty, []
after onExit:pid 85556, alive: false; parent: Optional.empty, []
after onExit:pid 31608, alive: false; parent: Optional.empty, []
after onExit:pid 93620, alive: false; parent: Optional.empty, []
after onExit:pid 84808, alive: false; parent: Optional.empty, []
after onExit:pid 40632, alive: true; parent: Optional.empty, [user: Optional[SCAAA276\\aurora], cmd: C:\\Program Files (x86)\\McAfee\\VirusScan Enterprise\\shstat.exe, startTime: Optional[2015-04-30T20:16:13.355Z], totalTime: Optional[PT3.796875S]]
children2: []
test OnExitTest.test2(): failure
java.lang.AssertionError: Unaccounted for children expected [0] but found [1]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertEquals(Assert.java:123)
at org.testng.Assert.assertEquals(Assert.java:370)
at OnExitTest.test2(OnExitTest.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:714)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:901)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1231)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
at org.testng.TestNG.run(TestNG.java:1057)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:163)
at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:147)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
at java.lang.Thread.run(Thread.java:745)
- backported by
-
JDK-8136106 [TESTBUG] java/lang/ProcessHandle/OnExitTest - Unaccounted for children expected [0] but found [1]
-
- Resolved
-