https://bugzilla.wikimedia.org/show_bug.cgi?id=62623

            Bug ID: 62623
           Summary: phpunit segfaults when too many tests are run
           Product: Wikimedia
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Continuous integration
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: cste...@wikimedia.org
                CC: has...@free.fr, innocentkil...@gmail.com,
                    krinklem...@gmail.com
       Web browser: ---
   Mobile Platform: ---

When too many tests are run, phpunit will segfault after it finishes running
the tests. It might be related to the total number of asserts, or memory
allocated, but mediawiki core is close to some limit, where patchsets with a
lot of tests can trigger this condition (see
https://gerrit.wikimedia.org/r/#/c/77645/, patchsets 23-25).

I was able to reproduce the segfault in a patch that only contained noop tests
too. Somewhere between 150-175 tests that just assertFalse(false) will trigger
it. See https://gerrit.wikimedia.org/r/#/c/118573/ for plenty of patchsets that
reproduce the issue.

I'm afraid if we add too many more tests to core, we're going to quickly start
hitting this more frequently, so it would be good to try and get to the root of
it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to