[jira] [Commented] (MESOS-8521) Various IOSwitchboard related tests fail on macOS High Sierra.
[ https://issues.apache.org/jira/browse/MESOS-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431966#comment-16431966 ] Jan Schlicht commented on MESOS-8521: - Can also confirm that I'm no longer getting these failures on 10.13.4 using LLVM 6.0.0. > Various IOSwitchboard related tests fail on macOS High Sierra. > --- > > Key: MESOS-8521 > URL: https://issues.apache.org/jira/browse/MESOS-8521 > Project: Mesos > Issue Type: Bug > Environment: macOS 10.13.2 (17C88) > Apple LLVM version 9.0.0 (clang-900.0.39.2) >Reporter: Till Toenshoff >Priority: Major > > The problem appears to cause several switchboard tests to fail. Note that > this problem does not manifest on older Apple systems. > The failure rate on this system is 100%. > List of currently failing tests: > {noformat} > IOSwitchboardTest.ContainerAttach > IOSwitchboardTest.ContainerAttachAfterSlaveRestart > IOSwitchboardTest.OutputRedirectionWithTTY > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/0 > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/1 > {noformat} > This is an example using {{GLOG=v1}} verbose logging: > {noformat} > [ RUN ] IOSwitchboardTest.ContainerAttach > I0201 03:02:51.925930 2385417024 containerizer.cpp:304] Using isolation { > environment_secret, filesystem/posix, posix/cpu } > I0201 03:02:51.926230 2385417024 provisioner.cpp:299] Using default backend > 'copy' > I0201 03:02:51.927325 107409408 containerizer.cpp:674] Recovering > containerizer > I0201 03:02:51.928336 109019136 provisioner.cpp:495] Provisioner recovery > complete > I0201 03:02:51.934250 105799680 containerizer.cpp:1202] Starting container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.936218 105799680 containerizer.cpp:1368] Checkpointed > ContainerConfig at > '/var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_1nkPYl/containers/1b1af888-9e39-4c13-a647-ac43c0df9fad/config' > I0201 03:02:51.936251 105799680 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from PROVISIONING to > PREPARING > I0201 03:02:51.937369 109019136 switchboard.cpp:429] Allocated pseudo > terminal '/dev/ttys003' for container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.943632 109019136 switchboard.cpp:557] Launching > 'mesos-io-switchboard' with flags '--heartbeat_interval="30secs" > --help="false" > --socket_address="/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8" > --stderr_from_fd="7" --stderr_to_fd="2" --stdin_to_fd="7" > --stdout_from_fd="7" --stdout_to_fd="1" --tty="true" > --wait_for_connection="false"' for container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.945106 109019136 switchboard.cpp:587] Created I/O switchboard > server (pid: 83716) listening on socket file > '/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8' for > container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.947762 106336256 containerizer.cpp:1844] Launching > 'mesos-containerizer' with flags '--help="false" > --launch_info="{"command":{"shell":true,"value":"sleep > 1000"},"environment":{"variables":[{"name":"MESOS_SANDBOX","type":"VALUE","value":"\/var\/folders\/_t\/rdp354gx7j5fjww270kbk6_rgn\/T\/IOSwitchboardTest_ContainerAttach_W9gDw0"}]},"task_environment":{},"tty_slave_path":"\/dev\/ttys003","working_directory":"\/var\/folders\/_t\/rdp354gx7j5fjww270kbk6_rgn\/T\/IOSwitchboardTest_ContainerAttach_W9gDw0"}" > --pipe_read="7" --pipe_write="10" > --runtime_directory="/var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_1nkPYl/containers/1b1af888-9e39-4c13-a647-ac43c0df9fad"' > I0201 03:02:51.949144 106336256 launcher.cpp:140] Forked child with pid > '83717' for container '1b1af888-9e39-4c13-a647-ac43c0df9fad' > I0201 03:02:51.949896 106336256 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from PREPARING to > ISOLATING > I0201 03:02:51.951071 106336256 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from ISOLATING to > FETCHING > I0201 03:02:51.951190 108482560 fetcher.cpp:369] Starting to fetch URIs for > container: 1b1af888-9e39-4c13-a647-ac43c0df9fad, directory: > /var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_W9gDw0 > I0201 03:02:51.951791 109019136 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from FETCHING to > RUNNING > I0201 03:02:52.076602 106872832 containerizer.cpp:2338] Destroying container > 1b1af888-9e39-4c13-a647-ac43c0df9fad in RUNNING state > I0201 03:02:52.076644 106872832 containerizer.cpp:2952] Transitioning the >
[jira] [Commented] (MESOS-8521) Various IOSwitchboard related tests fail on macOS High Sierra.
[ https://issues.apache.org/jira/browse/MESOS-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16431424#comment-16431424 ] Till Toenshoff commented on MESOS-8521: --- For me the above tests are finally fixed by upgrading my machine to macOS 10.13.4. Initially on a 10.13.4 beta and now also on the release -- I am still unsure what exactly fixed it. > Various IOSwitchboard related tests fail on macOS High Sierra. > --- > > Key: MESOS-8521 > URL: https://issues.apache.org/jira/browse/MESOS-8521 > Project: Mesos > Issue Type: Bug > Environment: macOS 10.13.2 (17C88) > Apple LLVM version 9.0.0 (clang-900.0.39.2) >Reporter: Till Toenshoff >Priority: Major > > The problem appears to cause several switchboard tests to fail. Note that > this problem does not manifest on older Apple systems. > The failure rate on this system is 100%. > List of currently failing tests: > {noformat} > IOSwitchboardTest.ContainerAttach > IOSwitchboardTest.ContainerAttachAfterSlaveRestart > IOSwitchboardTest.OutputRedirectionWithTTY > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/0 > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/1 > {noformat} > This is an example using {{GLOG=v1}} verbose logging: > {noformat} > [ RUN ] IOSwitchboardTest.ContainerAttach > I0201 03:02:51.925930 2385417024 containerizer.cpp:304] Using isolation { > environment_secret, filesystem/posix, posix/cpu } > I0201 03:02:51.926230 2385417024 provisioner.cpp:299] Using default backend > 'copy' > I0201 03:02:51.927325 107409408 containerizer.cpp:674] Recovering > containerizer > I0201 03:02:51.928336 109019136 provisioner.cpp:495] Provisioner recovery > complete > I0201 03:02:51.934250 105799680 containerizer.cpp:1202] Starting container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.936218 105799680 containerizer.cpp:1368] Checkpointed > ContainerConfig at > '/var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_1nkPYl/containers/1b1af888-9e39-4c13-a647-ac43c0df9fad/config' > I0201 03:02:51.936251 105799680 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from PROVISIONING to > PREPARING > I0201 03:02:51.937369 109019136 switchboard.cpp:429] Allocated pseudo > terminal '/dev/ttys003' for container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.943632 109019136 switchboard.cpp:557] Launching > 'mesos-io-switchboard' with flags '--heartbeat_interval="30secs" > --help="false" > --socket_address="/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8" > --stderr_from_fd="7" --stderr_to_fd="2" --stdin_to_fd="7" > --stdout_from_fd="7" --stdout_to_fd="1" --tty="true" > --wait_for_connection="false"' for container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.945106 109019136 switchboard.cpp:587] Created I/O switchboard > server (pid: 83716) listening on socket file > '/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8' for > container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.947762 106336256 containerizer.cpp:1844] Launching > 'mesos-containerizer' with flags '--help="false" > --launch_info="{"command":{"shell":true,"value":"sleep > 1000"},"environment":{"variables":[{"name":"MESOS_SANDBOX","type":"VALUE","value":"\/var\/folders\/_t\/rdp354gx7j5fjww270kbk6_rgn\/T\/IOSwitchboardTest_ContainerAttach_W9gDw0"}]},"task_environment":{},"tty_slave_path":"\/dev\/ttys003","working_directory":"\/var\/folders\/_t\/rdp354gx7j5fjww270kbk6_rgn\/T\/IOSwitchboardTest_ContainerAttach_W9gDw0"}" > --pipe_read="7" --pipe_write="10" > --runtime_directory="/var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_1nkPYl/containers/1b1af888-9e39-4c13-a647-ac43c0df9fad"' > I0201 03:02:51.949144 106336256 launcher.cpp:140] Forked child with pid > '83717' for container '1b1af888-9e39-4c13-a647-ac43c0df9fad' > I0201 03:02:51.949896 106336256 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from PREPARING to > ISOLATING > I0201 03:02:51.951071 106336256 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from ISOLATING to > FETCHING > I0201 03:02:51.951190 108482560 fetcher.cpp:369] Starting to fetch URIs for > container: 1b1af888-9e39-4c13-a647-ac43c0df9fad, directory: > /var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_W9gDw0 > I0201 03:02:51.951791 109019136 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from FETCHING to > RUNNING > I0201 03:02:52.076602 106872832 containerizer.cpp:2338] Destroying container > 1b1af888-9e39-4c13-a647-ac43c0df9
[jira] [Commented] (MESOS-8521) Various IOSwitchboard related tests fail on macOS High Sierra.
[ https://issues.apache.org/jira/browse/MESOS-8521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378719#comment-16378719 ] Alexander Rukletsov commented on MESOS-8521: I've just successfully run a complete {{ninja check}} on macOS High Sierra 10.13.3 (17D47) with {{Apple LLVM version 9.0.0 (clang-900.0.39.2)}}: {noformat} [==] Running 6 tests from 2 test cases. [--] Global test environment set-up. [--] 4 tests from IOSwitchboardTest [ RUN ] IOSwitchboardTest.ContainerAttach [ OK ] IOSwitchboardTest.ContainerAttach (179 ms) [ RUN ] IOSwitchboardTest.OutputRedirectionWithTTY [ OK ] IOSwitchboardTest.OutputRedirectionWithTTY (124 ms) [ RUN ] IOSwitchboardTest.KillSwitchboardContainerDestroyed [ OK ] IOSwitchboardTest.KillSwitchboardContainerDestroyed (283 ms) [ RUN ] IOSwitchboardTest.ContainerAttachAfterSlaveRestart [ OK ] IOSwitchboardTest.ContainerAttachAfterSlaveRestart (413 ms) [--] 4 tests from IOSwitchboardTest (1006 ms total) [--] 2 tests from ContentType/AgentAPITest [ RUN ] ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/0 [ OK ] ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/0 (404 ms) [ RUN ] ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/1 [ OK ] ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/1 (409 ms) [--] 2 tests from ContentType/AgentAPITest (819 ms total) [--] Global test environment tear-down [==] 6 tests from 2 test cases ran. (1847 ms total) [ PASSED ] 6 tests. {noformat} > Various IOSwitchboard related tests fail on macOS High Sierra. > --- > > Key: MESOS-8521 > URL: https://issues.apache.org/jira/browse/MESOS-8521 > Project: Mesos > Issue Type: Bug > Environment: macOS 10.13.2 (17C88) > Apple LLVM version 9.0.0 (clang-900.0.39.2) >Reporter: Till Toenshoff >Priority: Major > > The problem appears to cause several switchboard tests to fail. Note that > this problem does not manifest on older Apple systems. > The failure rate on this system is 100%. > List of currently failing tests: > {noformat} > IOSwitchboardTest.ContainerAttach > IOSwitchboardTest.ContainerAttachAfterSlaveRestart > IOSwitchboardTest.OutputRedirectionWithTTY > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/0 > ContentType/AgentAPITest.LaunchNestedContainerSessionWithTTY/1 > {noformat} > This is an example using {{GLOG=v1}} verbose logging: > {noformat} > [ RUN ] IOSwitchboardTest.ContainerAttach > I0201 03:02:51.925930 2385417024 containerizer.cpp:304] Using isolation { > environment_secret, filesystem/posix, posix/cpu } > I0201 03:02:51.926230 2385417024 provisioner.cpp:299] Using default backend > 'copy' > I0201 03:02:51.927325 107409408 containerizer.cpp:674] Recovering > containerizer > I0201 03:02:51.928336 109019136 provisioner.cpp:495] Provisioner recovery > complete > I0201 03:02:51.934250 105799680 containerizer.cpp:1202] Starting container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.936218 105799680 containerizer.cpp:1368] Checkpointed > ContainerConfig at > '/var/folders/_t/rdp354gx7j5fjww270kbk6_rgn/T/IOSwitchboardTest_ContainerAttach_1nkPYl/containers/1b1af888-9e39-4c13-a647-ac43c0df9fad/config' > I0201 03:02:51.936251 105799680 containerizer.cpp:2952] Transitioning the > state of container 1b1af888-9e39-4c13-a647-ac43c0df9fad from PROVISIONING to > PREPARING > I0201 03:02:51.937369 109019136 switchboard.cpp:429] Allocated pseudo > terminal '/dev/ttys003' for container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.943632 109019136 switchboard.cpp:557] Launching > 'mesos-io-switchboard' with flags '--heartbeat_interval="30secs" > --help="false" > --socket_address="/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8" > --stderr_from_fd="7" --stderr_to_fd="2" --stdin_to_fd="7" > --stdout_from_fd="7" --stdout_to_fd="1" --tty="true" > --wait_for_connection="false"' for container > 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.945106 109019136 switchboard.cpp:587] Created I/O switchboard > server (pid: 83716) listening on socket file > '/tmp/mesos-io-switchboard-d3bcec3f-7c29-4630-b374-55fabb6034d8' for > container 1b1af888-9e39-4c13-a647-ac43c0df9fad > I0201 03:02:51.947762 106336256 containerizer.cpp:1844] Launching > 'mesos-containerizer' with flags '--help="false" > --launch_info="{"command":{"shell":true,"value":"sleep > 1000"},"environment":{"variables":[{"name":"MESOS_SANDBOX","type":"VALUE","value":"\/var\/folders\/_t\/rdp354gx7j5fjww270kbk6_rgn\/T\/IOSwitchboardTest_ContainerAttach_W9gDw0"}]},"task_environment":{},"tty_slave_path":"\/dev\/ttys003","working_directory":"\/var\/folders\/_t\