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

Test java/nio/channels/AsyncCloseAndInterrupt.java failed: java.lang.Exception: SocketChannel/finishConnect/close threw an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 17, 21, 22, 23
    • core-libs

      From task stdout (no log file uploaded)

      [2023-06-14T18:16:57,391Z] TEST: java/nio/channels/AsyncCloseAndInterrupt.java
      [2023-06-14T18:16:57,391Z] TEST JDK: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home
      [2023-06-14T18:16:57,391Z]
      [2023-06-14T18:16:57,391Z] ACTION: build -- Passed. Build successful
      [2023-06-14T18:16:57,391Z] REASON: Named class compiled on demand
      [2023-06-14T18:16:57,391Z] TIME: 0.052 seconds
      [2023-06-14T18:16:57,391Z] messages:
      [2023-06-14T18:16:57,391Z] command: build AsyncCloseAndInterrupt
      [2023-06-14T18:16:57,391Z] reason: Named class compiled on demand
      [2023-06-14T18:16:57,391Z] started: Wed Jun 14 18:16:44 GMT 2023
      [2023-06-14T18:16:57,391Z] Test directory:
      [2023-06-14T18:16:57,391Z] compile: AsyncCloseAndInterrupt
      [2023-06-14T18:16:57,391Z] finished: Wed Jun 14 18:16:45 GMT 2023
      [2023-06-14T18:16:57,391Z] elapsed time (seconds): 0.052
      [2023-06-14T18:16:57,391Z]
      [2023-06-14T18:16:57,391Z] ACTION: compile -- Passed. Compilation successful
      [2023-06-14T18:16:57,391Z] REASON: .class file out of date or does not exist
      [2023-06-14T18:16:57,391Z] TIME: 0.052 seconds
      [2023-06-14T18:16:57,391Z] messages:
      [2023-06-14T18:16:57,391Z] command: compile /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java
      [2023-06-14T18:16:57,391Z] reason: .class file out of date or does not exist
      [2023-06-14T18:16:57,391Z] started: Wed Jun 14 18:16:44 GMT 2023
      [2023-06-14T18:16:57,391Z] Mode: agentvm
      [2023-06-14T18:16:57,391Z] Agent id: 3
      [2023-06-14T18:16:57,391Z] finished: Wed Jun 14 18:16:45 GMT 2023
      [2023-06-14T18:16:57,391Z] elapsed time (seconds): 0.052
      [2023-06-14T18:16:57,391Z] configuration:
      [2023-06-14T18:16:57,391Z] Boot Layer (javac runtime environment)
      [2023-06-14T18:16:57,410Z] class path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.2/1/bundles/jtreg-7.2+1.zip/jtreg/lib/jtreg.jar
      [2023-06-14T18:16:57,410Z] patch: java.base /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base
      [2023-06-14T18:16:57,410Z]
      [2023-06-14T18:16:57,410Z] javac compilation environment
      [2023-06-14T18:16:57,410Z] source path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels
      [2023-06-14T18:16:57,410Z] class path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels
      [2023-06-14T18:16:57,410Z] /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d
      [2023-06-14T18:16:57,410Z]
      [2023-06-14T18:16:57,410Z] rerun:
      [2023-06-14T18:16:57,410Z] cd /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3 && \
      [2023-06-14T18:16:57,410Z] HOME=/var/folders/xf/12dm1mvn0gj9cbyvs8_lwq7m0000gp/T/sparky-temp-home-17728484217586819004/user_home \
      [2023-06-14T18:16:57,410Z] JIB_DATA_DIR=/System/Volumes/Data/mesos/work_dir/jib-master \
      [2023-06-14T18:16:57,410Z] JIB_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-20230609.172349-510-distribution.zip/jib-3.0-SNAPSHOT-distribution \
      [2023-06-14T18:16:57,410Z] JTREG_KEYWORDS="!headful" \
      [2023-06-14T18:16:57,410Z] JTREG_VERBOSE=fail,error,time \
      [2023-06-14T18:16:57,410Z] LC_ALL=C \
      [2023-06-14T18:16:57,410Z] PATH=/bin:/usr/bin:/usr/sbin \
      [2023-06-14T18:16:57,410Z] TEST_IMAGE_DIR=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.test \
      [2023-06-14T18:16:57,410Z] /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home/bin/javac \
      [2023-06-14T18:16:57,410Z] -J-Xmx768m \
      [2023-06-14T18:16:57,410Z] -J-XX:MaxRAMPercentage=6.25 \
      [2023-06-14T18:16:57,410Z] -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home \
      [2023-06-14T18:16:57,410Z] -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp \
      [2023-06-14T18:16:57,410Z] -J-ea \
      [2023-06-14T18:16:57,410Z] -J-esa \
      [2023-06-14T18:16:57,410Z] -J-Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp -ea -esa' \
      [2023-06-14T18:16:57,410Z] -J-Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp -J-ea -J-esa' \
      [2023-06-14T18:16:57,410Z] -J-Dtest.compiler.opts= \
      [2023-06-14T18:16:57,410Z] -J-Dtest.java.opts= \
      [2023-06-14T18:16:57,410Z] -J-Dtest.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home \
      [2023-06-14T18:16:57,410Z] -J-Dcompile.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home \
      [2023-06-14T18:16:57,410Z] -J-Dtest.timeout.factor=4.0 \
      [2023-06-14T18:16:57,410Z] -J-Dtest.nativepath=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.test/jdk/jtreg/native \
      [2023-06-14T18:16:57,410Z] -J-Dtest.root=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk \
      [2023-06-14T18:16:57,410Z] -J-Dtest.name=java/nio/channels/AsyncCloseAndInterrupt.java \
      [2023-06-14T18:16:57,410Z] -J-Dtest.file=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java \
      [2023-06-14T18:16:57,410Z] -J-Dtest.src=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,410Z] -J-Dtest.src.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,410Z] -J-Dtest.classes=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d \
      [2023-06-14T18:16:57,410Z] -J-Dtest.class.path=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d \
      [2023-06-14T18:16:57,410Z] -J-Dtest.class.path.prefix=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,410Z] -d /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d \
      [2023-06-14T18:16:57,410Z] -sourcepath /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,410Z] -classpath /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels:/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java
      [2023-06-14T18:16:57,410Z] direct:
      [2023-06-14T18:16:57,410Z] Note: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java uses or overrides a deprecated API.
      [2023-06-14T18:16:57,410Z] Note: Recompile with -Xlint:deprecation for details.
      [2023-06-14T18:16:57,410Z]
      [2023-06-14T18:16:57,410Z] ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: SocketChannel/finishConnect/close threw an exception
      [2023-06-14T18:16:57,410Z] REASON: User specified action: run main/othervm AsyncCloseAndInterrupt
      [2023-06-14T18:16:57,410Z] TIME: 12.353 seconds
      [2023-06-14T18:16:57,410Z] messages:
      [2023-06-14T18:16:57,410Z] command: main AsyncCloseAndInterrupt
      [2023-06-14T18:16:57,410Z] reason: User specified action: run main/othervm AsyncCloseAndInterrupt
      [2023-06-14T18:16:57,410Z] started: Wed Jun 14 18:16:45 GMT 2023
      [2023-06-14T18:16:57,410Z] Mode: othervm [/othervm specified]
      [2023-06-14T18:16:57,410Z] finished: Wed Jun 14 18:16:57 GMT 2023
      [2023-06-14T18:16:57,410Z] elapsed time (seconds): 12.353
      [2023-06-14T18:16:57,410Z] configuration:
      [2023-06-14T18:16:57,410Z] STDOUT:
      [2023-06-14T18:16:57,410Z] STDERR:
      [2023-06-14T18:16:57,410Z]
      [2023-06-14T18:16:57,410Z] FileChannel/transferTo/interrupt
      [2023-06-14T18:16:57,410Z] Transferred 65536 bytes
      [2023-06-14T18:16:57,410Z] Channel open
      [2023-06-14T18:16:57,410Z]
      [2023-06-14T18:16:57,410Z] FileChannel/transferTo/pre-interrupt
      [2023-06-14T18:16:57,410Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,410Z] WARNING: transferTo/close not tested
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/transferFrom/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/transferFrom/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z] WARNING: transferFrom/close not tested
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/read/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/read/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/read/close
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/readv/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/readv/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/readv/close
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/write/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/write/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/write/close
      [2023-06-14T18:16:57,411Z] Wrote 8192 bytes
      [2023-06-14T18:16:57,411Z] Channel closed
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/writev/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/writev/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] FileChannel/writev/close
      [2023-06-14T18:16:57,411Z] Wrote 8192 bytes
      [2023-06-14T18:16:57,411Z] Channel closed
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/read/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/read/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/read/close
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/read/shutdown-input
      [2023-06-14T18:16:57,411Z] Read returned -1
      [2023-06-14T18:16:57,411Z] Channel open, input shutdown
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/readv/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/readv/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/readv/close
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/readv/shutdown-input
      [2023-06-14T18:16:57,411Z] Read returned -1
      [2023-06-14T18:16:57,411Z] Channel open, input shutdown
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/write/interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/write/pre-interrupt
      [2023-06-14T18:16:57,411Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,411Z]
      [2023-06-14T18:16:57,411Z] SocketChannel/write/close
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/write/shutdown-output
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/writev/interrupt
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/writev/pre-interrupt
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/writev/close
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/writev/shutdown-output
      [2023-06-14T18:16:57,412Z] Wrote 760088 bytes
      [2023-06-14T18:16:57,412Z] Channel open, output shutdown
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] Wait for initial Pump
      [2023-06-14T18:16:57,412Z] Start pumping refuser ...
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] Wait for initial Pump done
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/connect/interrupt
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/connect/pre-interrupt
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/connect/close
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] connect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.AsynchronousCloseException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/finishConnect/interrupt
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/finishConnect/pre-interrupt
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] Thrown as expected: java.nio.channels.ClosedByInterruptException
      [2023-06-14T18:16:57,412Z]
      [2023-06-14T18:16:57,412Z] SocketChannel/finishConnect/close
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ...
      [2023-06-14T18:16:57,412Z] finishConnect waiting for pumping refuser ... done
      [2023-06-14T18:16:57,412Z] java.lang.Exception: SocketChannel/finishConnect/close threw an exception
      [2023-06-14T18:16:57,412Z] at TestThread.finishAndThrow(TestThread.java:80)
      [2023-06-14T18:16:57,412Z] at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:616)
      [2023-06-14T18:16:57,412Z] at AsyncCloseAndInterrupt.test(AsyncCloseAndInterrupt.java:639)
      [2023-06-14T18:16:57,412Z] at AsyncCloseAndInterrupt.main(AsyncCloseAndInterrupt.java:737)
      [2023-06-14T18:16:57,412Z] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      [2023-06-14T18:16:57,413Z] at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      [2023-06-14T18:16:57,413Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      [2023-06-14T18:16:57,413Z] at java.base/java.lang.Thread.run(Thread.java:1583)
      [2023-06-14T18:16:57,413Z] Caused by: java.nio.channels.ClosedChannelException
      [2023-06-14T18:16:57,413Z] at java.base/sun.nio.ch.SocketChannelImpl.ensureOpen(SocketChannelImpl.java:202)
      [2023-06-14T18:16:57,413Z] at java.base/sun.nio.ch.SocketChannelImpl.beginConnect(SocketChannelImpl.java:786)
      [2023-06-14T18:16:57,413Z] at java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:874)
      [2023-06-14T18:16:57,413Z] at AsyncCloseAndInterrupt$16.doIO(AsyncCloseAndInterrupt.java:372)
      [2023-06-14T18:16:57,413Z] at AsyncCloseAndInterrupt$Tester.go(AsyncCloseAndInterrupt.java:488)
      [2023-06-14T18:16:57,413Z] at TestThread.run(TestThread.java:55)
      [2023-06-14T18:16:57,413Z]
      [2023-06-14T18:16:57,413Z] JavaTest Message: Test threw exception: java.lang.Exception: SocketChannel/finishConnect/close threw an exception
      [2023-06-14T18:16:57,413Z] JavaTest Message: shutting down test
      [2023-06-14T18:16:57,413Z]
      [2023-06-14T18:16:57,413Z] STATUS:Failed.`main' threw exception: java.lang.Exception: SocketChannel/finishConnect/close threw an exception
      [2023-06-14T18:16:57,413Z] rerun:
      [2023-06-14T18:16:57,413Z] cd /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3 && \
      [2023-06-14T18:16:57,413Z] HOME=/var/folders/xf/12dm1mvn0gj9cbyvs8_lwq7m0000gp/T/sparky-temp-home-17728484217586819004/user_home \
      [2023-06-14T18:16:57,413Z] JIB_DATA_DIR=/System/Volumes/Data/mesos/work_dir/jib-master \
      [2023-06-14T18:16:57,413Z] JIB_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-20230609.172349-510-distribution.zip/jib-3.0-SNAPSHOT-distribution \
      [2023-06-14T18:16:57,413Z] JTREG_KEYWORDS="!headful" \
      [2023-06-14T18:16:57,413Z] JTREG_VERBOSE=fail,error,time \
      [2023-06-14T18:16:57,413Z] LC_ALL=C \
      [2023-06-14T18:16:57,413Z] PATH=/bin:/usr/bin:/usr/sbin \
      [2023-06-14T18:16:57,413Z] TEST_IMAGE_DIR=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.test \
      [2023-06-14T18:16:57,413Z] CLASSPATH=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/7.2/1/bundles/jtreg-7.2+1.zip/jtreg/lib/jtreg.jar \
      [2023-06-14T18:16:57,413Z] /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home/bin/java \
      [2023-06-14T18:16:57,413Z] -Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=6.25 -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp -ea -esa' \
      [2023-06-14T18:16:57,413Z] -Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp -J-ea -J-esa' \
      [2023-06-14T18:16:57,413Z] -Dtest.compiler.opts= \
      [2023-06-14T18:16:57,413Z] -Dtest.java.opts= \
      [2023-06-14T18:16:57,413Z] -Dtest.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home \
      [2023-06-14T18:16:57,413Z] -Dcompile.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.jdk/jdk-22.jdk/Contents/Home \
      [2023-06-14T18:16:57,413Z] -Dtest.timeout.factor=4.0 \
      [2023-06-14T18:16:57,413Z] -Dtest.nativepath=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.test/jdk/jtreg/native \
      [2023-06-14T18:16:57,413Z] -Dtest.root=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk \
      [2023-06-14T18:16:57,413Z] -Dtest.name=java/nio/channels/AsyncCloseAndInterrupt.java \
      [2023-06-14T18:16:57,413Z] -Dtest.file=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels/AsyncCloseAndInterrupt.java \
      [2023-06-14T18:16:57,413Z] -Dtest.src=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,413Z] -Dtest.src.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,413Z] -Dtest.classes=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d \
      [2023-06-14T18:16:57,413Z] -Dtest.class.path=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d \
      [2023-06-14T18:16:57,413Z] -Dtest.class.path.prefix=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/0/java/nio/channels/AsyncCloseAndInterrupt.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/src.full/open/test/jdk/java/nio/channels \
      [2023-06-14T18:16:57,413Z] -Xmx768m \
      [2023-06-14T18:16:57,413Z] -XX:MaxRAMPercentage=6.25 \
      [2023-06-14T18:16:57,413Z] -Dtest.boot.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/20/36/bundles/macos-aarch64/jdk-20_macos-aarch64_bin.tar.gz/jdk-20.jdk/Contents/Home \
      [2023-06-14T18:16:57,413Z] -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/tmp \
      [2023-06-14T18:16:57,413Z] -ea \
      [2023-06-14T18:16:57,413Z] -esa \
      [2023-06-14T18:16:57,413Z] -Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-22+2-86/macosx-aarch64.test/jdk/jtreg/native \
      [2023-06-14T18:16:57,413Z] com.sun.javatest.regtest.agent.MainWrapper /System/Volumes/Data/mesos/work_dir/slaves/741e9afd-8c02-45c3-b2e2-9db1450d0832-S91543/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/384abd87-5487-42eb-806b-7ae14b753fd1/runs/9fca8c9a-17f3-40c2-ad0e-9afd6c6fe158/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/java/nio/channels/AsyncCloseAndInterrupt.d/main.0.jta
      [2023-06-14T18:16:57,413Z]
      [2023-06-14T18:16:57,413Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: SocketChannel/finishConnect/close threw an exception

            bpb Brian Burkhalter
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: