Skip to content

Conversation

@benEng
Copy link
Contributor

@benEng benEng commented Sep 14, 2022

As part of the migration of Precommit and Postcommit Jobs from Jenkins to GA in self-hosted runners, this PR contains:

The migrated workflows were added to CI.md

DO NOT MERGE until the effort to use self-hosted runners is completed #22703


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).
  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • 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.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

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

@github-actions github-actions bot added the build label Sep 14, 2022
@benEng
Copy link
Contributor Author

benEng commented Sep 14, 2022

@codecov
Copy link

codecov bot commented Sep 14, 2022

Codecov Report

Merging #23241 (9264df4) into master (61e2ec1) will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #23241      +/-   ##
==========================================
+ Coverage   73.34%   73.35%   +0.01%     
==========================================
  Files         719      712       -7     
  Lines       97134    96243     -891     
==========================================
- Hits        71244    70601     -643     
+ Misses      24541    24331     -210     
+ Partials     1349     1311      -38     
Flag Coverage Δ
python 83.01% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sdks/go/pkg/beam/core/metrics/dumper.go 0.00% <0.00%> (-49.21%) ⬇️
sdks/go/pkg/beam/core/metrics/store.go 10.63% <0.00%> (-25.54%) ⬇️
sdks/go/pkg/beam/runners/direct/gbk.go 72.35% <0.00%> (-11.24%) ⬇️
sdks/go/pkg/beam/core/metrics/metrics.go 49.36% <0.00%> (-10.93%) ⬇️
sdks/go/pkg/beam/core/typex/fulltype.go 41.50% <0.00%> (-7.33%) ⬇️
sdks/go/pkg/beam/register/emitter.go 47.69% <0.00%> (-6.37%) ⬇️
sdks/go/pkg/beam/core/runtime/exec/window.go 49.01% <0.00%> (-5.99%) ⬇️
sdks/go/pkg/beam/options/jobopts/options.go 87.27% <0.00%> (-5.91%) ⬇️
sdks/go/pkg/beam/register/iter.go 67.21% <0.00%> (-5.76%) ⬇️
sdks/go/pkg/beam/core/runtime/exec/translate.go 12.72% <0.00%> (-4.48%) ⬇️
... and 51 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fernando-wizeline
Copy link
Contributor

LGTM!

@benEng benEng marked this pull request as ready for review September 23, 2022 16:56
@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @AnandInguva for label python.
R: @Abacn for label build.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

@Abacn
Copy link
Contributor

Abacn commented Sep 23, 2022

Thanks! This will really help the current huge (>1h) Python PreCommit test suite. Will look into it.

@benEng
Copy link
Contributor Author

benEng commented Sep 27, 2022

Run Python_PVR_Flink PreCommit

@benEng
Copy link
Contributor Author

benEng commented Sep 27, 2022

Run Python PreCommit

Copy link
Contributor

@Abacn Abacn left a comment

Choose a reason for hiding this comment

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

Thanks! Left some comment on my view of python precommit splits.


# This workflow will run the test of python Avro IO class.

name: Python Avro IO
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we consider AvroIO as part of "core IO" like in Java SDK so this test may be exercised more often (as textio)? CC: @chamikaramj may have more context.

Also, there is not much precommit test for hadoop, we may not need to split it at this point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed the Hadoop precommit suite, those tests will be running in the remaining python precommit suite in #23451

uses: ./.github/actions/gradle-command-self-hosted-action
with:
gradle-command: :sdks:python:test-suites:tox:py${{env.PYTHON_VERSION}}:testPy${{env.PYTHON_VERSION}}${{matrix.tox-env}}
arguments: "-Pposargs=apache_beam/io/azure/" No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

We are splitting azure and gcp out; we may also want to split aws and dataframe, as there are [azure,aws,gcp,dataframe] extra dependencies and each one could have its own precommit test suite.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we are splitting dataframe (#23130) and aws (#23132) as well

@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2022

Reminder, please take a look at this pr: @AnandInguva @Abacn

@github-actions
Copy link
Contributor

Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:

R: @pabloem for label python.
R: @damccorm for label build.

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

@Abacn
Copy link
Contributor

Abacn commented Oct 12, 2022

LGTM, thanks!

@github-actions
Copy link
Contributor

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@beam.apache.org list. Thank you for your contributions.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants