Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365098

make/RunTests.gmk generates a wrong path to test artifacts on Alpine

XMLWordPrintable

    • b12
    • linux_alpine

        make/RunTests.gmk has several commands like :

        ```
        $(TR) -cs '[a-z][A-Z][0-9]\n' '[_*1000]'
        ```

        I'm not sure what '[_*1000]' is supposed to do, I guess it doesn't work as expected, regardless it's ok on most Linux.

        Anyway, on Linux Alpine, at least alpine 3.11, it generates incorrect folder name, like "jtreg]test]hotspot]jtreg]tier1]common" instead of "jtreg_test_hotspot_jtreg_tier1_common".

        ```
        TEST=test/hotspot/jtreg/:tier1_common
        + /usr/bin/make test-prebuilt
        Detected target OS, type and env: [linux] [unix] [linux]
        Running tests using JTREG control variable 'JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful'
        Test selection 'test/hotspot/jtreg/:tier1_common', will run:
        * jtreg:test/hotspot/jtreg:tier1_common
        Clean up dirs for jtreg]test]hotspot]jtreg]tier1]common
        ...
        Report written to user_build/run-test-prebuilt/test-results/jtreg]test]hotspot]jtreg]tier1]common/html/report.html
        Results written to user_build/run-test-prebuilt/test-support/jtreg]test]hotspot]jtreg]tier1]common
        Finished running test 'jtreg:test/hotspot/jtreg:tier1_common'
        Test report is stored in build/run-test-prebuilt/test-results/jtreg]test]hotspot]jtreg]tier1]common
        ```

        This affects the upstream and all versions down below, except jdk8.

              rmarchenko Roman Marchenko
              rmarchenko Roman Marchenko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: