aurora-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Sirois (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AURORA-1980) Integration tests fail with a pants exception: File name too long
Date Tue, 13 Mar 2018 01:04:00 GMT

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

John Sirois commented on AURORA-1980:
-------------------------------------

Another workaround would be to specify a custom workdir ({{/home/user/aurora/.pants.d}} in
your example). You can do that with:
{noformat}
./pants --pants-workdir=/tmp/pawd ...{noformat}
or, equivalently:
{noformat}
PANTS_WORKDIR=/tmp/pawd ./pants ...{noformat}
In these examples, {{/tmp/pad}} is just a shorter prefix for Pants workdir paths p(ants) a(urora)
w(orking) d(ir).

> Integration tests fail with a pants exception: File name too long
> -----------------------------------------------------------------
>
>                 Key: AURORA-1980
>                 URL: https://issues.apache.org/jira/browse/AURORA-1980
>             Project: Aurora
>          Issue Type: Bug
>            Reporter: Renan DelValle
>            Priority: Major
>
> When running the integration tests the following error happens:
> {noformat}
>    Executing tasks in goals: gen -> pyprep -> test
> 17:13:42 00:01   [gen]
> 17:13:42 00:01     [thrift-py]
> 17:13:42 00:01       [cache]    
>                    No cached artifacts for 4 targets.
>                    Invalidated 4 targets.....
> 17:13:42 00:01   [pyprep]
> 17:13:42 00:01     [interpreter]
> 17:13:46 00:05     [requirements]
> 17:13:46 00:05       [cache]                                   
 
>                    No cached artifacts for 37 targets.
>                    Invalidated 37 targets.
> 17:14:06 00:25     [sources]
>                Waiting for background workers to finish.
> 17:14:06 00:25   [complete]
>                FAILURE
> Exception caught: (<type 'exceptions.IOError'>)
>  
> Exception message: [Errno 36] File name too long: u'/home/user/aurora/.pants.d/build_invalidator/7/pants_backend_python_tasks2_gather_sources_GatherSources/.pants.d.gen.thrift-py.252d64521cf9.api.src.main.thrift.org.apache.aurora.gen._storage.current.api.src.main.thrift.org.apache.aurora.gen._storage.hash'{noformat}
>  
>        



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message