falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-2334) Tests in UpdateHelperTest suite fails with ParentNotDirectoryException
Date Thu, 12 Apr 2018 07:01:00 GMT

    [ https://issues.apache.org/jira/browse/FALCON-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16435022#comment-16435022

ASF GitHub Bot commented on FALCON-2334:

GitHub user sonia-garudi opened a pull request:


    FALCON-2334 Tests in UpdateHelperTest suite fails with ParentNotDirectoryException

    The UpdateHelperTest tests fails with the following error :
    `Parent path is not a directory: /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample`
    The errors occurs only when the EntityUtilTest#testIsStagingPath test runs before the
tests mentioned above.
    The following code in EntityUtilTest#testIsStagingPath creates a file at path - target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample
 which causes the error :
    if (createPath && !fs.exists(path)) {
    The change proposed in this pull request deletes the files created in EntityUtilTest#testIsStagingPath
after the test checks are done.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sonia-garudi/falcon FALCON-2334

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #408
commit 782712b30ce55d94b143ee6e484f070d1b92994e
Author: sonia-garudi <sgarudi@...>
Date:   2018-04-12T06:53:14Z

    Update EntityUtilTest#testIsStagingPath to delete created files


> Tests in UpdateHelperTest suite fails with ParentNotDirectoryException
> ----------------------------------------------------------------------
>                 Key: FALCON-2334
>                 URL: https://issues.apache.org/jira/browse/FALCON-2334
>             Project: Falcon
>          Issue Type: Bug
>          Components: common
>         Environment: {code:java}
> $ java -version
> openjdk version "1.8.0_161"
> OpenJDK Runtime Environment (build 1.8.0_161-b14)
> OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode){code}
>            Reporter: Sonia Garudi
>            Priority: Major
> The tests fails with the following error :
> {code:java}
> Parent path is not a directory: /var/lib/jenkins/workspace/falcon/common/target/falcon/tmp-hadoop-jenkins/jail-fs/testCluster/projects/falcon/staging/falcon/workflows/process/sample{code}
> The list of tests failing with above error :
> {code:java}
> Failed tests:
>  UpdateHelperTest.testIsEntityACLUpdated:273->prepare:101 ? ParentNotDirectory ...
>  UpdateHelperTest.testIsEntityLateProcessUpdated:291->prepare:101 ? ParentNotDirectory
>  UpdateHelperTest.testIsEntityUpdated:128->prepare:101 ? ParentNotDirectory Par...
>  UpdateHelperTest.testShouldUpdateAffectedEntities:168->prepare:101 ? ParentNotDirectory{code}

This message was sent by Atlassian JIRA

View raw message