IffGit has a new shared runner for building Docker images in GitLab CI. Visit https://iffgit.fz-juelich.de/examples/ci-docker-in-docker for more details.

Commit 3760635e authored by Matthias Redies's avatar Matthias Redies
Browse files

fix 7629e32a

parent b03d6d9f
......@@ -135,7 +135,7 @@ CONTAINS
!Send using curl
call execute_command_line(&
'curl -X POST -H --connect-timeout 4 "Content-Type: application/json" -d @usage.json https://docker.iff.kfa-juelich.de/fleur-usage-stats/',&
'curl -m 5 -X POST -H "Content-Type: application/json" -d @usage.json https://docker.iff.kfa-juelich.de/fleur-usage-stats/',&
exitstat=ierr(1), cmdstat=ierr(2))
if(all(ierr == 0)) then
write (*,*) "Usage data send using curl: usage.json"
  • @wortmann the fix you made didn't send anything at all. I believe the order of the arguments was incorret. I also replaced --connection-time with -m (--max-time), which limits the time for the whole execution (rather than just the connection).

    Where did this cause problems? I currently don't have an Jureca account and it seemed to work on CLAIX.

  • @redies The problem here is that Fleur jobs don't finish because they want to send this data. This costs computation time on the supercomputers.

  • @micha I agree this is a problem and I think my fix adresses the problem similar to what @wortmann attempted.

    I think the only problem is that he put the --connect-timeout after the -H, rather than after "Content-Type: application/json"

    I don't have an account on a supercomputer, which has this Problem. Is this fix causing a problem on Jureca?

Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment