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

[TESTBUG] gtest/jfr/test_networkUtilization.cpp failed when the number of tests is greater than or equal to 2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • jfr
    • b16

      When the number of tests is greater than or equal to 2, the test will fail.

      Repeating all tests (iteration 2) . . .

      Note: Google Test filter = JfrTestNetworkUtilization*
      [==========] Running 4 tests from 1 test case.
      [----------] Global test environment set-up.
      [----------] 4 tests from JfrTestNetworkUtilization
      [ RUN ] JfrTestNetworkUtilization.RequestFunctionBasic_test_vm
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:259: Failure
      Expected equality of these values:
        "eth0"
        e.iface.c_str()
          Which is: ""
      [ FAILED ] JfrTestNetworkUtilization.RequestFunctionBasic_test_vm (1 ms)
      [ RUN ] JfrTestNetworkUtilization.RequestFunctionMultiple_test_vm
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:281: Failure
      Expected equality of these values:
        40
        eth0_event.readRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:283: Failure
      Expected equality of these values:
        "eth0"
        eth0_event.iface.c_str()
          Which is: ""
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:285: Failure
      Expected equality of these values:
        400
        eth1_event.readRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:287: Failure
      Expected equality of these values:
        "eth1"
        eth1_event.iface.c_str()
          Which is: ""
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:290: Failure
      Expected equality of these values:
        200
        ppp0_event.writeRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:291: Failure
      Expected equality of these values:
        "ppp0"
        ppp0_event.iface.c_str()
          Which is: ""
      [ FAILED ] JfrTestNetworkUtilization.RequestFunctionMultiple_test_vm (0 ms)
      [ RUN ] JfrTestNetworkUtilization.InterfaceRemoved_test_vm
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:309: Failure
      Expected equality of these values:
        40
        eth0_event.readRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:311: Failure
      Expected equality of these values:
        "eth0"
        eth0_event.iface.c_str()
          Which is: ""
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:313: Failure
      Expected equality of these values:
        80
        eth1_event.readRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:315: Failure
      Expected equality of these values:
        "eth1"
        eth1_event.iface.c_str()
          Which is: ""
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:326: Failure
      Expected equality of these values:
        40
        eth1_event_v2.readRate
          Which is: 0
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:328: Failure
      Expected equality of these values:
        "eth1"
        eth1_event_v2.iface.c_str()
          Which is: ""
      [ FAILED ] JfrTestNetworkUtilization.InterfaceRemoved_test_vm (0 ms)
      [ RUN ] JfrTestNetworkUtilization.InterfaceReset_test_vm
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:344: Failure
      Expected equality of these values:
        "eth0"
        event.iface.c_str()
          Which is: ""
      /home/loongson/huangjia/jdk/test/hotspot/gtest/jfr/test_networkUtilization.cpp:361: Failure
      Expected equality of these values:
        "eth0"
        event_v2.iface.c_str()
          Which is: ""
      [ FAILED ] JfrTestNetworkUtilization.InterfaceReset_test_vm (0 ms)
      [----------] 4 tests from JfrTestNetworkUtilization (1 ms total)

      [----------] Global test environment tear-down
      [==========] 4 tests from 1 test case ran. (1 ms total)
      [ PASSED ] 0 tests.
      [ FAILED ] 4 tests, listed below:
      [ FAILED ] JfrTestNetworkUtilization.RequestFunctionBasic_test_vm
      [ FAILED ] JfrTestNetworkUtilization.RequestFunctionMultiple_test_vm
      [ FAILED ] JfrTestNetworkUtilization.InterfaceRemoved_test_vm
      [ FAILED ] JfrTestNetworkUtilization.InterfaceReset_test_vm

       4 FAILED TESTS

            jiahuang Jia Huang
            jiahuang Jia Huang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: