> On May 5, 2016, 9:29 p.m., Jie Yu wrote:
> > This test failed on my machine:
> > 
> > ```
> > E0505 14:28:48.309273 42478 slave.cpp:3995] Container 
> > '33dc5d83-125f-4da2-8c69-cba76d95955b' for executor 
> > '0e6076e9-9cc3-4319-aacd-6b6bb8651e9b' of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 failed to start: Collect failed: 
> > Unable to parse the IP address  for the container: Unexpected number of '/' 
> > detected: 1
> > I0505 14:28:48.309643 42514 containerizer.cpp:1495] Destroying container 
> > '33dc5d83-125f-4da2-8c69-cba76d95955b'
> > I0505 14:28:48.315160 42487 cgroups.cpp:2676] Freezing cgroup 
> > /sys/fs/cgroup/freezer/mesos/33dc5d83-125f-4da2-8c69-cba76d95955b
> > Failed to synchronize with agent (it's probably exited)
> > I0505 14:28:48.406708 42472 containerizer.cpp:1731] Executor for container 
> > '33dc5d83-125f-4da2-8c69-cba76d95955b' has exited
> > I0505 14:28:48.422672 42505 cgroups.cpp:1409] Successfully froze cgroup 
> > /sys/fs/cgroup/freezer/mesos/33dc5d83-125f-4da2-8c69-cba76d95955b after 
> > 107.395072ms
> > I0505 14:28:48.426668 42507 cgroups.cpp:2694] Thawing cgroup 
> > /sys/fs/cgroup/freezer/mesos/33dc5d83-125f-4da2-8c69-cba76d95955b
> > I0505 14:28:48.431022 42510 cgroups.cpp:1438] Successfully thawed cgroup 
> > /sys/fs/cgroup/freezer/mesos/33dc5d83-125f-4da2-8c69-cba76d95955b after 
> > 4.254208ms
> > I0505 14:28:48.509074 42484 cni.cpp:1131] Unmounted the network namespace 
> > handle 
> > '/run/mesos/isolators/network/cni/33dc5d83-125f-4da2-8c69-cba76d95955b/ns' 
> > for container 33dc5d83-125f-4da2-8c69-cba76d95955b
> > I0505 14:28:48.509239 42484 cni.cpp:1142] Removed the container directory 
> > '/run/mesos/isolators/network/cni/33dc5d83-125f-4da2-8c69-cba76d95955b'
> > I0505 14:28:48.512855 42499 provisioner.cpp:338] Destroying container 
> > rootfs at 
> > '/tmp/CniIsolatorTest_ROOT_INTERNET_CURL_LaunchCommandTask_6wrXpg/provisioner/containers/33dc5d83-125f-4da2-8c69-cba76d95955b/backends/copy/rootfses/5bf9ed6f-0918-46d8-94f9-d20e8a03da9f'
> >  for container 33dc5d83-125f-4da2-8c69-cba76d95955b
> > I0505 14:28:48.610003 42474 slave.cpp:4108] Executor 
> > '0e6076e9-9cc3-4319-aacd-6b6bb8651e9b' of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 exited with status 1
> > I0505 14:28:48.613152 42474 slave.cpp:3221] Handling status update 
> > TASK_FAILED (UUID: 07b0c1ee-ef56-41e2-be69-2365427e370a) for task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 from @0.0.0.0:0
> > W0505 14:28:48.615442 42490 containerizer.cpp:1337] Ignoring update for 
> > unknown container: 33dc5d83-125f-4da2-8c69-cba76d95955b
> > I0505 14:28:48.616350 42510 status_update_manager.cpp:320] Received status 
> > update TASK_FAILED (UUID: 07b0c1ee-ef56-41e2-be69-2365427e370a) for task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000
> > I0505 14:28:48.617668 42504 slave.cpp:3619] Forwarding the update 
> > TASK_FAILED (UUID: 07b0c1ee-ef56-41e2-be69-2365427e370a) for task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 to master@10.0.49.2:39069
> > I0505 14:28:48.618381 42470 master.cpp:5094] Status update TASK_FAILED 
> > (UUID: 07b0c1ee-ef56-41e2-be69-2365427e370a) for task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 from agent 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-S0 at slave(1)@10.0.49.2:39069 
> > (core-dev)
> > I0505 14:28:48.618508 42470 master.cpp:5142] Forwarding status update 
> > TASK_FAILED (UUID: 07b0c1ee-ef56-41e2-be69-2365427e370a) for task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000
> > I0505 14:28:48.618823 42470 master.cpp:6750] Updating the state of task 
> > 0e6076e9-9cc3-4319-aacd-6b6bb8651e9b of framework 
> > 9ecf5fd8-ad54-4973-9688-bcc6a8092c92-0000 (latest state: TASK_FAILED, 
> > status update state: TASK_FAILED)
> > ../../../../mesos/src/tests/containerizer/cni_isolator_tests.cpp:164: 
> > Failure
> > Value of: statusRunning->state()
> >   Actual: TASK_FAILED
> > Expected: TASK_RUNNING
> > ```

`[jie@core-dev build]$ hostname -i
fe80::ec4:7aff:fe6d:1f02%enp6s0f0 fe80::42:62ff:fe3e:8ea1%docker0 
fe80::ec50:6eff:fe55:5124%vethf850a68 10.0.49.2 172.17.0.1`


- Jie


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


On May 5, 2016, 2:29 p.m., Qian Zhang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46097/
> -----------------------------------------------------------
> 
> (Updated May 5, 2016, 2:29 p.m.)
> 
> 
> Review request for mesos, Avinash sridharan and Jie Yu.
> 
> 
> Bugs: MESOS-5167
>     https://issues.apache.org/jira/browse/MESOS-5167
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added the test "CniIsolatorTest.ROOT_LaunchCommandTask".
> 
> 
> Diffs
> -----
> 
>   src/Makefile.am 710e1644e2f0a8e9b87cc997b2211291f4e055fd 
>   src/tests/containerizer/cni_isolator_tests.cpp PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/46097/diff/
> 
> 
> Testing
> -------
> 
> [ RUN      ] CniIsolatorTest.ROOT_LaunchCommandTask
> + /home/stack/workspace/mesos/build/src/mesos-containerizer mount 
> --help=false --operation=make-rslave --path=/
> + grep+  -E /tmp/CniIsolatorTest_ROOT_LaunchCommandTask_HRK4Dz/.+ 
> /proc/self/mountinfo
> + grepcut -v -d  -f5
>  d06b117d-518b-41e2-b8e0-62a12083773c
> + xargs --no-run-if-empty umount -l
> + mount -n --rbind 
> /tmp/CniIsolatorTest_ROOT_LaunchCommandTask_HRK4Dz/provisioner/containers/d06b117d-518b-41e2-b8e0-62a12083773c/backends/copy/rootfses/7ea27011-cd3a-43b0-8301-b0b94d9f9b47
>  
> /tmp/CniIsolatorTest_ROOT_LaunchCommandTask_HRK4Dz/slaves/18dea042-5bb5-4336-8bc8-358ed1fbf6dd-S0/frameworks/18dea042-5bb5-4336-8bc8-358ed1fbf6dd-0000/executors/60e6d35d-6d33-47ae-9c23-d2e5c913c892/runs/d06b117d-518b-41e2-b8e0-62a12083773c/.rootfs
> I0420 22:26:00.924844  9305 exec.cpp:150] Version: 0.29.0
> I0420 22:26:00.942319  9375 exec.cpp:225] Executor registered on agent 
> 18dea042-5bb5-4336-8bc8-358ed1fbf6dd-S0
> Registered executor on mesos
> Starting task 60e6d35d-6d33-47ae-9c23-d2e5c913c892
> Forked command at 9382
> sh -c 'ls /'
> bin      dev      etc      home     lib      linuxrc  media    mnt      proc  
>    root     run      sbin     sys      tmp      usr      var
> Command exited with status 0 (pid: 9382)
> I0420 22:26:01.098331  9380 exec.cpp:399] Executor asked to shutdown
> [       OK ] CniIsolatorTest.ROOT_LaunchCommandTask (42603 ms)
> 
> 
> Thanks,
> 
> Qian Zhang
> 
>

Reply via email to