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

Renan DelValle commented on AURORA-1980:
----------------------------------------

Tried 

 
{noformat}
./pants --pants-workdir=/tmp/pawd{noformat}
 

Got the following error:

 
{noformat}
Pants working directory should end with '.pants.d', currently it is 
/tmp/pawd{noformat}
 

So then I tried:

 
{noformat}
./pants --pants-workdir=/tmp/pawd.pants.d
{noformat}
which results in:

 
{noformat}
FAILURE
Exception caught: (<class 'pants.build_graph.address.InvalidSpecPath'>)

Exception message: Spec has un-normalized path part 
'../../../../tmp/pawd.pants.d/gen/thrift-py/252d64521cf9/api.src.main.thrift.org.apache.aurora.gen._test/current'{noformat}
 

 

Changing the pants version did work though! 

> 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/<username>/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}
>  
> Where `<username>` is longer than than five characters causing a violation of 
> the 255 character filename limit in Linux.
>         



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

Reply via email to