RFR: 8221221: [testbug] make test TEST="jtreg:test/hotspot/jtreg/runtime/containers" failed on Ubuntu 18.04

Jie Fu fujie at loongson.cn
Thu Mar 21 08:50:35 UTC 2019


On 2019/3/21 下午4:41, David Holmes wrote:

> Hi Jie,
>
> On 21/03/2019 6:23 pm, Jie Fu wrote:
>> Hi all,
>>
>> Bug: https://bugs.openjdk.java.net/browse/JDK-8221221
>>
>> make test TEST="jtreg:test/hotspot/jtreg/runtime/containers" failed 
>> on Ubuntu 18.04.
>>
>> The issue can be fixed by
>> -----------------------------------------------
>> diff -r ce78fac1f6d5 
>> test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest
>> --- 
>> a/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest 
>> Thu Mar 21 01:49:27 2019 +0100
>> +++ 
>> b/test/hotspot/jtreg/runtime/containers/docker/Dockerfile-BasicTest 
>> Thu Mar 21 15:44:39 2019 +0800
>> @@ -1,4 +1,4 @@
>> -FROM oraclelinux:7.6
>> +FROM fedora:29
>
> Sorry but that fix is not acceptable - you can't just change the base 
> image like that (and yes we shouldn't have done that initially 
> either!). Obviously this value needs to be dynamically set somehow 
> based on the test execution environment.

OK, I agree. That's cool.

> David
> -----
>
>>   MAINTAINER mikhailo.seledtsov at oracle.com
>>
>>   COPY /jdk /jdk
>> -----------------------------------------------
>>
>> The change has been tested with
>> -----------------------------------------------
>> make test TEST="test/jdk/jdk/modules/scenarios/container 
>> test/hotspot/jtreg/vmTestbase/vm/gc/containers 
>> test/hotspot/jtreg/runtime/containers"
>> -----------------------------------------------
>> on Linux/x86-64 (Ubuntu 18.04).
>>
>> Could you please review it?
>> Thanks a lot.
>>
>> Best regards,
>> Jie
>>
>>



More information about the hotspot-runtime-dev mailing list