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

[macos-aarch64] test compilation failed with "SocketException: No buffer space available"

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      aarch64
    • OS:
      os_x

      Backports

        Description

        The following test failed in the JDK18 CI:

        java/net/httpclient/websocket/PendingPongBinaryClose.java

        Here's a snippet from the log file:

        #section:compile
        ----------messages:(6/332)----------
        command: compile /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java
        reason: .class file out of date or does not exist
        Additional options from @modules: --add-modules java.net.http
        Mode: agentvm
        Agent id: 1
        elapsed time (seconds): 0.015
        ----------configuration:(14/1685)----------
        Boot Layer (javac runtime environment)
          class path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/javatest.jar
                      /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jtreg.jar
          patch: java.base /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/patches/java.base

        javac compilation environment
          add modules: java.net.http
          source path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket
          class path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket
                       /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d
                       /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar
                       /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar
                       /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar

        ----------rerun:(38/6490)*----------
        cd /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/scratch/1 && \\
        HOME=/var/folders/z6/vyrntc_x631cxw_bz68jxrzw0000gp/T/sparky-temp-home-5515201700821304705/user_home \\
        JDK8_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk/17/24/bundles/macos-aarch64/jdk-17_macos-aarch64_bin.tar.gz/jdk-17.jdk/Contents/Home \\
        JIB_DATA_DIR=/System/Volumes/Data/mesos/work_dir/jib-master \\
        JIB_HOME=/System/Volumes/Data/mesos/work_dir/jib-master/install/com/oracle/java/jib/jib/3.0-SNAPSHOT/jib-3.0-20210618.184637-471-distribution.zip/jib-3.0-SNAPSHOT-distribution \\
        JTREG_KEYWORDS="!headful" \\
        JTREG_VERBOSE=fail,error,time \\
        LC_ALL=C \\
        PATH=/bin:/usr/bin:/usr/sbin \\
        TEST_IMAGE_DIR=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.test \\
            /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/javac \\
                -J-Xmx768m \\
                -J-XX:MaxRAMPercentage=6.25 \\
                -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/tmp \\
                -J-ea \\
                -J-esa \\
                -J-Djava.library.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.test/jdk/jtreg/native \\
                -J-Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=6.25 -Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/tmp -ea -esa' \\
                -J-Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=6.25 -J-Djava.io.tmpdir=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/tmp -J-ea -J-esa' \\
                -J-Dtest.compiler.opts= \\
                -J-Dtest.java.opts= \\
                -J-Dtest.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home \\
                -J-Dcompile.jdk=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home \\
                -J-Dtest.timeout.factor=4.0 \\
                -J-Dtest.nativepath=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/macosx-aarch64.test/jdk/jtreg/native \\
                -J-Dtest.root=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk \\
                -J-Dtest.name=java/net/httpclient/websocket/PendingPongBinaryClose.java \\
                -J-Dtest.file=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket/PendingPongBinaryClose.java \\
                -J-Dtest.src=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket \\
                -J-Dtest.src.path=/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket \\
                -J-Dtest.classes=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d \\
                -J-Dtest.class.path=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d \\
                -J-Dtest.class.path.prefix=/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket \\
                -J-Dtest.modules=java.net.http \\
                --add-modules java.net.http \\
                -d /System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d \\
                -sourcepath /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket \\
                -classpath /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket:/System/Volumes/Data/mesos/work_dir/slaves/35546316-ed70-4084-8244-d672e7734fd1-S112136/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/11a7d3b9-fee6-4df1-8ad8-fabf2a07a7d2/runs/8c5795e3-bf64-4301-b68e-7efd09025542/testoutput/test-support/jtreg_open_test_jdk_tier2_part3/classes/3/java/net/httpclient/websocket/PendingPongBinaryClose.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6/1/bundles/jtreg-6+1.zip/jtreg/lib/guice.jar /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+5-135/src.full/open/test/jdk/java/net/httpclient/websocket/DummyWebSocketServer.java
        result: Error. Agent communication error: java.net.SocketException: No buffer space available; check console log for any additional details


        test result: Error. Agent communication error: java.net.SocketException: No buffer space available; check console log for any additional details

        Please note that this SocketException is thrown during the
        compilation phase of the test so this failure has nothing to
        do with the test we're trying to run.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dfuchs Daniel Fuchs
                Reporter:
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: