Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

AntUITests.testAntHome failed in CI job

Đang mở
#2,621 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
42/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
java
Lĩnh vực
ci-cd, testing

Hướng nghiên cứu

Bắt đầu với SeparateVMTests.java tại testAntHome và theo dõi luồng khởi chạy qua AntUITestUtil.java ở các dòng 108, 119 và 243. Tái hiện hoặc chạy lại bài kiểm thử CI từ job được liên kết và xác định lý do console đôi khi vẫn mở. Công việc được hoàn tất khi testAntHome hoàn thành một cách ổn định mà không gặp lỗi assertion đóng console.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug test

See: https://github.com/eclipse-platform/eclipse.platform/actions/runs/24289285701/job/70923837227?pr=2494

org.eclipse.ant.tests.ui.testplugin.AntUITests.testAntHome -- Time elapsed: 20.78 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Console is not closed ==> expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
	at org.eclipse.ant.tests.ui.testplugin.AntUITestUtil.launchAndWait(AntUITestUtil.java:108)
	at org.eclipse.ant.tests.ui.testplugin.AntUITestUtil.launchAndTerminate(AntUITestUtil.java:119)
	at org.eclipse.ant.tests.ui.testplugin.AntUITestUtil.launch(AntUITestUtil.java:243)
	at org.eclipse.ant.tests.ui.separateVM.SeparateVMTests.testAntHome(SeparateVMTests.java:290)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.eclipse.ant.tests.ui.testplugin.TestAgainExtension.lambda$0(TestAgainExtension.java:37)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at org.eclipse.ant.tests.ui.testplugin.TestAgainExtension.handleTestExecutionException(TestAgainExtension.java:34)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

On the next run there was no fail.

Ngôn ngữ chính
Java
Star
165
Fork
174
Merge trung bình
3 ngày 6 giờ
Pull request đã merge (30 ngày)
44

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của eclipse-platform/eclipse.platform

Tất cả issue của eclipse-platform/eclipse.platform

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.