RFR: 8311092: Please disable runtime/jni/nativeStack/TestNativeStack.java on armhf [v2]

Vladimir Petko duke at openjdk.org
Mon Jul 3 02:58:16 UTC 2023


On Mon, 3 Jul 2023 02:51:38 GMT, Vladimir Petko <duke at openjdk.org> wrote:

>> Changes:
>> - Add test exclusion for armhf, because os::current_frame() is not implemented
>> 
>> Testing:
>> 
>> 
>> AMD64:
>> 
>> ==============================
>> Test summary
>> ==============================
>>    TEST                                              TOTAL  PASS  FAIL ERROR   
>>    jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
>>                                                          1     1     0     0   
>> ==============================
>> TEST SUCCESS
>> 
>> Stopping javac server
>> Finished building target 'test' in configuration 'linux-x86_64-server-release
>> 
>> ARMHF
>> 
>> Running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
>> Test results: no tests selected
>> Report written to /home/ubuntu/jdk/build/linux-arm-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java/html/report.html
>> Results written to /home/ubuntu/jdk/build/linux-arm-server-release/test-support/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java
>> Finished running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
>> Test report is stored in build/linux-arm-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java
>> 
>> ==============================
>> Test summary
>> ==============================
>>    TEST                                              TOTAL  PASS  FAIL ERROR   
>>    jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
>>                                                          0     0     0     0   
>> ==============================
>> TEST SUCCESS
>
> Vladimir Petko has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - add requires condition != arm
>  - Revert "disable runtime/jni/nativeStack/TestNativeStack.java on armhf"
>    
>    This reverts commit 09d7f381af2581ab4a531a18d0e66cdf587e4e99.

Testing (after requires changes)

ARM64:

$make test TEST="test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java" CONF=linux-x86_64-server-release
Using exact match for CONF=linux-x86_64-server-release (other matches are possible)
Building target 'test' in configuration 'linux-x86_64-server-release'
Test selection 'test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java', will run:
* jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java

Running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
Passed: runtime/jni/nativeStack/TestNativeStack.java
Test results: passed: 1
Report written to /home/vladimirp/git/jdk/build/linux-x86_64-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java/html/report.html
Results written to /home/vladimirp/git/jdk/build/linux-x86_64-server-release/test-support/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java
Finished running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
Test report is stored in build/linux-x86_64-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
                                                         1     1     0     0   
==============================
TEST SUCCESS

ARMHF:

$ make test TEST="test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java" 
Building target 'test' in configuration 'linux-arm-server-release'
Creating jdk image
Creating CDS archive for jdk image for server
Test selection 'test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java', will run:
* jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java

Running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
Test results: no tests selected
Report written to /home/ubuntu/jdk/build/linux-arm-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java/html/report.html
Results written to /home/ubuntu/jdk/build/linux-arm-server-release/test-support/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java
Finished running test 'jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java'
Test report is stored in build/linux-arm-server-release/test-results/jtreg_test_hotspot_jtreg_runtime_jni_nativeStack_TestNativeStack_java

==============================
Test summary
==============================
   TEST                                              TOTAL  PASS  FAIL ERROR   
   jtreg:test/hotspot/jtreg/runtime/jni/nativeStack/TestNativeStack.java
                                                         0     0     0     0   
==============================
TEST SUCCESS

Finished building target 'test' in configuration 'linux-arm-server-release'


Will double check with aarch64 (just in case)

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

PR Comment: https://git.openjdk.org/jdk/pull/14750#issuecomment-1617142990


More information about the hotspot-runtime-dev mailing list