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

Some error thrown at dsf gdb tests after that no other tests are executed. #1037

Closed
jonahgraham opened this issue Jan 16, 2025 · 2 comments · Fixed by #1040
Closed

Some error thrown at dsf gdb tests after that no other tests are executed. #1037

jonahgraham opened this issue Jan 16, 2025 · 2 comments · Fixed by #1040

Comments

@jonahgraham
Copy link
Member

Some error thrown at dsf gdb tests after that no other tests are executed.

2025-01-16T16:41:44.0644358Z [INFO] org.eclipse.cdt.tests.dsf.gdb 2.3.100-SNAPSHOT ..... FAILURE [  8.004 s]
2025-01-16T16:41:44.0645257Z [INFO] [test-bundle] DSF-GDB multicorevisualizer test fragment 1.0.0-SNAPSHOT SKIPPED
2025-01-16T16:41:44.0646155Z [INFO] org.eclipse.cdt.debug.gdbjtag.core.tests 1.0.400-SNAPSHOT SKIPPED
2025-01-16T16:41:44.0646917Z [INFO] [test-bundle] Debug Core Memory Tests 0.1.0-SNAPSHOT SKIPPED
2025-01-16T16:41:44.0647777Z [INFO] [test-bundle] C/C++ Development Tools Tests Running Support Tests 1.0.0-SNAPSHOT SKIPPED
2025-01-16T16:41:44.0648634Z [INFO] org.eclipse.cdt.testing 8.1.500-SNAPSHOT ........... SKIPPED
2025-01-16T16:41:44.0649335Z [INFO] org.eclipse.cdt.testing 12.0.0-SNAPSHOT ............ SKIPPED
2025-01-16T16:41:44.0650040Z [INFO] org.eclipse.cdt.testing.repo 8.3.0-SNAPSHOT ........ SKIPPED
2025-01-16T16:41:44.0650728Z [INFO] ------------------------------------------------------------------------
2025-01-16T16:41:44.0651263Z [INFO] BUILD FAILURE
2025-01-16T16:41:44.0651713Z [INFO] ------------------------------------------------------------------------
2025-01-16T16:41:44.0652254Z [INFO] Total time:  21:50 min
2025-01-16T16:41:44.0652639Z [INFO] Finished at: 2025-01-16T16:41:44Z
2025-01-16T16:41:44.0653368Z [INFO] ------------------------------------------------------------------------
2025-01-16T16:41:44.1523155Z [ERROR] Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:4.0.10:test (default-test) on project org.eclipse.cdt.tests.dsf.gdb: An unexpected error occurred while launching the test runtime (process returned error code 13). 

Originally posted by @raghucssit in #1035 (comment)

@jonahgraham
Copy link
Member Author

This is a new problem AFAICT, not sure what it is related to, but the logs that the build is generating are not being saved. So I need to add these extra logs to the build artifacts and see if I can get a clue as to what is happening.

This may be related to the underlying issues preventing me from resolving #816 - the VMs + toolchains that GitHub actions runs on change regularly and the DSF GDB tests are more sensitive than most of the other tests in CDT.

jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 16, 2025
jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 16, 2025
@jonahgraham
Copy link
Member Author

The problem is target platform is not resolving properly when running tests. See attached full log from last run of #1038: 1737048219553.log

Key parts:

!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Bundle org.eclipse.cdt.tests.dsf.gdb is not found

caused by:

!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.tests.dsf.gdb [460]
  Unresolved requirement: Require-Bundle: org.hamcrest.library

jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 16, 2025
jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 16, 2025
When some types of failures happen, such as that in eclipse-cdt#1037, a log
file is created, so save all .log files as artifacts.

Part of eclipse-cdt#1037
jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 16, 2025
jonahgraham added a commit that referenced this issue Jan 16, 2025
When some types of failures happen, such as that in #1037, a log
file is created, so save all .log files as artifacts.

Part of #1037
jonahgraham added a commit that referenced this issue Jan 16, 2025
jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 17, 2025
On a recent update to the target platform, the DSF-GDB tests
did not run because none of the changes matched the dsf
filter. Going forward, include running DSF tests when any
releng changes happen.

This replaces commit 8d06425. That commit ran the tests
all the time, which was too slow.

Part of eclipse-cdt#1037
jonahgraham added a commit to jonahgraham/cdt that referenced this issue Jan 17, 2025
On a recent update to the target platform, the DSF-GDB tests
did not run because none of the changes matched the dsf
filter. Going forward, include running DSF tests when any
releng changes happen.

This replaces commit 8d06425. That commit ran the tests
all the time, which was too slow.

Part of eclipse-cdt#1037
jonahgraham added a commit that referenced this issue Jan 17, 2025
On a recent update to the target platform, the DSF-GDB tests
did not run because none of the changes matched the dsf
filter. Going forward, include running DSF tests when any
releng changes happen.

This replaces commit 8d06425. That commit ran the tests
all the time, which was too slow.

Part of #1037
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 a pull request may close this issue.

1 participant