nixpkgs icon indicating copy to clipboard operation
nixpkgs copied to clipboard

18.09 Zero Hydra Failures

Open samueldr opened this issue 8 years ago • 85 comments

image

Let's make Jellyfish the best release so far!

We have: the main jobset starting at 425 failures, x86_64-darwin at 829, and aarch64-linux at ~1120. The numbers may seem large, but one ~~weird trick~~ appropriate fix may fix many at once.

How can I help???

  • Choose some package from those that fail on Hydra. Hurry before the good ones have been taken!
  • Find a fix. That may mean simply restricting meta.platforms, in case the package inherently doesn't support what it has in there ATM.
  • Typically the package was broken on master already. You can verify that on Hydra - example URL: https://hydra.nixos.org/job/nixpkgs/trunk/bash.x86_64-linux In that case base the fix on master and request backporting in the description of the pull request.
  • Ping this issue from the PR, e.g. /cc ZHF #45960. Do this also if you have some WIP. Alternatively you may just post a note in this issue. If the breakage is specific to darwin #45961 or aarch64 #45962 mention the respective issue instead.

The remaining packages will be marked as broken before the release (on the failing platforms), i.e. at the end of September. /cc @NixOS/nixpkgs-committers, but everyone can help out!

samueldr avatar Sep 02 '18 22:09 samueldr

Reverting ad47c38 will fix nixpkgs.perl*Packages.MouseXGetOpt

reverted in 9889c0f2417fe38016ccf8cf126e5b2a9f561f91 and 4c00a04f472d94cb4e5fa366500676ab5e17acca

xeji avatar Sep 03 '18 19:09 xeji

Failures report as of right now.

  • https://gist.github.com/72d1f646f89b61520168b099c7dcc00b

Let's see how useful this is as a format. This was queried from the last finished eval, there were evals running while this was made.

samueldr avatar Sep 04 '18 00:09 samueldr

This was queried from the last finished eval, there were evals running while this was made.

@volth the table shows an earlier eval where UNIVERSALref wasn't marked as broken yet, see the build logs, it is fine in the latest eval: https://hydra.nixos.org/eval/1477017#tabs-removed

Or should each dependent have its own meta.broken = versionAtLeast perl.version "5.26" ?

No, only the package that is broken itself.

xeji avatar Sep 04 '18 07:09 xeji

I'd add that broken and other checks are transitive during evaluation (implemented as exceptions).

vcunat avatar Sep 04 '18 08:09 vcunat

The sage failures are due to a mistake I made when adding pkg-config aliases to openblas and the recent numpy update. I fixed openblas in #46016 in staging. I don't know if that means it will also be merged into 18.09. I haven't gotten to backporting the numpy upgrade from sage upstream yet.

I really think it is a shame that hydra doesn't ping maintainers on failures anymore. Seems like an essential feature to miss.

timokau avatar Sep 04 '18 09:09 timokau

@vcunat @samueldr there are a number of changes currently in staging/staging-next that should go to 18.09 once they reach master - openblas, texlive 2018, a systemd bugfix, etc. What's the workflow for these? Guess we'll need a staging-18.09 branch + Hydra job.

xeji avatar Sep 04 '18 10:09 xeji

Since the fork point the staging branch won't get to 18.09 anymore. Cherry-picking should be done if desired. For this one I did it in 6f8e07ac0.

vcunat avatar Sep 04 '18 10:09 vcunat

@xeji: we have staging-18.09 already, I think we'll add a jobset soon as well to make ZHF easier. (People don't want to rebuild everything when fixing other packages.) This openblas commit wasn't a mass rebuild according to my measurements, so I pushed it directly.

Reminder: we should choose the changes a bit more carefully than for usual staging, so that real stabilization happens :-)

vcunat avatar Sep 04 '18 10:09 vcunat

8fb90de88cd (in staging-18.09) fixes a regression introduced with systemd 239, and makes the systemd test pass. Update: Fix is in release-18.09 now, done.

xeji avatar Sep 04 '18 11:09 xeji

I've released stack2nix 0.2.1 to address version bump, once haskell packages are synced it should compile again.

domenkozar avatar Sep 04 '18 16:09 domenkozar

boost162 is fixed by c70ff28968a and 11c2595e40a (in staging-18.09, mass rebuild) Update: fixes are in release-18.09 now, done.

xeji avatar Sep 04 '18 16:09 xeji

I removed the Copperhead kernel yesterday, so those kernel modules should no longer fail :) The whole kernel is unsupported and unmaintained.

NeQuissimus avatar Sep 04 '18 17:09 NeQuissimus

New night, new report!

  • https://gist.github.com/2b71d4338d747c6a55c7cd19f8480242

This time, I have:

  • Used the latest evals, even if unfinished (noted separately as still queued).
  • Noted which evals are part of the combined report.

👍 for the work in deflating those numbers! Can't wait to see the staging work hit too!

samueldr avatar Sep 05 '18 01:09 samueldr

Just seen that the statsd test I'm responsible for broke. Will have a look at this during the day...

Ma27 avatar Sep 05 '18 09:09 Ma27

@ma27 the test isn't broken, statsd has a runtime error since last nodePackages update, see #45946

xeji avatar Sep 05 '18 09:09 xeji

ah, good point. I guess that the discussion at https://github.com/etsy/statsd/issues/646 confirms this. Let's discuss about further steps regarding the package in your ticket :)

Ma27 avatar Sep 05 '18 11:09 Ma27

Is there a convenient way to backport a PR using github or do I have to push it direclty through the cli / create another PR? Specifically I want to backport #46099.

timokau avatar Sep 05 '18 13:09 timokau

Is there a convenient way to backport a PR using github

Not that I know of. I git cherry-pick -x the commits on top of release-18.09 on my local clone and git push the updated branch.

xeji avatar Sep 05 '18 14:09 xeji

No need to create a new PR just for cherry-picking.

xeji avatar Sep 05 '18 14:09 xeji

Things got better (mostly)!

  • https://gist.github.com/c45bd3c6ec02d3d2ebd372d0215efbad

Still a couple of jobs queued, latest evaluation as of right now.

PlatformPREVNEWP-N
i686-linux4552-7
x86_64-linux32629630
x86_64-darwin8067979
aarch64-linux1098707391
(queud)--13--

(Hand-crafted table, but thinking about integrating this in the reports.)

samueldr avatar Sep 06 '18 01:09 samueldr