Bash error and HTTP Unauthorized errors
Hello,
In this execution of the script, the evaluation was not created yet, and it seems there are (at least) two problems in the script:
-
line 89 there is a
test: -eq: unary operator expected
error, probably becausecurl "$CUIRASS_INSTANCE/api/evaluation?id=$ID" | jq ".status"
in https://gitlab.inria.fr/guix-hpc/ci-tools/-/blob/main/handle-merge-request.sh?ref_type=heads#L83 prints nothing - one line above, there is
curl: (35) TLS connect error: error:0A00041A:SSL routines::tlsv1 alert decode error
. Not sure how much this is severe
I relaunched the job latter when the evaluation was done. The job succeeded, but the MR did not receive any comments about the status of the evaluation. Indeed, all API calls got {"message":"401 Unauthorized"}
responses.