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

com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java fails with Agent communication error: java.net.SocketException: Connection reset

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 22
    • core-svc

      ----------messages:(7/232)----------
      command: main GetProcessCpuLoad
      reason: User specified action: run main GetProcessCpuLoad
      started: Mon Sep 11 08:35:42 UTC 2023
      Mode: agentvm
      Agent id: 13
      finished: Mon Sep 11 08:35:44 UTC 2023
      elapsed time (seconds): 2.314
      ----------configuration:(12/1196)*----------
      Boot Layer
        class path: C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar
                    C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\junit-platform-console-standalone-1.9.2.jar
                    C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\testng-7.3.0.jar
                    C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jcommander-1.82.jar
                    C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\guice-5.1.0.jar
        patch: java.base C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\patches\\java.base

      Test Layer
        class path: C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\3\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.d
                    C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean

      ----------rerun:(35/5091)*----------
      cd 'C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\scratch\\5' && \\
      JIB_DATA_DIR=c:/ade/mesos/work_dir/jib-master \\
      JIB_HOME='c:\\ade\\mesos\\work_dir\\jib-master\\install\\com\\oracle\\java\\jib\\jib\\3.0-SNAPSHOT\\jib-3.0-20230822.210818-512-distribution.zip\\jib-3.0-SNAPSHOT-distribution' \\
      JTREG_EXTRA_PROBLEM_LISTS=ProblemList-zgc.txt \\
      JTREG_KEYWORDS="!headful" \\
      JTREG_VERBOSE=fail,error,time \\
      PATH='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jpg\\infra\\builddeps\\devkit-windows_x64\\VS2022-17.1.0+1.1\\devkit-windows_x64-VS2022-17.1.0+1.1.tar.gz\\10\\Debuggers\\x64;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jpg\\infra\\builddeps\\wix\\3.11.1+1.0\\wix-3.11.1+1.0.zip;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\bin;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jpg\\infra\\builddeps\\gnumake-cygwin_x64\\4.0+1.0\\gnumake-cygwin_x64-4.0+1.0.tar.gz\\cygwin\\bin;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\20\\36\\bundles\\windows-x64\\jdk-20_windows-x64_bin.zip\\jdk-20\\bin;C:\\cygwin\\bin;C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\Windows\\System32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0' \\
      SystemDrive=C: \\
      SystemRoot='C:\\Windows' \\
      TEMP='C:\\cygwin\\tmp' \\
      TEST_IMAGE_DIR='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.test' \\
      TMP='C:\\cygwin\\tmp' \\
      TZ=Etc/GMT \\
      _NT_SYMBOL_PATH=' c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.jdk_symbols\\jdk-22\\fastdebug\\bin;c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.jdk_symbols\\jdk-22\\fastdebug\\bin\\server' \\
      windir='C:\\Windows' \\
          'c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.jdk\\jdk-22\\fastdebug\\bin\\java' \\
              -Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\20\\36\\bundles\\windows-x64\\jdk-20_windows-x64_bin.zip\\jdk-20 -Djava.io.tmpdir=c:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -XX:+CreateCoredumpOnCrash -ea -esa' \\
              -Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=4.16667 -J-Dtest.boot.jdk=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk\\20\\36\\bundles\\windows-x64\\jdk-20_windows-x64_bin.zip\\jdk-20 -J-Djava.io.tmpdir=c:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\tmp -J-XX:+CreateCoredumpOnCrash -J-ea -J-esa' \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts=-XX:+UseZGC \\
              -Dtest.jdk='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.jdk\\jdk-22\\fastdebug' \\
              -Dcompile.jdk='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.jdk\\jdk-22\\fastdebug' \\
              -Dtest.timeout.factor=4.0 \\
              -Dtest.nativepath='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\windows-x64-debug.test\\jdk\\jtreg\\native' \\
              -Dtest.root='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk' \\
              -Dtest.name=com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java \\
              -Dtest.file='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.java' \\
              -Dtest.src='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean' \\
              -Dtest.src.path='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean' \\
              -Dtest.classes='C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\3\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.d' \\
              -Dtest.class.path='C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\3\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.d' \\
              -Dtest.class.path.prefix='C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\3\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean' \\
              -Dtest.modules=jdk.management \\
              -classpath 'C:\\sb\\prod\\1694421190\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_management\\classes\\3\\com\\sun\\management\\OperatingSystemMXBean\\GetProcessCpuLoad.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-22+15-1086\\src.full\\open\\test\\jdk\\com\\sun\\management\\OperatingSystemMXBean;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jtreg\\7.3.1\\1\\bundles\\jtreg-7.3.1+1.zip\\jtreg\\lib\\jtreg.jar' \\
              GetProcessCpuLoad
      ----------stderr:(2/1617)*----------
      A\u0000s\u0000s\u0000e\u0000r\u0000t\u0000i\u0000o\u0000n\u0000 \u0000f\u0000a\u0000i\u0000l\u0000e\u0000d\u0000:\u0000 \u0000c\u0000u\u0000r\u0000r\u0000e\u0000n\u0000t\u0000Q\u0000u\u0000e\u0000r\u0000y\u0000I\u0000n\u0000d\u0000e\u0000x\u0000 \u0000>\u0000=\u0000 \u00000\u0000 \u0000&\u0000&\u0000 \u0000c\u0000u\u0000r\u0000r\u0000e\u0000n\u0000t\u0000Q\u0000u\u0000e\u0000r\u0000y\u0000I\u0000n\u0000d\u0000e\u0000x\u0000 \u0000<\u0000 \u0000n\u0000u\u0000m\u0000b\u0000e\u0000r\u0000O\u0000f\u0000J\u0000a\u0000v\u0000a\u0000P\u0000r\u0000o\u0000c\u0000e\u0000s\u0000s\u0000e\u0000s\u0000A\u0000t\u0000I\u0000n\u0000i\u0000t\u0000i\u0000a\u0000l\u0000i\u0000z\u0000a\u0000t\u0000i\u0000o\u0000n\u0000,\u0000 \u0000f\u0000i\u0000l\u0000e\u0000 \u0000c\u0000:\u0000\\\u0000s\u0000b\u0000\\\u0000p\u0000r\u0000o\u0000d\u0000\\\u00001\u00006\u00009\u00004\u00004\u00001\u00006\u00002\u00002\u00008\u0000\\\u0000w\u0000o\u0000r\u0000k\u0000s\u0000p\u0000a\u0000c\u0000e\u0000\\\u0000o\u0000p\u0000e\u0000n\u0000\\\u0000s\u0000r\u0000c\u0000\\\u0000j\u0000d\u0000k\u0000.\u0000m\u0000a\u0000n\u0000a\u0000g\u0000e\u0000m\u0000e\u0000n\u0000t\u0000\\\u0000w\u0000i\u0000n\u0000d\u0000o\u0000w\u0000s\u0000\\\u0000n\u0000a\u0000t\u0000i\u0000v\u0000e\u0000\\\u0000l\u0000i\u0000b\u0000m\u0000a\u0000n\u0000a\u0000g\u0000e\u0000m\u0000e\u0000n\u0000t\u0000_\u0000e\u0000x\u0000t\u0000\\\u0000O\u0000p\u0000e\u0000r\u0000a\u0000t\u0000i\u0000n\u0000g\u0000S\u0000y\u0000s\u0000t\u0000e\u0000m\u0000I\u0000m\u0000p\u0000l\u0000.\u0000c\u0000,\u0000 \u0000l\u0000i\u0000n\u0000e\u0000 \u00007\u00007\u00009\u0000
      \u0000
      result: Error. Agent communication error: java.net.SocketException: Connection reset; check console log for any additional details


      test result: Error. Agent communication error: java.net.SocketException: Connection reset; check console log for any additional details

      Nothing in the agent logs to indicate problem

      Agent 13 trace
      [2023-09-11 08:35:43,715] AgentServer[13]: Started
      [2023-09-11 08:35:43,763] AgentServer[13]: Listening on port 57025
      [2023-09-11 08:35:43,941] AgentServer[13]: Running
      [2023-09-11 08:35:43,952] AgentServer[13]: com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java: starting execution of GetProcessCpuLoad

      Harness trace
      2023-09-11T08:36:28+0000 Finished: (46 seconds) com/sun/management/OperatingSystemMXBean/GetProcessCpuLoad.java: Error. Agent communication error: java.net.SocketException: Connection reset; check console log for any additional details

      Agent trace
      [2023-09-11 08:35:42,637] Agent[13]: Started [c:\ade\mesos\work_dir\jib-master\install\jdk-22+15-1086\windows-x64-debug.jdk\jdk-22\fastdebug\bin\java, -classpath, C:\ade\mesos\work_dir\jib-master\install\jtreg\7.3.1\1\bundles\jtreg-7.3.1+1.zip\jtreg\lib\jtreg.jar;C:\ade\mesos\work_dir\jib-master\install\jtreg\7.3.1\1\bundles\jtreg-7.3.1+1.zip\jtreg\lib\junit-platform-console-standalone-1.9.2.jar;C:\ade\mesos\work_dir\jib-master\install\jtreg\7.3.1\1\bundles\jtreg-7.3.1+1.zip\jtreg\lib\testng-7.3.0.jar;C:\ade\mesos\work_dir\jib-master\install\jtreg\7.3.1\1\bundles\jtreg-7.3.1+1.zip\jtreg\lib\jcommander-1.82.jar;C:\ade\mesos\work_dir\jib-master\install\jtreg\7.3.1\1\bundles\jtreg-7.3.1+1.zip\jtreg\lib\guice-5.1.0.jar, -Xmx768m, -XX:MaxRAMPercentage=4.16667, -Dtest.boot.jdk=c:\ade\mesos\work_dir\jib-master\install\jdk\20\36\bundles\windows-x64\jdk-20_windows-x64_bin.zip\jdk-20, -Djava.io.tmpdir=c:\sb\prod\1694421190\testoutput\test-support\jtreg_open_test_jdk_jdk_management\tmp, -XX:+CreateCoredumpOnCrash, -ea, -esa, -XX:+UseZGC, -Djava.library.path=c:\ade\mesos\work_dir\jib-master\install\jdk-22+15-1086\windows-x64-debug.test\jdk\jtreg\native, --patch-module, java.base=C:\sb\prod\1694421190\testoutput\test-support\jtreg_open_test_jdk_jdk_management\patches\java.base, -Djava.security.policy=file:/c:/sb/prod/1694421190/testoutput/test-support/jtreg_open_test_jdk_jdk_management/jtreg.policy, com.sun.javatest.regtest.agent.AgentServer, -id, 13, -logfile, C:\sb\prod\1694421190\testoutput\test-support\jtreg_open_test_jdk_jdk_management\jtData\agentServer.13.trace, -allowSetSecurityManager, -port, 57025, -timeoutFactor, 4.0]

      [2023-09-11 08:35:44,928] Agent[13]: Closing...
      [2023-09-11 08:35:44,944] Agent[13]: Closed

            kevinw Kevin Walls
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: