[
https://issues.apache.org/jira/browse/AURORA-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16396341#comment-16396341
]
John Sirois edited comment on AURORA-1980 at 3/13/18 1:04 AM:
--------------------------------------------------------------
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/pawd}} is just a shorter prefix for Pants workdir
paths p(ants) a(urora) w(orking) d(ir).
was (Author: jsirois):
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)