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

[TESTBUG] JFR TestOutOfProcessMigration.java should clean up files

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b25
    • CPU:
      x86_64
    • OS:
      windows

      Description

      The following test failed in the JDK14 CI:

      jdk/jfr/api/consumer/streaming/TestOutOfProcessMigration.java

      Here's a snippet from the log file:

      ----------System.err:(1/16)----------
      STATUS:Passed.
      ----------rerun:(44/5647)*----------
      cd 'T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\scratch\\6' && \\
      JDK8_HOME=c:/ade/mesos/work_dir/jib-master/install/jdk/13/33/bundles/windows-x64/jdk-13_windows-x64_bin.zip/jdk-13 \\
      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-SNAPSHOT-distribution.zip-1571092944/jib-3.0-SNAPSHOT-distribution \\
      JTREG_KEYWORDS="!headful" \\
      JTREG_VERBOSE=fail,error,time \\
      PATH='C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b14\\bundles\\jtreg_bin-4.2.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\\13\\33\\bundles\\windows-x64\\jdk-13_windows-x64_bin.zip\\jdk-13\\bin;C:\\cygwin\\usr\\local\\bin;C:\\cygwin\\bin;C:\\cygwin\\bin;C:\\cygwin\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\cygwin\\bin' \\
      SystemDrive=C: \\
      SystemRoot='C:\\Windows' \\
      TEMP='C:\\cygwin\\tmp' \\
      TEST_IMAGE_DIR=c:/ade/mesos/work_dir/jib-master/install/jdk-14+25-1140/windows-x64-debug.test \\
      TEST_IMAGE_GRAAL_DIR=c:/ade/mesos/work_dir/jib-master/install/jdk-14+25-1140/windows-x64-debug.test/hotspot/jtreg/graal \\
      TMP='C:\\cygwin\\tmp' \\
      TZ=Etc/GMT \\
      _NT_SYMBOL_PATH=C:/ade/mesos/work_dir/jib-master/install/jdk-14+25-1140/windows-x64-debug.jdk_symbols/jdk-14/fastdebug/bin/;C:/ade/mesos/work_dir/jib-master/install/jdk-14+25-1140/windows-x64-debug.jdk_symbols/jdk-14/fastdebug/bin/server/ \\
      windir='C:\\Windows' \\
      CLASSPATH='T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\jdk\\jfr\\api\\consumer\\streaming\\TestOutOfProcessMigration.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b14\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b14\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\jtreg.jar' \\
          'c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\windows-x64-debug.jdk\\jdk-14\\fastdebug\\bin\\java' \\
              -Dtest.class.path.prefix='T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\jdk\\jfr\\api\\consumer\\streaming\\TestOutOfProcessMigration.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\jdk' \\
              -Dtest.src='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming' \\
              -Dtest.src.path='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk\\jdk\\jfr\\api\\consumer\\streaming;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk' \\
              -Dtest.classes='T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\jdk\\jfr\\api\\consumer\\streaming\\TestOutOfProcessMigration.d' \\
              -Dtest.class.path='T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\jdk\\jfr\\api\\consumer\\streaming\\TestOutOfProcessMigration.d;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\lib;T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\classes\\7\\test\\jdk' \\
              -Dtest.vm.opts='-Xmx512m -XX:MaxRAMPercentage=3 -ea -esa' \\
              -Dtest.tool.vm.opts='-J-Xmx512m -J-XX:MaxRAMPercentage=3 -J-ea -J-esa' \\
              -Dtest.compiler.opts= \\
              -Dtest.java.opts='-ea -esa -XX:-UseNotificationThread' \\
              -Dtest.jdk='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\windows-x64-debug.jdk\\jdk-14\\fastdebug' \\
              -Dcompile.jdk='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\windows-x64-debug.jdk\\jdk-14\\fastdebug' \\
              -Dtest.timeout.factor=4.0 \\
              -Dtest.root='C:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\src.full\\open\\test\\jdk' \\
              -Dtest.modules='jdk.jfr jdk.attach java.base/jdk.internal.misc' \\
              -Dtest.nativepath='c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\windows-x64-debug.test\\jdk\\jtreg\\native' \\
              --add-modules jdk.jfr,jdk.attach,java.base \\
              --add-exports java.base/jdk.internal.misc=ALL-UNNAMED \\
              -Xmx512m \\
              -XX:MaxRAMPercentage=3 \\
              -ea \\
              -esa \\
              -ea \\
              -esa \\
              -XX:-UseNotificationThread \\
              '-Djava.library.path=c:\\ade\\mesos\\work_dir\\jib-master\\install\\jdk-14+25-1140\\windows-x64-debug.test\\jdk\\jtreg\\native' \\
              com.sun.javatest.regtest.agent.MainWrapper 'T:\\testoutput\\test-support\\jtreg_open_test_jdk_jdk_svc\\jdk\\jfr\\api\\consumer\\streaming\\TestOutOfProcessMigration.d\\main.0.jta'
      result: Passed. Execution successful


      test result: Error. failed to clean up files after test


      Please note that the test passed:

      > STATUS:Passed.
      > result: Passed. Execution successful

      and then we get:

      > test result: Error. failed to clean up files after test

      Usually this is an indicator of a file that wasn't closed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                egahlin Erik Gahlin
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: