Page MenuHomePhabricator

CI job mwext-php74-phan-docker fails when there is no phan config, but should pass
Closed, ResolvedPublic

Description

Possible an issue with the "phan for all" T283097

https://integration.wikimedia.org/ci/job/mwext-php74-phan-docker/1/console

14:23:07 INFO:quibble.commands:>>> Start: Extension and skin submodule update under MediaWiki root /workspace/src
14:23:07 INFO:quibble.commands:Updating git submodules of extensions and skins
14:23:07 INFO:quibble.commands:<<< Finish: Extension and skin submodule update under MediaWiki root /workspace/src, in 0.001 s
14:23:07 [mwext-php74-phan-docker] $ /bin/bash -eu /tmp/jenkins4122216686124147969.sh
14:23:07 + chmod 2777 src
14:23:07 [mwext-php74-phan-docker] $ /bin/bash /tmp/jenkins305053456587551691.sh
14:23:07 + set -o pipefail
14:23:07 ++ pwd
14:23:07 ++ pwd
14:23:07 ++ pwd
14:23:07 ++ pwd
14:23:07 /tmp/jenkins305053456587551691.sh: line 4: THING_SUBNAME: unbound variable
14:23:07 ++ /usr/bin/env
14:23:08 Build step 'Execute shell' marked build as failure
14:23:08 [PostBuildScript] - [INFO] Executing post build scripts.
14:23:08 [PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
14:23:08 [PostBuildScript] - [INFO] Executing post build scripts.
14:23:08 [mwext-php74-phan-docker] $ /bin/bash -xe /tmp/jenkins2525952134060629346.sh
14:23:08 + echo 'Clearing /srv/jenkins/workspace/workspace/mwext-php74-phan-docker/cache'
14:23:08 Clearing /srv/jenkins/workspace/workspace/mwext-php74-phan-docker/cache
14:23:08 [mwext-php74-phan-docker] $ /bin/bash /tmp/jenkins7590067148626382696.sh
14:23:08 + set -o pipefail
14:23:08 ++ pwd
14:23:08 + exec docker run --volume /srv/jenkins/workspace/workspace/mwext-php74-phan-docker/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwext-php74-phan-docker --label jenkins.build=1 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.1 clear
14:23:08 ++ /usr/bin/env
14:23:08 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
14:23:09 [PostBuildScript] - [INFO] Executing post build scripts.
14:23:09 [mwext-php74-phan-docker] $ /bin/bash -xe /tmp/jenkins3744397746466122905.sh
14:23:09 + set -euxo pipefail
14:23:09 + docker ps -q --filter label=jenkins.job=mwext-php74-phan-docker --filter label=jenkins.build=1
14:23:09 + xargs --no-run-if-empty docker stop
14:23:09 [PostBuildScript] - [INFO] Executing post build scripts.
14:23:09 [mwext-php74-phan-docker] $ /bin/bash /tmp/jenkins653659554137364848.sh
14:23:09 + set -o pipefail
14:23:09 + exec docker run --user=root --volume /srv/jenkins/workspace/workspace/mwext-php74-phan-docker:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=mwext-php74-phan-docker --label jenkins.build=1 --env-file /dev/fd/63 docker-registry.wikimedia.org/buster:latest /workspace -mindepth 1 -delete
14:23:09 ++ /usr/bin/env
14:23:09 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
14:23:11 [mwext-php74-phan-docker] $ /bin/bash -xe /tmp/jenkins17194563442723989644.sh
14:23:11 + set -u
14:23:11 + rmdir /srv/jenkins/workspace/workspace/mwext-php74-phan-docker
14:23:11 Finished: FAILURE

Event Timeline

There is now the message

.phan/config.php not found, skipping

and the job passed, seems now hat it should work.