@tassoman opened this Issue on November 12th 2014 Contributor

Ciao,
I was following the Tests developers guide trying to run Core tests on latest master branch.
I've followed all the instructions on resolving dependencies (composer, imagemagick, phantomjs) but when tests are done, I got back hundreds of errors (only 5 failures).

The color attachment is Ubuntu Precise 12.04, php 5.3.10, ppa git, phantomjs got from apt.
The black/white attachment is Debian Jessie testing (8.0), php 5.6
, with precompiled phantomjs 1.9

VMs are on virtualbox (1GB ram, dual cpu)
debian testing
ubuntu server

This issues follows this forum post

@mattab commented on November 12th 2014 Owner

Thanks for report, can you please paste the full text of the error here? cheers

@tassoman commented on November 12th 2014 Contributor

Well, I'm working on it, looks like config.ini.php was misconfigured at [ database_tests ] section, missing valid credentials with create database grant.
The problem now are lot of fread() feof() warnings reading fixtures :fearful:

@tassoman commented on November 12th 2014 Contributor

I've tried to log into a file but disk space has gone, looks like a loop

debian testing

@tassoman commented on November 12th 2014 Contributor

The problem happens when Fixtures.php tries to self::downloadAndUnzip() an url can't be reach. I'm behind a proxy but I've disabled it inside config.ini.php. Tests wouldn't start with configured proxy.
Now tests wouldn't stop without proxy :laughing:

@mattab commented on December 1st 2014 Owner

Hi @tassoman did you manage to get tests to pass? is there anything we can improve in Piwik to make it pass by default for you?

@tassoman commented on December 1st 2014 Contributor

Hi Matt adding proxy support to test would add a level of complexity also. I'm not sure if would be useful because of we should test for the proxy also.

I'm not sure adding this would be useful but I could try to send a pull request about it.

The problem seems fixture can't be downloaded during tests.

This Issue was closed on December 2nd 2014
Powered by GitHub Issue Mirror