TestHeadlessComponents_0

[2024-10-02T20:20:58.055Z] Running test TestHeadlessComponents_0 ... [2024-10-02T20:20:58.055Z] =============================================== [2024-10-02T20:20:58.055Z] TestHeadlessComponents_0 Start Time: Wed Oct 2 16:20:57 2024 Epoch Time (ms): 1727900457848 [2024-10-02T20:20:58.055Z] variation: NoOptions [2024-10-02T20:20:58.055Z] JVM_OPTIONS: [2024-10-02T20:20:58.055Z] { \ [2024-10-02T20:20:58.055Z] echo ""; echo "TEST SETUP:"; \ [2024-10-02T20:20:58.055Z] echo "Nothing to be done for setup."; \ [2024-10-02T20:20:58.055Z] mkdir -p "/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0"; \ [2024-10-02T20:20:58.055Z] cd "/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0"; \ [2024-10-02T20:20:58.055Z] echo ""; echo "TESTING:"; \ [2024-10-02T20:20:58.055Z] export OJDK_VERSION_NUMBER=17 JREJDK="jdk" TMPRESULTS=""/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0"/report"; \ [2024-10-02T20:20:58.055Z] bash /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents.sh; \ [2024-10-02T20:20:58.055Z] if [ $? -eq 0 ]; then echo "-----------------------------------"; echo "TestHeadlessComponents_0""_PASSED"; echo "-----------------------------------"; cd /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/..; else echo "-----------------------------------"; echo "TestHeadlessComponents_0""_FAILED"; echo "-----------------------------------"; fi; \ [2024-10-02T20:20:58.055Z] echo ""; echo "TEST TEARDOWN:"; \ [2024-10-02T20:20:58.055Z] echo "Nothing to be done for teardown."; \ [2024-10-02T20:20:58.055Z] } 2>&1 | tee -a "/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestTargetResult"; [2024-10-02T20:20:58.055Z] [2024-10-02T20:20:58.055Z] TEST SETUP: [2024-10-02T20:20:58.055Z] Nothing to be done for setup. [2024-10-02T20:20:58.055Z] [2024-10-02T20:20:58.055Z] TESTING: [2024-10-02T20:20:58.055Z] + set -e [2024-10-02T20:20:58.055Z] + set -o pipefail [2024-10-02T20:20:58.055Z] + SCRIPT_SOURCE=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents.sh [2024-10-02T20:20:58.055Z] + '[' -h /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents.sh ']' [2024-10-02T20:20:58.055Z] +++ dirname /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents.sh [2024-10-02T20:20:58.055Z] ++ cd -P /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents [2024-10-02T20:20:58.055Z] ++ pwd [2024-10-02T20:20:58.055Z] + readonly SCRIPT_DIR=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/functional/testHeadlessComponents/TestHeadlessComponents [2024-10-02T20:20:58.055Z] + SCRIPT_DIR=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/functional/testHeadlessComponents/TestHeadlessComponents [2024-10-02T20:20:58.055Z] ++ uname [2024-10-02T20:20:58.055Z] + platform=Darwin [2024-10-02T20:20:58.055Z] + '[' Darwin == Linux ']' [2024-10-02T20:20:58.055Z] + '[' Darwin == Darwin ']' [2024-10-02T20:20:58.055Z] + OS=mac [2024-10-02T20:20:58.055Z] + JAVA=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/jdkbinary/j2sdk-image/Contents/Home/bin/..//bin/java [2024-10-02T20:20:58.055Z] + set -e [2024-10-02T20:20:58.055Z] + FAILED=0 [2024-10-02T20:20:58.055Z] + PASSED=0 [2024-10-02T20:20:58.055Z] + IGNORED=0 [2024-10-02T20:20:58.055Z] + BODY= [2024-10-02T20:20:58.055Z] + '[' x == x ']' [2024-10-02T20:20:58.055Z] ++ mktemp -d [2024-10-02T20:20:58.055Z] + readonly RFaT=/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z [2024-10-02T20:20:58.055Z] + RFaT=/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z [2024-10-02T20:20:58.055Z] + git clone https://github.com/rh-openjdk/run-folder-as-tests.git /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z [2024-10-02T20:20:58.056Z] Cloning into '/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z'... [2024-10-02T20:20:58.811Z] + ls -l /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z [2024-10-02T20:20:58.811Z] total 48 [2024-10-02T20:20:58.811Z] -rw-r--r-- 1 admin staff 1090 Oct 2 16:20 LICENSE [2024-10-02T20:20:58.811Z] -rw-r--r-- 1 admin staff 1957 Oct 2 16:20 README.md [2024-10-02T20:20:58.811Z] -rw-r--r-- 1 admin staff 3525 Oct 2 16:20 jtreg-shell-xml.sh [2024-10-02T20:20:58.811Z] -rwxr-xr-x 1 admin staff 6420 Oct 2 16:20 run-folder-as-tests.sh [2024-10-02T20:20:58.811Z] -rw-r--r-- 1 admin staff 2298 Oct 2 16:20 tap-shell-tap.sh [2024-10-02T20:20:58.811Z] + source /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.j4XNSzSi7z/jtreg-shell-xml.sh [2024-10-02T20:20:58.811Z] + [[ -z /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac ]] [2024-10-02T20:20:58.811Z] + mkdir -p /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac [2024-10-02T20:20:58.811Z] + '[' x/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0/report == x ']' [2024-10-02T20:20:58.811Z] + mkdir -p /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0/report [2024-10-02T20:20:58.811Z] + touch /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0/report/testHeadlessComponent.txt [2024-10-02T20:20:58.811Z] + pushd /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac [2024-10-02T20:20:58.811Z] ~/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac ~/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/output_17279004577921/TestHeadlessComponents_0 [2024-10-02T20:20:58.811Z] + popd [2024-10-02T20:20:58.811Z] ~/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/output_17279004577921/TestHeadlessComponents_0 [2024-10-02T20:20:58.811Z] + LOGFILE=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../TKG/output_17279004577921/TestHeadlessComponents_0/report/testHeadlessComponent.log [2024-10-02T20:20:58.811Z] + installAlternativeJDK [2024-10-02T20:20:58.811Z] ++ uname -m [2024-10-02T20:20:58.811Z] + ARCH=arm64 [2024-10-02T20:20:58.811Z] + '[' x == x ']' [2024-10-02T20:20:58.811Z] + BOOTJDK_DIR=/Users/admin/bootjdk [2024-10-02T20:20:58.811Z] + '[' x == x ']' [2024-10-02T20:20:58.811Z] + BOOTJDK_ARCHIVE_DIR=/Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive [2024-10-02T20:20:58.811Z] + mkdir -p /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive [2024-10-02T20:20:58.811Z] + cd /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive [2024-10-02T20:20:58.811Z] + curl -OLJks https://api.adoptopenjdk.net/v3/binary/latest/17/ga/mac/arm64/jdk/hotspot/normal/adoptopenjdk [2024-10-02T20:20:59.162Z] + rm -rf /Users/admin/bootjdk [2024-10-02T20:20:59.162Z] + mkdir -p /Users/admin/bootjdk [2024-10-02T20:20:59.162Z] + unwrap_file_to_location /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive/adoptopenjdk /Users/admin/bootjdk [2024-10-02T20:20:59.162Z] + '[' mac == mac -o mac == linux ']' [2024-10-02T20:20:59.162Z] + tar --strip-components=1 -xf /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive/adoptopenjdk -C /Users/admin/bootjdk [2024-10-02T20:20:59.162Z] + JAVAC_BINARY=/Users/admin/bootjdk/bin/javac [2024-10-02T20:20:59.162Z] + '[' mac == mac ']' [2024-10-02T20:20:59.162Z] + JAVAC_BINARY=/Users/admin/bootjdk/Contents/Home/bin/javac [2024-10-02T20:20:59.162Z] + cp -r /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac [2024-10-02T20:20:59.162Z] + ls /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac [2024-10-02T20:20:59.162Z] aqa-tests [2024-10-02T20:20:59.162Z] aqa-tests@tmp [2024-10-02T20:20:59.162Z] bootjdkarchive [2024-10-02T20:20:59.162Z] jdkbinary [2024-10-02T20:20:59.162Z] jvmtest [2024-10-02T20:20:59.162Z] testHeadlessComponents [2024-10-02T20:20:59.162Z] + pushd /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/testHeadlessComponents/jreTestingSwingComponents/src [2024-10-02T20:20:59.162Z] ~/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/testHeadlessComponents/jreTestingSwingComponents/src ~/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/bootjdkarchive [2024-10-02T20:20:59.162Z] ++ mktemp -d [2024-10-02T20:20:59.162Z] + cp=/var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.grkMWMSMEC [2024-10-02T20:20:59.162Z] ++ find . -type f -name '*.java' [2024-10-02T20:20:59.162Z] + /Users/admin/bootjdk/Contents/Home/bin/javac ./IncompatibleComponent.java ./JLabelExample.java ./JDialogExample.java ./JButtonExample.java ./JComboBoxExample.java ./MainRunner.java ./JFrameExample.java ./TestArgumentParser.java ./CompatibleComponent.java ./SwingTestUtils.java ./JCheckBoxExample.java ./AbstractComponent.java -d /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/tmp.grkMWMSMEC [2024-10-02T20:20:59.162Z] /Users/admin/workspace/workspace/Test_openjdk17_hs_dev.functional_aarch64_mac/aqa-tests/TKG/../functional/testHeadlessComponents/TestHeadlessComponents/testHeadlessComponents.sh: line 189: /Users/admin/bootjdk/Contents/Home/bin/javac: No such file or directory [2024-10-02T20:20:59.162Z] ----------------------------------- [2024-10-02T20:20:59.162Z] TestHeadlessComponents_0_FAILED [2024-10-02T20:20:59.162Z] ----------------------------------- [2024-10-02T20:20:59.162Z] [2024-10-02T20:20:59.162Z] TEST TEARDOWN: [2024-10-02T20:20:59.162Z] Nothing to be done for teardown. [2024-10-02T20:20:59.162Z] TestHeadlessComponents_0 Finish Time: Wed Oct 2 16:20:59 2024 Epoch Time (ms): 1727900459088