!zghijEASpYQWYFzriI:nixos.org

Hydra

391 Members
110 Servers

Load older messages


SenderMessageTime
13 Feb 2022
@grahamc:nixos.org@grahamc:nixos.orgspeaking of which I'd really like to get rid of the scmdiff API thing13:16:59
@janne.hess:helsinki-systems.dedas_jwhich one do you mean?13:17:08
@grahamc:nixos.org@grahamc:nixos.orghttps://hydra.nixos.org/api/scmdiff?uri=https%3A%2F%2Fgithub.com%2FNixOS%2Fnixpkgs.git&branch=&rev2=0fd9ee1aa36ce865ad273f4f07fdc093adeb5c00&rev1=c68e3678f42352cc4f0ff42f48944c292eef1297&type=git13:18:05
@janne.hess:helsinki-systems.dedas_joh. why? we use this pretty often to see why builds could have failed13:18:23
@janne.hess:helsinki-systems.dedas_j * oh. why? we use this pretty often to find root causes of build failures13:18:38
@grahamc:nixos.org@grahamc:nixos.orgI find it a bit frightening13:18:52
@grahamc:nixos.org@grahamc:nixos.orgallowing people to spawn processes that could be very expensive13:19:08
@janne.hess:helsinki-systems.dedas_joh it's spawning subprocesses? :/13:19:21
@grahamc:nixos.org@grahamc:nixos.orgthe code is a thrill13:19:31
@grahamc:nixos.org@grahamc:nixos.orgit could be made much better if it took an evaluation ID & input name, and didn't leave the parameters to the diff to the user13:22:17
@janne.hess:helsinki-systems.dedas_johh13:22:34
@janne.hess:helsinki-systems.dedas_jI see your problem now13:22:40
@grahamc:nixos.org@grahamc:nixos.org:)13:22:51
@janne.hess:helsinki-systems.dedas_jIs the triggertime of a jobset also set when an eval was scheduled automatically?14:06:02
@janne.hess:helsinki-systems.dedas_j

Or to be more precise: Is this true?

  • lastcheckedtime not set → no eval has been performed yet
  • triggertime set → eval pending
  • starttime set → eval running
  • fetcherrormsg set → last eval failed during fetch
  • errormsg set → last eval failed during eval
14:07:50
@janne.hess:helsinki-systems.dedas_j *

Or to be more precise: Is this true?

  • triggertime set → eval pending
  • starttime set → eval running
  • lastcheckedtime not set → no eval has been performed yet
  • fetcherrormsg set → last eval failed during fetch
  • errormsg set → last eval failed during eval
14:08:06
@janne.hess:helsinki-systems.dedas_j *

Or to be more precise: Is this true?

  • triggertime set → eval pending
  • starttime set → eval running
  • lastcheckedtime not set → no eval has been performed yet
  • fetcherrormsg set → last eval failed during fetch
  • errormsg set → last eval failed during eval
  • if all the previous conditions failed → eval was successful
14:09:03
@janne.hess:helsinki-systems.dedas_j *

Or to be more precise: Is this true?

  • starttime set → eval running
  • triggertime set → eval pending
  • lastcheckedtime not set → no eval has been performed yet
  • fetcherrormsg set → last eval failed during fetch
  • errormsg set → last eval failed during eval
  • if all the previous conditions failed → eval was successful
14:11:19
@janne.hess:helsinki-systems.dedas_j if these assumptions hold true, then my code now shows the status of the next evaluation in the jobsets overview: 14:25:25
@janne.hess:helsinki-systems.dedas_jimage.png
Download image.png
14:25:26
@grahamc:nixos.org@grahamc:nixos.orgoh cool14:25:49
@grahamc:nixos.org@grahamc:nixos.orgmy brain is a bit overloaded this morning with toddler & infra things so not sure I Can follow that rigth now14:26:08
@janne.hess:helsinki-systems.dedas_jDon't worry about it. I'll open a PR for it and pick the diff into our Hydra which should be enough for downstream testing it. You can press the magic button whenever you feel like it ;)14:27:01
@janne.hess:helsinki-systems.dedas_jimage.png
Download image.png
14:27:17
@janne.hess:helsinki-systems.dedas_jthis also turns the yellow "Error" into emoji14:27:24
@grahamc:nixos.org@grahamc:nixos.org:)14:28:26
@janne.hess:helsinki-systems.dedas_j grahamc (he/him): re https://github.com/NixOS/hydra/commit/8c3c573953be97bcff103e9fec9e438c9bf3e3a7 17:03:58
@janne.hess:helsinki-systems.dedas_j

have you encountered this error while evaluating?

DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::Pg::st execute failed: ERROR:  null value in column "project" of relation "builds" violates not-null constraint
DETAIL:  Failing row contains (346903, 0, 1644769741, null, null, 3, nixos.tests.installer.lvm.x86_64-linux, vm-test-run-installer-lvm, null, /nix/store/pzhjpkhf9gx3820zb8pvdfpfm2cwy8c3-vm-test-run-installe..., x86_64-linux, null, null, null, 7200, 36000, 0, 1, 100, 0, null, null, null, null, null, null, null, 0, null). [for Statement "INSERT INTO builds ( description, drvpath, finished, homepage, ischannel, iscurrent, job, jobset_id, license, maintainers, maxsilent, nixname, priority, system, timeout, timestamp) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) RETURNING id" with ParamValues: 1=undef, 2='/nix/store/pzhjpkhf9gx3820zb8pvdfpfm2cwy8c3-vm-test-run-installer-lvm.drv', 3='0', 4=undef, 5='0', 6='1', 7='nixos.tests.installer.lvm.x86_64-linux', 8='3', 9=undef, 10=undef, 11='7200', 12='vm-test-run-installer-lvm', 13='100', 14='x86_64-linux', 15='36000', 16='1644769741'] at /nix/store/ggfxl0v2gyg8gjjcb2hapwmn3gsq0lax-hydra-2021-08-11/bin/.hydra-eval-jobset-wrapped line 496
17:04:14
@grahamc:nixos.org@grahamc:nixos.org:horror:17:05:50
@janne.hess:helsinki-systems.dedas_jshould I just… drop the constraint?17:08:21

Show newer messages


Back to Room ListRoom Version: 6