-
Notifications
You must be signed in to change notification settings - Fork 379
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
Add more scenarios to system tests #2738
Conversation
4efbd97
to
b50f2b2
Compare
The total time for running all the system tests is ~30 minutes. Can we reduce the CI time for running the system tests? We are currently running each scenario for each weblog variant. Variants:
Scenarios:
That's 224 (14 * 16) jobs per commit. Should we try not running all the permutations? |
36a32ed
to
9fdc833
Compare
Yeah I'm trying to reduce that by altering the matrix (e.g some tests don't depend on the framework). Also using docker image caching will help by saving a lot of rebuilds. This is a first shot to make sure things work. |
e4ed8ea
to
eafa5d8
Compare
Codecov Report
@@ Coverage Diff @@
## master #2738 +/- ##
==========================================
- Coverage 98.06% 98.06% -0.01%
==========================================
Files 1222 1222
Lines 67271 67269 -2
Branches 3013 3013
==========================================
- Hits 65972 65970 -2
Misses 1299 1299
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
9e2577a
to
6386a70
Compare
561bebd
to
8c8623c
Compare
a82c759
to
8ebd4f4
Compare
Unfortunately we can't access
|
Using artifacts to transfer images is a bit slow too. A better option would be to move to using |
Using runner log:
agent log (this is the only line in the log):
pytest log:
Building the app images failed to use the cache, but that may be due to how the Dockerfiles and docker-wrapping shell scripts are written. |
An improvement, both in UI, in code clarity, and in architecture would be to leverage reusable workflows. Ideally these reusable workflow YAML files could even be hosted on the system tests repository (if it makes sense) or referenced from the system tests repository from this one (or the system-tests–apps-ruby repository), potentially reducing duplication. |
38d42ed
to
018dac4
Compare
018dac4
to
853f567
Compare
0628ee5
to
0cd950e
Compare
For caching, this inconsistency is annoying: DataDog/system-tests#1046 |
3d94762
to
b5ee9cf
Compare
Cleanup works, but I get this strange issue, which I reported upstream: |
Last run was ~16min. That's without the full benefit of docker build caching though (which should drive the build part down to mere seconds in most cases), until this comment is addressed. |
What does this PR do?
Enable more system test scenarios to be run in CI
Motivation
The default scenario covers only a limited number of tests
Additional Notes
Probably the system tests repo should provide an cross-repo reusable GitHub workflow so that we don't have to update this one manually.
How to test the change?
CI