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

Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf

XMLWordPrintable

    • b05
    • arm
    • linux

        ADDITIONAL SYSTEM INFORMATION :
        Java 21 on Ubuntu 23.10 (mantic)

        A DESCRIPTION OF THE PROBLEM :
        os::current_frame() is stubbed out on armhf and thus test always fails because it can not produce native frames.
        See void JavaThread::print_jni_stack() implementation.


        REGRESSION : Last worked in version 21

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        jtwork_dir=jtreg_work
        report_dir=jtreg_report
        BOOTJDK_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
        JDK_TO_TEST=`pwd`/build/linux-arm-server-slowdebug/images/jdk/
        export JAVA_HOME=/usr/lib/jvm/java-1.20.0-openjdk-armhf
        native_path=$(pwd)/build/linux-arm-server-slowdebug/images/test/hotspot/jtreg/native \
        jtreg \
            -verbose:full \
            -automatic \
            -timeout:5 \
            -workDir:"${jtwork_dir}" \
            -reportDir:"${report_dir}" \
            -jdk:${JDK_TO_TEST} \
            -vmoption:-Dtest.boot.jdk=${BOOTJDK_HOME} \
            -nativepath:${native_path} \
            test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java


        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        test passes
        ACTUAL -
        test fails with
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'thread_start' missing from stdout/stderr


        FREQUENCY : always

              dholmes David Holmes
              pnarayanaswa Praveen Narayanaswamy
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: