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

Eclipse MAT fails to run its tests with 4.30-I-builds/I20231104-0830/ #821

Closed
ajohnson1 opened this issue Nov 5, 2023 · 3 comments
Closed

Comments

@ajohnson1
Copy link
Contributor

We are running the Eclipse Memory Analyzer 1.15.0 CI builds against Eclipse Platform https://download.eclipse.org/eclipse/updates/4.30-I-builds/ to pick up the fix for CVE-2021-28170

This has been working, but build https://download.eclipse.org/eclipse/updates/4.30-I-builds/I20231104-0830/ consistently fails to run the MAT tests, both locally with a Maven build and CI builds:
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1506/console
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1504/console
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1503/console
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1502/console
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1501/console

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:2.7.5:test (default-test) on project org.eclipse.mat.tests: An unexpected error occurred while launching the test runtime (process returned error code 13). Command-line used to launch the sub-process was /opt/tools/java/temurin/jdk-17/latest/bin/java -Dosgi.noShutdown=false -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86_64 -ea -Xmx1536m --add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED -Dosgi.clean=true -jar /home/jenkins/.m2/repository/p2/osgi/bundle/org.eclipse.equinox.launcher/1.6.600.v20231012-1237/org.eclipse.equinox.launcher-1.6.600.v20231012-1237.jar -data /home/jenkins/agent/workspace/tycho-mat-nightly/plugins/org.eclipse.mat.tests/target/work/data -install /home/jenkins/agent/workspace/tycho-mat-nightly/plugins/org.eclipse.mat.tests/target/work -configuration /home/jenkins/agent/workspace/tycho-mat-nightly/plugins/org.eclipse.mat.tests/target/work/configuration -application org.eclipse.tycho.surefire.osgibooter.headlesstest -testproperties /home/jenkins/agent/workspace/tycho-mat-nightly/plugins/org.eclipse.mat.tests/target/surefire.properties in working directory /home/jenkins/agent/workspace/tycho-mat-nightly/plugins/org.eclipse.mat.tests -> [Help 1]

1505 was built successfully against 4.29, 1500 successfully against https://download.eclipse.org/eclipse/updates/4.30-I-builds/I20231101-1800/plugins/
I guess the workaround for us would be to build against a previous known good version, e.g. the M1.
https://download.eclipse.org/eclipse/downloads/drops4/S-4.30M1-202309271800/
https://download.eclipse.org/eclipse/updates/4.30-I-builds/I20230927-1800/
so long as this a transient error.

@cdietrich
Copy link
Contributor

See #792

@laeubi
Copy link
Contributor

laeubi commented Nov 5, 2023

tycho-surefire-plugin:2.7.5

The current active supported Tycho version is Tycho 4.0.3, you should really upgrade your toolchain if you want to keep up with latest Eclipse development.

@ajohnson1
Copy link
Contributor Author

Eclipse Memory Analyzer has now gone up to Tycho 4.0.3: https://bugs.eclipse.org/bugs/show_bug.cgi?id=582479
and the tests now run correctly.
https://ci.eclipse.org/mat/job/tycho-mat-nightly/1508/console

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

No branches or pull requests

4 participants