-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Stack/Docker modes passing again (and revive bintreebench) #108
Comments
(Re: STACK_NIX mode)
In that same commit I could hop into a nix shell ( But.... it did not pass. It gave me 1 unexpected passes and 22 unexpected failures (Prelude.read no parse). Hmm. |
FYI: Supporting |
… "no space left on device") re: "Prelude.read no parse" error that RRN reported: `nix-shell` sets an environment variable, SIZE=size. I've not been able track down what specific package is responsible for this. I tried to write another minimal shell.nix script and that shell had this environment variable too. Gibbon tries to parse "size" as an Int (in Gibbon.Common.getRunConfig) and that doesn't work out very well. Until we figure out the source of this rogue variable, we *unset* it run_all_tests.sh. Now, Travis fails with "No space left on device" while trying to install Gibbon's dependencies (the Haskell ones, via Stack) :(
re: "Prelude.read no parse"
This leads to the "no parse" error. Gibbon tries to parse "size" as an Int (in The *Nix modes still don't work though. Now, Travis fails while trying to install Gibbon's dependencies, (the Haskell ones, via Stack) with: I added a few [1] COARSE_NIX: https://travis-ci.org/iu-parfunc/gibbon/jobs/491624056#L1288 Update: This looks related commercialhaskell/stack#996 |
… "no space left on device") re: "Prelude.read no parse" error that RRN reported: `nix-shell` sets an environment variable, SIZE=size. I've not been able track down what specific package is responsible for this. I tried to write another minimal shell.nix script and that shell had this environment variable too. Gibbon tries to parse "size" as an Int (in Gibbon.Common.getRunConfig) and that doesn't work out very well. Until we figure out the source of this rogue variable, we *unset* it run_all_tests.sh. Now, Travis fails with "No space left on device" while trying to install Gibbon's dependencies (the Haskell ones, via Stack) :(
The size of
TODO: Docker modes, and maybe OSX. [1]https://travis-ci.org/iu-parfunc/gibbon/jobs/491743125#L481 |
@ckoparkar - btw, regarding the |
+1 |
Now there are four modes that are distinguished by env vars, all of which need some work to revive. For both Docker and Nix, we can use them at the coarse granularity (run the entire test script inside) or at a fine-grain, relying on
stack --docker
andstack --nix
:COARSE_DOCKER=1
:This mode could be run with:
COARSE_DOCKER=1 ./.jenkins_script.sh
When I started this small audit, it looks like the BintreeBench/Dockerfile has rotted, which was set up to be the parent of
./Dockerfile
.COARSE_NIX=1
It looks like
.nix_default_environment.txt
has been updated a few times. It was left at a snapshot of nixos 18.03, which currently doesn't seem to be working:error: attribute 'ghc843' missing, at (string):1:53
I bumped to 18.09 just now, but
It should not be trying to install GHC. Ok, right now we're on lts-12.5, and there is some version skew; that should imply GHC 8.4.3.
STACK_DOCKER=1
This is working ok for me on Mac OS (e.g. the
gibd
alias defined by set_env), but it can't pass the full test suite because of the current commit, thestack.yaml
points at a vanillafpco/stack-build
image, and that doesn't havegc.h
(Boehm conservative GC).Really, we should restore the coarse-grained Docker mode, and then
stack --docker
can just use the same image with all the dependencies in it.STACK_NIX=1
(Haven't tried this yet.)
The text was updated successfully, but these errors were encountered: