-
Notifications
You must be signed in to change notification settings - Fork 193
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
Use 2023-09 simrel #2848
Use 2023-09 simrel #2848
Conversation
Test Results 561 files ±0 561 suites ±0 4h 11m 13s ⏱️ - 24m 57s For more details on these errors, see this check. Results for commit a5c1f3c. ± Comparison against base commit 03e790c. ♻️ This comment has been updated with latest results. |
@akurtakov what do you think about moving this to TychoConstants as it is also used in several places in Tycho (no test) code? |
@@ -36,7 +36,7 @@ public class EnvironmentUtil { | |||
|
|||
private static final String MAVEN_HOME_INFO = "Maven home:"; | |||
|
|||
public static final String ECLIPSE_LATEST = "https:////download.eclipse.org/releases/2022-12/"; | |||
public static final String ECLIPSE_LATEST = "https:////download.eclipse.org/releases/2023-09/"; |
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.
do you know hy we have the four times /
here? it seems to not harm but looks strange...
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.
I would guess 2 // for the protocol and 2 more to escape them somewhere in the code.
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.
This looks suspicious... if we need escaping it should not be done in the constant itself ...
...data-model/src/main/java/org/eclipse/tycho/model/classpath/JUnitClasspathContainerEntry.java
Show resolved
Hide resolved
@laeubi Is there a chance you can help with the last failing test? I'm kind of lost on this one. |
I'll try to take a look tomorrow! This test is a bit special because it uses not the junit bundles from the target but the maven ones, as the test complains about missing |
By the way if I wanted to debug this I probably would enable the display of the bundles for this test project and see if anything looks suspicious (e.g. juni4 really missing or pointing not to the local maven repository). |
The test itself is JUnit 5 so it should work just fine without junit.jar (aka 4.x), no? |
The test complains that the vintage engine requires junit4 ... if I rember correctly JDT defines JUNIT5 = JUNIT5 Vintage... maybe it would be great to have a pure JUNIT5 Container without any vintage/junit4... |
I've tried by removing vintage engine from the junit5 bundles and the test works fine so what happens is that vintage engine fails and that way it even blocks other engines from looking up for tests. |
I have now created So we need to somehow convince Tycho to include junit4 when vintage engine is included, I'm just a bit confused why it is not select anymore automatically... |
I now extracted the easy part here: |
@laeubi Do you agree with using
to workaround the issue for now? |
I have now tested it and at first everything seems okay but then surefire fails, I can fix the test by adding
as an explicit dependency ... so it seems that something goes wrong maybe when injecting the dependencies even though I can't see how/why this happens need to debug a bit further. |
The junit dependency is currently injected as
so for some reason p2 things that the file is not (yet) there and then surefire can not use it of course ... will try to provide a fix for that... |
This should fix the issue we see here: |
As default repo in tests.
Bundle id changes. Simplified setup a bit while at it to be more like rest of the test suite.
Add JavaSE-17 osgi.ee capability to allow resolving. Simplify test setup while at it.
Jenkins succeeded. Merging. |
As default repo in plugins that have such and in tests.