? ? ? Failure

User tests: Successful: Unsuccessful:

avatar photodude
photodude
3 May 2015

.

avatar photodude photodude - open - 3 May 2015
avatar zero-24
zero-24 - comment - 3 May 2015

@photodude do you know why it fails on
cp: cannot create regular file/home/travis/.phpenv/versions/hhvm/etc/conf.d': No such file or directory`

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

avatar zero-24 zero-24 - change - 3 May 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 3 May 2015
Labels Added: ?
avatar mbabker
mbabker - comment - 3 May 2015

HHVM isn't native PHP, so stuff like phpenv config-add in our config scripts fail. Basically we need to tweak the .travis.yml scripts to check for HHVM in extra places (probably the same ones as we are for PHP 7 at a minimum).

avatar zero-24 zero-24 - change - 3 May 2015
Category Repository
avatar zero-24 zero-24 - change - 3 May 2015
The description was changed
Status New Pending
avatar photodude
photodude - comment - 4 May 2015

@zero-24 I'm not sure about that failure. I've tried tweaking somethings as @mbabker suggested.

I'm now seeing a test failure Fatal error: request has exceeded memory limit in /home/travis/build/joomla/joomla-cms/libraries/vendor/phpunit/php-timer/PHP/Timer.php on line 138

Seems there is a lot to do in relation to our testing with PHP7 and HHVM. These php builds will likely be allowed failures for some time.

avatar mbabker
mbabker - comment - 4 May 2015

Maybe we could find someone from the HHVM team to give suggestions on the Travis build config? FWIW they are running the tests on their platform (see https://github.com/facebook/hhvm/blob/master/hphp/test/frameworks/frameworks.yaml#L246) and get past this test (http://graph.facebook.com/hhvm_oss_tests has some raw data from the test runs), only thing is it seems the tests are on the CMS from its state last August (https://github.com/joomla/joomla-cms/tree/7689d922ca373989e7328f510e94aa2fc541e272 specifically).

avatar photodude
photodude - comment - 5 May 2015

@mbabker I've submitted a PR facebook/hhvm#5249 for hhvm to update to the current 3.4.1 release.

avatar photodude
photodude - comment - 5 May 2015

Interesting, Travis is now saying this PR is "missing config" on each commit and no longer is running tests. Seems to be working for the rest of the repo.

avatar photodude
photodude - comment - 5 May 2015

@mbabker Thanks, I didn't know YAML was so picky on spacing. Looks like I needed to remove the referenced whitespace and I needed to indent some lines.

avatar photodude
photodude - comment - 10 May 2015

@mbabker Looking over the information at https://github.com/facebook/hhvm/blob/master/hphp/test/frameworks/frameworks.yaml#L246

it seems the HHVM team is indicating something about tests intermittently hanging...
https://github.com/facebook/hhvm/blob/master/hphp/test/frameworks/frameworks.yaml#L259

avatar mbabker
mbabker - comment - 10 May 2015

I saw that, no idea what the deal is. At least it's all isolated to a single package so you'd think there would be something common in there.

avatar photodude
photodude - comment - 12 May 2015

@mbabker It would be nice if the issue is a single package. I fear it's not.

Looking through the various builds I find a few issues.
Something is throwing an Invalid configuration directive issue

There is this memory limit issue

Fatal error: request has exceeded memory limit in /home/travis/build/joomla/joomla-cms/libraries/vendor/phpunit/php-timer/PHP/Timer.php on line 138
/home/travis/build.sh: line 41:  5463 Segmentation fault      phpunit --configuration travisci-phpunit.xml

and this abstract method issue

Fatal error: Class Mock_JDatabaseDriver_afa00a82 contains abstract method (isSupported) and must therefore be declared abstract or implement the remaining methods in /home/travis/build/joomla/joomla-cms/libraries/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php(301) : eval()'d code on line 1
Core dumped: Segmentation fault
Stack trace in /tmp/stacktrace.6888.log
/home/travis/build.sh: line 41:  6888 Segmentation fault      phpunit --configuration travisci-phpunit.xml

I've adjusted a few things trying to see if these errors might go away, with no success so far.

Looking at the HHVM test results for Joomla CMS from Facebook there are some failures and errors.

Maybe this list will give us some direction on what needs to be adjusted or fixed.

avatar photodude
photodude - comment - 15 May 2015

@zero-24 should this PR get a "Unit/System Tests" label?

avatar zero-24 zero-24 - change - 15 May 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 15 May 2015
Labels Added: ?
avatar zero-24
zero-24 - comment - 15 May 2015

done thanks @photodude

avatar photodude
photodude - comment - 15 May 2015

@zero-24 You're welcome, and Thank you.

avatar wilsonge
wilsonge - comment - 17 May 2015

FWIW with the test sort objects failures - we had a PR for that a LONG time ago - #3200 but travis didn't like it (although it ran locally). Since we cleaned up a lot of our unit tests since then it may fix itself

avatar photodude
photodude - comment - 1 Jun 2015

The HHVM team failed the Joomla 3.4.1 testing update.

Summary: Does not appear to be tested. refs facebook/hhvm#5249 - brakes
run

ERROR: Could not disable
/data/fio/hhvm/hphp/test/frameworks/framework_downloads/joomla-cms/tests/unit/suites/libraries/cms/form/field/JFormFieldCaptchaTest.php
in joomlacms!
avatar photodude
photodude - comment - 24 Feb 2016

Closing as replaced by #9207

avatar photodude photodude - change - 24 Feb 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-02-24 22:05:17
Closed_By photodude
avatar photodude photodude - close - 24 Feb 2016
avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2016
Labels Added: ?
avatar photodude photodude - head_ref_deleted - 24 Feb 2016

Add a Comment

Login with GitHub to post a comment