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

JUnitTestRunnerInterceptor: Add missing dependency #1640 #1641

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented Dec 6, 2023

@jukzi
Copy link
Contributor Author

jukzi commented Dec 6, 2023

@akurtakov i don't know how to test this locally. if i run swt build #1630 (comment) it seems to ignore changes to this file.

@laeubi
Copy link
Contributor

laeubi commented Dec 6, 2023

@jukzi jukzi force-pushed the JUnitTestRunnerInterceptor2 branch from eb073d1 to 6b9f579 Compare December 6, 2023 08:16
@jukzi
Copy link
Contributor Author

jukzi commented Dec 6, 2023

@mickaelistria
Copy link
Contributor

is there a way to only build swt?

You can try reproducing the steps described in the Jenkinsfile for that.

@laeubi
Copy link
Contributor

laeubi commented Dec 6, 2023

https://github.com/eclipse-platform/eclipse.platform.releng.aggregator#how-to-build-the-eclipse-sdk

is there a way to only build swt?

There are ways to run only parts of it, e.g. by specify -Pbuild-individual-bundles but if one is unsure running the full build is quite lengthy but most often the easiest choice for the beginners, I would just run it with test enabled and -fae option then you will see if only some tests fail (what I never got fully running locally) or if the test-run itself failed with the mentioned exception.

@jukzi
Copy link
Contributor Author

jukzi commented Dec 6, 2023

https://github.com/eclipse-platform/eclipse.platform.releng.aggregator#how-to-build-the-eclipse-sdk

that does not pass:
image

however that was after swt build:
image

however the tests are not executed so i started

cd C:\Users\jkubitz\platform-2023-12-01\git\eclipse.platform.releng.aggregator\eclipse.platform.swt
mvn -Pbuild-individual-bundles clean verify

image

and the tests are running ... does that proof anything?

@iloveeclipse
Copy link
Member

and the tests are running ... does that proof anything?

You can undo your change and check if the SWT tests will fail. Then we will know for sure.

@jukzi
Copy link
Contributor Author

jukzi commented Dec 6, 2023

You can undo your change and check if the SWT tests will fail. Then we will know for sure.

image

@jukzi jukzi merged commit efcc7c7 into eclipse-platform:master Dec 6, 2023
4 checks passed
@jukzi jukzi deleted the JUnitTestRunnerInterceptor2 branch December 6, 2023 08:55
@akurtakov
Copy link
Member

@jukzi Did this one helped any issue? I ask as it is causing extra warnings in the builds, e.g. https://ci.eclipse.org/pde/job/eclipse.pde/job/PR-991/1/console:

 Maven Artifact org.openclover:clover:4.5.1 @ /home/jenkins/agent/workspace/eclipse.pde_PR-991/.m2/repository/org/openclover/clover/4.5.1/clover-4.5.1.jar is not a bundle and will be ignored, automatic wrapping of such artifacts can be enabled with <pomDependencies>wrapAsBundle</pomDependencies> in target platform configuration.

If you can't make it clear and there is no proof that it actually improves anything I would ask you to remove it.

@jukzi
Copy link
Contributor Author

jukzi commented Dec 7, 2023

i did not see a change on the offending test result.
i plan to have a look why.

@laeubi
Copy link
Contributor

laeubi commented Dec 7, 2023

Just in case I think it should be an additional dependency of the maven-surefire plugin NOT the build like in the example pom.xml where they seem to use it for some clover-maven-plugin, I still don't understand where we use clover so this can help but want to mention it.

@akurtakov
Copy link
Member

What's the status here? I will prep a revert today if there is nothing else.

jukzi pushed a commit to jukzi/eclipse.platform.releng.aggregator that referenced this pull request Dec 11, 2023
did not work

This reverts commit efcc7c7.
This reverts commit 17d93aa.
jukzi pushed a commit that referenced this pull request Dec 11, 2023
did not work

This reverts commit efcc7c7.
This reverts commit 17d93aa.
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.

None yet

6 participants