Failure in LibertyPluginSWTBotGradleTest.testDashboardDebugWithCustomConfigAction - widget not found
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- desktop, testing-qa
Direzione di ricerca
Inizia da LibertyPluginSWTBotGradleTest.testDashboardDebugWithCustomConfigAction e confronta la sua esecuzione con LibertyPluginSWTBotMavenTest. Traccia SWTBotPluginOperations.launchCustomDebugFromDashboard, setCustomStartParmsFromShell e MagicWidgetFinder.find intorno al problema segnalato, quindi riproduci il problema con diversi ordini dei test. Il lavoro è completato quando la causa è compresa e i test non dipendono più dall’ordine del workaround.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
2023-09-08T19:44:40.2947775Z java.lang.RuntimeException: Unable to locate widget: Start parameters:
2023-09-08T19:44:40.2948419Z at io.openliberty.tools.eclipse.test.it.utils.MagicWidgetFinder.find(MagicWidgetFinder.java:1054)
2023-09-08T19:44:40.2949294Z at io.openliberty.tools.eclipse.test.it.utils.SWTBotPluginOperations.setCustomStartParmsFromShell(SWTBotPluginOperations.java:541)
2023-09-08T19:44:40.2950363Z at io.openliberty.tools.eclipse.test.it.utils.SWTBotPluginOperations.launchCustomDebugFromDashboard(SWTBotPluginOperations.java:523)
2023-09-08T19:44:40.2951532Z at io.openliberty.tools.eclipse.test.it.LibertyPluginSWTBotGradleTest.testDashboardDebugWithCustomConfigAction(LibertyPluginSWTBotGradleTest.java:428)
This failure was introduced by an earlier version of https://github.com/OpenLiberty/liberty-tools-eclipse/pull/428. It seemed to occur consistently on Linux in particular.
We decided to workaround the failure by configuring the tests to run in alphabetical order. Our guess is that the way to understand this fact is that the error is provoked by runningthe LibertyPluginSWTBotMavenTest tests before the LibertyPluginSWTBotGradleTest tests, and worked around when these are run in the opposite relative order, such that the Gradle tests are run first (it's conceivable there are other complicating factors, including possibly the other test classes).
Opening this issue to follow up on the failure, to understand it better. This will hopefully help us more generally under these SWTBot tests. It's not that running the tests in a predictable alphabetical order is necessarily bad, but we'd like to understand the failure while it's happening consistently, (as it was when merging the PR on top of the HEAD of https://github.com/OpenLiberty/liberty-tools-eclipse/commit/2fb4b6b2f3a87599c60e4571220eb593e5dd3cbe).
- Lingua principale
- Java
- Stelle
- 16
- Fork
- 20
- Merge medio
- 16h 1m
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di OpenLiberty/liberty-tools-eclipse
-
enhancement SVT
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
OpenLiberty/liberty-tools-eclipse#699 · 1 commento ·
-
Custom "Organize Imports" order is ignored while Liberty Tools is installed (jdt.ls default order applied instead)Forse già presa @JoshwinThomasIBM l’ha presa 2 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
OpenLiberty/liberty-tools-eclipse#728 · 3 commenti · 1 assegnatario ·
-
1Q2027
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 5/100
-
4Q Release checklist - 26.0.12Forse di nuovo libera @muhamedshamsheer l’ha presa 58 giorni fa e non c’è nessuna pull request aperta. Aperta4Q2026 Release
OpenLiberty/liberty-tools-eclipse#709 · 1 assegnatario ·
Tutte le issue di OpenLiberty/liberty-tools-eclipse
Issue simili
-
effort/l priority/p1 risk/high triage/core
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
iflytek/skillhub#1188 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
testng-team/testng#3675 ·
I maintainer di solito rispondono entro 1 giorno
-
design
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
OpenLiberty/liberty-tools-intellij#1869 ·
I maintainer di solito rispondono entro 1 giorno
-
`ovsx verify` fails for a version older than the 100 newest of an extensionForse già presa @trivikr l’ha presa oggi. Apertacli
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
eclipse-openvsx/openvsx#2482 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
I maintainer di solito rispondono entro 1 giorno