Benjamin Bannier created MESOS-8463:
---------------------------------------
Summary: Test MasterAllocatorTest/1.SingleFramework is flaky
Key: MESOS-8463
URL: https://issues.apache.org/jira/browse/MESOS-8463
Project: Mesos
Issue Type: Bug
Components: allocation, test
Affects Versions: 1.5.0
Reporter: Benjamin Bannier
Observed in our internal CI on a ubuntu-16 setup in a plain autotools build,
{noformat}
../../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
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)