NixOS / hydra

Hydra, the Nix-based continuous build system
http://nixos.org/hydra
GNU General Public License v3.0
1.1k stars 291 forks source link

Caught exception in Hydra::Controller::Jobset->jobs_tab "Can't locate object method "jobs" via package "Hydra::Model::DB::Jobsets" #1305

Open alyssais opened 8 months ago

alyssais commented 8 months ago

Describe the bug

Attempting to search for inactive jobs returns a 500 response (which is not reflected in the Hydra UI — the spinner just keeps spinning forever).

Caught exception in Hydra::Controller::Jobset->jobs_tab "Can't locate object method "jobs" via package "Hydra::Model::DB::Jobsets" at /nix/store/70a2zsqn7bjdbmy1b5f50xzq53my8635-hydra-0.1.20230823.00d3087/libexec/hydra/lib/Hydra/Controller/Jobset.pm line 131."

To Reproduce Steps to reproduce the behavior:

  1. Go to https://hydra.nixos.org/jobset/nixpkgs/trunk
  2. Open the network inspector
  3. Click on "Jobs"
  4. Type in "linux_4_9"
  5. Hit enter
  6. Click "Show inactive jobs"
  7. See 500 error in network inspector

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Hydra Server:

It's hydra.nixos.org.