-
Notifications
You must be signed in to change notification settings - Fork 313
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
ci: switch to Java 17 for CI builds #5602
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
cf4142d
to
b934941
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
b934941
to
ef0ced3
Compare
@MMaiero I tested it locally on a Java17 installation. It does work simply by adding How do we want to proceed now?
|
Yes to both. Le't's use the command line instead of the configuration in pom files. |
ef0ced3
to
c500692
Compare
ca9c9b1
to
ef1a6a2
Compare
For documentation purposes: we decided to disable the failing tests for now and fix them at a later date. |
ee336ea
to
4481dd4
Compare
7b7bcfe
to
0584e26
Compare
0584e26
to
e796705
Compare
Do not merge yet, have to check something... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me
@salvatore-coppola if you don't see any issues I would proceed with merging this |
* ci: Added Surefire rerun policy * ci: switch to Java17 for CI builds * test: disabled DeploymentAgentTest * test: disabled LinuxNetworkUtilTest * test: disabled PackagesRestServiceTest * test: re-enable ConfigurationRestServiceTest * test: fix NMDbusConnectorTest * build: remove `core-dp` and `can-dp` from `buildAll` target * docs: update README to refere to Java 17 only * ci: refactor Jenkinsfile for improved error reporting and more granular timeouts --------- Co-authored-by: Mattia Dal Ben <[email protected]>
This PR switches to Java17 for CI builds
This PR additionally performs the following:
buildAll
targetDetails
This PR started off as a simple update to the
manve-surefire-plugin
rerun policy. We later found out that we need to switch to Java 17 for it to work properly and decided to do so since we needed it anyway (see: #5478)Then we found out that some tests fails in the Java17 profile which prompted us to disable them and address the issue at a later date (see: https://eurotech.atlassian.net/browse/ECESF-8549)
Finally, we removed all
.dp
from thebuildAll
target since we cannot generate.dp
packages with Java17 and thedistrib
build would fail since it was looking for them (see https://eurotech.atlassian.net/browse/ECESF-3770)Disabled tests
NMDbusConnectorTestfixed in 4481dd4