Skip to content

[BEAM-12051] fix target/go-licenses: no such file or directory#14336

Merged
ihji merged 1 commit intoapache:masterfrom
ihji:BEAM-12051
Apr 6, 2021
Merged

[BEAM-12051] fix target/go-licenses: no such file or directory#14336
ihji merged 1 commit intoapache:masterfrom
ihji:BEAM-12051

Conversation

@ihji
Copy link
Contributor

@ihji ihji commented Mar 25, 2021

COPY target/LICENSE target/go-licenses/* /opt/apache/beam/third_party_licenses/golang/ doesn't work on macOS when docker-pull-licenses is not set.

#7 [3/8] ADD target/linux_amd64/boot /opt/apache/beam/
#7 sha256:ba5950ec9b4d3dd4ccf61c67169a80c60727f4a8c4cdcca9487ba724d4521925
#7 DONE 0.1s

#8 [4/8] COPY target/LICENSE /opt/apache/beam/
#8 sha256:c985e805fc702262e6a25884ffdd287334450a61b32213cecd7431453084a710
#8 DONE 0.0s

#9 [5/8] COPY target/NOTICE /opt/apache/beam/
#9 sha256:657942f798562ea47d4f0899783382ae2f7bda6c9a185dc7e0ec8142efb7281b
#9 DONE 0.0s

#10 [6/8] COPY target/LICENSE target/go-licenses/* /opt/apache/beam/third_party_licenses/golang/
#10 sha256:e72eaf77fc75ad38a81071b0cb703717258889925f68ad811f4412d7145f2ea6
#10 ERROR: lstat /var/lib/docker/tmp/buildkit-mount721990318/target/go-licenses: no such file or directory
------
 > [6/8] COPY target/LICENSE target/go-licenses/* /opt/apache/beam/third_party_licenses/golang/:
------
lstat /var/lib/docker/tmp/buildkit-mount721990318/target/go-licenses: no such file or directory

> Task :sdks:go:container:docker FAILED

I guess the semantics of COPY command is different between Linux and macOS docker implementation.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK ULR Dataflow Flink Samza Spark Twister2
Go --- --- Build Status --- Build Status ---
Java Build Status Build Status Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status
Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
Build Status
--- Build Status ---
XLang Build Status --- Build Status Build Status --- Build Status ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website Whitespace Typescript
Non-portable Build Status
Build Status
Build Status
Build Status
Build Status
Build Status Build Status Build Status Build Status
Portable --- Build Status --- --- --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests

See CI.md for more information about GitHub Actions CI.

@ihji
Copy link
Contributor Author

ihji commented Mar 25, 2021

R: @emilymye

@codecov
Copy link

codecov bot commented Mar 25, 2021

Codecov Report

Merging #14336 (c33ff67) into master (7ffa532) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #14336   +/-   ##
=======================================
  Coverage   83.38%   83.39%           
=======================================
  Files         469      469           
  Lines       58727    58738   +11     
=======================================
+ Hits        48972    48987   +15     
+ Misses       9755     9751    -4     
Impacted Files Coverage Δ
...rcs/sdks/python/apache_beam/typehints/typecheck.py
...ld/srcs/sdks/python/apache_beam/coders/__init__.py
...am/portability/api/external_transforms_pb2_grpc.py
...ache_beam/portability/api/beam_artifact_api_pb2.py
...ild/srcs/sdks/python/apache_beam/utils/profiler.py
..._beam/testing/benchmarks/nexmark/queries/query6.py
...cs/sdks/python/apache_beam/dataframe/transforms.py
...hon/apache_beam/examples/complete/game/__init__.py
...build/srcs/sdks/python/apache_beam/io/snowflake.py
...cs/sdks/python/apache_beam/io/external/__init__.py
... and 928 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ffa532...c33ff67. Read the comment docs.

@ihji ihji merged commit c83a56d into apache:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants