AppMap `npx` command failed to record tests on Windows
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
- 领域
- testing-qa
调研方向
首先,在 Windows 上针对 spring-petclinic 仓库使用 mvnw test 重现 npx @appland/appmap record test 命令,并将结果与 Linux 进行比较。跟踪 record test 的入口点和 AppMap 创建检查,找出为什么成功的 Maven 测试不会生成记录的 AppMaps。完成的标准是 Windows 命令能够记录 AppMaps,并且不再报告测试未能创建它们。
由索引模型根据 Issue 内容生成。
描述
- 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
- 主要语言
- Java
- 星标
- 88
- 派生
- 17
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getappmap/appmap-java 的其他 Issue
-
getappmap/appmap-java#323 · 1 个 reaction · 已指派 2 人 ·
-
难度 3/5 1-2 天 新手友好度 35/100
getappmap/appmap-java#322 ·
-
难度 5/5 一周以上 新手友好度 35/100
getappmap/appmap-java#308 ·
-
难度 5/5 一周以上 新手友好度 35/100
getappmap/appmap-java#305 ·
-
难度 4/5 3-5 天 新手友好度 35/100
getappmap/appmap-java#304 ·
查看 getappmap/appmap-java 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 2/5 1-3 小时 新手友好度 76/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 1/5 1 小时以内 新手友好度 94/100
objectionary/hone-maven-plugin#1061 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
spring-projects/spring-modulith#1895 ·