Skip to content

ghc-tests fail on aarch64 job

The ghc-tests test suite fails pretty consistently on aarch64 jobs. The exact place where it fails is less clear, as the output for the tests simply stop at a certain point. For instance, in this job, the output is:

Running 1 test suites...
Test suite ghc-tests: RUNNING...
all
  Chan001
    NewWriteRead_NewRet:    OK (0.01s)
                            +++ OK, passed 100 tests.
  MVar001
    NewEIs_NewERet:         OK (0.01s)
                            +++ OK, passed 100 tests.
    NewIs_NewRet:           OK (0.04s)
                            +++ OK, passed 100 tests.
    NewTake_NewRet:         OK (0.03s)
                            +++ OK, passed 100 tests.
    NewEPutTake_NewERet:    OK (0.03s)
                            +++ OK, passed 100 tests.
    NewRead_NewRet:         OK (0.04s)
                            +++ OK, passed 100 tests.
    NewSwap_New:            OK (0.03s)
                            +++ OK, passed 100 tests.
  arr016
    array:                  OK (0.10s)
                            +++ OK, passed 100 tests.
    listArray:              OK (0.03s)
                            +++ OK, passed 100 tests.
    indicies:               OK (0.10s)
                            +++ OK, passed 100 tests.
    elems:                  OK (0.10s)
                            +++ OK, passed 100 tests.
    assocs:                 OK (0.15s)
                            +++ OK, passed 100 tests.
    slashslash:             OK (0.10s)
                            +++ OK, passed 100 tests.
    accum:                  OK (0.23s)
                            +++ OK, passed 100 tests.
    accumArray:             OK (0.15s)
                            +++ OK, passed 100 tests.
  concio002:                OK (0.18s)
  rand001:                  OK (0.07s)
  cgrun068:                 
Test suite ghc-tests: FAIL
Test suite logged to:
/builds/ghc/head.hackage/ci/run/test-ghc-tests/dist-newstyle/build/aarch64-linux/ghc-9.6.2/ghc-tests-0.1.0.0/t/ghc-tests/test/ghc-tests-0.1.0.0-ghc-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
Error: cabal: Tests failed for test:ghc-tests from ghc-tests-0.1.0.0.

Note that the output mysteriously stops after the cgrun068 job. It doesn't always stop in the same place, however. In this job, it stops after T14854.

This isn't a huge deal since the aarch64 test jobs are allowed to fail on CI, but perhaps this is a sign that something is wrong with the aarch64 backend.