PHPCI icon indicating copy to clipboard operation
PHPCI copied to clipboard

Error on load plugin Codeception

Open joubertredrat opened this issue 9 years ago • 4 comments

Hi guys,

I'm trying to test PHPCI here and all my builds is having this problem. Anyone know how to fix this? Thanks

RUNNING PLUGIN: \PHPCI\Plugin\Codeception
Exception: Warning: file_get_contents(/tests/_output/report.tap.log): failed to open stream: No such file or directory in /home/user/web/domain/PHPCI/Plugin/Codeception.php line 94
PLUGIN: FAILED
RUNNING PLUGIN: \PHPCI\Plugin\PhpDocblockChecker
PLUGIN: SUCCESS
RUNNING PLUGIN: \PHPCI\Plugin\PhpCodeSniffer
PLUGIN: SUCCESS

joubertredrat avatar Jan 08 '16 18:01 joubertredrat

@joubertredrat Does the report.tap.log get generated anywhere else? (/tests/_log/report.tap.log) for example. I know I had a similar issue

craigwillis85 avatar Jan 11 '16 09:01 craigwillis85

did you have build codeception, my phpci.yml :


setup:
    - "cd %BUILD_PATH%/tests/codeception/frontend  && %BUILD_PATH%/vendor/bin/codecept build"
test:
  codeception:
    config: "tests/codeception/frontend/codeception.yml"
    path: "tests/codeception/frontend/_output/"
    args: "--steps --html"

vinpel avatar Feb 01 '16 14:02 vinpel

Using the phpci.yml file suggested by @vinpel causes following error:

Cloning into '/var/www/phpci/PHPCI/build/23'...

Working copy created: /
RUNNING PLUGIN: 0
Plugin does not exist: 0
Exception: Plugin failed: 0

No more details returned and no other plugin loaded.

jralison avatar Mar 09 '16 01:03 jralison

can you post your complete phpci.yml ?

try to load another plugin before (like MySQL) to search the origine of the problem

vinpel avatar Mar 10 '16 07:03 vinpel