AppMap `npx` command failed to record tests on Windows
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- java
- Ambito
- testing-qa
Direzione di ricerca
Inizia riproducendo il comando npx @appland/appmap record test su Windows nel repository spring-petclinic, usando mvnw test e confrontando il risultato con Linux. Traccia il punto di ingresso di record test e il controllo della creazione di AppMap per scoprire perché i test Maven completati con successo non producono AppMaps registrate. Il lavoro è completato quando il comando Windows registra AppMaps e non segnala più che i test non sono riusciti a crearle.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
- I cloned https://github.com/spring-projects/spring-petclinic
- I executed
npx @appland/appmap record test -d C:\Users\jansorg\source\spring-petclinic, as suggested by the install guide wizard - I selected "Maven" als build system
- I configured it to use "mvnw test" as test command to use the Maven wrapper, which is part of the repository
- I set
-1as test timeout - The tests executed successfully, but at the end the npx command complained that no tests were recorded and offered to submit a bug report. The same project is successfully creating AppMap files on Linux.
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.springframework.samples.petclinic.vet.VetTests
2022-09-12 14:45:26.414 INFO 18904 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2022-09-12 14:45:26.414 INFO 18904 --- [ionShutdownHook] org.ehcache.core.EhcacheManager : Cache 'vets' removed from EhcacheManager.
2022-09-12 14:45:26.414 INFO 18904 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated...
2022-09-12 14:45:26.414 INFO 18904 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed.
2022-09-12 14:45:26.429 INFO 18904 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2022-09-12 14:45:26.429 INFO 18904 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown initiated...
2022-09-12 14:45:26.429 INFO 18904 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-2 - Shutdown completed.
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 41, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 29.043 s
[INFO] Finished at: 2022-09-12T14:45:26+02:00
[INFO] ------------------------------------------------------------------------
! The test commands failed to create AppMaps
Help is available from the AppMap support team! If you want assistance, the test command,
error message, exit code, and APPMAP environment variables can be uploaded securely to the
AppMap ZenDesk support portal. The AppMap team will respond to you by email, so we'll need your
email address to open the support request.
! Would you like to open a support request? No
- Lingua principale
- Java
- Stelle
- 88
- Fork
- 17
- Merge medio
- 2g 2h
- PR unite (30g)
- 1
Guida per i contributori
Apri 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 getappmap/appmap-java
-
getappmap/appmap-java#323 · 1 reazione · 2 assegnatari ·
-
Warning with Java 25 Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
getappmap/appmap-java#322 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
getappmap/appmap-java#308 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
getappmap/appmap-java#305 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
getappmap/appmap-java#304 ·
Tutte le issue di getappmap/appmap-java
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
bug needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
objectionary/hone-maven-plugin#1061 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
spring-projects/spring-modulith#1895 ·