Restoring nsk/jvmti/scenarios/hotswap tests from ProblemList.txt
Gary Adams
gary.adams at oracle.com
Thu Nov 1 15:25:43 UTC 2018
Filed a bug to track the changes to restore the 2 problem listed tests.
https://bugs.openjdk.java.net/browse/JDK-8213245
Restoring nsk/jvmti/scenarios/hotswap tests from ProblemList.txt
On 10/18/18, 7:51 AM, Gary Adams wrote:
> It's not uncommon to have a couple of build directives before a run
> request.
> It made sense to me to combine the build of ExecDriver along with the
> main test.
> Then the builds of the redefined newclasses.
> Followed by the run statement.
>
>
> On 10/17/18, 11:03 AM, JC Beyler wrote:
>> Hi Gary,
>>
>> Looks good to me. The only thing I would note is that all other tests
>> put the @build ExecDriver right before the @run for the test. I think
>> that perhaps it would be good to either refactor them all at some
>> point to what you've done here; or put the @build ExecDriver separate
>> to keep all tests consistent.
>>
>> But it's a nit so looks good to me :)
>> Jc
>>
>> On Wed, Oct 17, 2018 at 4:43 AM Gary Adams <gary.adams at oracle.com
>> <mailto:gary.adams at oracle.com>> wrote:
>>
>> While investigating other issues with hotswap tests I noticed
>> 2 tests on the Problemlist that I think can be restored.
>>
>> I have not been able to reproduce the failure with hs102t002
>> It is marked in the ProblemList as related to JDK-8203350,
>> but that bug is about hs201t002. It is also marked as related
>> to JDK-8204506, which is concerned with test hs102t002, but
>> is specific to a graal failure and is already recorded in
>> ProblemList-graal.txt
>>
>> https://bugs.openjdk.java.net/browse/JDK-8203350
>> https://bugs.openjdk.java.net/browse/JDK-8204506
>>
>> I did run into some intermittent failures with hs204t001 and the
>> utility class ExecDriver. It appears that it took advantage of
>> other tests
>> building the class file. A simple directive to build ExecDirver will
>> bring it
>> in line with the other hotswap tests.
>>
>> diff --git a/test/hotspot/jtreg/ProblemList.txt
>> b/test/hotspot/jtreg/ProblemList.txt
>> --- a/test/hotspot/jtreg/ProblemList.txt
>> +++ b/test/hotspot/jtreg/ProblemList.txt
>> @@ -184,8 +184,6 @@
>>
>> vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted004/TestDescription.java
>> 7013634,6606767 generic-all
>>
>> vmTestbase/nsk/jvmti/ThreadStart/threadstart001/TestDescription.java
>> 8016181 generic-all
>>
>> vmTestbase/nsk/jvmti/scenarios/extension/EX03/ex03t001/TestDescription.java
>> 8173658 generic-all
>> -vmTestbase/nsk/jvmti/scenarios/hotswap/HS102/hs102t002/TestDescription.java
>>
>> 8204506,8203350 generic-all
>> -vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java
>>
>> 6813266 generic-all
>>
>> vmTestbase/nsk/jvmti/scenarios/sampling/SP06/sp06t003/TestDescription.java
>> 8051349 generic-all
>> vmTestbase/nsk/jvmti/AttachOnDemand/attach034/TestDescription.java
>> 8042145 generic-all
>> vmTestbase/nsk/jvmti/AttachOnDemand/attach045/TestDescription.java
>> 8202971 generic-all
>>
>>
>> diff --git
>> a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java
>>
>> b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java
>> ---
>> a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java
>> +++
>> b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/hotswap/HS204/hs204t001/hs204t001.java
>> @@ -46,7 +46,8 @@
>> * @library /vmTestbase
>> * /test/lib
>> * @run driver jdk.test.lib.FileInstaller . .
>> - * @build nsk.jvmti.scenarios.hotswap.HS204.hs204t001.hs204t001
>> + * @build ExecDriver
>> + * nsk.jvmti.scenarios.hotswap.HS204.hs204t001.hs204t001
>> *
>> * @comment compile newclassXX to bin/newclassXX
>> * @run driver nsk.share.ExtraClassesBuilder
>>
>>
>>
>> --
>>
>> Thanks,
>> Jc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20181101/1206b979/attachment.html>
More information about the serviceability-dev
mailing list