Skip to content

Conversation

@y1chi
Copy link
Contributor

@y1chi y1chi commented Sep 25, 2020

Please add a meaningful description for your change here


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 Dataflow Flink Samza Spark Twister2
Go Build Status --- 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
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 ---

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.

@y1chi
Copy link
Contributor Author

y1chi commented Sep 25, 2020

R: @robinyqiu @tvalentyn

@codecov
Copy link

codecov bot commented Sep 25, 2020

Codecov Report

Merging #12942 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #12942   +/-   ##
=======================================
  Coverage   82.31%   82.31%           
=======================================
  Files         455      455           
  Lines       54603    54603           
=======================================
+ Hits        44945    44948    +3     
+ Misses       9658     9655    -3     
Impacted Files Coverage Δ
..._beam/runners/portability/sdk_container_builder.py 31.21% <0.00%> (ø)
.../python/apache_beam/testing/test_stream_service.py 88.63% <0.00%> (-4.55%) ⬇️
...che_beam/runners/interactive/interactive_runner.py 90.90% <0.00%> (-1.82%) ⬇️
...hon/apache_beam/runners/worker/bundle_processor.py 94.45% <0.00%> (-0.14%) ⬇️
sdks/python/apache_beam/runners/common.py 89.20% <0.00%> (+0.44%) ⬆️
...apache_beam/runners/portability/portable_runner.py 79.34% <0.00%> (+1.81%) ⬆️

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 806e67d...7691022. Read the comment docs.

_LOGGER.info("Building sdk container, this may take a few minutes...")
now = time.time()
subprocess.run(['docker', 'build', '.', '-t', container_image_name],
capture_output=True,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about
subprocess.run([ ], stdout=subprocess.PIPE)
Woud this capture stdout and print STDERR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is an build error, how will users see it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not capturing any output should help. But may be noisy. We can consider to capture the output but print it only if something goes wrong.
Leaving the change as is SGMT for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants