Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/83940


Change subject: disable suoshin mem handler for code coverage
......................................................................

disable suoshin mem handler for code coverage

MediaWiki code coverage segfaulting might be due to Suhosin:
https://bugs.php.net/bug.php?id=60990

We might able to workaround the segfault by using:

 SUHOSIN_MM_USE_CANARY_PROTECTION=0 php ...

""" If you do this then PHP will no longer use the memory allocator with
carnaries, but use the normal one which is nearly identical to the
vanilla one. """

Worth a try.

Co-Authored-By: Alexandros :-)

bug: 43972
Change-Id: I87b6b22dd1ae0f58aad4aaf2bb949df0b763061c
---
M mediawiki.yaml
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/integration/jenkins-job-builder-config 
refs/changes/40/83940/1

diff --git a/mediawiki.yaml b/mediawiki.yaml
index bc6fb8f..df296ca 100644
--- a/mediawiki.yaml
+++ b/mediawiki.yaml
@@ -173,7 +173,7 @@
         branch: 'master'
      - mw-install-sqlite
      - shell: |
-        php tests/phpunit/phpunit.php \
+        SUHOSIN_MM_USE_CANARY_PROTECTION=0 php tests/phpunit/phpunit.php \
             --exclude-group Dump,Broken,ParserFuzz,Stub \
             --coverage-html 
/srv/org/wikimedia/integration/cover/mediawiki-core/master/php
         echo "Code coverage report is available at:"

-- 
To view, visit https://gerrit.wikimedia.org/r/83940
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I87b6b22dd1ae0f58aad4aaf2bb949df0b763061c
Gerrit-PatchSet: 1
Gerrit-Project: integration/jenkins-job-builder-config
Gerrit-Branch: master
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to