? ? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
27 Apr 2017
avatar PhilETaylor PhilETaylor - open - 27 Apr 2017
avatar PhilETaylor PhilETaylor - change - 27 Apr 2017
Status New Pending
avatar joomla-cms-bot
joomla-cms-bot - comment - 27 Apr 2017

Please add more information to your issue. Without test instructions and/or any description we will close this issue within 4 weeks. Thanks.
This is an automated message from the J!Tracker Application.

avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2017
Category Unit Tests
avatar PhilETaylor PhilETaylor - change - 27 Apr 2017
Labels Added: ? ? ?
avatar brianteeman brianteeman - change - 27 Apr 2017
Title
First attempt at a crappy-php-configuration travis build
First attempt at a poor-php-configuration travis build
avatar brianteeman brianteeman - edited - 27 Apr 2017
avatar PhilETaylor
PhilETaylor - comment - 27 Apr 2017

So @mbabker setting a crappy memory_limit of 8M means UnitTests cannot run... so is my through of attempting to set up a crappy web server kind of environment in travis a lost cause?

PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 121 bytes) in /home/travis/build/joomla/joomla-cms/libraries/vendor/phpunit/phpunit/src/Framework/TestSuite.php on line 557
I have upped the memory limit again but left in disable_functions taken from first google result of https://www.cyberciti.biz/faq/linux-unix-apache-lighttpd-phpini-disable-functions/ as well as parse_ini_file:

disable_functions = parse_ini_file,exec,passthru,shell_exec,system,proc_open,popen,curl_exec,curl_multi_exec,parse_ini_file,show_source

avatar mbabker
mbabker - comment - 27 Apr 2017

The memory limit thing you can't get around, it's just resource intensive. The rest of it though you should be able to play with.

avatar PhilETaylor
PhilETaylor - comment - 27 Apr 2017

https://travis-ci.org/joomla/joomla-cms/jobs/226423912

Undefined variable: pipes

No idea where thats coming from... any idea?

avatar PhilETaylor
PhilETaylor - comment - 27 Apr 2017

ah something to do with "proc_open" :) which is now disabled...

If only it told you what test was being run at that time ?

avatar PhilETaylor
PhilETaylor - comment - 27 Apr 2017

I give up.

Somewhere in JSessionTest causes phpunit to die - I spent an hour trying to find out why, but I think its deep in phpunit.

PHPUnit 5.7.5 by Sebastian Bergmann and contributors.

Error:         No code coverage driver is available


Starting test 'JSessionTest::testGetInstance with data set "first_instance" ('none', array(99), 'Line: 90: Should not be a dif...change')'.
Undefined variable: pipes
avatar PhilETaylor PhilETaylor - change - 27 Apr 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-04-27 15:38:53
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 27 Apr 2017

Add a Comment

Login with GitHub to post a comment