haskell / haskell/haskell-language-server

`ghcide` test failures in Gentoo Linux

Open
#3,221 9 comments 0 reactions 0 assignees View on GitHub
status: needs info type: bug
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

I'm getting a few test failures for `ghcide-1.8.0.0` when they are run with Gentoo's network-sandbox disabled (so unrelated to #3126):

- [ ] [`incomplete entries`](https://github.com/haskell/haskell-language-server/blob/1.8.0.0/ghcide/test/exe/Main.hs#L1637-L1654)

FAIL (31.99s)
test/exe/Main.hs:1653:
expected: ["AAAAA"]
but got: ["AAAAA","AAAA","AAAA"]
Use -p '/incomplete entries/' to rerun this test only.

- [ ] [`Map`](https://github.com/haskell/haskell-language-server/blob/1.8.0.0/ghcide/test/exe/Main.hs#L1793-L1812)

FAIL (33.01s)
test/exe/Main.hs:1807:
expected: ["Defined in 'Data.Map","Defined in 'Data.Map.Lazy","Defined in 'Data.Map.Strict"]
but got: []
Use -p '/Map/' to rerun this test only.

- [ ] [`Module is symlinked`](https://github.com/haskell/haskell-language-server/blob/1.8.0.0/ghcide/test/exe/Main.hs#L1390-L1395)

FAIL
Exception: /var/tmp/portage/dev-haskell/ghcide-1.8.0.0/temp/extra-dir-12909185275211/other_loc/Sym.hs: createFileLink:createSymbolicLink: does not exist (No such file or directory)
Use -p '/Module is symlinked/' to rerun this test only.

```
3 out of 344 tests failed (2492.75s)
```

---

Full build log is [here](https://gist.github.com/0b435bf37f8f277a408ded5fe2eeb15a) (raw file is ~15MB)

---

### Your environment

GHC 9.0.2 on Gentoo Linux. All packages are installed through the system package manager.

`ghcide-1.8.0.0` is being built with the `ghc-patched-unboxed-bytecode` flag turned OFF. (I hit other test failures when it was turned on.)

---

Other `gentoo-haskell`-related test issues:

- https://github.com/haskell/haskell-language-server/issues/3126
- https://github.com/haskell/haskell-language-server/issues/3217
- https://github.com/haskell/haskell-language-server/issues/3218

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.