Add log/trace for case where plugin stop command times out

Aperta
#421 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java
Ambito
tooling

Direzione di ricerca

Inizia eseguendo o leggendo i test testDashboardStopExternalServer e la nuova funzione stop, quindi esamina la modifica di logging tentata nel commit 5b331362be06621e73b4da34d19c0bcc39a6a197. Il lavoro è completato quando la diagnostica del timeout viene acquisita senza bloccare il metodo run() di Job e il fallimento intermittente fornisce un output utile del processo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We have seen some intermittent failures in the new "testDashboardStopExternalServer" tests for the new "stop" function using LMP/LGP to stop a session not started by LTE.

It'd be nice to have some logging to go along with this failure. Do we see something problematic or is nothing at all even running in this process?

My naive attempt to add this: https://github.com/scottkurz/liberty-tools-eclipse/commit/5b331362be06621e73b4da34d19c0bcc39a6a197 doesn't really work. Unfortunately the IO read might end up blocking and preventing the Job's run() method from ever returning.

It seems the IO would have be done differently, on another thread and/or another library.

(Note the test output would still be kind of weird in that the process' output streams are all smashed together.. regardless of this one change idea.)

Lingua principale
Java
Stelle
16
Fork
20
Merge medio
16h 1m
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OpenLiberty/liberty-tools-eclipse

Tutte le issue di OpenLiberty/liberty-tools-eclipse

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.