JDK-8199700: SA: Enable jhsdb jtreg tests for Mac OS X
Jini George
jini.george at oracle.com
Fri Jul 13 06:21:06 UTC 2018
Thanks a bunch, Goetz. As David feared, the tests are failing due to
there not being a no-password entry for the user in the /etc/sudoers
list ("sudo: no tty present and no askpass program specified"). Let me
see what I can do about this.
Thanks,
Jini.
On 7/13/2018 11:25 AM, Lindenmaier, Goetz wrote:
> Hi Jini,
>
> A whole bunch of tests failed on mac. I'll send you
> A jtr file off list, to avoid spamming the list.
> See below the core message.
>
> The tests passed on linuxppc64le, linuxx86_64 and solaris_sparc, the other
> tests are still pending.
>
> Best regards,
> Goetz.
>
> ----------System.err:(32/1923)----------
> Command line: ['/priv/jvmtests/output_sapjvm12_o_jdk-test_dbgU_darwinintel64/sapjvm_12/bin/java' '-Xcomp' '-cp' '/priv/jvmtests/output_sapjvm12_o_jdk-test_dbgU_darwinintel64/jtreg_hotspot_work/JTwork/classes/serviceability/sa/ClhsdbFindPC.d:/priv/jvmtests/output_sapjvm12_o_jdk-test_dbgU_darwinintel64/jtreg_hotspot_work/JTwork/classes/test/lib' 'jdk.test.lib.apps.LingeredApp' '78a4a198-8a55-4684-ac1e-2d28311a0952.lck' ]
> sudo: no tty present and no askpass program specified
> stdout: [];
> stderr: []
> exitValue = 1
>
> LingeredApp stdout: [];
> LingeredApp stderr: []
> LingeredApp exitValue = 0
> java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]
>
> at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:95)
> at ClhsdbFindPC.main(ClhsdbFindPC.java:103)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
> at java.base/java.lang.Thread.run(Thread.java:834)
> Caused by: java.lang.RuntimeException: Expected to get exit value of [0]
>
> at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:396)
> at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:128)
> at ClhsdbLauncher.run(ClhsdbLauncher.java:176)
> at ClhsdbFindPC.testFindPC(ClhsdbFindPC.java:58)
> ... 7 more
>
> JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]
>
> JavaTest Message: shutting down test
>
> STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]
>
>> -----Original Message-----
>> From: Jini George <jini.george at oracle.com>
>> Sent: Thursday, July 12, 2018 6:43 PM
>> To: Lindenmaier, Goetz <goetz.lindenmaier at sap.com>; serviceability-
>> dev at openjdk.java.net
>> Subject: Re: JDK-8199700: SA: Enable jhsdb jtreg tests for Mac OS X
>>
>>
>>>
>>> I'll run the patch throuqh our nightly tests to
>>> see whether they pass mac.
>>
>> Thanks for this. Let me know in case there are timeouts due to there not
>> being a no-password entry for the user in the /etc/sudoers list.
>>
>> Thanks,
>> Jini.
More information about the serviceability-dev
mailing list