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 "Varun Vasudev (JIRA)" <ji...@apache.org> on 2016/09/01 08:40:20 UTC

[jira] [Updated] (YARN-5596) Fix failing unit test in TestDockerContainerRuntime

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

Varun Vasudev updated YARN-5596:
--------------------------------
    Summary: Fix failing unit test in TestDockerContainerRuntime  (was: TestDockerContainerRuntime fails on OS X)

> Fix failing unit test in TestDockerContainerRuntime
> ---------------------------------------------------
>
>                 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
>         Attachments: YARN-5596.001.patch, YARN-5596.002.patch
>
>
> /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