hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Badger (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-7412) test_docker_util.test_check_mount_permitted() is failing
Date Fri, 27 Oct 2017 22:08:00 GMT

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

Eric Badger updated YARN-7412:
------------------------------
    Attachment: YARN-7412.001.patch

The issue is that {{/usr/bin/touch}} is a symlink to {{/bin/touch}} on Ubuntu. I thought I
checked for this when I put up the initial patch, but I guess that I didn't. Uploading a patch
that replaces {{/usr/bin/touch}} with {{/usr/bin/cut}}. I tested this patch and it works on
rhel7 and ubuntu xenial. 

> test_docker_util.test_check_mount_permitted() is failing
> --------------------------------------------------------
>
>                 Key: YARN-7412
>                 URL: https://issues.apache.org/jira/browse/YARN-7412
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 3.0.0-alpha4
>            Reporter: Haibo Chen
>            Assignee: Eric Badger
>            Priority: Critical
>         Attachments: YARN-7412.001.patch
>
>
> Test output
>     <testcase name="test_check_mount_permitted" status="run" time="0.001" classname="TestDockerUtil">
>       <failure message="/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:444&#x0A;
     Expected: itr-&gt;second&#x0A;      Which is: 1&#x0A;To be equal to: ret&#x0A;
     Which is: 0&#x0A;for inp
> ut /usr/bin/touch" type=""><![CDATA[/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:444
>       Expected: itr->second
>       Which is: 1
> To be equal to: ret
>       Which is: 0
> for input /usr/bin/touch]]></failure>
>     </testcase>
>     <testcase name="test_normalize_mounts" status="run" time="0" classname="TestDockerUtil">
>       <failure message="/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:462&#x0A;
     Expected: expected[i]&#x0A;      Which is: &quot;/usr/bin/touch&quot;&#x0A;To
be equal to: ptr[i]&#x0A;
>  Which is: &quot;/bin/touch&quot;" type=""><![CDATA[/home/haibochen/hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/native/container-executor/test/utils/test_docker_util.cc:462
>       Expected: expected[i]
>       Which is: "/usr/bin/touch"
> To be equal to: ptr[i]
>       Which is: "/bin/touch"]]></failure>
>     </testcase>



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

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


Mime
View raw message