You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/06/20 10:10:05 UTC

[jira] [Commented] (HAWQ-841) Running "make -j8 unittest-check" under src/backend will throw "File exists" error

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

ASF GitHub Bot commented on HAWQ-841:
-------------------------------------

GitHub user paul-guo- opened a pull request:

    https://github.com/apache/incubator-hawq/pull/734

    HAWQ-841. Running "make -j8 unittest-check" under src/backend will throw "File exists" error

    Typical race condition issue.

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

    $ git pull https://github.com/paul-guo-/incubator-hawq unittest-check

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

    https://github.com/apache/incubator-hawq/pull/734.patch

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

    This closes #734
    
----
commit 2d69976929bd63d11ddc90c3766206f3b09ef2a2
Author: Paul Guo <pa...@gmail.com>
Date:   2016-06-20T10:00:08Z

    HAWQ-841. Running "make -j8 unittest-check" under src/backend will throw "File exists" error

----


> Running "make -j8 unittest-check" under src/backend will throw "File exists" error
> ----------------------------------------------------------------------------------
>
>                 Key: HAWQ-841
>                 URL: https://issues.apache.org/jira/browse/HAWQ-841
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Paul Guo
>            Assignee: Jiali Yao
>
> ERROR:root:Error has occurred during parsing /home/build/incubator-hawq/src/backend/executor/execAmi.c: [Errno 17] File exists: '/home/build/incubator-hawq/src/test/unit/mock/backend/executor'
> Traceback (most recent call last):
>   File "mocker.py", line 307, in <module>
>     main()
>   File "mocker.py", line 300, in main
>     mock = MockFile(cfile, options)
>   File "mocker.py", line 121, in __init__
>     self.outname = self.output_filename()
>   File "mocker.py", line 132, in output_filename
>     os.makedirs(out_dir)
>   File "/usr/lib64/python2.6/os.py", line 157, in makedirs
>     mkdir(name, mode)
> OSError: [Errno 17] File exists: '/home/build/incubator-hawq/src/test/unit/mock/backend/executor'
> mocking /home/build/incubator-hawq/src/backend/executor/execQual.c
> make[4]: *** [../../../../../src/test/unit/mock/backend/executor/execAmi_mock.c] Error 1
> make[4]: *** Waiting for unfinished jobs....
> make[4]: Leaving directory `/tmp/build/78017950/incubator-hawq/src/backend/access/common/test'
> make[3]: *** [mockup-phony] Error 2
> make[3]: Leaving directory `/tmp/build/78017950/incubator-hawq/src/backend/access/common/test'
> make[2]: *** [unittest-check] Error 2
> make[2]: Leaving directory `/tmp/build/78017950/incubator-hawq/src/backend/access/common'
> make[1]: *** [unittest-check] Error 2
> make[1]: Leaving directory `/tmp/build/78017950/incubator-hawq/src/backend/access'
> make: *** [unittest-check] Error 2



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)