Skip to content

fatal: Could not get current working directory: No such file or directory #61

Description

@vinpel

When pushing a commit to my gogs repo the webhooked php-censor failed :

Args: ["git clone --recursive  -b \"%s\" \"%s\" \"%s\"","master","http:\/\/myrepo.loc/user/repo","\/data\/htdocs\/phpci\/runtime\/builds\/516_6f26c\/"]
Command: git clone --recursive  -b "master" "http://myrepo.loc/user/repo" "/"
fatal: Could not get current working directory: No such file or directory

Execution status: 128
Failed to clone remote git repository.
Exception: Could not create a working copy.

BUILD FAILED
Exception: Warning: array_key_exists() expects parameter 2 to be array, null given in /data/htdocs/phpci/src/PHPCensor/Plugin/Util/Executor.php line 58

Removing Build.

i manualy start with debug, same error.
Another working project : same error

The created build directory are deleted after each succès (and disk where not full)

I restart the rkt container, all seen to work fine.

The error is not very clear for me. Forget to restart the worker before reboot, but file where up to date with the repo

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions