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

Test MasterAllocatorTest/1.SingleFramework is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.6.0
    • allocation, test
    • Mesosphere Sprint 74, Mesosphere Sprint 75
    • 3

    Description

      Observed in our internal CI on a ubuntu-16 setup in a plain autotools build,

      ../../src/tests/master_allocator_tests.cpp:175
      Mock function called more times than expected - taking default action specified at:
      ../../src/tests/allocator.hpp:273:
          Function call: addSlave(@0x7fe8dc03d0e8 1eb6ab2c-293d-4b99-b76b-87bd939a1a19-S1, @0x7fe8dc03d108 hostname: "ip-172-16-10-65.ec2.internal"
      resources {
        name: "cpus"
        type: SCALAR
        scalar {
          value: 2
        }
      }
      resources {
        name: "mem"
        type: SCALAR
        scalar {
          value: 1024
        }
      }
      resources {
        name: "ports"
        type: RANGES
        ranges {
          range {
            begin: 31000
            end: 32000
          }
        }
      }
      id {
        value: "1eb6ab2c-293d-4b99-b76b-87bd939a1a19-S1"
      }
      checkpoint: true
      port: 40262
      , @0x7fe8ffa276c0 { 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00>, 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 02-00 00-00 00-00 00-00>, 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 03-00 00-00 73-79 73-74> }, @0x7fe8ffa27720 48-byte object <01-00 00-00 E8-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 08-7A A2-FF E8-7F 00-00 A0-32 24-7D 62-55 00-00 DE-3C 11-0A E9-7F 00-00>, @0x7fe8dc03d4c8 { cpus:2, mem:1024, ports:[31000-32000] }, @0x7fe8dc03d460 {})
               Expected: to be called once
                 Actual: called twice - over-saturated and active
      Stacktrace
      ../../src/tests/master_allocator_tests.cpp:175
      Mock function called more times than expected - taking default action specified at:
      ../../src/tests/allocator.hpp:273:
          Function call: addSlave(@0x7fe8dc03d0e8 1eb6ab2c-293d-4b99-b76b-87bd939a1a19-S1, @0x7fe8dc03d108 hostname: "ip-172-16-10-65.ec2.internal"
      resources {
        name: "cpus"
        type: SCALAR
        scalar {
          value: 2
        }
      }
      resources {
        name: "mem"
        type: SCALAR
        scalar {
          value: 1024
        }
      }
      resources {
        name: "ports"
        type: RANGES
        ranges {
          range {
            begin: 31000
            end: 32000
          }
        }
      }
      id {
        value: "1eb6ab2c-293d-4b99-b76b-87bd939a1a19-S1"
      }
      checkpoint: true
      port: 40262
      , @0x7fe8ffa276c0 { 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00>, 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 02-00 00-00 00-00 00-00>, 32-byte object <48-94 7D-0E E9-7F 00-00 00-00 00-00 00-00 00-00 01-00 00-00 00-00 00-00 03-00 00-00 73-79 73-74> }, @0x7fe8ffa27720 48-byte object <01-00 00-00 E8-7F 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 08-7A A2-FF E8-7F 00-00 A0-32 24-7D 62-55 00-00 DE-3C 11-0A E9-7F 00-00>, @0x7fe8dc03d4c8 { cpus:2, mem:1024, ports:[31000-32000] }, @0x7fe8dc03d460 {})
               Expected: to be called once
                 Actual: called twice - over-saturated and active
      

      Attachments

        1. consoleText.txt
          25 kB
          Benjamin Bannier

        Issue Links

          Activity

            People

              tillt Till Toenshoff
              bbannier Benjamin Bannier
              Alex R Alex R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: