openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

cmdLineTester_pltest_0_FAILED j9cudaTest.c MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 268435456 not in expected range

Open JasonFengJ9 opened this issue 1 year ago • 1 comments

Failure link

From internal Test_openjdk17_j9_sanity.functional_x86-64_linux_testList_1 (rtj-rhel8x86-cuda-1)

openjdk version "17.0.13" 2024-10-15
IBM Semeru Runtime Open Edition 17.0.13.0-m1 (build 17.0.13+10)
Eclipse OpenJ9 VM 17.0.13.0-m1 (build v0.48.0-release-8899b66789, JRE 17 Linux amd64-64-Bit Compressed References 20241015_859 (JIT enabled, AOT enabled)
OpenJ9   - 8899b66789
OMR      - f8f0d789a
JCL      - 8e2f05376ed based on jdk-17.0.13+10)

Rerun in Grinder - Change TARGET to run only the failed test targets

Optional info

Failure output (captured from console output)

[2024-10-07T17:50:08.475Z] variation: NoOptions
[2024-10-07T17:50:08.475Z] JVM_OPTIONS:  

[2024-10-07T17:51:07.715Z]  [ERR] FAILURES DETECTED. Number of failed tests: 1
[2024-10-07T17:51:07.715Z]  [ERR] 
[2024-10-07T17:51:07.715Z]  [ERR] 1: properties
[2024-10-07T17:51:07.715Z]  [ERR] 	/home/jenkins/workspace/build-scripts/jobs/jdk17u/jdk17u-linux-x64-openj9/workspace/build/src/openj9/runtime/tests/port/j9cudaTest.c line 1384: MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 268435456 not in expected range [134217728,134217728]
[2024-10-07T17:51:07.715Z]  [ERR] 
[2024-10-07T17:51:07.715Z]  [ERR] 		LastErrorNumber: -108
[2024-10-07T17:51:07.715Z]  [ERR] 		LastErrorMessage: No such file or directory
[2024-10-07T17:51:07.715Z]  [ERR] 
[2024-10-07T17:51:07.715Z] >> Success condition was not found: [Output match: ALL TESTS COMPLETED AND PASSED]
[2024-10-07T17:51:07.715Z] >> Failure condition was not found: [Output match: ASSERTION FAILED]
[2024-10-07T17:51:07.715Z] 
[2024-10-07T17:51:07.715Z] 
[2024-10-07T17:51:07.715Z] ---TEST RESULTS---
[2024-10-07T17:51:07.715Z] Number of PASSED tests: 0 out of 1
[2024-10-07T17:51:07.715Z] Number of FAILED tests: 1 out of 1
[2024-10-07T17:51:07.715Z] 
[2024-10-07T17:51:07.715Z] ---SUMMARY OF FAILED TESTS---
[2024-10-07T17:51:07.715Z] PLTEST
[2024-10-07T17:51:07.715Z] -----------------------------
[2024-10-07T17:51:07.715Z] 
[2024-10-07T17:51:07.715Z] -----------------------------------
[2024-10-07T17:51:07.715Z] cmdLineTester_pltest_0_FAILED

50x internal Grinder - passed

JasonFengJ9 avatar Oct 08 '24 18:10 JasonFengJ9

Issue Number: 20318 Status: Open Recommended Components: comp:test, comp:gc, comp:vm Recommended Assignees: pshipton, jasonfengj9, llxia

github-actions[bot] avatar Oct 08 '24 18:10 github-actions[bot]

openjdk24_j9_extended.functional_x86-64_linux(rtj-rhel8x86-cuda-1)

[2025-02-14T23:23:51.809Z]  [ERR] FAILURES DETECTED. Number of failed tests: 1
[2025-02-14T23:23:51.809Z]  [ERR] 
[2025-02-14T23:23:51.809Z]  [ERR] 1: properties
[2025-02-14T23:23:51.809Z]  [ERR] 	/home/jenkins/workspace/Build_JDK24_x86-64_linux_Personal/openj9/runtime/tests/port/j9cudaTest.c line 1384: MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 268435456 not in expected range [134217728,134217728]
[2025-02-14T23:23:51.809Z]  [ERR] 
[2025-02-14T23:23:51.809Z]  [ERR] 		LastErrorNumber: -108
[2025-02-14T23:23:51.809Z]  [ERR] 		LastErrorMessage: No such file or directory
[2025-02-14T23:23:51.809Z]  [ERR] 
[2025-02-14T23:23:51.809Z] >> Success condition was not found: [Output match: ALL TESTS COMPLETED AND PASSED]
[2025-02-14T23:23:51.809Z] >> Failure condition was not found: [Output match: ASSERTION FAILED]
[2025-02-14T23:23:51.809Z] 
[2025-02-14T23:23:51.809Z] 
[2025-02-14T23:23:51.809Z] ---TEST RESULTS---
[2025-02-14T23:23:51.809Z] Number of PASSED tests: 0 out of 1
[2025-02-14T23:23:51.809Z] Number of FAILED tests: 1 out of 1
[2025-02-14T23:23:51.809Z] 
[2025-02-14T23:23:51.809Z] ---SUMMARY OF FAILED TESTS---
[2025-02-14T23:23:51.809Z] PLTEST
[2025-02-14T23:23:51.809Z] -----------------------------
[2025-02-14T23:23:51.809Z] 
[2025-02-14T23:23:51.809Z] -----------------------------------
[2025-02-14T23:23:51.809Z] cmdLineTester_pltest_j9sig_ext_0_FAILED

JasonFengJ9 avatar Feb 18 '25 22:02 JasonFengJ9

@keithc-ca fyi

pshipton avatar Feb 19 '25 03:02 pshipton

[2025-02-14T23:23:51.808Z]  [ERR] openj9/runtime/tests/port/j9cudaTest.c line 1384: properties MAXIMUM_TEXTURE1D_LINEAR_WIDTH: 268435456 not in expected range [134217728,134217728]

According to [1] that should be 128M (2^27) for a device with compute capability 5.2, not 256M (2^28) which is the expected limit for compute capability 6.0 or compute capability >= 7.5. I'll update the test to tolerate the range 128M..256M.

[1] https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-capabilities

keithc-ca avatar Feb 19 '25 16:02 keithc-ca