Closed vitkovskii closed 11 years ago
Hi @vitkovskii - Do you know if the the "project2-build11" directory was created at all? Or was the directory created, but the cp
operation failed as you the system didn't have access to read from /data/lingualeo/infrastructure/deploy/data/base_repo
?
Hello, @dancryer. I think that directory wasn't created at all. Because ls -la /data/www/phpci/web/build
displays nothing after build.
@vitkovskii - It's tricky, as PHPCI automatically deletes the build directory after the build runs, whether it was successful or not.
I will add some more detailed logging to that part of the build process and see if we can figure it out. I assume you are using a Local Path build?
Yes, it was Local Path build. Thanks a lot =)
Hi @vitkovskii - Did you ever get to the bottom of this? I can't reproduce it no matter what I try...
I'm going to close this for now, but please do reopen it if the issue isn't resolved.
Hello,
I have the same problem. I have git on windows then push on a VM with linux and PHPCI installed.
Here is the build.log report:
Working copy created: / RUNNING PLUGIN: php_unit Error trying to execute: /vendor/bin/phpunit --tap -c "/build/logs/phpunit.xml" --coverage-html /build/logs/coverage sh: 1: /vendor/bin/phpunit: Permission denied EXCEPTION: TapParser only supports TAP version 13 PLUGIN STATUS: FAILED RUNNING PLUGIN: php_mess_detector Error trying to execute: /vendor/bin/phpmd "/" xml codesize,unusedcode,naming --exclude vendor,tests --suffixes php sh: 1: /vendor/bin/phpmd: Permission denied
EXCEPTION: Could not process PHPMD report XML. PLUGIN STATUS: FAILED RUNNING PLUGIN: php_code_sniffer Error trying to execute: /vendor/bin/phpcs --report=json --standard=PSR2 --extensions=php --ignore=vendor,tests "/" sh: 1: /vendor/bin/phpcs: Permission denied
etc etc..
I have a 777 on the build folder and run the script with the nohup method.
Do you have an idea from where it can come?
UPDATE: I checked if folder is well created before beeing deleted and its okay (created in 755)
I also get a similar failure:
RUNNING PLUGIN: php_unit
sh: 1: /vendor/bin/phpunit: Permission denied
EXCEPTION: TapParser only supports TAP version 13
PLUGIN STATUS: FAILED
Will edit once I've investigated further :)
I ran build from local path.
Executing: cp -Rf "/data/lingualeo/infrastructure/deploy/data/base_repo" "/data/www/phpci/web/build/project2-build11/" Working copy created: /data/www/phpci/web/build/project2-build11/
PHPCI said that working copy was successfully created, but really "Permission denied" occurred and no working dir was created. All plugins fails after this.
No chance to understand this from console output.