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

Automated test runs fail in nashorn because TEST_IMAGE_DIR is set by jib

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • infrastructure
    • b126
    • generic
    • generic

      When using jib to run jtreg tests:

      cd /w/jdk9/dev/test

      bash \
        /w/jdk9/dev/common/bin/jib.sh \
        make \
        --data-dir /var/tmp/jib-tbell \
        --profile solaris-x64 -- \
        JT_JAVA=/w/java/jdk1.8.0 \
        TEST_OUTPUT_DIR=/w/jdk9/dev/build/solaris-x64/testoutput \
        PRODUCT_HOME=/w/jdk9/dev/build/solaris-x64/jdk \
        TEST_IMAGE_DIR=/w/jdk9/dev/build/solaris-x64/testBundle \
        TESTDIRS=../nashorn/test \
        TEST_SELECTION=:tier2 \
        EXTRA_JTREG_OPTIONS='-k:!headful -xml:verify' \
        CONCURRENCY=8 \
        JTREG_TIMEOUT_OPTION=-timeoutFactor:5 \
        jtreg_tests

      TEST_IMAGE_DIR is set by jib.

      For those subtrees that do not have any native tests (such as nashorn), TEST_IMAGE_DIR should not be considered:

      Error: The -nativepath path does not exist: /w/jdk9/dev/build/solaris-
      x64/testBundle/nashorn/jtreg/native

        1. 8160505_fail.txt
          9 kB
        2. 8160505_pass.txt
          13 kB
        3. stdout.txt
          43 kB

            tbell Tim Bell
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: