mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mesos Reviewbot Windows <revi...@mesos.apache.org>
Subject Re: Review Request 64226: Added a `ns::supported` convenience API.
Date Sat, 24 Feb 2018 02:27:13 GMT

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



FAIL: Some of the unit tests failed. Please check the relevant logs.

Reviews applied: `['64226']`

Failed command: `Start-MesosCITesting`

All the build artifacts available at: http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64226

Relevant logs:

- [stout-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64226/logs/stout-tests-stdout.log):

```
[ RUN      ] RmdirTest.SYMLINK_RemoveDirectoryWithSymbolicLinkTargetFile
[       OK ] RmdirTest.SYMLINK_RemoveDirectoryWithSymbolicLinkTargetFile (4 ms)
[ RUN      ] RmdirTest.RemoveDirectoryButPreserveRoot
[       OK ] RmdirTest.RemoveDirectoryButPreserveRoot (5 ms)
[----------] 11 tests from RmdirTest (49 ms total)

[----------] 1 test from SocketTests
[ RUN      ] SocketTests.InitSocket
[       OK ] SocketTests.InitSocket (1 ms)
[----------] 1 test from SocketTests (2 ms total)

[----------] 2 tests from StrerrorTest
[ RUN      ] StrerrorTest.ValidErrno
[       OK ] StrerrorTest.ValidErrno (0 ms)
[ RUN      ] StrerrorTest.InvalidErrno
[       OK ] StrerrorTest.InvalidErrno (0 ms)
[----------] 2 tests from StrerrorTest (2 ms total)

[----------] Global test environment tear-down
[==========] 273 tests from 46 test cases ran. (4138 ms total)
[  PASSED  ] 270 tests.
[  FAILED  ] 3 tests, listed below:
[  FAILED  ] OsTest.SYMLINK_Realpath
[  FAILED  ] FsTest.CreateDirectoryAtMaxPath
[  FAILED  ] FsTest.CreateDirectoryLongerThanMaxPath

 3 FAILED TESTS
  YOU HAVE 7 DISABLED TESTS

```

- [stout-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64226/logs/stout-tests-stderr.log):

```
'invalid.command' is not recognized as an internal or external command,
operable program or batch file.
Subcommand 'subcommand' is not available
Usage: command <subcommand> [OPTIONS]

Available subcommands:
    help
    subcommand2

Multiple subcommands have name 'subcommand'
```

- [mesos-tests-stdout.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64226/logs/mesos-tests-stdout.log):

```
[       OK ] Endpoint/SlaveEndpointTest.NoAuthorizer/2 (104 ms)
[----------] 9 tests from Endpoint/SlaveEndpointTest (941 ms total)

[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/0 (39 ms)
[ RUN      ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1
[       OK ] ContainerizerType/DefaultContainerDNSFlagTest.ValidateFlag/1 (42 ms)
[----------] 2 tests from ContainerizerType/DefaultContainerDNSFlagTest (83 ms total)

[----------] 1 test from IsolationFlag/CpuIsolatorTest
[ RUN      ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0
[       OK ] IsolationFlag/CpuIsolatorTest.ROOT_UserCpuUsage/0 (2152 ms)
[----------] 1 test from IsolationFlag/CpuIsolatorTest (2174 ms total)

[----------] 1 test from IsolationFlag/MemoryIsolatorTest
[ RUN      ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0
[       OK ] IsolationFlag/MemoryIsolatorTest.ROOT_MemUsage/0 (2265 ms)
[----------] 1 test from IsolationFlag/MemoryIsolatorTest (2286 ms total)

[----------] Global test environment tear-down
[==========] 912 tests from 90 test cases ran. (401596 ms total)
[  PASSED  ] 911 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] FilesTest.DebugTest

 1 FAILED TEST
  YOU HAVE 211 DISABLED TESTS

```

- [mesos-tests-stderr.log](http://dcos-win.westus.cloudapp.azure.com/mesos-build/review/64226/logs/mesos-tests-stderr.log):

```
I0224 02:27:00.366788  6516 slave.cpp:3879] Shutting down framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000
I0224 02:27:00.366788 10236 master.cpp:10248] Updating the state of task 5320fa4b-5c3a-4a5a-82b6-77cf18849108
of framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000 (latest state: TASK_KILLED, status
update state: TASK_KILLED)
I0224 02:27:00.366788  6516 slave.cpp:6586] Shutting down executor '5320fa4b-5c3a-4a5a-82b6-77cf18849108'
of framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000 at executor(1)@10.3.1.5:55480
I0224 02:27:00.367931  6516 slave.cpp:922] Agent terminating
W0224 02:27:00.369148  6516 slave.cpp:3875] IgnoriI0224 02:26:59.718770  3544 exec.cpp:162]
Version: 1.6.0
I0224 02:26:59.751807  7352 exec.cpp:236] Executor registered on agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
I0224 02:26:59.755766  5084 executor.cpp:174] Received SUBSCRIBED event
I0224 02:26:59.759766  5084 executor.cpp:178] Subscribed executor on build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net
I0224 02:26:59.759766  5084 executor.cpp:174] Received LAUNCH event
I0224 02:26:59.765765  5084 executor.cpp:646] Starting task 5320fa4b-5c3a-4a5a-82b6-77cf18849108
I0224 02:26:59.845770  5084 executor.cpp:481] Running 'D:\DCOS\mesos\src\mesos-containerizer.exe
launch <POSSIBLY-SENSITIVE-DATA>'
I0224 02:27:00.337843  5084 executor.cpp:659] Forked command at 7908
I0224 02:27:00.367931  4596 exec.cpp:445] Executor asked to shutdown
I0224 02:27:00.369148  2924 executor.cpp:174] Received SHUTDOWN event
I0224 02:27:00.369148  2924 executor.cpp:756] Shutting down
I0224 02:27:00.369148  2924 executor.cpp:866] Sending SIGTERM to process tree at pid 7ng shutdown
framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000 because it is terminating
I0224 02:27:00.371160 10236 master.cpp:10347] Removing task 5320fa4b-5c3a-4a5a-82b6-77cf18849108
with resources cpus(allocated: *):4; mem(allocated: *):2048; disk(allocated: *):1024; ports(allocated:
*):[31000-32000] of framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000 on agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
at slave(396)@10.3.1.5:55458 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 02:27:00.373785 10236 master.cpp:1306] Agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
at slave(396)@10.3.1.5:55458 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
disconnected
I0224 02:27:00.373785  3644 containerizer.cpp:2338] Destroying container e1f5557e-5251-4d05-9466-0804f6e53493
in RUNNING state
I0224 02:27:00.373785 10236 master.cpp:3276] Disconnecting agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
at slave(396)@10.3.1.5:55458 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 02:27:00.373785  4280 hierarchical.cpp:344] Removed framework 6cf16fe6-43dd-460f-b8be-1c925d723cce-0000
I0224 02:27:00.373785  3644 containerizer.cpp:2952] Transitioning the state of container e1f5557e-5251-4d05-9466-0804f6e53493
from RUNNING to DESTROYING
I0224 02:27:00.374847 10236 master.cpp:3295] Deactivating agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
at slave(396)@10.3.1.5:55458 (build-srv-04.zq4gs31qjdiunm1ryi1452nvnh.dx.internal.cloudapp.net)
I0224 02:27:00.374847  6516 hierarchical.cpp:766] Agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
deactivated
I0224 02:27:00.374847  3644 launcher.cpp:156] Asked to destroy container e1f5557e-5251-4d05-9466-0804f6e53493
I0224 02:27:00.426904  7488 containerizer.cpp:2791] Container e1f5557e-5251-4d05-9466-0804f6e53493
has exited
I0224 02:27:00.455916  7232 master.cpp:1149] Master terminating
I0224 02:27:00.457916  4280 hierarchical.cpp:609] Removed agent 6cf16fe6-43dd-460f-b8be-1c925d723cce-S0
I0224 02:27:00.923763  7648 process.cpp:929] Stopped the socket accept loop
```

- Mesos Reviewbot Windows


On Dec. 1, 2017, 11:46 p.m., James Peach wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/64226/
> -----------------------------------------------------------
> 
> (Updated Dec. 1, 2017, 11:46 p.m.)
> 
> 
> Review request for mesos and Jie Yu.
> 
> 
> Bugs: MESOS-8284
>     https://issues.apache.org/jira/browse/MESOS-8284
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Added a `ns::supported` convenience API which directly expresses the
> intent to probe whether a specific Linux namespace is supported on
> the running kernel and takes care of kernel versioning special cases.
> 
> This API subsumes the previous usages of `ns::namespaces`, so that API
> is now used only retained as an internal helper.
> 
> 
> Diffs
> -----
> 
>   src/linux/ns.hpp 8b6406754340d5bc244047a9d8c9fad5cead8f4d 
>   src/linux/ns.cpp 49f8fca5884da7425f2fed5e8b598ef7cc4dc6e1 
>   src/slave/containerizer/mesos/isolators/namespaces/ipc.cpp 90773d7b237ac83899d161ab251b4eecda02b3b9

>   src/slave/containerizer/mesos/isolators/namespaces/pid.cpp d765929c2d5133ad5eac9f8a6c4d68ceda922eea

>   src/slave/containerizer/mesos/isolators/network/port_mapping.cpp d60052e9e1ccdfaaac6c0db6acfdae325cea6a9e

>   src/tests/containerizer/ns_tests.cpp 61adf8525b1df1a70d7fd9c747d2106630a7627d 
>   src/tests/containerizer/setns_test_helper.cpp 045caf684baf6e724fa5f99b6cc3feeb87817ba3

> 
> 
> Diff: https://reviews.apache.org/r/64226/diff/5/
> 
> 
> Testing
> -------
> 
> make check (Fedora 27)
> 
> 
> Thanks,
> 
> James Peach
> 
>


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