Skip to content

Intermittent "Command failed with error code: -11"

Two things make this worthy of a ticket.

  1. It has the exact error message Command failed with error code: -11.
  2. It only happens to GHC and Haddock.

The trouble is that nothing else immediately seems to connect the failures. See the full spread in the table below.

Good luck and sorry.

A count of jobs that failed, grouped by failed program and job name.
ct prg jobname
4 haddock x86_64-linux-deb10-int_native-validate
3 haddock i386-linux-deb9-validate
3 haddock x86_64-linux-alpine3_12-validate+fully_static
3 haddock x86_64-linux-deb10-numa-slow-validate
3 haddock x86_64-linux-deb10-unreg-validate
3 haddock x86_64-linux-deb10-validate+debug_info
3 haddock x86_64-windows-validate
2 ghc i386-linux-deb9-validate
2 ghc x86_64-linux-deb10-unreg-validate
2 haddock aarch64-linux-deb10-validate
2 haddock x86_64-linux-fedora33-release
1 ghc nightly-x86_64-linux-deb10-int_native-validate
1 ghc nightly-x86_64-linux-deb10-no_tntc-validate
1 ghc nightly-x86_64-linux-deb10-unreg-validate
1 ghc nightly-x86_64-linux-deb10-validate+llvm
1 ghc x86_64-linux-alpine3_12-validate+fully_static
1 ghc x86_64-linux-deb10-int_native-validate
1 ghc x86_64-linux-deb10-validate+debug_info
1 ghc x86_64-linux-deb11-cross_aarch64-linux-gnu-validate
1 ghc x86_64-linux-deb11-int_native-cross_js-unknown-ghcjs-validate
1 ghc x86_64-linux-deb11-validate+boot_nonmoving_gc
1 ghc x86_64-linux-fedora33-release
1 ghc x86_64-linux-ubuntu20_04-cross_wasm32-wasi-int_gmp-release
1 ghc x86_64-linux-ubuntu20_04-cross_wasm32-wasi-int_native-release
1 haddock aarch64-darwin-validate
1 haddock x86_64-darwin-validate
1 haddock x86_64-linux-fedora33-perf
.mode markdown
.width 2 7 100
with
hadd as (
    select rowid, 'haddock' 'name' from job_trace where trace match 'NEAR("Command line" "bin/haddock")'
    union
    select rowid, 'ghc' 'name' from job_trace where trace match 'NEAR("Command line" "bin/ghc")'
)
select count(job_id) ct, hadd.name prg, json->>'$.name' jobname
from job
left join hadd on job_id = hadd.rowid
where job_id in (
    select rowid from job_trace where trace match  '"Command failed with error code: -11"')
group by prg, jobname
order by ct desc
Full list of jobs that fail this way since May.
job date prg
x86_64-linux-deb11-validate+boot_nonmoving_gc 2023-01-27T19:39:59.576Z ghc
i386-linux-deb9-validate 2023-01-10T21:32:21.064Z ghc
x86_64-linux-deb11-int_native-cross_js-unknown-ghcjs-validate 2023-01-03T12:36:30.733Z ghc
x86_64-linux-ubuntu20_04-cross_wasm32-wasi-int_gmp-release 2022-11-16T11:16:18.526Z ghc
x86_64-linux-ubuntu20_04-cross_wasm32-wasi-int_native-release 2022-11-12T13:05:41.989Z ghc
x86_64-linux-deb11-cross_aarch64-linux-gnu-validate 2022-11-11T21:21:35.298Z ghc
nightly-x86_64-linux-deb10-unreg-validate 2022-11-10T00:03:14.250Z ghc
x86_64-windows-validate 2022-10-16T12:45:28.338Z haddock
x86_64-linux-fedora33-release 2022-10-16T12:45:28.330Z haddock
x86_64-linux-deb10-validate+debug_info 2022-10-16T12:45:28.312Z haddock
x86_64-linux-deb10-unreg-validate 2022-10-16T12:45:28.304Z haddock
x86_64-linux-deb10-numa-slow-validate 2022-10-16T12:45:28.297Z haddock
x86_64-linux-deb10-int_native-validate 2022-10-16T12:45:28.282Z haddock
x86_64-linux-alpine3_12-validate+fully_static 2022-10-16T12:45:28.275Z haddock
i386-linux-deb9-validate 2022-10-16T12:45:28.259Z haddock
x86_64-windows-validate 2022-10-15T23:35:28.660Z haddock
x86_64-linux-fedora33-release 2022-10-15T23:13:05.824Z haddock
x86_64-linux-deb10-validate+debug_info 2022-10-15T23:13:05.812Z haddock
x86_64-linux-deb10-unreg-validate 2022-10-15T23:13:05.806Z haddock
x86_64-linux-deb10-numa-slow-validate 2022-10-15T23:13:05.800Z haddock
x86_64-linux-deb10-int_native-validate 2022-10-15T23:13:05.788Z haddock
x86_64-linux-alpine3_12-validate+fully_static 2022-10-15T23:13:05.781Z haddock
i386-linux-deb9-validate 2022-10-15T23:13:05.713Z haddock
x86_64-linux-alpine3_12-validate+fully_static 2022-09-04T13:17:53.060Z ghc
nightly-x86_64-linux-deb10-no_tntc-validate 2022-09-02T01:44:59.866Z ghc
i386-linux-deb9-validate 2022-08-26T15:38:20.746Z ghc
nightly-x86_64-linux-deb10-int_native-validate 2022-08-18T00:03:19.921Z ghc
x86_64-linux-fedora33-release 2022-08-08T23:20:43.256Z ghc
aarch64-linux-deb10-validate 2022-07-11T21:36:16.907Z haddock
x86_64-linux-deb10-int_native-validate 2022-07-11T14:54:27.028Z haddock
x86_64-linux-deb10-validate+debug_info 2022-06-21T11:33:13.556Z ghc
x86_64-linux-deb10-int_native-validate 2022-06-21T08:01:40.664Z ghc
x86_64-linux-deb10-unreg-validate 2022-06-16T18:39:28.077Z ghc
x86_64-linux-deb10-unreg-validate 2022-06-08T00:11:11.201Z ghc
nightly-x86_64-linux-deb10-validate+llvm 2022-05-04T00:03:22.383Z ghc
x86_64-windows-validate 2022-05-03T11:23:11.147Z haddock
x86_64-linux-fedora33-perf 2022-05-03T11:23:11.138Z haddock
x86_64-linux-deb10-validate+debug_info 2022-05-03T11:23:11.117Z haddock
x86_64-linux-deb10-unreg-validate 2022-05-03T11:23:11.097Z haddock
x86_64-linux-deb10-numa-slow-validate 2022-05-03T11:23:11.072Z haddock
x86_64-linux-deb10-int_native-validate 2022-05-03T11:23:11.046Z haddock
x86_64-linux-alpine3_12-validate+fully_static 2022-05-03T11:23:11.037Z haddock
x86_64-darwin-validate 2022-05-03T11:23:11.027Z haddock
i386-linux-deb9-validate 2022-05-03T11:23:11.018Z haddock
aarch64-linux-deb10-validate 2022-05-03T11:23:11.009Z haddock
aarch64-darwin-validate 2022-05-03T11:23:11.000Z haddock

I will designate this a spurious failure and start retrying them.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information