Bindist testsuite is missing files
wget https://downloads.haskell.org/ghc/9.4.4/ghc-9.4.4-testsuite.tar.xz
tar xf ghc-9.4.4-testsuite.tar.xz
cd ghc-9.4.4/testsuite
ghcup run --ghc 9.4.4 -- make TEST=Rename1 WAY=optasm SKIP_PERF_TESTS=YES
Result:
make -C ./tests all
make[1]: Entering directory '/home/hasufell/tmp/ttt/ghc-9.4.4/testsuite/tests'
PYTHON="python3" "python3" ../driver/runtests.py -e "ghc_compiler_always_flags='-dcore-lint -dstg-lint -dcmm-lint -no-user-package-db -rtsopts -fno-warn-missed-specialisations -fshow-warning-groups -fdiagnostics-color=never -fno-diagnostics-show-caret -Werror=compat -dno-debug-output'" -e "config.compiler_debugged=False" -e ghc_with_native_codegen=True -e "config.leading_underscore=False" -e ghc_with_threaded_rts=True -e ghc_with_dynamic_rts=True -e config.have_interp=True -e config.unregisterised=False -e config.have_gdb=True -e config.have_readelf=True -e config.have_fast_bignum=False -e config.ghc_dynamic=True -e ghc_with_smp=True -e config.have_RTS_linker=True -e config.libdir="r\"/home/hasufell/.ghcup/ghc/9.4.4/lib/ghc-9.4.4/lib\"" -e windows=False -e darwin=False -e config.in_tree_compiler=False --skip-perf-tests -e config.cleanup=True -e config.local=True --rootdir=. --config-file=../config/ghc --top="/home/hasufell/tmp/ttt/ghc-9.4.4/testsuite" -e 'config.platform="x86_64-unknown-linux"' -e 'config.os="linux"' -e 'config.arch="x86_64"' -e 'config.wordsize="64"' -e 'config.timeout=int() or config.timeout' -e 'config.exeext=""' --config 'compiler="/home/hasufell/.ghcup/tmp/ghcup-ghc-9.4.4/ghc"' --config 'ghc_pkg="/home/hasufell/.ghcup/tmp/ghcup-ghc-9.4.4/ghc-pkg"' --config 'haddock="/home/hasufell/.ghcup/tmp/ghcup-ghc-9.4.4/haddock"' --config 'hp2ps="/home/hasufell/.ghcup/tmp/ghcup-ghc-9.4.4/hp2ps"' --config 'hpc="/home/hasufell/.ghcup/tmp/ghcup-ghc-9.4.4/hpc"' --config 'gs="gs"' --config 'timeout_prog="../timeout/install-inplace/bin/timeout"' --config 'stats_files_dir=../tests/perf/haddock' -e "config.stage=2" \
--only=Rename1 \
\
--way=optasm \
\
\
\
fatal: not a git repository (or any of the parent directories): .git
Failed to find `llc` command; skipping LLVM ways...
Timeout is 300
Known ways: prof, normal_h, prof_hc_hb, prof_hb, prof_hd, prof_hy, prof_hr, sanity, threaded1_ls, threaded2_hT, debug_numa, llvm, debugllvm, profllvm, profoptllvm, profthreadedllvm, debug, ghci-ext, ghci-ext-prof, ext-interp, nonmoving, nonmoving_thr, nonmoving_thr_sanity, nonmoving_thr_ghc, compacting_gc
Run ways: normal, hpc, optasm, ghci, threaded1, threaded2, dyn, profasm, profthreaded
Compile ways: normal, hpc, optasm, profasm
Failed to get allowed metric changes from the HEAD git commit message.
Allowing performance changes in:
Found 519 .T files...
Beginning test run at Sat Jan 7 23:42:45 2023
Detected CPU features: {'xgetbv1', 'arch_capabilities', 'hwp_notify', 'cx16', 'pclmulqdq', 'erms', 'clflush', 'vpid', 'pse', 'sse2', 'aperfmperf', 'ht', 'x2apic', 'sse3', 'hwp_epp', 'f16c', 'pdcm', 'ospke', 'ept_ad', 'invpcid_single', 'art', 'dtherm', 'xtopology', 'tm2', 'rdseed', 'msr', 'md_clear', ':', 'ibrs_enhanced', 'pge', 'fsgsbase', 'tpr_shadow', 'constant_tsc', 'xtpr', 'flags', 'pebs', 'intel_pt', 'sse4_2', 'pbe', 'ssse3', 'bts', 'mce', 'mca', 'lahf_lm', 'tsc', 'pku', 'cpuid_fault', 'tm', 'nx', 'vmx', 'syscall', 'sse4_1', 'xsavec', 'nopl', 'movbe', 'cpuid', 'ept', 'nonstop_tsc', 'aes', 'stibp', 'avx2', 'arch_perfmon', 'invpcid', 'xsaveopt', 'vme', 'rdrand', 'dtes64', 'fma', 'sgx_lc', 'sdbg', 'hwp_act_window', 'sse', 'fpu', 'pts', 'cx8', 'clflushopt', 'ss', 'mmx', 'smep', 'ssbd', 'smap', 'arat', 'lm', 'ds_cpl', 'ida', 'fxsr', 'flush_l1d', 'rdtscp', 'xsaves', 'pdpe1gb', 'adx', 'pat', 'est', 'pae', 'acpi', 'tsc_deadline_timer', 'popcnt', 'vnmi', 'hwp', 'apic', 'dts', 'mtrr', 'monitor', 'tsc_adjust', 'xsave', '3dnowprefetch', 'mpx', 'sgx', 'pse36', 'sep', 'rep_good', 'pcid', 'flexpriority', 'abm', 'epb', 'bmi1', 'ibpb', 'avx', 'cmov', 'ibrs', 'pln', 'de', 'bmi2'}
Found CPU features: xgetbv1 arch_capabilities hwp_notify cx16 pclmulqdq erms clflush vpid pse sse2 aperfmperf ht x2apic sse3 hwp_epp f16c pdcm ospke ept_ad invpcid_single art dtherm xtopology tm2 rdseed msr md_clear : ibrs_enhanced pge fsgsbase tpr_shadow constant_tsc xtpr flags pebs intel_pt sse4_2 pbe ssse3 bts mce mca lahf_lm tsc pku cpuid_fault tm nx vmx syscall sse4_1 xsavec nopl movbe cpuid ept nonstop_tsc aes stibp avx2 arch_perfmon invpcid xsaveopt vme rdrand dtes64 fma sgx_lc sdbg hwp_act_window sse fpu pts cx8 clflushopt ss mmx smep ssbd smap arat lm ds_cpl ida fxsr flush_l1d rdtscp xsaves pdpe1gb adx pat est pae acpi tsc_deadline_timer popcnt vnmi hwp apic dts mtrr monitor tsc_adjust xsave 3dnowprefetch mpx sgx pse36 sep rep_good pcid flexpriority abm epb bmi1 ibpb avx cmov ibrs pln de bmi2
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
fatal: not a git repository (or any of the parent directories): .git
=====> 1 of 1 [0, 0, 0]
Wrong exit code for Rename1()(expected 0 , actual 2 )
Stderr ( Rename1 ):
/bin/sh: line 1: /home/hasufell/tmp/ttt/ghc-9.4.4/inplace/bin/check-exact: No such file or directory
make[2]: *** [Makefile:28: Rename1] Error 127
*** unexpected failure for Rename1(optasm)
Performance Metrics (test environment: local):
None collected.
Unexpected results from:
TEST="Rename1"
SUMMARY for test run started at Sat Jan 7 23:42:45 2023
0:00:00.414214 spent to go through
1 total tests, which gave rise to
13 test cases, of which
8 were skipped
0 had missing libraries
0 expected passes
0 expected failures
0 caused framework failures
0 caused framework warnings
0 unexpected passes
1 unexpected failures
0 unexpected stat failures
0 fragile tests
Unexpected failures:
ghc-api/exactprint/Rename1.run Rename1 [bad exit code (2)] (optasm)
make[1]: *** [../mk/test.mk:344: test] Error 1
make[1]: Leaving directory '/home/hasufell/tmp/ttt/ghc-9.4.4/testsuite/tests'
make: *** [Makefile:20: all] Error 2
It is looking for /home/hasufell/tmp/ttt/ghc-9.4.4/inplace/bin/check-exact
, which does not exist. There are more tests with other files missing e.g. /home/hasufell/tmp/ttt/ghc-9.4.4/inplace/bin/check-ppr
.