You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Sidharta Seethana (JIRA)" <ji...@apache.org> on 2016/08/30 18:59:20 UTC

[jira] [Updated] (YARN-5596) TestDockerContainerRuntime fails on the mac

     [ https://issues.apache.org/jira/browse/YARN-5596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sidharta Seethana updated YARN-5596:
------------------------------------
    Description: 
/sys/fs/cgroup doesn't exist on Mac OS X. And the tests seem to fail because of this. 

{code}
Failed tests:
  TestDockerContainerRuntime.testContainerLaunchWithCustomNetworks:456 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
  TestDockerContainerRuntime.testContainerLaunchWithNetworkingDefaults:401 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
  TestDockerContainerRuntime.testDockerContainerLaunch:297 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>

Tests run: 19, Failures: 3, Errors: 0, Skipped: 0
{code}

  was:
/sys/fs/cgroup doesn't exist on the Mac. And the tests seem to fail because of this. 

{code}
Failed tests:
  TestDockerContainerRuntime.testContainerLaunchWithCustomNetworks:456 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
  TestDockerContainerRuntime.testContainerLaunchWithNetworkingDefaults:401 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
  TestDockerContainerRuntime.testDockerContainerLaunch:297 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>

Tests run: 19, Failures: 3, Errors: 0, Skipped: 0
{code}


> TestDockerContainerRuntime fails on the mac
> -------------------------------------------
>
>                 Key: YARN-5596
>                 URL: https://issues.apache.org/jira/browse/YARN-5596
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager, yarn
>            Reporter: Sidharta Seethana
>            Assignee: Sidharta Seethana
>            Priority: Minor
>
> /sys/fs/cgroup doesn't exist on Mac OS X. And the tests seem to fail because of this. 
> {code}
> Failed tests:
>   TestDockerContainerRuntime.testContainerLaunchWithCustomNetworks:456 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
>   TestDockerContainerRuntime.testContainerLaunchWithNetworkingDefaults:401 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
>   TestDockerContainerRuntime.testDockerContainerLaunch:297 expected:<...ET_BIND_SERVICE -v /[sys/fs/cgroup:/sys/fs/cgroup:ro -v /]test_container_local...> but was:<...ET_BIND_SERVICE -v /[]test_container_local...>
> Tests run: 19, Failures: 3, Errors: 0, Skipped: 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org