Page MenuHomePhabricator

Wikibase and EntitySchema secondary CI broken: docker: Error response from daemon: client version 1.40 is too old
Closed, ResolvedPublic

Description

Wikibase secondary CI and EntitySchema daily CI are broken:

Run mirromutth/mysql-action@v1.1
/usr/bin/docker run --name eea360b67c323d44bd8c6f363818dd845e_5216e3 --label 1466ee --workdir /github/workspace --rm -e "COMPOSER_HOME" -e "INPUT_MYSQL_VERSION" -e "INPUT_MYSQL_DATABASE" -e "INPUT_MYSQL_ROOT_PASSWORD" -e "INPUT_HOST_PORT" -e "INPUT_CONTAINER_PORT" -e "INPUT_CHARACTER_SET_SERVER" -e "INPUT_COLLATION_SERVER" -e "INPUT_MYSQL_USER" -e "INPUT_MYSQL_PASSWORD" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e "ACTIONS_ORCHESTRATION_ID" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp":"/github/runner_temp" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/mediawiki-extensions-Wikibase/mediawiki-extensions-Wikibase":"/github/workspace" 1466ee:a360b67c323d44bd8c6f363818dd845e
Root password not empty, use root superuser
Use specified database
docker: Error response from daemon: client version 1.40 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version.
See 'docker run --help'.

Event Timeline

I don’t know what to make of this error; it feels like it must be an issue entirely within GitHub Actions, but there’s nothing reported at https://www.githubstatus.com/ yet.

(mirromutth/mysql-action hasn’t had a new release since 2019, but it’s not clear to me that this could cause such an error. After all, the error happens as GitHub is trying to run the action via Docker, not inside the action; and also, GitHub builds the container for that action earlier in the CI run, so I don’t think the problem can be that the container image itself is too old either.)

Same issue happens in a test repo with just mysql-action and not much else.

AFAICT GitHub Actions isn’t generally broken (I tried a re-run in a random other repo), so I guess it must be specific to this action somehow…

Change #1239360 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/Wikibase@master] Replace mysql-action with mariadb service in secondary CI

https://gerrit.wikimedia.org/r/1239360

Change #1239360 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] Replace mysql-action with mariadb service in secondary CI

https://gerrit.wikimedia.org/r/1239360

Change #1239373 had a related patch set uploaded (by Lucas Werkmeister (WMDE); author: Lucas Werkmeister (WMDE)):

[mediawiki/extensions/EntitySchema@master] Replace mysql-action with mariadb service in secondary CI

https://gerrit.wikimedia.org/r/1239373

Change #1239373 merged by jenkins-bot:

[mediawiki/extensions/EntitySchema@master] Replace mysql-action with mariadb service in secondary CI

https://gerrit.wikimedia.org/r/1239373

Reported upstream at mirromutth/mysql-action#34; meanwhile, with Wikibase and EntitySchema fixed, I don’t think there’s anything left for us to do here.

Technical verification: The scope of this error seems to be fixed, but the EntitySchema daily CI is still failing based on the logs.
For the scope of the current issue, this task passes.
Reference for the issue: T418121: 🚧 EntitySchema daily CI broken: Cypress can’t find element