Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-4655

PerfEventIsolatorTest.ROOT_CGROUPS_Sample failed in CentOS 7.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • test
    • None

    Description

      PerfEventIsolatorTest.ROOT_CGROUPS_Sample failed in CentOS 7.1, error log is:

      [==========] Running 1 test from 1 test case.
      [----------] Global test environment set-up.
      [----------] 1 test from PerfEventIsolatorTest
      [ RUN      ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample
      I0207 00:58:32.392724 16501 perf_event.cpp:71] Creating PerfEvent isolator
      I0207 00:58:32.440187 16501 perf_event.cpp:109] PerfEvent isolator will profile for 250ms every 500ms for events: { cycles, task-clock }
      I0207 00:58:32.443006 16521 perf_event.cpp:217] Preparing perf event cgroup for 239d30bb-f7a1-413b-9d99-0914149d5899
      E0207 00:58:33.224544 16518 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:33.727793 16516 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:34.230981 16517 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:34.734318 16520 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:35.237889 16517 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:35.742452 16522 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      E0207 00:58:36.246068 16515 perf_event.cpp:408] Failed to get perf sample: Failed to parse perf sample: Failed to parse perf sample line '<not counted>,,cycles,mesos/239d30bb-f7a1-413b-9d99-0914149d5899': Unexpected number of fields
      ../../src/tests/containerizer/isolator_tests.cpp:1083: Failure
      Expected: (statistics1.get().perf().timestamp()) != (statistics2.perf().timestamp()), actual: 1.45478e+09 vs 1.45478e+09
      ../../src/tests/containerizer/isolator_tests.cpp:1085: Failure
      Value of: statistics2.perf().has_cycles()
        Actual: false
      Expected: true
      ../../src/tests/containerizer/isolator_tests.cpp:1088: Failure
      Value of: statistics2.perf().has_task_clock()
        Actual: false
      Expected: true
      [  FAILED  ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample (4069 ms)
      [----------] 1 test from PerfEventIsolatorTest (4069 ms total)
      
      [----------] Global test environment tear-down
      ../../src/tests/environment.cpp:732: Failure
      Failed
      Tests completed with child processes remaining:
      -+- 16501 /home/haosdent/mesos/build/src/.libs/lt-mesos-tests --gtest_filter=PerfEventIsolatorTest.ROOT_CGROUPS_Sample --verbose
       |-+- 16580 /home/haosdent/mesos/build/src/.libs/lt-mesos-tests --gtest_filter=PerfEventIsolatorTest.ROOT_CGROUPS_Sample --verbose
       | \-+- 16582 perf stat --all-cpus --field-separator , --log-fd 1 --event cycles --cgroup mesos/239d30bb-f7a1-413b-9d99-0914149d5899 --event task-clock --cgroup mesos/239d30bb-f7a1-413b-9d99-0914149d5899 -- sleep 0.25
       |   \--- 16584 sleep 0.25
       \--- 16581 ()
      [==========] 1 test from 1 test case ran. (4095 ms total)
      [  PASSED  ] 0 tests.
      [  FAILED  ] 1 test, listed below:
      [  FAILED  ] PerfEventIsolatorTest.ROOT_CGROUPS_Sample
      

      Attachments

        Issue Links

          Activity

            People

              haosdent@gmail.com haosdent
              haosdent@gmail.com haosdent
              Ian Downes Ian Downes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: