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

`QuotaRoleAllocateNonQuotaResource` is failing.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.9.0
    • test
    • Resource Mgmt: RI15 Sp 48
    • 2

    Description

      [ RUN      ] HierarchicalAllocatorTest.QuotaRoleAllocateNonQuotaResource
      ../../src/tests/hierarchical_allocator_tests.cpp:4094: Failure
      Value of: allocations.get().isPending()
        Actual: false
      Expected: true
      [  FAILED  ] HierarchicalAllocatorTest.QuotaRoleAllocateNonQuotaResource (12 ms)
      

      The test is failing because:

      After agent3 is added, it misses a settle call where the allocation of agent3 is racy.
      In addition, after https://github.com/apache/mesos/commit/7df8cc6b79e294c075de09f1de4b31a2b88423c8
      we now offer nonquota resources on an agent (even that means "chopping") on top of role's satisfied guarantees, the test needs to be updated in accordance with the behavior change.

      Attachments

        Activity

          People

            mzhu Meng Zhu
            mzhu Meng Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: