[
https://issues.apache.org/jira/browse/YARN-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16541883#comment-16541883
]
Jason Lowe commented on YARN-8518:
----------------------------------
Ah, right. I verified that running mvn test in the nodemanager project does
run the cmake-test goals and fails as expected:
{noformat}
[INFO] -------------------------------------------------------
[INFO] C M A K E B U I L D E R T E S T
[INFO] -------------------------------------------------------
[INFO] test-container-executor: running
/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native/target/usr/local/bin/test-container-executor
[INFO] with extra environment variables {}
[INFO] STATUS: ERROR CODE 1 after 6 millisecond(s).
[INFO] -------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:08 min
[INFO] Finished at: 2018-07-12T11:01:45-05:00
[INFO] Final Memory: 37M/875M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.hadoop:hadoop-maven-plugins:3.2.0-SNAPSHOT:cmake-test
(test-container-executor) on project hadoop-yarn-server-nodemanager: Test
/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target/native/target/usr/local/bin/test-container-executor
returned ERROR CODE 1 -> [Help 1]
{noformat}
So we should be covered on the precommit build in the future.
I'm +1 for the patch, pending Jenkins.
> test-container-executor test_is_empty() is broken
> -------------------------------------------------
>
> Key: YARN-8518
> URL: https://issues.apache.org/jira/browse/YARN-8518
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jim Brennan
> Assignee: Jim Brennan
> Priority: Major
> Attachments: YARN-8518.001.patch
>
>
> A new test was recently added to test-container-executor.c that has some
> problems.
> It is attempting to mkdir() a hard-coded path:
> /tmp/2938rf2983hcqnw8ud/emptydir
> This fails because the base directory is not there. These directories are
> not being cleaned up either.
> It should be using TEST_ROOT.
> I don't know what Jira this change was made under - the git commit from July
> 9 2018 does not reference a Jira.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]