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

StorageLocalResourceProviderTest.ProfileDisappeared is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Later
    • 1.8.0
    • None
    • test
    • ubuntu-16.04-cmake-default

    Description

      We observed a test flake in StorageLocalResourceProviderTest.ProfileDisappeared in our CI while testing master (aka c9c2be8982d3585994493dab9916c89deb61ec48). I have not confirmed whether this also affects 1.7.x.

      The test failed with

      I/home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/CMake/label/mesos-ec2-ubuntu-16.04/mesos/src/tests/storage_local_resource_provider_tests.cpp:1217: Failure
      Failed to wait 15secs for createVolumeStatus
      0907 11:27:24.638801  3720 provider.cpp:3050] Applying conversion from 'disk(allocated: storage)(reservations: [(DYNAMIC,storage)])[RAW(,test1)]:2048' to 'disk(allocated: storage)(reservations: [(DYNAMIC,storage)])[MOUNT(8dc0abf1-ddec-44c9-a67b-4c4428a26312,test1)]:2048' for operation (uuid: 8dc0abf1-ddec-44c9-a67b-4c4428a26312)
      /home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/CMake/label/mesos-ec2-ubuntu-16.04/mesos/src/tests/storage_local_resource_provider_tests.cpp:1157: Failure
      Actual function call count doesn't match EXPECT_CALL(sched, resourceOffers(&driver, OffersHaveAnyResource( &Resources::hasResourceProvider)))...
               Expected: to be called at least 4 times
                 Actual: called once - unsatisfied and active
      

      and

      /home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/CMake/label/mesos-ec2-ubuntu-16.04/mesos/3rdparty/libprocess/src/../include/process/gmock.hpp:504: Failure
      Actual function call count doesn't match EXPECT_CALL(filter->mock, filter(to, testing::A<const MessageEvent&>()))...
          Expected args: message matcher (32-byte object <10-99 62-06 00-00 00-00 2B-00 00-00 00-00 00-00 2B-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00>, 1-byte object <10>)
               Expected: to be called once
                 Actual: never called - unsatisfied and active
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbannier Benjamin Bannier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: