Skip to content
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

travis: Move the 8.4.1 builders to 8.4.2. #5286

Merged
merged 2 commits into from
Apr 27, 2018

Conversation

quasicomputational
Copy link
Contributor

This ought to fix the build matrix. I believe the issue is GHC trac
5129, where evaluate is being miscompiled: in cabal-testsuite's
Test.Cabal.Server, in the function readUntilEnd, the 'read' function
is protected by an 'if' to ensure that it doesn't result in the
dreaded 'no parse'. However, some sophisticated putStrLn
debugging has revealed that it is being called in both branches, not
just the safe one; this is the worst sort of heisenbug because it
vanished when I put a putStrLn before the evaluate!

Since the evaluate function is fixed in 8.4.2 and bumping to 8.4.2
has a patch for trac 5129, this is as fixed as it can get.

Please include the following checklist in your PR:

  • Patches conform to the coding conventions.
  • Any changes that could be relevant to users have been recorded in the changelog.
  • The documentation has been updated, if necessary.
  • If the change is docs-only, [ci skip] is used to avoid triggering the build bots.

Please also shortly describe how you tested your change. Bonus points for added tests!

Tested locally, found it failed on 8.4.1 and succeeded on 8.4.2.

@23Skidoo
Copy link
Member

Feel free to merge once it's green.

@23Skidoo
Copy link
Member

The remaining error is because of -Werror.

@quasicomputational
Copy link
Contributor Author

Just testing locally to make sure pre-8.4 versions are happy with the imports now. It'll still be red because of T3436, which is being poked at in #5288. If that's the only issue I can see then I'll go ahead and merge, but it'll be a little while before Travis runs, I think.

@23Skidoo
Copy link
Member

You can try cherry-picking the patch from #5288 as well, then we can merge it all in one go.

@quasicomputational
Copy link
Contributor Author

Wrong PR with the comment?

RE cherrypicking: works either way. The bottleneck is Travis resources anyway, I think?

@quasicomputational
Copy link
Contributor Author

And now a file I didn't even touch (and which doesn't import anything I did touch) has decided to start failing. I am quite confused about this one.

@23Skidoo
Copy link
Member

Sorry, that was my fault. Fixed on master.

@quasicomputational
Copy link
Contributor Author

Huh. I had no idea Travis would auto-rebase like that. No wonder I couldn't figure out what had changed in the PR to cause it!

This ought to fix the build matrix. I believe the issue is GHC trac
5129, where evaluate is being miscompiled: in cabal-testsuite's
Test.Cabal.Server, in the function readUntilEnd, the 'read' function
is protected by an 'if' to ensure that it doesn't result in the
dreaded 'no parse'. However, some sophisticated putStrLn
debugging has revealed that it is being called in *both* branches, not
just the safe one; this is the worst sort of heisenbug because it
vanished when I put a putStrLn before the evaluate!

Since the evaluate function is fixed in 8.4.2 and bumping to 8.4.2
has a patch for trac 5129, this is as fixed as it can get.
@quasicomputational
Copy link
Contributor Author

Anyone got any idea what's up with the OSX downstream builder? Is that a known flaky test, or did something really subtle break?

@23Skidoo
Copy link
Member

Is that a known flaky test, or did something really subtle break?

No, I don't remember it failing before, may be a new regression.

@quasicomputational
Copy link
Contributor Author

I re-triggered it and it went away, so I am going to blame some Travis weirdness and go ahead and merge. The notorious T3436 is still failing, but that's being worked on and this PR is making the situation strictly less broken.

@quasicomputational quasicomputational merged commit 975572b into haskell:master Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants