Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BEAM-6351] Divide separate job for "smoke" load test suites #7497

Merged
merged 5 commits into from
Jan 23, 2019

Conversation

lgajowy
Copy link
Contributor

@lgajowy lgajowy commented Jan 14, 2019

Added a separate job that will run "smoke" load test suite to verify if everything's going well. More tests can be added to the smoke suite in the future. The idea is to have one "smoke" job and separate load test jobs.


Follow this checklist to help us incorporate your contribution quickly and easily:

  • 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.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java 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 --- --- ---

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run seed job

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run seed job

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run Java Load Tests Smoke

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run seed job

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run Java Load Tests Smoke

1 similar comment
@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run Java Load Tests Smoke

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

Run GroupByKey Small Java Load Test Dataflow

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 14, 2019

@apilloud could you take a look?

cc: @kkucharc, @pabloem

]
],
[
title : 'GroupByKey load test Dataflow',
Copy link
Contributor Author

@lgajowy lgajowy Jan 14, 2019

Choose a reason for hiding this comment

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

I added a tiny variant of a Dataflow test too in order to quickly detect if nothing gets broken on dataflow too (dependencies, worker problems etc). In the future, other runners should have their variants too.

@apilloud Do you think it might be useful to add such smoke suite to post-commit jobs?

Copy link
Member

Choose a reason for hiding this comment

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

I think adding smoke tests for other runners is probably useful. Most have local runners so the test should be fairly quick. Dataflow doesn't have this option and takes a few minutes to start up, so tests less than a few minutes will be mostly startup time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea - I added suites for Spark and Flink.

@lgajowy lgajowy changed the title [Beam-6351] Divide separate job for "smoke" load test suites [BEAM-6351] Divide separate job for "smoke" load test suites Jan 14, 2019
Copy link
Member

@apilloud apilloud left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for working on tests.

I looked at the Jenkins console logs for the dataflow job and it looks like the SDK log messages didn't make it there. (I'm looking for log messages about uploading to GCS and the Dataflow job ID.) Would be good to get those working so we have some ability to debug when these fail.

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 16, 2019

Run seed job

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 16, 2019

Run Java Load Tests Smoke

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 16, 2019

@apilloud thanks a lot. You're right - it's a trivial task to add smoke suites for other runners too, so I added configs for Spark and Flink here. Together with them, the job takes about 10 minutes so I think it is acceptable.

Could you take a look again?

I also created an issue for the dataflow SDK logs you mentioned: https://issues.apache.org/jira/browse/BEAM-6448

After this gets merged I'm going to add a PostCommit (not only phrase triggered) job if there's no objections (JIRA for this: https://issues.apache.org/jira/browse/BEAM-6449)

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 23, 2019

@apilloud I know you accepted this, but I added Spark and Flink smoke tests. Could you take a glimpse?

@apilloud
Copy link
Member

Sorry, I missed your last comment. LGTM.

@lgajowy
Copy link
Contributor Author

lgajowy commented Jan 23, 2019

Thanks! Merging.

@lgajowy lgajowy merged commit 26173a8 into apache:master Jan 23, 2019
@lgajowy lgajowy deleted the BEAM-6351_OOMErrorFix branch January 23, 2019 16:32
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.

None yet

2 participants