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

Only apply a better profile if allowed #4553

Merged
merged 2 commits into from
Dec 29, 2024

Conversation

laeubi
Copy link
Member

@laeubi laeubi commented Dec 22, 2024

Currently a configured profile is unconditionally replaced by a better one of the current JVM, but this is wrong if not explicitly allowed by the configuration.

This is now changed, to be only used if ignoring the BREE is actually enabled.

@laeubi laeubi added this to the 5.0 milestone Dec 22, 2024
@laeubi
Copy link
Member Author

laeubi commented Dec 22, 2024

Marking for Tycho 5 only as it is probably a breaking change, so lets see what all fails now.

@laeubi laeubi force-pushed the fixup_determination_of_profiles branch 3 times, most recently from 2b70930 to 0d5ceee Compare December 22, 2024 06:26
Copy link

github-actions bot commented Dec 22, 2024

Test Results

  603 files  ±0    603 suites  ±0   4h 4m 39s ⏱️ - 9m 38s
  433 tests +1    426 ✅ +2   7 💤 ±0  0 ❌  - 1 
1 299 runs  +3  1 277 ✅ +4  22 💤 ±0  0 ❌  - 1 

Results for commit c282f3a. ± Comparison against base commit feff817.

♻️ This comment has been updated with latest results.

@laeubi
Copy link
Member Author

laeubi commented Dec 22, 2024

I think the message is quite expected here:

[ERROR] org.eclipse.core.jobs 3.15.400.v20240619-0602 requires Execution Environment that matches (&(osgi.ee=JavaSE)(version=17)) but the current resolution context uses [a.jre.javase 1.8.0]

so we probably should update the tests here and then apply the change even to Tycho 4

@laeubi laeubi added the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Dec 25, 2024
@laeubi laeubi force-pushed the fixup_determination_of_profiles branch 5 times, most recently from f18003a to c282f3a Compare December 27, 2024 11:32
@laeubi
Copy link
Member Author

laeubi commented Dec 27, 2024

Update of the BREEs extracted here:

this should then be rebased on the PR to provide the actual fix.

Currently we have a lot of old integration tests that require different
BREEs due to historical reasons even though we already depend on much
newer dependencies.

This update the BREE of all test that do not explicitly test a specific
feature related to the BREE to Java 17 to reflect the things we actually
use.
Currently a configured profile is unconditionally replaced by a better
one of the current JVM, but this is wrong if not explicitly allowed by
the configuration.

This is now changed, to be only used if ignoring the BREE is actually
enabled.
@laeubi laeubi force-pushed the fixup_determination_of_profiles branch from c282f3a to 6a45b75 Compare December 29, 2024 07:54
@laeubi laeubi removed the backport-to-tycho-4.0.x Can be added to a PR to trigger an automatic backport of the change label Dec 29, 2024
@laeubi
Copy link
Member Author

laeubi commented Dec 29, 2024

This should be manually be packported to tycho 4.x as we need to add a special note to the release notes about this possibly braking behavior compared to previous version.

@laeubi laeubi enabled auto-merge (rebase) December 29, 2024 07:55
@laeubi laeubi merged commit af85163 into eclipse-tycho:main Dec 29, 2024
13 of 14 checks passed
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.

1 participant