[
https://issues.apache.org/jira/browse/MESOS-7971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16677306#comment-16677306
]
Joseph Wu commented on MESOS-7971:
----------------------------------
Slightly different logs observed on an internal CI run (Ubuntu 16, no SSL).
One HTTP response in this run expects a 202, but gets a 409 instead.
{code}
[ RUN ] PersistentVolumeEndpointsTest.EndpointCreateThenOfferRemove
I1106 19:50:14.650254 19563 cluster.cpp:162] Creating default 'local' authorizer
I1106 19:50:14.651284 19588 master.cpp:442] Master
d5905469-73fc-4219-b939-c6056f1f62a1 (ip-172-16-10-48.ec2.internal) started on
172.16.10.48:39946
I1106 19:50:14.651309 19588 master.cpp:444] Flags at startup: --acls=""
--agent_ping_timeout="15secs" --agent_reregister_timeout="10mins"
--allocation_interval="50ms" --allocator="hierarchical"
--authenticate_agents="true" --authenticate_frameworks="true"
--authenticate_http_frameworks="true" --authenticate_http_readonly="true"
--authenticate_http_readwrite="true" --authentication_v0_timeout="15secs"
--authenticators="crammd5" --authorizers="local"
--credentials="/tmp/fZatVl/credentials" --filter_gpu_resources="true"
--framework_sorter="drf" --help="false" --hostname_lookup="true"
--http_authenticators="basic" --http_framework_authenticators="basic"
--initialize_driver_logging="true" --log_auto_initialize="true"
--logbufsecs="0" --logging_level="INFO" --max_agent_ping_timeouts="5"
--max_completed_frameworks="50" --max_completed_tasks_per_framework="1000"
--max_unreachable_tasks_per_framework="1000"
--min_allocatable_resources="cpus:0.01|mem:32" --port="5050" --quiet="false"
--recovery_agent_removal_limit="100%" --registry="in_memory"
--registry_fetch_timeout="1mins" --registry_gc_interval="15mins"
--registry_max_agent_age="2weeks" --registry_max_agent_count="102400"
--registry_store_timeout="100secs" --registry_strict="false"
--role_sorter="drf" --roles="role1" --root_submissions="true" --version="false"
--webui_dir="/usr/local/share/mesos/webui" --work_dir="/tmp/fZatVl/master"
--zk_session_timeout="10secs"
I1106 19:50:14.651437 19588 master.cpp:494] Master only allowing authenticated
frameworks to register
I1106 19:50:14.651448 19588 master.cpp:508] Master only allowing authenticated
agents to register
I1106 19:50:14.651453 19588 master.cpp:521] Master only allowing authenticated
HTTP frameworks to register
I1106 19:50:14.651459 19588 credentials.hpp:37] Loading credentials for
authentication from '/tmp/fZatVl/credentials'
I1106 19:50:14.651548 19588 master.cpp:566] Using default 'crammd5'
authenticator
I1106 19:50:14.651593 19588 http.cpp:1045] Creating default 'basic' HTTP
authenticator for realm 'mesos-master-readonly'
I1106 19:50:14.651643 19588 http.cpp:1045] Creating default 'basic' HTTP
authenticator for realm 'mesos-master-readwrite'
I1106 19:50:14.651672 19588 http.cpp:1045] Creating default 'basic' HTTP
authenticator for realm 'mesos-master-scheduler'
I1106 19:50:14.651700 19588 master.cpp:646] Authorization enabled
W1106 19:50:14.651710 19588 master.cpp:709] The '--roles' flag is deprecated.
This flag will be removed in the future. See the Mesos 0.27 upgrade notes for
more information
I1106 19:50:14.651803 19590 hierarchical.cpp:173] Initialized hierarchical
allocator process
I1106 19:50:14.651830 19590 whitelist_watcher.cpp:77] No whitelist given
I1106 19:50:14.652432 19590 master.cpp:2200] Elected as the leading master!
I1106 19:50:14.652454 19590 master.cpp:1739] Recovering from registrar
I1106 19:50:14.652506 19590 registrar.cpp:347] Recovering registrar
I1106 19:50:14.652595 19590 registrar.cpp:391] Successfully fetched the
registry (0B) in 72960ns
I1106 19:50:14.652622 19590 registrar.cpp:495] Applied 1 operations in 5332ns;
attempting to update the registry
I1106 19:50:14.656131 19586 registrar.cpp:552] Successfully updated the
registry in 3.472128ms
I1106 19:50:14.656177 19586 registrar.cpp:424] Successfully recovered registrar
I1106 19:50:14.656266 19588 master.cpp:1838] Recovered 0 agents from the
registry (168B); allowing 10mins for agents to re-register
I1106 19:50:14.656299 19588 hierarchical.cpp:211] Skipping recovery of
hierarchical allocator: nothing to recover
W1106 19:50:14.657806 19563 process.cpp:3196] Attempted to spawn already
running process [email protected]:39946
I1106 19:50:14.658203 19563 containerizer.cpp:246] Using isolation:
posix/cpu,posix/mem,filesystem/posix,network/cni,environment_secret
I1106 19:50:14.661717 19563 linux_launcher.cpp:149] Using
/sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
I1106 19:50:14.662039 19563 provisioner.cpp:255] Using default backend 'overlay'
I1106 19:50:14.662547 19563 cluster.cpp:448] Creating default 'local' authorizer
I1106 19:50:14.662969 19589 slave.cpp:249] Mesos agent started on
(378)@172.16.10.48:39946
I1106 19:50:14.662987 19589 slave.cpp:250] Flags at startup: --acls=""
--appc_simple_discovery_uri_prefix="http://"
--appc_store_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/store/appc"
--authenticate_http_readonly="true" --authenticate_http_readwrite="true"
--authenticatee="crammd5" --authentication_backoff_factor="1secs"
--authentication_timeout_max="1mins" --authentication_timeout_min="5secs"
--authorizer="local" --cgroups_cpu_enable_pids_and_tids_count="false"
--cgroups_enable_cfs="false" --cgroups_hierarchy="/sys/fs/cgroup"
--cgroups_limit_swap="false" --cgroups_root="mesos"
--container_disk_watch_interval="15secs" --containerizers="mesos"
--credential="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/credential"
--default_role="*" --disallow_sharing_agent_pid_namespace="false"
--disk_watch_interval="1mins" --docker="docker" --docker_kill_orphans="true"
--docker_registry="https://registry-1.docker.io" --docker_remove_delay="6hrs"
--docker_socket="/var/run/docker.sock" --docker_stop_timeout="0ns"
--docker_store_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/store/docker"
--docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume"
--enforce_container_disk_quota="false" --executor_registration_timeout="1mins"
--executor_reregistration_timeout="2secs"
--executor_shutdown_grace_period="5secs"
--fetcher_cache_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/fetch"
--fetcher_cache_size="2GB" --fetcher_stall_timeout="1mins"
--frameworks_home="" --gc_delay="1weeks" --gc_disk_headroom="0.1"
--hadoop_home="" --help="false" --hostname_lookup="true"
--http_command_executor="false"
--http_credentials="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/http_credentials"
--http_heartbeat_interval="30secs" --initialize_driver_logging="true"
--isolation="posix/cpu,posix/mem" --launcher="linux"
--launcher_dir="/home/ubuntu/workspace/mesos/Mesos_CI-build/FLAG/Plain/label/mesos-ec2-ubuntu-16.04/mesos/build/src"
--logbufsecs="0" --logging_level="INFO"
--max_completed_executors_per_framework="150"
--oversubscribed_resources_interval="15secs" --perf_duration="10secs"
--perf_interval="1mins" --port="5051" --qos_correction_interval_min="0ns"
--quiet="false" --recover="reconnect" --recovery_timeout="15mins"
--registration_backoff_factor="10ms" --resources="disk(*):1024"
--revocable_cpu_low_priority="true"
--runtime_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6"
--sandbox_directory="/mnt/mesos/sandbox" --strict="true" --switch_user="true"
--systemd_enable_support="true"
--systemd_runtime_directory="/run/systemd/system" --version="false"
--work_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_ymMv4I"
I1106 19:50:14.663218 19589 credentials.hpp:86] Loading credential for
authentication from
'/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/credential'
I1106 19:50:14.663275 19589 slave.cpp:282] Agent using credential for:
test-principal
I1106 19:50:14.663295 19589 credentials.hpp:37] Loading credentials for
authentication from
'/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_wfOyd6/http_credentials'
I1106 19:50:14.663367 19589 http.cpp:1045] Creating default 'basic' HTTP
authenticator for realm 'mesos-agent-readonly'
I1106 19:50:14.663414 19589 http.cpp:1045] Creating default 'basic' HTTP
authenticator for realm 'mesos-agent-readwrite'
I1106 19:50:14.663873 19589 slave.cpp:564] Agent resources:
[{"name":"disk","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"cpus","scalar":{"value":2.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":6957.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}]
I1106 19:50:14.663944 19589 slave.cpp:572] Agent attributes: [ ]
I1106 19:50:14.663952 19589 slave.cpp:581] Agent hostname:
ip-172-16-10-48.ec2.internal
I1106 19:50:14.664134 19591 status_update_manager.cpp:177] Pausing sending
status updates
I1106 19:50:14.664360 19589 state.cpp:64] Recovering state from
'/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_ymMv4I/meta'
I1106 19:50:14.664482 19587 status_update_manager.cpp:203] Recovering status
update manager
I1106 19:50:14.664541 19590 containerizer.cpp:609] Recovering containerizer
I1106 19:50:14.665339 19589 provisioner.cpp:416] Provisioner recovery complete
I1106 19:50:14.665458 19593 slave.cpp:6328] Finished recovery
I1106 19:50:14.665666 19593 slave.cpp:6510] Querying resource estimator for
oversubscribable resources
I1106 19:50:14.665738 19590 slave.cpp:970] New master detected at
[email protected]:39946
I1106 19:50:14.665740 19589 status_update_manager.cpp:177] Pausing sending
status updates
I1106 19:50:14.665784 19590 slave.cpp:1015] Detecting new master
I1106 19:50:14.665818 19590 slave.cpp:6524] Received oversubscribable resources
{} from the resource estimator
I1106 19:50:14.672075 19588 slave.cpp:1042] Authenticating with master
[email protected]:39946
I1106 19:50:14.672103 19588 slave.cpp:1053] Using default CRAM-MD5 authenticatee
I1106 19:50:14.672178 19591 authenticatee.cpp:121] Creating new client SASL
connection
I1106 19:50:14.672533 19591 master.cpp:7886] Authenticating
slave(378)@172.16.10.48:39946
I1106 19:50:14.672583 19591 authenticator.cpp:414] Starting authentication
session for crammd5-authenticatee(798)@172.16.10.48:39946
I1106 19:50:14.672647 19591 authenticator.cpp:98] Creating new server SASL
connection
I1106 19:50:14.672976 19591 authenticatee.cpp:213] Received SASL authentication
mechanisms: CRAM-MD5
I1106 19:50:14.672993 19591 authenticatee.cpp:239] Attempting to authenticate
with mechanism 'CRAM-MD5'
I1106 19:50:14.673019 19591 authenticator.cpp:204] Received SASL authentication
start
I1106 19:50:14.673050 19591 authenticator.cpp:326] Authentication requires more
steps
I1106 19:50:14.673077 19591 authenticatee.cpp:259] Received SASL authentication
step
I1106 19:50:14.673110 19591 authenticator.cpp:232] Received SASL authentication
step
I1106 19:50:14.673125 19591 auxprop.cpp:109] Request to lookup properties for
user: 'test-principal' realm: 'ip-172-16-10-48.ec2.internal' server FQDN:
'ip-172-16-10-48.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false
I1106 19:50:14.673135 19591 auxprop.cpp:181] Looking up auxiliary property
'*userPassword'
I1106 19:50:14.673143 19591 auxprop.cpp:181] Looking up auxiliary property
'*cmusaslsecretCRAM-MD5'
I1106 19:50:14.673151 19591 auxprop.cpp:109] Request to lookup properties for
user: 'test-principal' realm: 'ip-172-16-10-48.ec2.internal' server FQDN:
'ip-172-16-10-48.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true
I1106 19:50:14.673157 19591 auxprop.cpp:131] Skipping auxiliary property
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I1106 19:50:14.673162 19591 auxprop.cpp:131] Skipping auxiliary property
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
I1106 19:50:14.673173 19591 authenticator.cpp:318] Authentication success
I1106 19:50:14.673204 19593 authenticatee.cpp:299] Authentication success
I1106 19:50:14.673238 19593 master.cpp:7918] Successfully authenticated
principal 'test-principal' at slave(378)@172.16.10.48:39946
I1106 19:50:14.673282 19593 slave.cpp:1145] Successfully authenticated with
master [email protected]:39946
I1106 19:50:14.673336 19593 slave.cpp:1603] Will retry registration in
9.286328ms if necessary
I1106 19:50:14.673424 19593 master.cpp:5755] Received register agent message
from slave(378)@172.16.10.48:39946 (ip-172-16-10-48.ec2.internal)
I1106 19:50:14.673454 19593 master.cpp:3847] Authorizing agent with principal
'test-principal'
I1106 19:50:14.673542 19593 master.cpp:5811] Authorized registration of agent
at slave(378)@172.16.10.48:39946 (ip-172-16-10-48.ec2.internal)
I1106 19:50:14.673576 19593 master.cpp:5904] Registering agent at
slave(378)@172.16.10.48:39946 (ip-172-16-10-48.ec2.internal) with id
d5905469-73fc-4219-b939-c6056f1f62a1-S0
I1106 19:50:14.673671 19593 registrar.cpp:495] Applied 1 operations in 11294ns;
attempting to update the registry
I1106 19:50:14.673799 19591 authenticator.cpp:432] Authentication session
cleanup for crammd5-authenticatee(798)@172.16.10.48:39946
I1106 19:50:14.676128 19590 registrar.cpp:552] Successfully updated the
registry in 2.438912ms
I1106 19:50:14.676203 19590 master.cpp:5951] Admitted agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal)
I1106 19:50:14.676353 19586 slave.cpp:5003] Received ping from
slave-observer(382)@172.16.10.48:39946
I1106 19:50:14.676491 19593 hierarchical.cpp:572] Added agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 (ip-172-16-10-48.ec2.internal) with
disk:1024; cpus:2; mem:6957; ports:[31000-32000] (allocated: {})
I1106 19:50:14.676548 19593 hierarchical.cpp:2083] No allocations performed
I1106 19:50:14.676564 19593 hierarchical.cpp:1441] Performed allocation for 1
agents in 25958ns
I1106 19:50:14.676337 19590 master.cpp:5982] Registered agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal) with
[{"name":"disk","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"cpus","scalar":{"value":2.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":6957.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}]
I1106 19:50:14.676610 19586 slave.cpp:1177] Registered with master
[email protected]:39946; given agent ID
d5905469-73fc-4219-b939-c6056f1f62a1-S0
I1106 19:50:14.676698 19589 status_update_manager.cpp:184] Resuming sending
status updates
I1106 19:50:14.677018 19586 slave.cpp:1197] Checkpointing SlaveInfo to
'/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_ymMv4I/meta/slaves/d5905469-73fc-4219-b939-c6056f1f62a1-S0/slave.info'
I1106 19:50:14.677549 19590 process.cpp:3938] Handling HTTP event for process
'master' with path: '/master/reserve'
I1106 19:50:14.677901 19591 http.cpp:1185] HTTP POST for /master/reserve from
172.16.10.48:37408
I1106 19:50:14.678048 19591 master.cpp:3632] Authorizing principal
'test-principal' to reserve resources
'[{"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]'
I1106 19:50:14.677865 19586 slave.cpp:1246] Forwarding total oversubscribed
resources {}
I1106 19:50:14.678308 19586 master.cpp:6724] Received update of agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal) with total oversubscribed resources {}
I1106 19:50:14.678537 19589 master.cpp:9175] Sending updated checkpointed
resources disk(reservations: [(DYNAMIC,role1,test-principal)]):512 to agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal)
I1106 19:50:14.678658 19588 hierarchical.cpp:642] Agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 (ip-172-16-10-48.ec2.internal) updated
with total resources disk:1024; cpus:2; mem:6957; ports:[31000-32000]
I1106 19:50:14.678714 19588 hierarchical.cpp:2083] No allocations performed
I1106 19:50:14.678730 19588 hierarchical.cpp:1441] Performed allocation for 1
agents in 25046ns
I1106 19:50:14.678838 19590 slave.cpp:3522] Updated checkpointed resources from
{} to disk(reservations: [(DYNAMIC,role1,test-principal)]):512
I1106 19:50:14.679718 19588 process.cpp:3938] Handling HTTP event for process
'master' with path: '/master/create-volumes'
I1106 19:50:14.680076 19589 http.cpp:1185] HTTP POST for /master/create-volumes
from 172.16.10.48:37410
I1106 19:50:14.680261 19589 master.cpp:3767] Authorizing principal
'test-principal' to create volumes
'[{"disk":{"persistence":{"id":"id1","principal":"test-principal"},"volume":{"container_path":"volume_path","mode":"RW"}},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"}]'
../../src/tests/persistent_volume_endpoints_tests.cpp:1707: Failure
Value of: (response).get().status
Actual: "409 Conflict"
Expected: Accepted().status
Which is: "202 Accepted"
W1106 19:50:14.681072 19563 process.cpp:3196] Attempted to spawn already
running process [email protected]:39946
I1106 19:50:14.681740 19563 sched.cpp:232] Version: 1.4.3
I1106 19:50:14.681879 19588 sched.cpp:336] New master detected at
[email protected]:39946
I1106 19:50:14.681912 19588 sched.cpp:412] Authenticating with master
[email protected]:39946
I1106 19:50:14.681922 19588 sched.cpp:419] Using default CRAM-MD5 authenticatee
I1106 19:50:14.682008 19588 authenticatee.cpp:121] Creating new client SASL
connection
I1106 19:50:14.682302 19588 master.cpp:7886] Authenticating
[email protected]:39946
I1106 19:50:14.682348 19588 authenticator.cpp:414] Starting authentication
session for crammd5-authenticatee(799)@172.16.10.48:39946
I1106 19:50:14.682417 19588 authenticator.cpp:98] Creating new server SASL
connection
I1106 19:50:14.682715 19588 authenticatee.cpp:213] Received SASL authentication
mechanisms: CRAM-MD5
I1106 19:50:14.682736 19588 authenticatee.cpp:239] Attempting to authenticate
with mechanism 'CRAM-MD5'
I1106 19:50:14.682763 19588 authenticator.cpp:204] Received SASL authentication
start
I1106 19:50:14.682791 19588 authenticator.cpp:326] Authentication requires more
steps
I1106 19:50:14.682834 19588 authenticatee.cpp:259] Received SASL authentication
step
I1106 19:50:14.682881 19588 authenticator.cpp:232] Received SASL authentication
step
I1106 19:50:14.682898 19588 auxprop.cpp:109] Request to lookup properties for
user: 'test-principal' realm: 'ip-172-16-10-48.ec2.internal' server FQDN:
'ip-172-16-10-48.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: false
I1106 19:50:14.682905 19588 auxprop.cpp:181] Looking up auxiliary property
'*userPassword'
I1106 19:50:14.682914 19588 auxprop.cpp:181] Looking up auxiliary property
'*cmusaslsecretCRAM-MD5'
I1106 19:50:14.682924 19588 auxprop.cpp:109] Request to lookup properties for
user: 'test-principal' realm: 'ip-172-16-10-48.ec2.internal' server FQDN:
'ip-172-16-10-48.ec2.internal' SASL_AUXPROP_VERIFY_AGAINST_HASH: false
SASL_AUXPROP_OVERRIDE: false SASL_AUXPROP_AUTHZID: true
I1106 19:50:14.682930 19588 auxprop.cpp:131] Skipping auxiliary property
'*userPassword' since SASL_AUXPROP_AUTHZID == true
I1106 19:50:14.682936 19588 auxprop.cpp:131] Skipping auxiliary property
'*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
I1106 19:50:14.682947 19588 authenticator.cpp:318] Authentication success
I1106 19:50:14.682986 19588 authenticatee.cpp:299] Authentication success
I1106 19:50:14.683037 19588 authenticator.cpp:432] Authentication session
cleanup for crammd5-authenticatee(799)@172.16.10.48:39946
I1106 19:50:14.683037 19591 master.cpp:7918] Successfully authenticated
principal 'test-principal' at
[email protected]:39946
I1106 19:50:14.683096 19588 sched.cpp:525] Successfully authenticated with
master [email protected]:39946
I1106 19:50:14.683106 19588 sched.cpp:832] Sending SUBSCRIBE call to
[email protected]:39946
I1106 19:50:14.683140 19588 sched.cpp:865] Will retry registration in
1.964577985secs if necessary
I1106 19:50:14.683200 19588 master.cpp:2938] Received SUBSCRIBE call for
framework 'default' at
[email protected]:39946
I1106 19:50:14.683240 19588 master.cpp:2272] Authorizing framework principal
'test-principal' to receive offers for roles '{ role1 }'
I1106 19:50:14.683363 19588 master.cpp:3018] Subscribing framework default with
checkpointing disabled and capabilities [ MULTI_ROLE, RESERVATION_REFINEMENT ]
I1106 19:50:14.683502 19591 hierarchical.cpp:297] Added framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.683517 19588 sched.cpp:755] Framework registered with
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.683542 19588 sched.cpp:769] Scheduler::registered took 13708ns
I1106 19:50:14.683750 19591 hierarchical.cpp:2173] No inverse offers to send
out!
I1106 19:50:14.683770 19591 hierarchical.cpp:1441] Performed allocation for 1
agents in 176490ns
I1106 19:50:14.683887 19590 master.cpp:7720] Sending 1 offers to framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.684067 19590 sched.cpp:929] Scheduler::resourceOffers took
56933ns
../../src/tests/persistent_volume_endpoints_tests.cpp:1729: Failure
Value of: Resources(offer.resources()).contains( allocatedResources(volume,
frameworkInfo.roles(0)))
Actual: false
Expected: true
I1106 19:50:14.684456 19590 master.cpp:9229] Removing offer
d5905469-73fc-4219-b939-c6056f1f62a1-O0
I1106 19:50:14.684501 19590 master.cpp:4197] Processing ACCEPT call for offers:
[ d5905469-73fc-4219-b939-c6056f1f62a1-O0 ] on agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal) for framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.684545 19590 master.cpp:3819] Authorizing principal
'test-principal' to destroy volumes
'[{"allocation_info":{"role":"role1"},"disk":{"persistence":{"id":"id1","principal":"test-principal"},"volume":{"container_path":"volume_path","mode":"RW"}},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"}]'
W1106 19:50:14.684895 19591 master.cpp:2357] Dropping DESTROY offer operation
from framework d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946: Persistent
volumes not found
I1106 19:50:14.685034 19591 hierarchical.cpp:1125] Recovered disk(allocated:
role1):1024; cpus(allocated: role1):2; mem(allocated: role1):6957;
ports(allocated: role1):[31000-32000] (total: disk:1024; cpus:2; mem:6957;
ports:[31000-32000], allocated: {}) on agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 from framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.702731 19588 hierarchical.cpp:2173] No inverse offers to send
out!
I1106 19:50:14.702754 19588 hierarchical.cpp:1441] Performed allocation for 1
agents in 163049ns
I1106 19:50:14.702852 19589 master.cpp:7720] Sending 1 offers to framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.702989 19589 sched.cpp:929] Scheduler::resourceOffers took
34598ns
../../src/tests/persistent_volume_endpoints_tests.cpp:1752: Failure
Value of: Resources(offer.resources()) .contains(allocatedResources(
dynamicallyReserved, frameworkInfo.roles(0)))
Actual: false
Expected: true
disk(allocated: role1):1024; cpus(allocated: role1):2; mem(allocated:
role1):6957; ports(allocated: role1):[31000-32000] vs disk(allocated:
role1)(reservations: [(DYNAMIC,role1,test-principal)]):512
I1106 19:50:14.703361 19588 master.cpp:9229] Removing offer
d5905469-73fc-4219-b939-c6056f1f62a1-O1
I1106 19:50:14.703402 19588 master.cpp:4197] Processing ACCEPT call for offers:
[ d5905469-73fc-4219-b939-c6056f1f62a1-O1 ] on agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal) for framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.703439 19588 master.cpp:3700] Authorizing principal
'test-principal' to unreserve resources
'[{"allocation_info":{"role":"role1"},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]'
W1106 19:50:14.703660 19587 master.cpp:2357] Dropping UNRESERVE offer operation
from framework d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946: Invalid
UNRESERVE Operation: disk(allocated: role1):1024; cpus(allocated: role1):2;
mem(allocated: role1):6957; ports(allocated: role1):[31000-32000] does not
contain disk(allocated: role1)(reservations:
[(DYNAMIC,role1,test-principal)]):512
I1106 19:50:14.703806 19590 hierarchical.cpp:1125] Recovered disk(allocated:
role1):1024; cpus(allocated: role1):2; mem(allocated: role1):6957;
ports(allocated: role1):[31000-32000] (total: disk:1024; cpus:2; mem:6957;
ports:[31000-32000], allocated: {}) on agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 from framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.753446 19588 hierarchical.cpp:2173] No inverse offers to send
out!
I1106 19:50:14.753484 19588 hierarchical.cpp:1441] Performed allocation for 1
agents in 311283ns
I1106 19:50:14.753593 19591 master.cpp:7720] Sending 1 offers to framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.753777 19591 sched.cpp:929] Scheduler::resourceOffers took
41099ns
I1106 19:50:14.753924 19563 sched.cpp:2017] Asked to stop the driver
I1106 19:50:14.753976 19587 sched.cpp:1199] Stopping framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.754060 19587 master.cpp:8406] Processing TEARDOWN call for
framework d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.754079 19587 master.cpp:8418] Removing framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.754091 19587 master.cpp:3308] Deactivating framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 (default) at
[email protected]:39946
I1106 19:50:14.754122 19591 hierarchical.cpp:401] Deactivated framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.754324 19587 master.cpp:9229] Removing offer
d5905469-73fc-4219-b939-c6056f1f62a1-O2
I1106 19:50:14.754387 19590 slave.cpp:3214] Asked to shut down framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000 by [email protected]:39946
I1106 19:50:14.754402 19590 slave.cpp:3229] Cannot shut down unknown framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.754400 19592 hierarchical.cpp:1125] Recovered disk(allocated:
role1):1024; cpus(allocated: role1):2; mem(allocated: role1):6957;
ports(allocated: role1):[31000-32000] (total: disk:1024; cpus:2; mem:6957;
ports:[31000-32000], allocated: {}) on agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 from framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.754510 19593 hierarchical.cpp:344] Removed framework
d5905469-73fc-4219-b939-c6056f1f62a1-0000
I1106 19:50:14.755004 19563 slave.cpp:842] Agent terminating
I1106 19:50:14.755123 19591 master.cpp:1355] Agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal) disconnected
I1106 19:50:14.755143 19591 master.cpp:3345] Disconnecting agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal)
I1106 19:50:14.755159 19591 master.cpp:3364] Deactivating agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 at slave(378)@172.16.10.48:39946
(ip-172-16-10-48.ec2.internal)
I1106 19:50:14.755205 19591 hierarchical.cpp:672] Agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0 deactivated
I1106 19:50:14.757083 19563 master.cpp:1197] Master terminating
I1106 19:50:14.757325 19589 hierarchical.cpp:608] Removed agent
d5905469-73fc-4219-b939-c6056f1f62a1-S0
[ FAILED ] PersistentVolumeEndpointsTest.EndpointCreateThenOfferRemove (109
ms)
{code}
> PersistentVolumeEndpointsTest.EndpointCreateThenOfferRemove test is flaky
> -------------------------------------------------------------------------
>
> Key: MESOS-7971
> URL: https://issues.apache.org/jira/browse/MESOS-7971
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.4.0, 1.6.0, 1.7.0
> Reporter: Vinod Kone
> Priority: Major
> Labels: flaky-test, mesosphere
> Attachments: ApacheJenkinsConsoleText_autotools_gcc_ubuntu16.txt
>
>
> Saw this when testing 1.4.0-rc5
> {code}
> [ RUN ] PersistentVolumeEndpointsTest.EndpointCreateThenOfferRemove
> I0912 05:40:27.335222 30860 cluster.cpp:162] Creating default 'local'
> authorizer
> I0912 05:40:27.338429 30867 master.cpp:442] Master
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede (6aa774430302) started on
> 172.17.0.3:54639
> I0912 05:40:27.338472 30867 master.cpp:444] Flags at startup: --acls=""
> --agent_ping_timeout="15secs" --agent_reregister_timeout="10mins"
> --allocation_interval="50ms" --allocator="HierarchicalDRF"
> --authenticate_agents="true" --authenticate_frameworks="true"
> --authenticate_http_frameworks="true" --authenticate_http_readonly="true"
> --authenticate_http_readwrite="true" --authenticators="crammd5"
> --authorizers="local" --credentials="/tmp/hH0YXe/credentials"
> --filter_gpu_resources="true" --framework_sorter="drf" --help="false"
> --hostname_lookup="true" --http_authenticators="basic"
> --http_framework_authenticators="basic" --initialize_driver_logging="true"
> --log_auto_initialize="true" --logbufsecs="0" --logging_level="INFO"
> --max_agent_ping_timeouts="5" --max_completed_frameworks="50"
> --max_completed_tasks_per_framework="1000"
> --max_unreachable_tasks_per_framework="1000" --port="5050" --quiet="false"
> --recovery_agent_removal_limit="100%" --registry="in_memory"
> --registry_fetch_timeout="1mins" --registry_gc_interval="15mins"
> --registry_max_agent_age="2weeks" --registry_max_agent_count="102400"
> --registry_store_timeout="100secs" --registry_strict="false" --roles="role1"
> --root_submissions="true" --user_sorter="drf" --version="false"
> --webui_dir="/usr/local/share/mesos/webui" --work_dir="/tmp/hH0YXe/master"
> --zk_session_timeout="10secs"
> I0912 05:40:27.338778 30867 master.cpp:494] Master only allowing
> authenticated frameworks to register
> I0912 05:40:27.338788 30867 master.cpp:508] Master only allowing
> authenticated agents to register
> I0912 05:40:27.338793 30867 master.cpp:521] Master only allowing
> authenticated HTTP frameworks to register
> I0912 05:40:27.338799 30867 credentials.hpp:37] Loading credentials for
> authentication from '/tmp/hH0YXe/credentials'
> I0912 05:40:27.353009 30867 master.cpp:566] Using default 'crammd5'
> authenticator
> I0912 05:40:27.353183 30867 http.cpp:1026] Creating default 'basic' HTTP
> authenticator for realm 'mesos-master-readonly'
> I0912 05:40:27.353364 30867 http.cpp:1026] Creating default 'basic' HTTP
> authenticator for realm 'mesos-master-readwrite'
> I0912 05:40:27.353482 30867 http.cpp:1026] Creating default 'basic' HTTP
> authenticator for realm 'mesos-master-scheduler'
> I0912 05:40:27.353588 30867 master.cpp:646] Authorization enabled
> W0912 05:40:27.353605 30867 master.cpp:709] The '--roles' flag is deprecated.
> This flag will be removed in the future. See the Mesos 0.27 upgrade notes for
> more information
> I0912 05:40:27.353742 30868 hierarchical.cpp:171] Initialized hierarchical
> allocator process
> I0912 05:40:27.353775 30872 whitelist_watcher.cpp:77] No whitelist given
> I0912 05:40:27.356655 30873 master.cpp:2163] Elected as the leading master!
> I0912 05:40:27.356675 30873 master.cpp:1702] Recovering from registrar
> I0912 05:40:27.356868 30874 registrar.cpp:347] Recovering registrar
> I0912 05:40:27.357390 30874 registrar.cpp:391] Successfully fetched the
> registry (0B) in 494080ns
> I0912 05:40:27.357483 30874 registrar.cpp:495] Applied 1 operations in
> 31911ns; attempting to update the registry
> I0912 05:40:27.357919 30874 registrar.cpp:552] Successfully updated the
> registry in 391936ns
> I0912 05:40:27.358018 30874 registrar.cpp:424] Successfully recovered
> registrar
> I0912 05:40:27.358413 30868 master.cpp:1801] Recovered 0 agents from the
> registry (129B); allowing 10mins for agents to re-register
> I0912 05:40:27.358482 30867 hierarchical.cpp:209] Skipping recovery of
> hierarchical allocator: nothing to recover
> W0912 05:40:27.364050 30860 process.cpp:3196] Attempted to spawn already
> running process [email protected]:54639
> I0912 05:40:27.365372 30860 containerizer.cpp:246] Using isolation:
> posix/cpu,posix/mem,filesystem/posix,network/cni,environment_secret
> W0912 05:40:27.365909 30860 backend.cpp:76] Failed to create 'aufs' backend:
> AufsBackend requires root privileges
> W0912 05:40:27.366032 30860 backend.cpp:76] Failed to create 'bind' backend:
> BindBackend requires root privileges
> I0912 05:40:27.366077 30860 provisioner.cpp:255] Using default backend 'copy'
> I0912 05:40:27.368383 30860 cluster.cpp:448] Creating default 'local'
> authorizer
> I0912 05:40:27.370293 30869 slave.cpp:250] Mesos agent started on
> (466)@172.17.0.3:54639
> I0912 05:40:27.370338 30869 slave.cpp:251] Flags at startup: --acls=""
> --appc_simple_discovery_uri_prefix="http://"
> --appc_store_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/store/appc"
> --authenticate_http_readonly="true" --authenticate_http_readwrite="true"
> --authenticatee="crammd5" --authentication_backoff_factor="1secs"
> --authorizer="local" --cgroups_cpu_enable_pids_and_tids_count="false"
> --cgroups_enable_cfs="false" --cgroups_hierarchy="/sys/fs/cgroup"
> --cgroups_limit_swap="false" --cgroups_root="mesos"
> --container_disk_watch_interval="15secs" --containerizers="mesos"
> --credential="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/credential"
> --default_role="*" --disallow_sharing_agent_pid_namespace="false"
> --disk_watch_interval="1mins" --docker="docker" --docker_kill_orphans="true"
> --docker_registry="https://registry-1.docker.io" --docker_remove_delay="6hrs"
> --docker_socket="/var/run/docker.sock" --docker_stop_timeout="0ns"
> --docker_store_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/store/docker"
> --docker_volume_checkpoint_dir="/var/run/mesos/isolators/docker/volume"
> --enforce_container_disk_quota="false"
> --executor_registration_timeout="1mins"
> --executor_reregistration_timeout="2secs"
> --executor_shutdown_grace_period="5secs"
> --fetcher_cache_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/fetch"
> --fetcher_cache_size="2GB" --frameworks_home="" --gc_delay="1weeks"
> --gc_disk_headroom="0.1" --hadoop_home="" --help="false"
> --hostname_lookup="true" --http_command_executor="false"
> --http_credentials="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/http_credentials"
> --http_heartbeat_interval="30secs" --initialize_driver_logging="true"
> --isolation="posix/cpu,posix/mem" --launcher="posix"
> --launcher_dir="/mesos/build/src" --logbufsecs="0" --logging_level="INFO"
> --max_completed_executors_per_framework="150"
> --oversubscribed_resources_interval="15secs" --perf_duration="10secs"
> --perf_interval="1mins" --port="5051" --qos_correction_interval_min="0ns"
> --quiet="false" --recover="reconnect" --recovery_timeout="15mins"
> --registration_backoff_factor="10ms" --resources="disk(*):1024"
> --revocable_cpu_low_priority="true"
> --runtime_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl"
> --sandbox_directory="/mnt/mesos/sandbox" --strict="true"
> --switch_user="true" --systemd_enable_support="true"
> --systemd_runtime_directory="/run/systemd/system" --version="false"
> --work_dir="/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_PsL9pN"
> I0912 05:40:27.371112 30869 credentials.hpp:86] Loading credential for
> authentication from
> '/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/credential'
> I0912 05:40:27.385258 30869 slave.cpp:283] Agent using credential for:
> test-principal
> I0912 05:40:27.385282 30869 credentials.hpp:37] Loading credentials for
> authentication from
> '/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_5fHlSl/http_credentials'
> I0912 05:40:27.385558 30869 http.cpp:1026] Creating default 'basic' HTTP
> authenticator for realm 'mesos-agent-readonly'
> I0912 05:40:27.385725 30869 http.cpp:1026] Creating default 'basic' HTTP
> authenticator for realm 'mesos-agent-readwrite'
> I0912 05:40:27.387053 30869 slave.cpp:565] Agent resources:
> [{"name":"disk","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"cpus","scalar":{"value":16.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":47270.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}]
> I0912 05:40:27.387289 30869 slave.cpp:573] Agent attributes: [ ]
> I0912 05:40:27.387310 30869 slave.cpp:582] Agent hostname: 6aa774430302
> I0912 05:40:27.387544 30865 status_update_manager.cpp:177] Pausing sending
> status updates
> I0912 05:40:27.388907 30875 state.cpp:64] Recovering state from
> '/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_PsL9pN/meta'
> I0912 05:40:27.389266 30862 status_update_manager.cpp:203] Recovering status
> update manager
> I0912 05:40:27.389451 30874 containerizer.cpp:609] Recovering containerizer
> I0912 05:40:27.390908 30875 provisioner.cpp:416] Provisioner recovery complete
> I0912 05:40:27.391261 30863 slave.cpp:6295] Finished recovery
> I0912 05:40:27.391703 30863 slave.cpp:6477] Querying resource estimator for
> oversubscribable resources
> I0912 05:40:27.392042 30864 status_update_manager.cpp:177] Pausing sending
> status updates
> I0912 05:40:27.392040 30872 slave.cpp:971] New master detected at
> [email protected]:54639
> I0912 05:40:27.392168 30872 slave.cpp:1006] Detecting new master
> I0912 05:40:27.392290 30872 slave.cpp:6491] Received oversubscribable
> resources {} from the resource estimator
> I0912 05:40:27.393498 30868 slave.cpp:1033] Authenticating with master
> [email protected]:54639
> I0912 05:40:27.393575 30868 slave.cpp:1044] Using default CRAM-MD5
> authenticatee
> I0912 05:40:27.393834 30867 authenticatee.cpp:121] Creating new client SASL
> connection
> I0912 05:40:27.394254 30867 master.cpp:7832] Authenticating
> slave(466)@172.17.0.3:54639
> I0912 05:40:27.394435 30870 authenticator.cpp:414] Starting authentication
> session for crammd5-authenticatee(954)@172.17.0.3:54639
> I0912 05:40:27.394685 30876 authenticator.cpp:98] Creating new server SASL
> connection
> I0912 05:40:27.394943 30869 authenticatee.cpp:213] Received SASL
> authentication mechanisms: CRAM-MD5
> I0912 05:40:27.394976 30869 authenticatee.cpp:239] Attempting to authenticate
> with mechanism 'CRAM-MD5'
> I0912 05:40:27.395109 30871 authenticator.cpp:204] Received SASL
> authentication start
> I0912 05:40:27.395171 30871 authenticator.cpp:326] Authentication requires
> more steps
> I0912 05:40:27.395287 30862 authenticatee.cpp:259] Received SASL
> authentication step
> I0912 05:40:27.395421 30862 authenticator.cpp:232] Received SASL
> authentication step
> I0912 05:40:27.395453 30862 auxprop.cpp:109] Request to lookup properties for
> user: 'test-principal' realm: '6aa774430302' server FQDN: '6aa774430302'
> SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
> SASL_AUXPROP_AUTHZID: false
> I0912 05:40:27.395467 30862 auxprop.cpp:181] Looking up auxiliary property
> '*userPassword'
> I0912 05:40:27.395514 30862 auxprop.cpp:181] Looking up auxiliary property
> '*cmusaslsecretCRAM-MD5'
> I0912 05:40:27.395539 30862 auxprop.cpp:109] Request to lookup properties for
> user: 'test-principal' realm: '6aa774430302' server FQDN: '6aa774430302'
> SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
> SASL_AUXPROP_AUTHZID: true
> I0912 05:40:27.395552 30862 auxprop.cpp:131] Skipping auxiliary property
> '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0912 05:40:27.395565 30862 auxprop.cpp:131] Skipping auxiliary property
> '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0912 05:40:27.395588 30862 authenticator.cpp:318] Authentication success
> I0912 05:40:27.395728 30861 authenticatee.cpp:299] Authentication success
> I0912 05:40:27.395784 30863 master.cpp:7862] Successfully authenticated
> principal 'test-principal' at slave(466)@172.17.0.3:54639
> I0912 05:40:27.395830 30865 authenticator.cpp:432] Authentication session
> cleanup for crammd5-authenticatee(954)@172.17.0.3:54639
> I0912 05:40:27.396013 30873 slave.cpp:1128] Successfully authenticated with
> master [email protected]:54639
> I0912 05:40:27.396206 30873 slave.cpp:1607] Will retry registration in
> 10.142802ms if necessary
> I0912 05:40:27.396468 30874 master.cpp:5714] Received register agent message
> from slave(466)@172.17.0.3:54639 (6aa774430302)
> I0912 05:40:27.396510 30874 master.cpp:3803] Authorizing agent with principal
> 'test-principal'
> I0912 05:40:27.396941 30867 master.cpp:5774] Authorized registration of agent
> at slave(466)@172.17.0.3:54639 (6aa774430302)
> I0912 05:40:27.397068 30867 master.cpp:5867] Registering agent at
> slave(466)@172.17.0.3:54639 (6aa774430302) with id
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0
> I0912 05:40:27.397487 30876 registrar.cpp:495] Applied 1 operations in
> 76281ns; attempting to update the registry
> I0912 05:40:27.398087 30876 registrar.cpp:552] Successfully updated the
> registry in 534016ns
> I0912 05:40:27.398342 30861 master.cpp:5914] Admitted agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302)
> I0912 05:40:27.398921 30863 slave.cpp:4970] Received ping from
> slave-observer(459)@172.17.0.3:54639
> I0912 05:40:27.398897 30861 master.cpp:5945] Registered agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302) with
> [{"name":"disk","scalar":{"value":1024.0},"type":"SCALAR"},{"name":"cpus","scalar":{"value":16.0},"type":"SCALAR"},{"name":"mem","scalar":{"value":47270.0},"type":"SCALAR"},{"name":"ports","ranges":{"range":[{"begin":31000,"end":32000}]},"type":"RANGES"}]
> I0912 05:40:27.399139 30863 slave.cpp:1174] Registered with master
> [email protected]:54639; given agent ID
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0
> I0912 05:40:27.399278 30872 hierarchical.cpp:593] Added agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 (6aa774430302) with disk:1024;
> cpus:16; mem:47270; ports:[31000-32000] (allocated: {})
> I0912 05:40:27.399333 30865 status_update_manager.cpp:184] Resuming sending
> status updates
> I0912 05:40:27.399612 30872 hierarchical.cpp:1925] No allocations performed
> I0912 05:40:27.399689 30872 hierarchical.cpp:1468] Performed allocation for 1
> agents in 218878ns
> I0912 05:40:27.402381 30875 process.cpp:3927] Handling HTTP event for process
> 'master' with path: '/master/reserve'
> I0912 05:40:27.403935 30870 http.cpp:1166] HTTP POST for /master/reserve from
> 172.17.0.3:38703
> I0912 05:40:27.404425 30870 master.cpp:3588] Authorizing principal
> 'test-principal' to reserve resources
> '[{"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]'
> I0912 05:40:27.404688 30872 hierarchical.cpp:1925] No allocations performed
> I0912 05:40:27.404744 30872 hierarchical.cpp:1468] Performed allocation for 1
> agents in 164212ns
> I0912 05:40:27.407155 30876 master.cpp:9105] Sending updated checkpointed
> resources disk(reservations: [(DYNAMIC,role1,test-principal)]):512 to agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302)
> I0912 05:40:27.410841 30871 process.cpp:3927] Handling HTTP event for process
> 'master' with path: '/master/create-volumes'
> I0912 05:40:27.412400 30873 http.cpp:1166] HTTP POST for
> /master/create-volumes from 172.17.0.3:38704
> I0912 05:40:27.413215 30873 master.cpp:3723] Authorizing principal
> 'test-principal' to create volumes
> '[{"disk":{"persistence":{"id":"id1","principal":"test-principal"},"volume":{"container_path":"volume_path","mode":"RW"}},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"}]'
> I0912 05:40:27.414523 30863 slave.cpp:1194] Checkpointing SlaveInfo to
> '/tmp/PersistentVolumeEndpointsTest_EndpointCreateThenOfferRemove_PsL9pN/meta/slaves/2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0/slave.info'
> I0912 05:40:27.414891 30863 slave.cpp:1243] Forwarding total oversubscribed
> resources {}
> I0912 05:40:27.415109 30867 master.cpp:6683] Received update of agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302) with total oversubscribed resources {}
> I0912 05:40:27.415563 30863 slave.cpp:3503] Updated checkpointed resources
> from {} to disk(reservations: [(DYNAMIC,role1,test-principal)]):512
> I0912 05:40:27.415956 30869 master.cpp:9105] Sending updated checkpointed
> resources disk(reservations: [(DYNAMIC,role1,test-principal)]):511;
> disk(reservations: [(DYNAMIC,role1,test-principal)])[id1:volume_path]:1 to
> agent 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302)
> I0912 05:40:27.416842 30872 hierarchical.cpp:660] Agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 (6aa774430302) updated with total
> resources disk:512; cpus:16; mem:47270; ports:[31000-32000];
> disk(reservations: [(DYNAMIC,role1,test-principal)]):512
> I0912 05:40:27.417115 30872 hierarchical.cpp:1925] No allocations performed
> I0912 05:40:27.417158 30872 hierarchical.cpp:1468] Performed allocation for 1
> agents in 154796ns
> W0912 05:40:27.417163 30860 process.cpp:3196] Attempted to spawn already
> running process [email protected]:54639
> I0912 05:40:27.418258 30860 sched.cpp:232] Version: 1.4.0
> I0912 05:40:27.418874 30876 sched.cpp:336] New master detected at
> [email protected]:54639
> I0912 05:40:27.418973 30876 sched.cpp:407] Authenticating with master
> [email protected]:54639
> I0912 05:40:27.418992 30876 sched.cpp:414] Using default CRAM-MD5
> authenticatee
> I0912 05:40:27.419255 30868 authenticatee.cpp:121] Creating new client SASL
> connection
> I0912 05:40:27.419570 30868 master.cpp:7832] Authenticating
> [email protected]:54639
> I0912 05:40:27.419756 30861 authenticator.cpp:414] Starting authentication
> session for crammd5-authenticatee(955)@172.17.0.3:54639
> I0912 05:40:27.419981 30866 authenticator.cpp:98] Creating new server SASL
> connection
> I0912 05:40:27.420142 30873 authenticatee.cpp:213] Received SASL
> authentication mechanisms: CRAM-MD5
> I0912 05:40:27.420168 30873 authenticatee.cpp:239] Attempting to authenticate
> with mechanism 'CRAM-MD5'
> I0912 05:40:27.420254 30872 authenticator.cpp:204] Received SASL
> authentication start
> I0912 05:40:27.420313 30872 authenticator.cpp:326] Authentication requires
> more steps
> I0912 05:40:27.420420 30874 authenticatee.cpp:259] Received SASL
> authentication step
> I0912 05:40:27.420528 30870 authenticator.cpp:232] Received SASL
> authentication step
> I0912 05:40:27.420552 30870 auxprop.cpp:109] Request to lookup properties for
> user: 'test-principal' realm: '6aa774430302' server FQDN: '6aa774430302'
> SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
> SASL_AUXPROP_AUTHZID: false
> I0912 05:40:27.420563 30870 auxprop.cpp:181] Looking up auxiliary property
> '*userPassword'
> I0912 05:40:27.420598 30870 auxprop.cpp:181] Looking up auxiliary property
> '*cmusaslsecretCRAM-MD5'
> I0912 05:40:27.420614 30870 auxprop.cpp:109] Request to lookup properties for
> user: 'test-principal' realm: '6aa774430302' server FQDN: '6aa774430302'
> SASL_AUXPROP_VERIFY_AGAINST_HASH: false SASL_AUXPROP_OVERRIDE: false
> SASL_AUXPROP_AUTHZID: true
> I0912 05:40:27.420622 30870 auxprop.cpp:131] Skipping auxiliary property
> '*userPassword' since SASL_AUXPROP_AUTHZID == true
> I0912 05:40:27.420631 30870 auxprop.cpp:131] Skipping auxiliary property
> '*cmusaslsecretCRAM-MD5' since SASL_AUXPROP_AUTHZID == true
> I0912 05:40:27.420647 30870 authenticator.cpp:318] Authentication success
> I0912 05:40:27.420723 30865 authenticatee.cpp:299] Authentication success
> I0912 05:40:27.420791 30863 master.cpp:7862] Successfully authenticated
> principal 'test-principal' at
> [email protected]:54639
> I0912 05:40:27.420835 30865 authenticator.cpp:432] Authentication session
> cleanup for crammd5-authenticatee(955)@172.17.0.3:54639
> I0912 05:40:27.420963 30871 sched.cpp:513] Successfully authenticated with
> master [email protected]:54639
> I0912 05:40:27.420979 30871 sched.cpp:836] Sending SUBSCRIBE call to
> [email protected]:54639
> I0912 05:40:27.421097 30871 sched.cpp:869] Will retry registration in
> 1.648431276secs if necessary
> I0912 05:40:27.421262 30862 master.cpp:2894] Received SUBSCRIBE call for
> framework 'default' at
> [email protected]:54639
> I0912 05:40:27.421283 30862 master.cpp:2228] Authorizing framework principal
> 'test-principal' to receive offers for roles '{ role1 }'
> I0912 05:40:27.421728 30868 master.cpp:2974] Subscribing framework default
> with checkpointing disabled and capabilities [ RESERVATION_REFINEMENT ]
> I0912 05:40:27.422307 30873 sched.cpp:759] Framework registered with
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000
> I0912 05:40:27.422361 30873 sched.cpp:773] Scheduler::registered took 36801ns
> I0912 05:40:27.422507 30866 hierarchical.cpp:303] Added framework
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000
> I0912 05:40:27.423943 30866 hierarchical.cpp:2015] No inverse offers to send
> out!
> I0912 05:40:27.423990 30866 hierarchical.cpp:1468] Performed allocation for 1
> agents in 1.383883ms
> I0912 05:40:27.424603 30870 master.cpp:7662] Sending 1 offers to framework
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000 (default) at
> [email protected]:54639
> I0912 05:40:27.425202 30875 sched.cpp:933] Scheduler::resourceOffers took
> 151124ns
> /mesos/src/tests/persistent_volume_endpoints_tests.cpp:1729: Failure
> Value of: Resources(offer.resources()).contains( allocatedResources(volume,
> frameworkInfo.role()))
> Actual: false
> Expected: true
> I0912 05:40:27.427381 30871 master.cpp:9159] Removing offer
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-O0
> I0912 05:40:27.427520 30871 master.cpp:4153] Processing ACCEPT call for
> offers: [ 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-O0 ] on agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302) for framework 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000
> (default) at [email protected]:54639
> I0912 05:40:27.427686 30871 master.cpp:3775] Authorizing principal
> 'test-principal' to destroy volumes
> '[{"allocation_info":{"role":"role1"},"disk":{"persistence":{"id":"id1","principal":"test-principal"},"volume":{"container_path":"volume_path","mode":"RW"}},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":1.0},"type":"SCALAR"}]'
> W0912 05:40:27.428877 30871 master.cpp:2313] Dropping DESTROY offer operation
> from framework 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000 (default) at
> [email protected]:54639: Invalid
> DESTROY Operation: Persistent volume does not exist
> I0912 05:40:27.430284 30870 hierarchical.cpp:1152] Recovered disk(allocated:
> role1):512; cpus(allocated: role1):16; mem(allocated: role1):47270;
> ports(allocated: role1):[31000-32000]; disk(allocated: role1)(reservations:
> [(DYNAMIC,role1,test-principal)]):512 (total: disk:512; cpus:16; mem:47270;
> ports:[31000-32000]; disk(reservations:
> [(DYNAMIC,role1,test-principal)]):512, allocated: {}) on agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 from framework
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000
> I0912 05:40:27.436583 30869 slave.cpp:3503] Updated checkpointed resources
> from disk(reservations: [(DYNAMIC,role1,test-principal)]):512 to
> disk(reservations: [(DYNAMIC,role1,test-principal)]):511; disk(reservations:
> [(DYNAMIC,role1,test-principal)])[id1:volume_path]:1
> I0912 05:40:27.457546 30864 hierarchical.cpp:2015] No inverse offers to send
> out!
> I0912 05:40:27.457602 30864 hierarchical.cpp:1468] Performed allocation for 1
> agents in 1.471076ms
> I0912 05:40:27.458061 30863 master.cpp:7662] Sending 1 offers to framework
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000 (default) at
> [email protected]:54639
> I0912 05:40:27.458436 30863 sched.cpp:933] Scheduler::resourceOffers took
> 91992ns
> I0912 05:40:27.460006 30872 master.cpp:9159] Removing offer
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-O1
> I0912 05:40:27.460094 30872 master.cpp:4153] Processing ACCEPT call for
> offers: [ 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-O1 ] on agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302) for framework 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000
> (default) at [email protected]:54639
> I0912 05:40:27.460188 30872 master.cpp:3656] Authorizing principal
> 'test-principal' to unreserve resources
> '[{"allocation_info":{"role":"role1"},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]'
> I0912 05:40:27.460947 30872 master.cpp:4511] Applying UNRESERVE operation for
> resources
> [{"allocation_info":{"role":"role1"},"name":"disk","reservations":[{"principal":"test-principal","role":"role1","type":"DYNAMIC"}],"scalar":{"value":512.0},"type":"SCALAR"}]
> from framework 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-0000 (default) at
> [email protected]:54639 to agent
> 2bd1e8eb-e314-4181-9ed3-d397ec1dbede-S0 at slave(466)@172.17.0.3:54639
> (6aa774430302)
> F0912 05:40:27.461275 30872 master.cpp:9855] CHECK_SOME(resources): Invalid
> UNRESERVE Operation: disk:512; cpus:16; mem:47270; ports:[31000-32000];
> disk(reservations: [(DYNAMIC,role1,test-principal)]):511; disk(reservations:
> [(DYNAMIC,role1,test-principal)])[id1:volume_path]:1 does not contain
> disk(reservations: [(DYNAMIC,role1,test-principal)]):512
> *** Check failure stack trace: ***
> @ 0x2b006f42aa53 google::LogMessage::SendToLog()
> @ 0x2b006f42aecf google::LogMessage::Flush()
> @ 0x2b006f42e95d google::LogMessageFatal::~LogMessageFatal()
> @ 0x1b70b07 _CheckFatal::~_CheckFatal()
> @ 0x2b006aa7f221 mesos::internal::master::Slave::apply()
> @ 0x2b006aa659f5 mesos::internal::master::Master::_apply()
> @ 0x2b006aa5f7c8 mesos::internal::master::Master::_accept()
> @ 0x2b006ab1d9d7
> _ZZN7process8dispatchIN5mesos8internal6master6MasterERKNS1_11FrameworkIDERKNS1_7SlaveIDERKNS1_9ResourcesERKNS1_9scheduler11Call_AcceptERKNS_6FutureISt4listINSI_IbEESaISK_EEEES7_SA_SD_SH_SP_EEvRKNS_3PIDIT_EEMSR_FvT0_T1_T2_T3_T4_EOT5_OT6_OT7_OT8_OT9_ENKUlRS5_RS8_RSB_RSF_RSN_PNS_11ProcessBaseEE_clES1C_S1D_S1E_S1F_S1G_S1I_
> I0912 05:40:27.508661 30864 hierarchical.cpp:1925] No allocations performed
> I0912 05:40:27.508711 30864 hierarchical.cpp:2015] No inverse offers to send
> out!
> I0912 05:40:27.508744 30864 hierarchical.cpp:1468] Performed allocation for 1
> agents in 243976ns
> @ 0x2b006ab1d851
> _ZNSt5_BindIFZN7process8dispatchIN5mesos8internal6master6MasterERKNS2_11FrameworkIDERKNS2_7SlaveIDERKNS2_9ResourcesERKNS2_9scheduler11Call_AcceptERKNS0_6FutureISt4listINSJ_IbEESaISL_EEEES8_SB_SE_SI_SQ_EEvRKNS0_3PIDIT_EEMSS_FvT0_T1_T2_T3_T4_EOT5_OT6_OT7_OT8_OT9_EUlRS6_RS9_RSC_RSG_RSO_PNS0_11ProcessBaseEE_S6_S9_SC_SG_SO_St12_PlaceholderILi1EEEE6__callIvJOS1J_EJLm0ELm1ELm2ELm3ELm4ELm5EEEESS_OSt5tupleIJDpT0_EESt12_Index_tupleIJXspT1_EEE
> @ 0x2b006ab1d71d
> _ZNSt5_BindIFZN7process8dispatchIN5mesos8internal6master6MasterERKNS2_11FrameworkIDERKNS2_7SlaveIDERKNS2_9ResourcesERKNS2_9scheduler11Call_AcceptERKNS0_6FutureISt4listINSJ_IbEESaISL_EEEES8_SB_SE_SI_SQ_EEvRKNS0_3PIDIT_EEMSS_FvT0_T1_T2_T3_T4_EOT5_OT6_OT7_OT8_OT9_EUlRS6_RS9_RSC_RSG_RSO_PNS0_11ProcessBaseEE_S6_S9_SC_SG_SO_St12_PlaceholderILi1EEEEclIJS1J_EvEESW_DpOT_
> @ 0x2b006ab1d1f2
> _ZNSt17_Function_handlerIFvPN7process11ProcessBaseEESt5_BindIFZNS0_8dispatchIN5mesos8internal6master6MasterERKNS6_11FrameworkIDERKNS6_7SlaveIDERKNS6_9ResourcesERKNS6_9scheduler11Call_AcceptERKNS0_6FutureISt4listINSN_IbEESaISP_EEEESC_SF_SI_SM_SU_EEvRKNS0_3PIDIT_EEMSW_FvT0_T1_T2_T3_T4_EOT5_OT6_OT7_OT8_OT9_EUlRSA_RSD_RSG_RSK_RSS_S2_E_SA_SD_SG_SK_SS_St12_PlaceholderILi1EEEEE9_M_invokeERKSt9_Any_dataS2_
> @ 0x2b006cfde9f8 std::function<>::operator()()
> @ 0x2b006cfc3ad4 process::ProcessBase::visit()
> @ 0x2b006d065c1e process::DispatchEvent::visit()
> @ 0x1bb32a1 process::ProcessBase::serve()
> @ 0x2b006cfc170b process::ProcessManager::resume()
> @ 0x2b006cfd03f1
> process::ProcessManager::init_threads()::$_8::operator()()
> @ 0x2b006cfd0335
> _ZNSt12_Bind_simpleIFZN7process14ProcessManager12init_threadsEvE3$_8vEE9_M_invokeIJEEEvSt12_Index_tupleIJXspT_EEE
> @ 0x2b006cfd0305 std::_Bind_simple<>::operator()()
> @ 0x2b006cfd02dc std::thread::_Impl<>::_M_run()
> @ 0x2b0071089a60 (unknown)
> @ 0x2b0070dc2184 start_thread
> @ 0x2b00718f5ffd (unknown)
> make[3]: *** [CMakeFiles/check] Aborted
> make[3]: Leaving directory `/mesos/build'
> make[2]: *** [CMakeFiles/check.dir/all] Error 2
> make[2]: Leaving directory `/mesos/build'
> make[1]: *** [CMakeFiles/check.dir/rule] Error 2
> make[1]: Leaving directory `/mesos/build'
> make: *** [check] Error 2
> {code}
> Looks a bit different than the flakiness observed in MESOS-6086
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)