Project: mesos
Issue MESOS-4350: GMock warning on `offerRescinded` in `ReservationTest` fixture
Several tests involving checkpointing of resources in the {{ReservationTest}} fixture are throwing GMock warnings occasionally. Here is the output of {{GTEST_FILTER="ReservationTest.*" bin/mesos-tests.sh --gtest_repeat=10000 --gtest_break_on_failure=1 | grep -B 3 -A 6 WARNING}}: {code} ------------------------------------------------------------- We cannot run any Docker tests because: Docker tests not supported on non-Linux systems ------------------------------------------------------------- [ OK ] ReservationTest.MasterFailover (89 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec320fab0 65537c10-285c-419e-b89f-191283402d85-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResources (52 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (45 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (46 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec796f220 bf4e1b52-02db-4763-8be0-3c759c80f1ba-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (63 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (45 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (42 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec7ad92b0 42a9f1ff-122e-4df7-9530-a96126e36f84-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (65 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (46 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (49 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec7af4310 d5e1005f-abb8-4bfd-92e0-3976ee150fbf-O1) Stack trace: [ OK ] ReservationTest.IncompatibleCheckpointedResources (94 ms) [ RUN ] ReservationTest.GoodACLReserveThenUnreserve [ OK ] ReservationTest.GoodACLReserveThenUnreserve (57 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (43 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec7cdadc0 36e15f52-3299-46fa-850d-970097fef8e2-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (62 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (46 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (47 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feec8c1b580 c8dd35ab-7363-40e0-8e20-8c7dc76a8497-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (62 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (45 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (47 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feecbd9b5b0 031c2148-8a20-4532-b77f-b6200c3791c8-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (62 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (46 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (47 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feecd52adb0 edc5a322-b220-4b13-a39b-99a523b172ba-O1) Stack trace: [ OK ] ReservationTest.IncompatibleCheckpointedResources (76 ms) [ RUN ] ReservationTest.GoodACLReserveThenUnreserve [ OK ] ReservationTest.GoodACLReserveThenUnreserve (63 ms) -- -- [ OK ] ReservationTest.SendingCheckpointResourcesMessage (45 ms) [ RUN ] ReservationTest.ResourcesCheckpointing GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f015df8, @0x7feecfe16f00 09a90e67-a40f-4e42-8802-1a5644733a06-O1) Stack trace: [ OK ] ReservationTest.ResourcesCheckpointing (60 ms) [ RUN ] ReservationTest.MasterFailover [ OK ] ReservationTest.MasterFailover (89 ms) -- -- [ OK ] ReservationTest.CompatibleCheckpointedResources (43 ms) [ RUN ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes GMOCK WARNING: Uninteresting mock function call - returning directly. Function call: offerRescinded(0x7fff5f014960, @0x7feecacceba0 84965984-28cd-4bc8-b25b-746583477d09-O1) Stack trace: [ OK ] ReservationTest.CompatibleCheckpointedResourcesWithPersistentVolumes (58 ms) [ RUN ] ReservationTest.IncompatibleCheckpointedResources [ OK ] ReservationTest.IncompatibleCheckpointedResources (68 ms) {code}
Story points: 2