Testing non-determinism (ruby and threads)
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with testdata/ruby/basic_testcore.rb at test_27 (around line 1684), where the failure is reported, and trace how that test is run from testdata/ruby/basic.rb and the test epilogue. Reproduce the rbaTests:basic failure repeatedly and investigate the Ruby/threads behavior around the assertion; done means the cause is understood and the test behaves reliably.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi!
I'm in the process of packaging klayout for GNU Guix. I think by now I've got almost everything sorted out - except for 1 unit test failure.
Running rbaTests:basic
Special chars: <&>
Loaded suite Basic_TestClass
Started
...................F
==============================================
Failure: test_27(Basic_TestClass)
/tmp/guix-build-klayout-0.30.5.drv-0/source/testdata/ruby/basic_testcore.rb:1684:in `test_27'
1681: end
1682:
1683: GC.start
=> 1684: assert_equal(RBA::B.has_inst, false)
1685:
1686: end
1687:
<true> expected but was
<false>
diff:
? tru e
? fals
==============================================
....................ANYTHING
ANYTHING
.....Special chars: <&>
..........
Finished in 0.516415394 seconds.
----------------------------------------------
55 tests, 1151 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
98.1818% passed
----------------------------------------------
106.50 tests/s, 2228.83 assertions/s
Test rbaTests:basic failed:
(last checkpoint: ../../../src/rba/unit_tests/rbaTests.cc, line 65): Exception caught: RuntimeError: Tests failed (1 Errors + Failures)
/tmp/guix-build-klayout-0.30.5.drv-0/source/testdata/ruby/test_epilogue.rb:36:in `<top (required)>'
/tmp/guix-build-klayout-0.30.5.drv-0/source/testdata/ruby/basic.rb:32:in `load'
/tmp/guix-build-klayout-0.30.5.drv-0/source/testdata/ruby/basic.rb:32:in `<top (required)>'
Since this is the only failure I somewhat doubt that it's a packaging issue - but I'm way out of my ball-park here. Any ideas? I guess klayout works fine otherwise (but I have no means to check that for I am not an EDA designer).
- Ngôn ngữ chính
- C++
- Star
- 1.2k
- Fork
- 305
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của KLayout/klayout
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
KLayout/klayout#2554 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
KLayout/klayout#2412 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
DRC functions not working properly with clip in placeCó thể đã có người làm @klayoutmatthias đã nhận hôm nay. Đang mởbug
KLayout/klayout#2553 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Deep DRC can miss violations when a cell has many shapesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
KLayout/klayout#2546 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của KLayout/klayout
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Integer underflow and buffer overrun in detail::count_rows on disconnected distance matricesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
LaneDibello/Kotor-Patch-Manager#375 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày