mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos ReviewBot <revi...@mesos.apache.org>
Subject Re: Review Request 37989: Enhanced log message when launching mesos docker executor.
Date Tue, 31 May 2016 03:12:38 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37989/#review135579
-----------------------------------------------------------



Patch looks great!

Reviews applied: [37989]

Passed command: export OS='ubuntu:14.04' BUILDTOOL='autotools' COMPILER='gcc' CONFIGURATION='--verbose'
ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On May 31, 2016, 12:09 a.m., Guangya Liu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37989/
> -----------------------------------------------------------
> 
> (Updated May 31, 2016, 12:09 a.m.)
> 
> 
> Review request for mesos, Gilbert Song, haosdent huang, Jie Yu, and Joseph Wu.
> 
> 
> Bugs: MESOS-5348
>     https://issues.apache.org/jira/browse/MESOS-5348
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Enhanced log message when launching mesos docker executor.
> 
> 
> Diffs
> -----
> 
>   src/docker/docker.cpp 19cf424dfd5748ae66a7023840aa2b0652e8f2c0 
>   src/slave/containerizer/docker.cpp 52caf9fe34b1a78efbec2a82d03c04a066690fad 
> 
> Diff: https://reviews.apache.org/r/37989/diff/
> 
> 
> Testing
> -------
> 
> I0511 11:26:18.176844 29178 docker.cpp:1236] Launching 'mesos-docker-executor' with flags
'--container="mesos-7f581417-e295-474f-b038-3900ee0479dc-S1.b19cbf40-d69f-4507-9019-dbe61b9eff6b"
--docker="docker" --docker_socket="/var/run/docker.sock" --help="false" --initialize_driver_logging="true"
--launcher_dir="/root/src/mesos/m1/mesos/build/src" --logbufsecs="0" --logging_level="INFO"
--mapped_directory="/mnt/mesos/sandbox" --quiet="false" --sandbox_directory="/tmp/mesos/slaves/7f581417-e295-474f-b038-3900ee0479dc-S1/frameworks/7f581417-e295-474f-b038-3900ee0479dc-0001/executors/test_mesos/runs/b19cbf40-d69f-4507-9019-dbe61b9eff6b"
--stop_timeout="0ns"'
> 
> Start agent without VLOG_v=1, once the docker container is started, check sandbox log:
> root@mesos002:/tmp/mesos/slaves/fb930730-03f9-4027-96cb-81d612e8e35f-S0/frameworks/fb930730-03f9-4027-96cb-81d612e8e35f-0000/executors/test/runs/latest#
cat stderr
> I0526 22:25:59.805173 11422 logging.cpp:195] Logging to STDERR
> I0526 22:25:59.808446 11422 process.cpp:1057] libprocess is initialized on 192.168.56.12:36164
with 8 worker threads
> I0526 22:25:59.809834 11422 exec.cpp:150] Version: 0.29.0
> I0526 22:25:59.813784 11445 exec.cpp:200] Executor started at: executor(1)@192.168.56.12:36164
with pid 11422
> I0526 22:25:59.818483 11446 exec.cpp:225] Executor registered on agent fb930730-03f9-4027-96cb-81d612e8e35f-S0
> I0526 22:25:59.819725 11446 exec.cpp:237] Executor::registered took 272279ns
> I0526 22:25:59.820055 11446 exec.cpp:312] Executor asked to run task 'test'
> I0526 22:25:59.820132 11446 exec.cpp:321] Executor::launchTask took 55859ns
> I0526 22:25:59.820344 11446 docker.cpp:677] Running docker -H unix:///var/run/docker.sock
run --cpu-shares 1024 --memory 134217728 -e MESOS_SANDBOX=/mnt/mesos/sandbox -e MESOS_CONTAINER_NAME=mesos-fb930730-03f9-4027-96cb-81d612e8e35f-S0.7accfa4d-909b-4e46-bdf7-6bcdf505f6d6
-v /tmp/mesos/slaves/fb930730-03f9-4027-96cb-81d612e8e35f-S0/frameworks/fb930730-03f9-4027-96cb-81d612e8e35f-0000/executors/test/runs/7accfa4d-909b-4e46-bdf7-6bcdf505f6d6:/mnt/mesos/sandbox
--net host --entrypoint /bin/sh --name mesos-fb930730-03f9-4027-96cb-81d612e8e35f-S0.7accfa4d-909b-4e46-bdf7-6bcdf505f6d6
ubuntu:14.04 -c sleep 100000
> I0526 22:25:59.822684 11446 docker.cpp:824] Running docker -H unix:///var/run/docker.sock
inspect mesos-fb930730-03f9-4027-96cb-81d612e8e35f-S0.7accfa4d-909b-4e46-bdf7-6bcdf505f6d6
> WARNING: Your kernel does not support swap limit capabilities, memory limited without
swap.
> I0526 22:25:59.924623 11445 docker.cpp:871] Retrying inspect with non-zero status code.
cmd: 'docker -H unix:///var/run/docker.sock inspect mesos-fb930730-03f9-4027-96cb-81d612e8e35f-S0.7accfa4d-909b-4e46-bdf7-6bcdf505f6d6',
interval: 500ms
> I0526 22:26:00.425278 11449 docker.cpp:824] Running docker -H unix:///var/run/docker.sock
inspect mesos-fb930730-03f9-4027-96cb-81d612e8e35f-S0.7accfa4d-909b-4e46-bdf7-6bcdf505f6d6
> I0526 22:26:00.544518 11443 exec.cpp:535] Executor sending status update TASK_RUNNING
(UUID: b686d7d1-110f-4f42-a392-b9ed9a854d31) for task test of framework fb930730-03f9-4027-96cb-81d612e8e35f-0000
> I0526 22:26:00.549468 11442 exec.cpp:358] Executor received status update acknowledgement
b686d7d1-110f-4f42-a392-b9ed9a854d31 for task test of framework fb930730-03f9-4027-96cb-81d612e8e35f-0000
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message