Page MenuHomePhabricator

php-composer-security-docker currently failing with "curl: command not found" error this time for php-7.4
Open, Needs TriagePublic

Description

Similar to T235221, the php-composer-security-docker runs have been failing since Sep 23rd. The failure message is related to not finding curl.

13:40:54 + curl -i -H 'Accept: text/plain' https://php-security-checker.toolforge.org/ -F lock=@composer.lock -o results.check
13:40:54 /srv/composer/security-check: line 14: curl: command not found
13:40:55 Build step 'Execute shell' marked build as failure

It appears to have happened when we switched from php-7.2 to php-7.4. https://gerrit.wikimedia.org/r/c/integration/config/+/834566

Could we get the curl package readded to the to the Dockerfile.templates for 7.4 and future versions? Prior commit for 7.2 is here: https://gerrit.wikimedia.org/r/c/integration/config/+/553102/

I can create a patch for the Dockerfile.templates but don't have the setup to fully test the changes.

Event Timeline

Change 849712 had a related patch set uploaded (by Dwisehaupt; author: Dwisehaupt):

[integration/config@master] docker: add curl for composer-security-check

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

Change 849712 merged by jenkins-bot:

[integration/config@master] docker: add curl for composer-security-check

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

Change 850034 had a related patch set uploaded (by Hashar; author: Hashar):

[integration/config@master] jjb: update jobs for composer-php74 (add curl)

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

Change 850034 merged by jenkins-bot:

[integration/config@master] jjb: update jobs for composer-php74 (add curl)

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