[
https://issues.apache.org/jira/browse/BEAM-12763?focusedWorklogId=638412&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-638412
]
ASF GitHub Bot logged work on BEAM-12763:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Aug/21 21:15
Start Date: 16/Aug/21 21:15
Worklog Time Spent: 10m
Work Description: lostluck commented on pull request #15336:
URL: https://github.com/apache/beam/pull/15336#issuecomment-899823720
Run Java_Examples_Dataflow PreCommit
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 638412)
Remaining Estimate: 0h
Time Spent: 10m
> Redundant /build/ fails license copy on first Java docker build.
> ----------------------------------------------------------------
>
> Key: BEAM-12763
> URL: https://issues.apache.org/jira/browse/BEAM-12763
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Robert Burke
> Assignee: Robert Burke
> Priority: P2
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reported by [~danoliveira].
> After clearing {{sdks/java/container/build}} and
> {{sdks/java/container/java8/build}}.
> {{> Task :sdks:java:container:java8:copyJavaThirdPartyLicenses NO-SOURCE
> file or directory
> '/home/rebo/git/src/github.com/apache/beam/sdks/java/container/build/build/target/third_party_licenses',
> not found
> Skipping task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' as it
> has no source files and no previous output files.
> :sdks:java:container:java8:copyJavaThirdPartyLicenses (Thread[Execution
> worker for ':',5,main]) completed. Took 0.0 secs.
> :sdks:java:container:java8:dockerPrepare (Thread[Execution worker for
> ':',5,main]) started.}}
> The job then fails to build the Dockerfile.
> {{Step 13/18 : ADD target/third_party_licenses
> /opt/apache/beam/third_party_licenses/
> ADD failed: stat
> /var/lib/docker/tmp/docker-builder213254890/target/third_party_licenses: no
> such file or directory}}
> However, a subsequent run succeeds but still produces the same error:
> {{> Task :sdks:java:container:java8:copyJavaThirdPartyLicenses NO-SOURCE
> file or directory
> '/home/rebo/git/src/github.com/apache/beam/sdks/java/container/build/build/target/third_party_licenses',
> not found
> Skipping task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' as it
> has no source files and no previous output files.
> :sdks:java:container:java8:copyJavaThirdPartyLicenses (Thread[Execution
> worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
> :sdks:java:container:java8:copyLicenses (Thread[Execution worker for ':'
> Thread 3,5,main]) started.}}
> It's not clear why the 2nd run succeeds at all, or how the license files are
> making it the second time around.
> It looks like things should work the first time, if we clear out the
> redundant /build/ in the copy line, in common.gradle.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)