[ 
https://issues.apache.org/jira/browse/YARN-7344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209935#comment-16209935
 ] 

Eric Yang commented on YARN-7344:
---------------------------------

[~ebadger] We will want to prevent symlink being mounted, so test case fails 
for the right reason.  This means finding test file that exists in both OS is 
probably best solution.  May I suggest to look for /etc/passwd and /etc in the 
test case?

> Unit test for white list mount fails on CentOS 7
> ------------------------------------------------
>
>                 Key: YARN-7344
>                 URL: https://issues.apache.org/jira/browse/YARN-7344
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0-beta1
>         Environment: CentOS Linux release 7.4.1708 (Core)
> cmake3-3.6.3-1.el7.x86_64
> openjdk version "1.8.0_144"
> OpenJDK Runtime Environment (build 1.8.0_144-b01)
> OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)
> Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 
> 2017-04-03T15:39:06-04:00)
> libprotoc 2.5.0
>            Reporter: Eric Yang
>
> YARN-6623 introduced ability to turn off docker support for container 
> executor.  When running C++ unit tests, the newly introduced tests failed.
> {code}
> [  FAILED  ] 3 tests, listed below:
> [  FAILED  ] TestDockerUtil.test_check_mount_permitted
> [  FAILED  ] TestDockerUtil.test_normalize_mounts
> [  FAILED  ] TestDockerUtil.test_add_rw_mounts
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to