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

Issue #2 enable LeakTestSuite #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ktatavarthi
Copy link
Member

Signed-off-by: Kalyan Prasad Tatavarthi kalyan_prasad@in.ibm.com

Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
Signed-off-by: Kalyan Prasad Tatavarthi <kalyan_prasad@in.ibm.com>
@ktatavarthi
Copy link
Member Author

The LeakTestSuite tests fail with the below error

java.lang.NoClassDefFoundError: Lorg/apache/maven/surefire/spi/MasterProcessChannelProcessorFactory;
	at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testTextEditorCloseOneOfTwo(JavaLeakTest.java:99)
Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.spi.MasterProcessChannelProcessorFactory cannot be found by org.eclipse.tycho.surefire.osgibooter_3.0.0.202204100956
	at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testTextEditorCloseOneOfTwo(JavaLeakTest.java:99)

@iloveeclipse
Copy link
Member

@ktatavarthi : we should create tycho bug.
Note, JDT core tests fail too after tycho upgrade, but for a different reason eclipse-jdt/eclipse.jdt.core#2

@ktatavarthi
Copy link
Member Author

Created below tycho bug for this issue

@mickaelistria
Copy link
Contributor

Thanks for the report on Tycho. I tried to reproduce the issue locally, using command mvn clean verify -Dtest=LeakTestSuite from the org.eclipse.jdt.ui.tests folders. All tests complete successfully. Is this issue visible on CI? Would you mind sharing a link?
`

@ktatavarthi
Copy link
Member Author

@ktatavarthi
Copy link
Member Author

ktatavarthi commented Apr 11, 2022

I tried to reproduce the issue locally, using command mvn clean verify -Dtest=LeakTestSuite from the org.eclipse.jdt.ui.tests folders. The tycho surefire plugin used is tycho-surefire-plugin:3.0.0 and 23 tests fail .

@ktatavarthi ktatavarthi added this to To do in JDTProject via automation Apr 13, 2022
@ktatavarthi ktatavarthi moved this from To do to In progress in JDTProject Apr 13, 2022
@mickaelistria
Copy link
Contributor

Please try re-running with newer Tycho snapshots. I tried it locally and didn't get an error.

@sravanlakkimsetti
Copy link
Member

rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
JDTProject
In progress
Development

Successfully merging this pull request may close these issues.

None yet

4 participants