Skip to content

Print framework state on failing bundles#1835

Merged
laeubi merged 2 commits intoeclipse-pde:masterfrom
laeubi:print_framework_state_on_test_failure
Jun 24, 2025
Merged

Print framework state on failing bundles#1835
laeubi merged 2 commits intoeclipse-pde:masterfrom
laeubi:print_framework_state_on_test_failure

Conversation

@laeubi
Copy link
Copy Markdown
Contributor

@laeubi laeubi commented Jun 23, 2025

If plugin test do not work as expected the user is currently quite blind. At best there is an exception in the log about a failing bundle, at worst there is only a message "No tests found" and then nothing is executed at all.

This now first checks if there are any unresolved plugins and print the current bundles and their state if anything is failing, and also makes the additional manifest to use non optional imports as otherwise things are possibly missing.

laeubi and others added 2 commits June 23, 2025 15:17
If plugin test do not work as expected the user is currently quite
blind. At best there is an exception in the log about a failing bundle,
at worst there is only a message "No tests found" and then nothing is
executed at all.

This now first checks if there are any unresolved plugins and print the
current bundles and their state if anything is failing, and also makes
the additional manifest to use non optional imports as otherwise things
are possibly missing.
@eclipse-pde-bot
Copy link
Copy Markdown
Contributor

This pull request changes some projects for the first time in this development cycle.
Therefore the following files need a version increment:

ui/org.eclipse.pde.junit.runtime/META-INF/MANIFEST.MF

An additional commit containing all the necessary changes was pushed to the top of this PR's branch. To obtain these changes (for example if you want to push more changes) either fetch from your fork or apply the git patch.

Git patch
From 7aee1bbb0b3f18ab59c9475019bf5dee8ef3c0e7 Mon Sep 17 00:00:00 2001
From: Eclipse PDE Bot <pde-bot@eclipse.org>
Date: Mon, 23 Jun 2025 13:26:30 +0000
Subject: [PATCH] Version bump(s) for 4.37 stream


diff --git a/ui/org.eclipse.pde.junit.runtime/META-INF/MANIFEST.MF b/ui/org.eclipse.pde.junit.runtime/META-INF/MANIFEST.MF
index 35cbed4063..15482f9ed5 100644
--- a/ui/org.eclipse.pde.junit.runtime/META-INF/MANIFEST.MF
+++ b/ui/org.eclipse.pde.junit.runtime/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
 Bundle-Name: %pluginName
 Bundle-SymbolicName: org.eclipse.pde.junit.runtime; singleton:=true
-Bundle-Version: 3.8.100.qualifier
+Bundle-Version: 3.8.200.qualifier
 Bundle-Vendor: %providerName
 Bundle-Localization: plugin
 Require-Bundle: org.eclipse.jdt.junit.runtime;bundle-version="[3.4.0,4.0.0)",
-- 
2.49.0

Further information are available in Common Build Issues - Missing version increments.

@github-actions
Copy link
Copy Markdown

Test Results

   752 files   -  13     752 suites   - 13   55m 33s ⏱️ +50s
 3 611 tests ±  0   3 534 ✅  -   1   76 💤 ± 0  1 ❌ +1 
10 639 runs   - 194  10 437 ✅  - 165  201 💤  - 30  1 ❌ +1 

For more details on these failures, see this check.

Results for commit 7f5bc9c. ± Comparison against base commit 80aebec.

@laeubi laeubi merged commit ab57e13 into eclipse-pde:master Jun 24, 2025
17 of 19 checks passed
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.

2 participants