==== STAGE 1 TESTS ====
SUMMARY for test run started at Mon Apr 9 19:54:23 2018 CEST
0:00:01 spent to go through
2 total tests, which gave rise to
8 test cases, of which
0 were skipped
0 had missing libraries
8 expected passes
0 expected failures
0 caused framework failures
0 caused framework warnings
0 unexpected passes
0 unexpected failures
0 unexpected stat failures
==== STAGE 2 TESTS ====
Unexpected results from:
TEST="EtaExpandLevPoly PatternSplice T12733 T12870b T12870c T12870e T12870f T12870h T12903 T13032 T13168 T13350 T13688 T13910 T13949 T14052 T1407 T14137 T14298 T14304 T14441 T14695 T14732 T14936 T3007 T4334 T5435_v_asm T7837 T7944 T8025 T8089 UnsafeReenter bkpcabal01 bkpcabal02 bkpcabal03 bkpcabal04 bkpcabal05 bkpcabal06 bkpcabal07 bug1465 cabal01 cabal03 cabal04 cabal05 cabal06 cabal08 cabal09 compact_share dynamic-paper haddock.Cabal haddock.compiler hpc_fork inline-check process001 process002 recomp007 safePkg01 scc001 space_leak_001"
SUMMARY for test run started at Mon Apr 9 18:25:30 2018 CEST
1:28:53 spent to go through
6335 total tests, which gave rise to
24958 test cases, of which
4706 were skipped
144 had missing libraries
19793 expected passes
221 expected failures
0 caused framework failures
0 caused framework warnings
2 unexpected passes
80 unexpected failures
12 unexpected stat failures
Unexpected passes:
/run/user/1001/ghctest-tkhsza6q/test spaces/./indexed-types/should_compile/T7837.run T7837 [unexpected] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./profiling/should_run/scc001.run scc001 [unexpected] (prof)
Unexpected failures:
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/T14304/T14304.run T14304 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal02/bkpcabal02.run bkpcabal02 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal03/bkpcabal03.run bkpcabal03 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal04/bkpcabal04.run bkpcabal04 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal01/bkpcabal01.run bkpcabal01 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal05/bkpcabal05.run bkpcabal05 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal06/bkpcabal06.run bkpcabal06 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal07/bkpcabal07.run bkpcabal07 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/T12733/T12733.run T12733 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal01/cabal01.run cabal01 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal03/cabal03.run cabal03 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal04/cabal04.run cabal04 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal08/cabal08.run cabal08 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal05/cabal05.run cabal05 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal09/cabal09.run cabal09 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal06/cabal06.run cabal06 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./dependent/should_compile/dynamic-paper.run dynamic-paper [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./dependent/should_compile/T13910.run T13910 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/inline-check.run inline-check [stderr mismatch] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/inline-check.run inline-check [stderr mismatch] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/T3007/T3007.run T3007 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/recomp007/recomp007.run recomp007 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/./ghci/linking/dyn/T1407.run T1407 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./partial-sigs/should_compile/PatternSplice.run PatternSplice [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./patsyn/should_compile/T13350/T13350.run T13350 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./patsyn/should_run/T13688.run T13688 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./patsyn/should_run/T13688.run T13688 [exit code non-0] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./profiling/should_run/scc001.run scc001 [bad profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./profiling/should_run/scc001.run scc001 [bad profile] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/T5435_v_asm.run T5435_v_asm [bad stdout] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/T12903.run T12903 [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/T14695.run T14695 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870b.run T12870b [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870c.run T12870c [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870h.run T12870h [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./safeHaskell/check/pkg01/safePkg01.run safePkg01 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./simplCore/should_compile/T7944.run T7944 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./simplCore/should_compile/T14137.run T14137 [stderr mismatch] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./th/T14298.run T14298 [bad stderr] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/./th/should_compile/T13949/T13949.run T13949 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./th/should_compile/T8025/T8025.run T8025 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/T13168/T13168.run T13168 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/bug1465/bug1465.run bug1465 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/should_compile/T13032.run T13032 [stderr mismatch] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/should_compile/T14732.run T14732 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/should_compile/T14441.run T14441 [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/should_run/EtaExpandLevPoly.run EtaExpandLevPoly [exit code non-0] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./typecheck/should_run/EtaExpandLevPoly.run EtaExpandLevPoly [exit code non-0] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/base/tests/T8089.run T8089 [bad exit code] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/base/tests/T8089.run T8089 [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/base/tests/T8089.run T8089 [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/base/tests/T8089.run T8089 [bad exit code] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/ghc-compact/tests/compact_share.run compact_share [bad stdout] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/ghc-compact/tests/compact_share.run compact_share [bad stdout] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/hpc/tests/fork/hpc_fork.run hpc_fork [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (optasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (dyn)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (optasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (dyn)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (profthreaded)
Unexpected stat failures:
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/haddock/haddock.Cabal.run haddock.Cabal [stat not good enough] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/haddock/haddock.compiler.run haddock.compiler [stat not good enough] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14936.run T14936 [stat not good enough] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14052.run T14052 [stat not good enough] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14936.run T14936 [stat not good enough] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/space_leaks/space_leak_001.run space_leak_001 [stat too good] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/space_leaks/space_leak_001.run space_leak_001 [stat too good] (optasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/space_leaks/T4334.run T4334 [stat not good enough] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/space_leaks/space_leak_001.run space_leak_001 [stat too good] (dyn)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14936.run T14936 [stat not good enough] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14936.run T14936 [stat not good enough] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/./perf/should_run/T14936.run T14936 [stat not good enough] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/T14304/T14304.run T14304 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal02/bkpcabal02.run bkpcabal02 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal03/bkpcabal03.run bkpcabal03 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal04/bkpcabal04.run bkpcabal04 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal01/bkpcabal01.run bkpcabal01 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal05/bkpcabal05.run bkpcabal05 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal06/bkpcabal06.run bkpcabal06 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./backpack/cabal/bkpcabal07/bkpcabal07.run bkpcabal07 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/T12733/T12733.run T12733 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal01/t.run cabal01 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal03/cabal03.run cabal03 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal04/cabal04.run cabal04 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal08/cabal08.run cabal08 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal05/cabal05.run cabal05 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal09/cabal09.run cabal09 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/cabal06/cabal06.run cabal06 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/T3007/T3007.run T3007 [bad stderr] (normal)
/run/user/1001/ghctest-qrii3s_s/test spaces/./patsyn/should_compile/T13350/T13350.run T13350 [bad stderr] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/./cabal/T12733/T12733.run T12733 [bad stderr]
/run/user/1001/ghctest-tkhsza6q/test spaces/./driver/T3007/T3007.run T3007 [bad stderr] (normal)
All those failures happen for the reason given in #14759 and I have a fix up at D4628.
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (optasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (normal)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (hpc)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (dyn)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (optasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process001.run process001 [bad exit code] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (ghci)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (threaded1)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (threaded2)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (dyn)
/run/user/1001/ghctest-tkhsza6q/test spaces/../../libraries/process/tests/process002.run process002 [bad exit code] (profthreaded)
process001 and process002 assume that there is an ls
binary under /bin
, which is not the case on nixos. I'll check that they pass on Ubuntu later.
Unexpected passes:
/run/user/1001/ghctest-il3dkyq2/test spaces/./profiling/should_run/scc001.run scc001 [unexpected] (prof)
Unexpected failures:
/run/user/1001/ghctest-il3dkyq2/test spaces/./profiling/should_run/scc001.run scc001 [bad profile] (profasm)
/run/user/1001/ghctest-il3dkyq2/test spaces/./profiling/should_run/scc001.run scc001 [bad profile] (profthreaded)
???
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870b.run T12870b [bad heap profile] (profasm)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870c.run T12870c [bad heap profile] (profasm)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profasm)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profthreaded)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profasm)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870h.run T12870h [bad heap profile] (profasm)
/run/user/1001/ghctest-9vjo4opa/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profthreaded)
Left a comment on the relevant ticket. Should be solved now.
/run/user/1001/ghctest-9vjo4opa/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (threaded1)
/run/user/1001/ghctest-9vjo4opa/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (threaded2)
/run/user/1001/ghctest-9vjo4opa/test spaces/./ffi/should_fail/UnsafeReenter.run UnsafeReenter [bad exit code] (profthreaded)
All these tests just hang (and get killed once the timeout duration is reached) instead of erroring out. I already have a ticket for this here. Marking those 3 ways as expected broken for now.
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870b.run T12870b [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870c.run T12870c [bad heap profile] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profasm)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870e.run T12870e [bad stdout] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870f.run T12870f [bad stdout] (profthreaded)
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/flags/T12870h.run T12870h [bad heap profile] (profasm)``
These failures are due to the RTS being told to ignore some/all RTS flags, but profiling ways passing profiling related RTS flags anyway. Addressed by Andreas in D4585.
See associated ticket.
/run/user/1001/ghctest-qrii3s_s/test spaces/./rts/T5435_v_asm.run T5435_v_asm [bad stdout] (normal)
This is the problem:
=====> T5435_v_asm(normal) 1 of 1 [0, 0, 0]
cd "./rts/T5435_v_asm.run" && $MAKE -s --no-print-directory T5435_v_asm
Actual stdout output differs from expected:
diff -uw "./rts/T5435_v_asm.run/T5435_v_asm.stdout.normalised" "./rts/T5435_v_asm.run/T5435_v_asm.run.stdout.normalised"
--- ./rts/T5435_v_asm.run/T5435_v_asm.stdout.normalised 2018-04-12 15:24:30.675572436 +0200
+++ ./rts/T5435_v_asm.run/T5435_v_asm.run.stdout.normalised 2018-04-12 15:24:30.675572436 +0200
@@ -1,5 +1,5 @@
-initArray1
-initArray2
ctors1
ctors2
+initArray1
+initArray2
success
*** unexpected failure for T5435_v_asm(normal)
I've split this test into two, because .init_array
and .ctor
sections are loaded in
different orders depending on the linker (but elements within a section are always loaded
in the same order).
/run/user/1001/ghctest-tkhsza6q/test spaces/./rts/T12903.run T12903 [bad heap profile] (profasm)
Here's what happens:
$ cd testsuite && make TEST="T12903" WAY="profasm" CLEANUP=0 ; cd ..
[...]
=====> T12903(profasm) 1 of 1 [0, 0, 0]
cd "./rts/T12903.run" && "/home/alp/WT/ghc-slow-validate/inplace/test spaces/ghc-stage2" -o T12903 T12903.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -O -prof -static -fprof-auto
cd "./rts/T12903.run" && ./T12903 +RTS -hc -p -RTS
cd "./rts/T12903.run" && "/home/alp/WT/ghc-slow-validate/inplace/test spaces/hp2ps" T12903
hp2ps error when processing heap profile for T12903
*** unexpected failure for T12903(profasm)
[...]
$ inplace/test\ \ \ spaces/hp2ps testsuite/tests/rts/T12903.run/T12903
hp2ps: testsuite/tests/rts/T12903.run/T12903.hp, line 9, samples out of sequence
$ cat testsuite/tests/rts/T12903.run/T12903.hp
JOB "T12903 +RTS -hc -p"
DATE "Wed Apr 18 11:59 2018"
SAMPLE_UNIT "seconds"
VALUE_UNIT "bytes"
BEGIN_SAMPLE 0.000000
END_SAMPLE 0.000000
BEGIN_SAMPLE 0.004175
END_SAMPLE 0.004175
BEGIN_SAMPLE 0.000462
END_SAMPLE 0.000462
The problematic line is the last BEGIN_SAMPLE
one. I presume that the problem is that the number is a timestamp and that the timestamp from that line comes earlier than the one from the previous BEGIN_SAMPLE
. Sounds like a bug, but completely unrelated to #12903.
Opened a ticket for this: #15065.
This one fails in the profasm
and profthreaded
ways, with something like:
=====> EtaExpandLevPoly(profthreaded) 1 of 1 [0, 0, 0]
cd "./typecheck/should_run/EtaExpandLevPoly.run" && "/home/alp/WT/ghc-slow-validate/inplace/test spaces/ghc-stage2" -o EtaExpandLevPoly EtaExpandLevPoly.hs -dcore-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -dno-debug-output -O -prof -static -fprof-auto -threaded
Compile failed (exit code 1) errors were:
[1 of 1] Compiling Main ( EtaExpandLevPoly.hs, EtaExpandLevPoly.o )
*** Core Lint errors : in result of Simplifier ***
<no location info>: warning:
In the type ‘((# Bool, Int# #) |> Sym (TYPE (Sym co_a1ww))_N)’
co_a1ww
:: (a_a1wt :: RuntimeRep)
~# ('TupleRep '['LiftedRep, 'IntRep] :: RuntimeRep)
[LclId[CoVarId]] is out of scope
*** Offending Program ***
foo :: forall b. G 'LiftedRep -> b -> b
[LclIdX,
Arity=1,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True,
Guidance=ALWAYS_IF(arity=1,unsat_ok=True,boring_ok=True)}]
foo
= \ (@ (a_a1wt :: RuntimeRep))
(@ (b_a1wu :: TYPE a_a1wt))
(ds_d1Pr :: G a_a1wt) ->
scctick<foo>
case ds_d1Pr of { MkG co_a1ww ->
\ (x_a10m :: (b_a1wu |> Sym (TYPE (Sym co_a1ww))_N)) ->
tick<foo.\> x_a10m
}
bar
:: forall a.
H 'LiftedRep -> (a -> a -> (# a, a #)) -> a -> (# a, a #)
[LclIdX,
Arity=1,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [20] 60 60}]
bar
= \ (@ (r_a1vB :: RuntimeRep))
(@ (a_a1vC :: TYPE r_a1vB))
(ds_d1Pk :: H r_a1vB) ->
scctick<bar>
case ds_d1Pk of { MkH co_a1vE ->
(\ (f_a10o
:: (a_a1vC |> Sym (TYPE (Sym co_a1vE))_N)
-> (a_a1vC |> Sym (TYPE (Sym co_a1vE))_N)
-> (# (a_a1vC |> Sym (TYPE (Sym co_a1vE))_N),
(a_a1vC |> Sym (TYPE (Sym co_a1vE))_N) #))
(x_a10p :: (a_a1vC |> Sym (TYPE (Sym co_a1vE))_N)) ->
scctick<bar.\> f_a10o x_a10p x_a10p)
`cast` ((Coh <a_a1vC>_R (TYPE co_a1vE)_N
->_R Coh <a_a1vC>_R (TYPE co_a1vE)_N
->_R ((#,#)
(Sub (Sym co_a1vE))
(Sub (Sym co_a1vE))
(Coh <a_a1vC>_R (TYPE co_a1vE)_N)
(Coh <a_a1vC>_R (TYPE co_a1vE)_N))_R)
->_R Coh <a_a1vC>_R (TYPE co_a1vE)_N
->_R ((#,#)
(Sub (Sym co_a1vE))
(Sub (Sym co_a1vE))
(Coh <a_a1vC>_R (TYPE co_a1vE)_N)
(Coh <a_a1vC>_R (TYPE co_a1vE)_N))_R
:: (((a_a1vC |> (TYPE co_a1vE)_N)
-> (a_a1vC |> (TYPE co_a1vE)_N)
-> (# (a_a1vC |> (TYPE co_a1vE)_N),
(a_a1vC |> (TYPE co_a1vE)_N) #))
-> (a_a1vC |> (TYPE co_a1vE)_N)
-> (# (a_a1vC |> (TYPE co_a1vE)_N),
(a_a1vC |> (TYPE co_a1vE)_N) #) :: *)
~R# ((a_a1vC -> a_a1vC -> (# a_a1vC, a_a1vC #))
-> a_a1vC -> (# a_a1vC, a_a1vC #) :: *))
}
$trModule_s245 :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$trModule_s245 = "main"#
$trModule_s246 :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$trModule_s246 = TrNameS $trModule_s245
$trModule_s247 :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$trModule_s247 = "Main"#
$trModule_s248 :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$trModule_s248 = TrNameS $trModule_s247
$trModule :: Module
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$trModule = Module $trModule_s246 $trModule_s248
$krep_a1P3 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P3 = KindRepTyConApp $tc'LiftedRep ([] @ KindRep)
$krep_a1OZ [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1OZ = KindRepTyConApp $tc'IntRep ([] @ KindRep)
$krep_a1OX [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1OX = KindRepTyConApp $tcRuntimeRep ([] @ KindRep)
$krep_a1OW [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1OW = KindRepFun $krep_a1OX krep$*
$krep_s249 :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s249 = : @ KindRep $krep_a1OX ([] @ KindRep)
$krep_a1P5 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P5 = KindRepTyConApp $tc'[] $krep_s249
$krep_s24a :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24a = : @ KindRep $krep_a1P5 ([] @ KindRep)
$krep_s24b :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24b = : @ KindRep $krep_a1OZ $krep_s24a
$krep_s24c :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24c = : @ KindRep $krep_a1OX $krep_s24b
$krep_a1P4 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P4 = KindRepTyConApp $tc': $krep_s24c
$krep_s24d :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24d = : @ KindRep $krep_a1P4 ([] @ KindRep)
$krep_s24e :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24e = : @ KindRep $krep_a1P3 $krep_s24d
$krep_s24f :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24f = : @ KindRep $krep_a1OX $krep_s24e
$krep_a1P2 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P2 = KindRepTyConApp $tc': $krep_s24f
$krep_s24g :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24g = : @ KindRep $krep_a1P2 ([] @ KindRep)
$krep_a1P1 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P1 = KindRepTyConApp $tc'TupleRep $krep_s24g
$tcG_s24h :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$tcG_s24h = "G"#
$tcG_s24i :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$tcG_s24i = TrNameS $tcG_s24h
$tcG :: TyCon
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 70}]
$tcG
= TyCon
14221008574166376522##
17210926818700297107##
$trModule
$tcG_s24i
0#
$krep_a1OW
$krep_s24j :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24j = : @ KindRep $krep_a1P1 ([] @ KindRep)
$krep_a1P0 [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1P0 = KindRepTyConApp $tcG $krep_s24j
$tc'MkG_s24k :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$tc'MkG_s24k = "'MkG"#
$tc'MkG_s24l :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$tc'MkG_s24l = TrNameS $tc'MkG_s24k
$tc'MkG :: TyCon
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 70}]
$tc'MkG
= TyCon
11219666876303220503##
4566534404187760096##
$trModule
$tc'MkG_s24l
0#
$krep_a1P0
$tcH_s24m :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$tcH_s24m = "H"#
$tcH_s24n :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$tcH_s24n = TrNameS $tcH_s24m
$tcH :: TyCon
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 70}]
$tcH
= TyCon
5827673930009354874##
4277163490596771739##
$trModule
$tcH_s24n
0#
$krep_a1OW
$krep_s24o :: [KindRep]
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_s24o = : @ KindRep $krep_a1OZ ([] @ KindRep)
$krep_a1OY [InlPrag=NOUSERINLINE[~]] :: KindRep
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}]
$krep_a1OY = KindRepTyConApp $tcH $krep_s24o
$tc'MkH_s24p :: Addr#
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 0}]
$tc'MkH_s24p = "'MkH"#
$tc'MkH_s24q :: TrName
[LclId,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 20}]
$tc'MkH_s24q = TrNameS $tc'MkH_s24p
$tc'MkH :: TyCon
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 70}]
$tc'MkH
= TyCon
273175143458456096##
17487285292499736820##
$trModule
$tc'MkH_s24q
0#
$krep_a1OY
main :: IO ()
[LclIdX,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=False, ConLike=False,
WorkFree=False, Expandable=False, Guidance=IF_ARGS [] 510 0}]
main
= scctick<main>
case (tick<foo>
\ (x_a10m :: ((# Bool, Int# #) |> Sym (TYPE (Sym co_a1ww))_N)) ->
scc<foo> tick<foo.\> x_a10m)
(# True, 3# #)
of ds_d23V
{ (# ipv_s24s, ipv_s24t #) ->
(\ (s_a24P :: State# RealWorld) ->
case ((hPutStr' stdout ($fShowBool_$cshow ipv_s24s) True)
`cast` (N:IO[0] <()>_R
:: (IO () :: *)
~R# (State# RealWorld -> (# State# RealWorld, () #) :: *)))
s_a24P
of
{ (# ipv_a24S, ipv1_a24T #) ->
case ((hPutStr'
stdout (showSignedInt $fShow(,)1 (I# ipv_s24t) ([] @ Char)) True)
`cast` (N:IO[0] <()>_R
:: (IO () :: *)
~R# (State# RealWorld -> (# State# RealWorld, () #) :: *)))
ipv_a24S
of
{ (# ipv_X265, ipv1_X267 #) ->
((case (scctick<bar>
case $WMkH of { MkH co_a1vE ->
\ (f_a10o :: Int# -> Int# -> (# Int#, Int# #)) (x_a10p :: Int#) ->
scctick<bar.\> f_a10o x_a10p x_a10p
})
((#,#) @ 'IntRep @ 'IntRep @ Int# @ Int#) 8#
of ds_d23T
{ (# ipv_s25y, ipv_s25z #) ->
(\ (s_X26d :: State# RealWorld) ->
case ((hPutStr'
stdout (showSignedInt $fShow(,)1 (I# ipv_s25y) ([] @ Char)) True)
`cast` (N:IO[0] <()>_R
:: (IO () :: *)
~R# (State# RealWorld -> (# State# RealWorld, () #) :: *)))
s_X26d
of
{ (# ipv_X26j, ipv1_X26l #) ->
((hPutStr'
stdout (showSignedInt $fShow(,)1 (I# ipv_s25z) ([] @ Char)) True)
`cast` (N:IO[0] <()>_R
:: (IO () :: *)
~R# (State# RealWorld -> (# State# RealWorld, () #) :: *)))
ipv_X26j
})
`cast` (Sym (N:IO[0] <()>_R)
:: (State# RealWorld -> (# State# RealWorld, () #) :: *)
~R# (IO () :: *))
})
`cast` (N:IO[0] <()>_R
:: (IO () :: *)
~R# (State# RealWorld -> (# State# RealWorld, () #) :: *)))
ipv_X265
}
})
`cast` (Sym (N:IO[0] <()>_R)
:: (State# RealWorld -> (# State# RealWorld, () #) :: *)
~R# (IO () :: *))
}
main_s3to :: State# RealWorld -> (# State# RealWorld, () #)
[LclId,
Arity=1,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 20 60}]
main_s3to = runMainIO1 @ () main
main :: IO ()
[LclIdX,
Arity=1,
Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True,
WorkFree=True, Expandable=True,
Guidance=ALWAYS_IF(arity=0,unsat_ok=True,boring_ok=True)}]
main
= main_s3to
`cast` (Sym (N:IO[0] <()>_R)
:: (State# RealWorld -> (# State# RealWorld, () #) :: *)
~R# (IO () :: *))
*** End of Offense ***
<no location info>: error:
Compilation had errors
*** unexpected failure for EtaExpandLevPoly(profthreaded)
Looks like an actual problem. Opened #15066.
The hpc
and profasm
ways affect inlining/debug output too much to be reliable tests. Will skip them.
The profasm
way inserts extra ticks, which makes the output checking of the test fail. Skipping it.
I see this error in many tests:
Compile failed (exit code 1) errors were:
ghc-stage2: loadArchive: Failed reading header from `/home/alp/WT/ghc-slow-validate/libraries/integer-gmp/dist-install/build/gmp'
ghc-stage2: panic! (the 'impossible' happened)
(GHC version 8.5.20180409 for x86_64-unknown-linux):
loadArchive "/home/alp/WT/ghc-slow-validate/libraries/integer-gmp/dist-install/build/gmp": failed
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
The tests in question:
/run/user/1001/ghctest-qrii3s_s/test spaces/./patsyn/should_run/T13688.run T13688 [exit code non-0] (profasm)
/run/user/1001/ghctest-qrii3s_s/test spaces/./patsyn/should_run/T13688.run T13688 [exit code non-0] (profthreaded)
/run/user/1001/ghctest-qrii3s_s/test spaces/./ghci/linking/dyn/T1407.run T1407 [bad exit code] (normal)
/run/user/1001/ghctest-qrii3s_s/test spaces/./dependent/should_compile/T13910.run T13910 [exit code non-0] (profasm)
/run/user/1001/ghctest-qrii3s_s/test spaces/./partial-sigs/should_compile/PatternSplice.run PatternSplice [exit code non-0] (profasm)
/run/user/1001/ghctest-qrii3s_s/test spaces/./perf/should_run/T14052.run T14052 [bad exit code] (ghci)
This may be due to how I build GHC on NixOS. Will try to run them in an Ubuntu VM.