[#114348] [Ruby master Feature#19832] Method#destructive?, UnboundMethod#destructive? — "sawa (Tsuyoshi Sawada) via ruby-core" <ruby-core@...>

Issue #19832 has been reported by sawa (Tsuyoshi Sawada).

15 messages 2023/08/06

[#114365] [Ruby master Bug#19834] Segmentation fault while running in docker — "ramachandran@... (Ramachandran A) via ruby-core" <ruby-core@...>

Issue #19834 has been reported by ramachandran@mallow-tech.com (Ramachandran A).

7 messages 2023/08/09

[#114380] [Ruby master Bug#19837] Concurrent calls to Process.waitpid2 misbehave on Ruby 3.1 & 3.2 — "kjtsanaktsidis (KJ Tsanaktsidis) via ruby-core" <ruby-core@...>

Issue #19837 has been reported by kjtsanaktsidis (KJ Tsanaktsidis).

7 messages 2023/08/11

[#114399] [Ruby master Feature#19839] Need a method to check if two ranges overlap — "shouichi (Shouichi KAMIYA) via ruby-core" <ruby-core@...>

Issue #19839 has been reported by shouichi (Shouichi KAMIYA).

27 messages 2023/08/18

[#114410] [Ruby master Bug#19841] Marshal.dump stack overflow with recursive Time — "segiddins (Samuel Giddins) via ruby-core" <ruby-core@...>

Issue #19841 has been reported by segiddins (Samuel Giddins).

9 messages 2023/08/18

[#114422] [Ruby master Feature#19842] Intorduce M:N threads — "ko1 (Koichi Sasada) via ruby-core" <ruby-core@...>

Issue #19842 has been reported by ko1 (Koichi Sasada).

30 messages 2023/08/21

[#114590] [Ruby master Bug#19857] Eval coverage is reset after each `eval`. — "ioquatix (Samuel Williams) via ruby-core" <ruby-core@...>

Issue #19857 has been reported by ioquatix (Samuel Williams).

21 messages 2023/08/30

[ruby-core:114467] [Ruby master Bug#14064] test-all with and without -j - incorrect assertions and missing test methods

From: "jeremyevans0 (Jeremy Evans) via ruby-core" <ruby-core@...>
Date: 2023-08-23 19:28:12 UTC
List: ruby-core #114467
Issue #14064 has been updated by jeremyevans0 (Jeremy Evans).

Status changed from Open to Closed

It looks like a fix for this was committed in commit:dd3851d2786412de019350a11e749c56fa5a07cc

----------------------------------------
Bug #14064: test-all with and without -j - incorrect assertions and missing test methods
https://bugs.ruby-lang.org/issues/14064#change-104240

* Author: MSP-Greg (Greg L)
* Status: Closed
* Priority: Normal
* ruby -v: ruby 2.5.0dev (2017-10-29 trunk 60531) [x64-mingw32]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
I always run test-all with a `-v` parameter, and although both Travis & Appveyor scripts do not, many of the https://rubyci.org builds seem to.  With `-v`, one has a log of all test methods.

For quite a while, I ran ruby-loco (MinGW trunk build) with `test-all` having no `-j` parameter.  I've now changed to using `-j`, and I'm surprised at what I'm finding.

When run without a `-j` parameter, the total test count is correct, but the total assertions count is high.

When run with a `-j` parameter (even set to 1), the test count drops (along with tests not appearing in the log), and the total assertions count is correct.  Often, whole test files (classes) disappear from the log.

Re the test count variance, I wrote code to parse the logs (the total test count variance), which showed which test methods were present in non-parallel test logs that were missing in parallel test logs.

As to the assertions, I ran test-all on a few single files, and added the assertion count to each test method line, then compared with and without `-j`.  Finally, by checking individual methods for their respective number of assertions, it was clear that the numbers shown in a non-parallel run were high.  At first, it seemed that they were high by a count of three, but that only held for a few files.

First of all, I'm wondering if anyone else has found similar results.

Secondly, I've spent some time verifying this, but I can't seem to find where the code needs corrections to function properly.  I hoped it might be a timeout issue, but that doesn't seem to be the case.  Hence, suggestions as to where to start are welcome.

Finally, in Travis, the line for test-all is:

```
make -s $JOBS test-all -o exts TESTOPTS='-q --color=never --job-status=normal'
```

Using MinGW, adding $JOBS as a make parameter seems to have no effect.




-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/

In This Thread

Prev Next