Maximilian Bosch
|
d3fe4ffbf6
|
Job: expose closuresize and size (output size in the UI) as prometheus metrics
|
2022-09-22 10:47:22 +02:00 |
|
Eelco Dolstra
|
c72bed5cb4
|
Fix tests
Use $NIX_REMOTE instead of the legacy environment variables.
|
2022-07-12 14:45:30 +02:00 |
|
ajs124
|
bb1f04ed86
|
AddBuilds: fix declarative jobsets with dynamic runcommand enabled
$project->{enable_dynamic_run_command} is undefined
|
2022-06-30 01:49:30 +02:00 |
|
Kayla Firestack
|
065039beba
|
feat(t/evaluator/evaluate-oom): comment intentions
|
2022-05-02 15:26:26 -04:00 |
|
Kayla Firestack
|
87f610e7c1
|
fix(t/evaluator/evaluate-oom): use test_context to get path to ./t/jobs instead of relative paths
|
2022-05-02 15:14:46 -04:00 |
|
Kayla Firestack
|
013a1dcabc
|
fix(t/evaluator/evaluate-oom): check that the exit value of the systemd-run check is zero. Rework skip messages
|
2022-05-02 15:13:59 -04:00 |
|
Kayla Firestack
|
e917d9e546
|
fix(t/evaluator/evaluate-oom): convert systemd-run presence check to eval, fix indentaion, show relationships between flags and commands with indentation
|
2022-05-02 14:40:13 -04:00 |
|
Kayla Firestack
|
01ec004108
|
feat(t/evaluator/evaluate-oom-job): skip test if systemd-run is not present
|
2022-05-02 14:08:50 -04:00 |
|
Kayla Firestack
|
2c909c038f
|
feat(t/evaluator/hydra-eval-jobs): add basic evaluation test for hydra-eval-jobs
|
2022-05-02 13:50:57 -04:00 |
|
Kayla Firestack
|
90769ab5ad
|
feat(t/jobs): add test job to cause an OOM
|
2022-05-02 13:49:32 -04:00 |
|
Graham Christensen
|
5c90edd19f
|
Merge pull request #1103 from DeterminateSystems/runcommand/dynamic
Dynamic RunCommand
|
2022-04-19 10:09:47 -04:00 |
|
Graham Christensen
|
e1965250b5
|
Merge pull request #1173 from DeterminateSystems/queue-runner-exporter
hydra-queue-runner metrics
|
2022-04-07 12:27:33 -04:00 |
|
Cole Helbling
|
edf3c348f2
|
hydra-queue-runner: make entire address configurable
|
2022-04-06 10:59:45 -07:00 |
|
Cole Helbling
|
9c1f36c47c
|
t/lib/HydraTestContext: set queue runner port to 0
This makes the exposer choose a random, available port.
|
2022-03-29 11:41:23 -07:00 |
|
Graham Christensen
|
e5393c2cf8
|
fixup: make id non-ambiguous
|
2022-03-19 23:56:47 -04:00 |
|
Graham Christensen
|
a582e4c485
|
HydraTestContext: add \n's to various dies
|
2022-03-19 14:46:53 -04:00 |
|
Graham Christensen
|
0c51de6334
|
hydra-evaluate-jobset: assert it logs errored constituents properly
|
2022-03-19 14:35:30 -04:00 |
|
Graham Christensen
|
25f6bae847
|
HydraTestContext: make it easy to create a jobset without evaluating
|
2022-03-19 14:34:43 -04:00 |
|
Graham Christensen
|
e0921eba0a
|
Create a basic test which verifies we can't delete the derivation of aggregate jobs
|
2022-02-20 12:28:40 -05:00 |
|
Graham Christensen
|
be46f02164
|
tests: relocate evaluator tests
|
2022-02-20 12:28:40 -05:00 |
|
Graham Christensen
|
5d169e3a2e
|
Add a test validating direct and indirect constituents
|
2022-02-20 12:28:40 -05:00 |
|
Graham Christensen
|
dfb3eccfaa
|
Merge pull request #1140 from Ma27/nix-update
Update Nix to 2.6
|
2022-02-19 08:38:34 -05:00 |
|
Cole Helbling
|
a22a8fa62d
|
AddBuilds: reject declarative jobsets with dynamic runcommand enabled if disabled elsewhere
|
2022-02-11 14:35:52 -05:00 |
|
Cole Helbling
|
928ba9e854
|
Controller/{Jobset,Project}: error when enabling dynamic runcommand but it's disabled elsewhere
|
2022-02-11 14:35:52 -05:00 |
|
Graham Christensen
|
78e9872251
|
ldap.t: write the password to an external .conf file
|
2022-02-11 11:27:10 -05:00 |
|
Graham Christensen
|
848fb3b265
|
ldap-legacy.t: specify the root password manually
|
2022-02-11 11:26:56 -05:00 |
|
Graham Christensen
|
0bd4a75918
|
HydraTestContext: support running a sub before running hydra-init.
|
2022-02-11 11:26:27 -05:00 |
|
Graham Christensen
|
e13d80f5cf
|
LDAPContext: take a root_password argument or generate one
|
2022-02-11 11:02:04 -05:00 |
|
Graham Christensen
|
86bb16d07b
|
LDAPContext: sort $self hash keys
|
2022-02-11 11:01:25 -05:00 |
|
Graham Christensen
|
6637c03985
|
fixup normalization error regex
|
2022-02-11 10:59:24 -05:00 |
|
Graham Christensen
|
71c06f2ce7
|
LDAP normalization errors: note that the error came while normalizing the roles.
|
2022-02-11 10:55:27 -05:00 |
|
Graham Christensen
|
d6dea39912
|
ldap_role_map.t: fixup indentation
|
2022-02-11 10:53:08 -05:00 |
|
Graham Christensen
|
f07fb7d279
|
LDAP support: include BC support for the YAML based loading
Includes a refactoring of the configuration loader.
|
2022-02-11 10:49:38 -05:00 |
|
Graham Christensen
|
76b4b43ac5
|
Move ldap.t to a legacy-ldap.t, make ldap.t use the new format config.
|
2022-02-11 10:49:38 -05:00 |
|
Graham Christensen
|
d0bc0d0eda
|
Merge pull request #1152 from DeterminateSystems/parallel-tests
Parallel tests, fix a hydra-queue-runner race condition
|
2022-02-10 12:11:20 -05:00 |
|
Graham Christensen
|
4f9aea9434
|
t/Hydra/Plugin/gitea.t: explain why we loop a few times
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
|
2022-02-10 12:02:29 -05:00 |
|
Graham Christensen
|
a1579007f4
|
Update t/test.pl: fixup the list of env vars yath looks at for job count
|
2022-02-10 11:53:10 -05:00 |
|
Graham Christensen
|
b1b1b4b74b
|
t/lib/LDAPContext.pm: error message nit
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
|
2022-02-10 11:31:49 -05:00 |
|
Graham Christensen
|
33f4c4c13d
|
build-locally-with-substitutable-path.t: give nix-store --delete a bit more time to run
Under high load, like 64-128 tests at once, this can take more than a second.
|
2022-02-10 11:13:31 -05:00 |
|
Graham Christensen
|
e709a17508
|
gitea.t: try opening the file a few times
|
2022-02-10 11:01:09 -05:00 |
|
Graham Christensen
|
09652475bd
|
Set the YATH_JOB_COUNt to NIX_BUILD_CORES if no parallelism variables are set
|
2022-02-10 10:00:32 -05:00 |
|
Graham Christensen
|
4837a68d8d
|
LDAPContext: don't background slapd
|
2022-02-10 09:28:53 -05:00 |
|
Graham Christensen
|
80c6525029
|
LDAP: Create a test which does not use a VM
|
2022-02-09 20:56:10 -05:00 |
|
Graham Christensen
|
845e6d4760
|
captureStdoutStderr*: move to Hydra::Helper::Exec which helps avoid some environment variable fixation problems
|
2022-02-09 14:28:50 -05:00 |
|
Graham Christensen
|
517dce285a
|
eval_added event: change interface to traceID\tjobsetID\tevaluationID
I was not going to break the interface until I noticed
the current implementation uses the string literal \t.
|
2022-02-08 09:51:35 -05:00 |
|
Graham Christensen
|
d512e6220f
|
eval_failed event: change interface to traceID\tjobsetID
I was not going to break the interface until I noticed the other eval_* events used literal \ts
|
2022-02-08 09:51:35 -05:00 |
|
Graham Christensen
|
2597fa8c11
|
eval_cached event: change interface to traceID\tjobsetID\tevaluationID
I was not going to break the interface until I noticed
the current implementation uses the string literal \t.
|
2022-02-08 09:51:35 -05:00 |
|
Graham Christensen
|
be531c6c57
|
notifications.t: create a helper to parse the actual messages from the evaluator using the Event code
|
2022-02-08 09:51:35 -05:00 |
|
Graham Christensen
|
c30f084f32
|
eval_started event: change interface to traceID\tjobsetID
I was not going to break the interface until I noticed
the current implementation uses the string literal \t.
|
2022-02-08 09:51:35 -05:00 |
|
Graham Christensen
|
f648e91487
|
StepFinished.t: fixup use
|
2022-02-07 16:08:40 -05:00 |
|