On Wed, 24 Apr 2024 10:50:44 GMT, Doug Simon <dnsi...@openjdk.org> wrote:

>> This PR adds a check for the format of ProblemList files and ensures they 
>> only have entries referring to existing tests.
>> 
>> The cleanups in the second commit of this PR were done based on the output 
>> of `CheckProblemLists`:
>> 
>>> make test TEST=build/problemLists/CheckProblemLists.java
>> ...
>> STDOUT:
>> Checking 
>> /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList-Virtual.txt
>> Checking 
>> /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList-Xcomp.txt
>> Checking 
>> /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList-generational-zgc.txt
>> Checking 
>> /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList-zgc.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/jaxp/ProblemList.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-Virtual.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-Xcomp.txt
>> Checking 
>> /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-generational-zgc.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-zgc.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/langtools/ProblemList.txt
>> Checking /Users/dnsimon/dev/jdk-jdk/open/test/lib-test/ProblemList.txt
>> Checked 13 problem list files
>> Test roots:
>>   /Users/dnsimon/dev/jdk-jdk/open/test/jdk
>>   /Users/dnsimon/dev/jdk-jdk/open/test/lib-test
>>   /Users/dnsimon/dev/jdk-jdk/open/test/failure_handler/test
>>   /Users/dnsimon/dev/jdk-jdk/open/test/jaxp
>>   /Users/dnsimon/dev/jdk-jdk/open/test/langtools
>>   /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg
>> Following errors found:
>> /Users/dnsimon/dev/jdk-jdk/open/test/hotspot/jtreg/ProblemList.txt:174: 
>> vmTestbase/gc/lock/jni/jnilock002/TestDescription.java does not exist under 
>> any test root
>> vmTestbase/gc/lock/jni/jnilock002/TestDescription.java 8192647 generic-all
>> 
>> /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-Virtual.txt:77: 
>> TestAndIssue[test=java/util/Properties/StoreReproducibilityTest.java, 
>> issueId=0000000] duplicates 
>> /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList-Virtual.txt:76
>> java/util/Properties/StoreReproducibilityTest.java 0000000 generic-all
>> 
>> /Users/dnsimon/dev/jdk-jdk/open/test/jdk/ProblemList.txt:516: 
>> java/lang/management/MemoryMXBean/PendingAllGC.sh does not exist under any 
>> test root
>> java/lang/management/MemoryMXBean/PendingAllGC.sh               8158837 
>> generic-all
>> 
>> ...
>
> Doug Simon has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   removed CheckProblemLists.java

While not a blocker IMO, I'm curious about the issues for the removed lines. 
Taking the first one as an example, I see it's "unresolved" (JDK-8192647) but 
the file was removed in JDK-8289764.
I don't see any other mentions of "problemlist" in JDK-8192647 so the 
"problemlist" label should probably also be removed.

I think it would be good to just do a check through the other issues and see if 
any other bookkeeping needs to be done, or if any surprises pop up.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18879#issuecomment-2074921452

Reply via email to