Page MenuHomePhabricator

scap fails with non-zero exit status 126 when running mwshell
Closed, ResolvedPublic

Description

When running scap backport the deployment fails with:

09:09 <+logmsgbot> !log kartik@deploy2002 scap failed: <CalledProcessError> Command '['/usr/bin/scap', 'mwshell', '--no-local-config', '--directory', '/srv/mediawiki-staging', '--user', 'www-data', '--', 'rm -f /srv/mediawiki-staging/php-1.43.0-wmf.27/cache/l10n/*.tmp.*']' returned non-zero exit status 126. (scap version: 4.113.0) (duration: 00m 01s)

Possibly related to T369115
Might perhaps be fixed by https://gerrit.wikimedia.org/r/c/operations/puppet/+/1081281 ?

Event Timeline

dcausse triaged this task as Unbreak Now! priority.Oct 21 2024, 7:24 AM
dcausse added a subscriber: KartikMistry.

tentatively marking as UBN as this seems to block all MW deployments.

dcausse lowered the priority of this task from Unbreak Now! to Medium.Oct 21 2024, 9:41 AM

I could deploy successfully after the revert, lowering prio but keeping the ticket open in case it's useful for releng.

dcausse raised the priority of this task from Medium to Needs Triage.Oct 21 2024, 9:43 AM
jnuche claimed this task.
jnuche subscribed.

Did a temporary revert as a quick fix https://gitlab.wikimedia.org/repos/releng/scap/-/merge_requests/498

It looks like https://gerrit.wikimedia.org/r/c/operations/puppet/+/1081281 is a prerequisite for the new Scap code