Send notifications when evaluations start/finish/fail
[?]
Aug 12, 2019, 1:26 PM
2FK2SDL5LZNOWDGZUTCVCIVU7DR45FXOBJXGN4OHP2QCPWVNOD4QCDependencies
- [2]
7OBWA6AZhydra-evaluator: Fix error handling in fetching inputs - [3]
Y7GL2OF6Disable the build-queued hook - [4]
6WRGCITDEnable declarative projects. - [5]
5PXVIXLHDeclarative projects: Include the fetch info for the declarative input in the project eval - [6]
JQQYF4S3Fix build-queued plugin hook - [7]
IWHFLFVV* Randomly permute the order in which builds are added. This is - [8]
NI5BVF2V* In job inputs of type "build", allow the project and jobset names of - [9]
WQXF2T3Dhydra-evaluator: Don't require $HYDRA_CONFIG - [10]
OVR2RWBIhydra-evaluator: Always pick the jobset that hasn't been evaluated longest - [11]
FDE3BJAP* Refactoring. - [12]
RXVJFQ5AEvaluator cleanups - [13]
NS7SND6Rhydra-evaluator: Send statistics to statsd - [*]
N22GPKYT* Put info about logs / build products in the DB. - [*]
SS4TZXNUDistinguish between permanent evaluation errors and transient input errors - [*]
5SHCWE7X* Prevent repeated evaluation of a jobset with the same inputs. This - [*]
RFE6T5LG* Store jobset evaluations in the database explicitly. This includes - [*]
4JE45C3CForce creation of a new uncached eval if jobs have been removed - [*]
WVD3YYONhydra-evaluator: Add some debug code
Change contents
- replacement in src/script/hydra-eval-jobset at line 571
my ($jobset) = @_;my ($jobset, $tmpId) = @_; - edit in src/script/hydra-eval-jobset at line 610
$db->storage->dbh->do("notify eval_failed, ?", undef, join('\t', $tmpId)); - edit in src/script/hydra-eval-jobset at line 626
$db->storage->dbh->do("notify eval_cached, ?", undef, join('\t', $tmpId)); - edit in src/script/hydra-eval-jobset at line 695
$db->storage->dbh->do("notify eval_added, ?", undef,join('\t', $tmpId, $ev->id)); - edit in src/script/hydra-eval-jobset at line 775[4.20]→[3.0:115](∅→∅),[3.115]→[4.1184:1185](∅→∅),[4.132]→[4.1184:1185](∅→∅),[4.1184]→[4.1184:1185](∅→∅)
#while (my ($id, $x) = each %buildMap) {# system("hydra-notify build-queued $id") if $x->{new};#} - edit in src/script/hydra-eval-jobset at line 792
# Add an ID to eval_* notifications so receivers can correlate# them.my $tmpId = "${startTime}.$$";$db->storage->dbh->do("notify eval_started, ?", undef,join('\t', $tmpId, $jobset->get_column('project'), $jobset->name)); - replacement in src/script/hydra-eval-jobset at line 800
checkJobsetWrapped($jobset);checkJobsetWrapped($jobset, $tmpId); - edit in src/script/hydra-eval-jobset at line 813[2.320][20.1013]
$db->storage->dbh->do("notify eval_failed, ?", undef, join('\t', $tmpId));