Lucas_Werkmeister_WMDE added a comment.

  Just above the failed line, the command `chmod 2777 src` is being executed. 
There’s only one codesearch match for that, in jjb/macro-docker.yaml 
<https://gerrit.wikimedia.org/g/integration/config/+/9a74c8053518d5ad6d66b9c31649534aa2a0b9ae/jjb/macro-docker.yaml>;
 the failing command sets the `pipefail` option, and that file also has a match 
for `pipefail`:
  
    # Run a Docker container using `docker run`. This builder should be used
    # wherever possible to ensure the proper common arguments that allow for
    # correct signal passing and cleanup are passed.
    - builder:
        name: docker-run
        builders:
         - shell: |
            #!/bin/bash
            set -eux
            set -o pipefail
            exec docker run {obj:options|} \
              --security-opt seccomp=unconfined \
              --init \
              --rm \
              --label "jenkins.job=$JOB_NAME" \
              --label "jenkins.build=$BUILD_NUMBER" \
              --env-file <(/usr/bin/env|egrep -v 
'^(HOME|SHELL|PATH|LOGNAME|MAIL)=') \
              '{image}' {obj:args|}
            # nothing else can be executed due to exec
  
  The `--env-file <(...)` line is line 10 of that script; the script starts 
with `#!/bin/bash`, but maybe it’s being run by a non-Bash shell (e.g. Dash)? 
That could explain the error (`<()`, process substitution, is a Bash-specific 
feature).

TASK DETAIL
  https://phabricator.wikimedia.org/T286058

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, Invadibot, MPhamWMF, maantietaja, CBogen, 
Mgagat, Akuckartz, Totolinototo3, Zanziii, Sadisticturd, Nandana, Namenlos314, 
Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, EBjune, merbst, LawExplorer, 
Salgo60, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Lydia_Pintscher, 
Addshore, Mbch331, hashar
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to