Avoid running Maven in PT CI jobs#14931
Conversation
`ptl` executes `run-launcher` which uses Maven to find current Trino version. This has the downside of trying to download all Maven plugin POMs, and fails if Maven Central is down. These scripts should be run by developers, not by CI where only one Trino is available.
41d8d1f to
4044c2f
Compare
The CI should ensure these scripts do still work, since people depend on them. Can we fix the Maven Central problem without removing coverage? |
|
We still call it in the build-pt job |
I don't think so. This was the only usage. |
|
It runs the which in turn uses the PTL launcher: PTL is used to describe suites to get the list of features configured in their test environments. This only happens in PRs. On master, when the list of impacted modules is empty, this script doesn't call PTL and just converts the matrix from YAML to JSON. |
|
Thanks for the link, I was looking in ci.yml only. |
This means our CI pipeline will still fail when Maven Central is down, so this PR didn't achieve much. |
Not necessarily. The jobs that actually execute product tests use artifacts prepared by |
|
Re: adding mirrors it was something which came up in recent discussion - if we still notice issues with Maven (with the cache solution) we should consider adding Google's mirror and maybe if GitHub has a mirror (it would be super-fast) to settings.xml on CI. |
Description
ptlexecutesrun-launcherwhich uses Maven to find current Trino version.This has the downside of trying to download Maven plugins, and fails if Maven Central is down.
Example: https://github.com/trinodb/trino/actions/runs/3409303066/jobs/5671117481
These scripts should be run by developers, not by CI where only one Trino is available.
Non-technical explanation
Avoid Maven in product tests to protect from Maven Central outages.
Release notes
(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text: