You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Daryn Sharp (JIRA)" <ji...@apache.org> on 2012/06/06 23:41:23 UTC

[jira] [Commented] (HADOOP-8110) TestViewFsTrash occasionally fails

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

Daryn Sharp commented on HADOOP-8110:
-------------------------------------

I finally became sufficiently annoyed by this test failure that I took a quick look into it...  Here's something interesting:
{code}rmr: Cannot move "file:/Users/daryn" to the trash, as it contains the trash. Consider using -skipTrash option{code}

The test *tries to delete your home directory* but is stopped by some of the logic it's trying to test.  I'm going to look at this a bit more, but anyone else who works with it better beware.
                
> TestViewFsTrash occasionally fails
> ----------------------------------
>
>                 Key: HADOOP-8110
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8110
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.3, 0.24.0
>            Reporter: Tsz Wo (Nicholas), SZE
>
> {noformat}
> junit.framework.AssertionFailedError: -expunge failed expected:<0> but was:<1>
> 	at junit.framework.Assert.fail(Assert.java:47)
> 	at junit.framework.Assert.failNotEquals(Assert.java:283)
> 	at junit.framework.Assert.assertEquals(Assert.java:64)
> 	at junit.framework.Assert.assertEquals(Assert.java:195)
> 	at org.apache.hadoop.fs.TestTrash.trashShell(TestTrash.java:322)
> 	at org.apache.hadoop.fs.viewfs.TestViewFsTrash.testTrash(TestViewFsTrash.java:73)
> 	...
> {noformat}
> There are quite a few TestViewFsTrash failures recently.  E.g. [build #624 for trunk|https://builds.apache.org/job/PreCommit-HADOOP-Build/624//testReport/org.apache.hadoop.fs.viewfs/TestViewFsTrash/testTrash/] and [build #2 for 0.23-PB|https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Common-0.23-PB-Build/2/testReport/junit/org.apache.hadoop.fs.viewfs/TestViewFsTrash/testTrash/].

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira