| 27 Oct 2021 |
infinisil | * Also no significant errors in the logs:
21:22:26 hydra-server.1 | started with pid 112659
21:22:26 hydra-queue-runner.1 | started with pid 112660
21:22:26 hydra-evaluator.1 | started with pid 112661
21:22:26 hydra-notify.1 | started with pid 112662
21:22:26 postgres.1 | started with pid 112663
21:22:26 hydra-server.1 | /home/infinisil/src/hydra/.hydra-data/postgres:64444 - no response
21:22:26 postgres.1 | The files belonging to this database system will be owned by user "infinisil".
21:22:26 postgres.1 | This user must also own the server process.
21:22:26 postgres.1 |
21:22:26 postgres.1 | The database cluster will be initialized with locale "en_US.UTF-8".
21:22:26 postgres.1 | The default database encoding has accordingly been set to "UTF8".
21:22:26 postgres.1 | The default text search configuration will be set to "english".
21:22:26 postgres.1 |
21:22:26 postgres.1 | Data page checksums are disabled.
21:22:26 postgres.1 |
21:22:26 postgres.1 | initdb: directory "./.hydra-data/postgres" exists but is not empty
21:22:26 postgres.1 | If you want to create a new database system, either remove or empty
21:22:26 postgres.1 | the directory "./.hydra-data/postgres" or run initdb
21:22:26 postgres.1 | with an argument other than "./.hydra-data/postgres".
21:22:26 postgres.1 | 2021-10-27 21:22:26.681 CEST [112663] LOG: listening on IPv6 address "::1", port 64444
21:22:26 postgres.1 | 2021-10-27 21:22:26.681 CEST [112663] LOG: listening on IPv4 address "127.0.0.1", port 64444
21:22:26 postgres.1 | 2021-10-27 21:22:26.683 CEST [112663] LOG: listening on Unix socket "/home/infinisil/src/hydra/.hydra-data/postgres/.s.PGSQL.64444"
21:22:26 postgres.1 | 2021-10-27 21:22:26.693 CEST [112678] LOG: database system was shut down at 2021-10-27 21:22:24 CEST
21:22:26 postgres.1 | 2021-10-27 21:22:26.696 CEST [112663] LOG: database system is ready to accept connections
21:22:27 postgres.1 | 2021-10-27 21:22:27.664 CEST [112801] FATAL: database "infinisil" does not exist
21:22:27 hydra-server.1 | /home/infinisil/src/hydra/.hydra-data/postgres:64444 - accepting connections
21:22:27 postgres.1 | 2021-10-27 21:22:27.671 CEST [112807] ERROR: database "hydra" already exists
21:22:27 hydra-server.1 | createdb: database creation failed: ERROR: database "hydra" already exists
21:22:27 postgres.1 | 2021-10-27 21:22:27.671 CEST [112807] STATEMENT: CREATE DATABASE hydra;
21:22:28 hydra-server.1 | updating existing user `alice'
21:22:28 hydra-server.1 | [warn] Unicode::Encoding plugin is auto-applied, please remove this from your appclass and make sure to define "encoding" config
21:22:29 hydra-server.1 | DEPRECATION WARNING: The Regex dispatch type is deprecated.
21:22:29 hydra-server.1 | It is recommended that you convert Regex and LocalRegex
21:22:29 hydra-server.1 | methods to Chained methods. at /nix/store/3m1z1a8g1j6wrz38bk1286gbk6gxh5b0-hydra-perl-deps/lib/perl5/site_perl/5.30.1/Catalyst/DispatchType/Regex.pm line 210.
21:22:30 hydra-notify.1 | Connection to localhost (127.0.0.1) 63333 port [tcp/*] succeeded!
21:22:30 hydra-queue-runner.1 | Connection to localhost (127.0.0.1) 63333 port [tcp/*] succeeded!
21:22:30 hydra-evaluator.1 | Connection to localhost (127.0.0.1) 63333 port [tcp/*] succeeded!
21:22:30 hydra-queue-runner.1 | checking the queue for builds > 0...
21:22:33 hydra-server.1 | HTTP::Server::PSGI: Accepting connections at http://0:63333/
21:22:33 hydra-server.1 | 127.0.0.1 - - [27/Oct/2021:21:22:33 +0200] "GET / HTTP/1.1" 200 - "http://localhost:63333/" "Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0" 0.149547
21:22:33 hydra-server.1 | 127.0.0.1 - - [27/Oct/2021:21:22:33 +0200] "GET /static/js/jquery/jquery-1.12.3.min.js HTTP/1.1" 304 - "http://localhost:63333/" "Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0" 0.006927
21:22:33 hydra-server.1 | 127.0.0.1 - - [27/Oct/2021:21:22:33 +0200] "GET /static/js/jquery/jquery-ui-1.10.4.min.js HTTP/1.1" 304 - "http://localhost:63333/" "Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0" 0.005097
21:22:33 hydra-server.1 | 127.0.0.1 - - [27/Oct/2021:21:22:33 +0200] "GET /static/js/moment/moment-2.24.0.min.js HTTP/1.1" 304 - "http://localhost:63333/" "Mozilla/5.0 (X11; Linux x86_64; rv:92.0) Gecko/20100101 Firefox/92.0" 0.003275
| 19:22:59 |
infinisil | I think it's faster to just look at the source to see where the output is supposed to be captured | 19:27:19 |
infinisil | https://github.com/NixOS/hydra/blob/master/src/script/hydra-eval-jobset#L373 | 19:29:59 |
infinisil | Well, out of time for today, but the next thing to look into is how hydra even splits off the error from the traces | 19:36:49 |
infinisil | Because those all happen on stderr | 19:36:59 |
infinisil | Oh wait I think I got it | 19:37:45 |
infinisil | https://github.com/NixOS/hydra/blob/master/src/hydra-eval-jobs/hydra-eval-jobs.cc#L400 | 19:38:57 |
infinisil | So like, what if I just builtins.trace "error" before anything else lol | 19:39:32 |
| infinisil left the room. | 20:21:21 |
| infinisil joined the room. | 20:21:33 |
infinisil | Apparently I can't have this room be in the non-spaces section, oh well.. | 20:21:57 |
das_j | In reply to @infinisil:matrix.org Apparently I can't have this room be in the non-spaces section, oh well.. You can toggle that globally | 20:22:17 |
das_j | In reply to @infinisil:matrix.org So like, what if I just builtins.trace "error" before anything else lol Or just add the trace prefix to the if? | 20:22:27 |
infinisil | das_j: Then I don't think the filter has any use, I'll investigate the history of this when I have time | 20:23:46 |
| fabianhjr joined the room. | 21:10:54 |
| 28 Oct 2021 |
| NixOS Moderation Bot banned David Arnold (blaggacao) (<no reason supplied>). | 20:04:59 |
| 29 Oct 2021 |
ma27 | any opinions about https://github.com/NixOS/hydra/pull/922? Yes, it isn't the prettiest solution, but I'm still quite interested in finding a solution to use plugins with flake jobsets. Also, this is my only pending Hydra PR that can probably be reviewed without sacrificing at least a day %) | 18:20:14 |
| 30 Oct 2021 |
Mic92 | I documented hydra webhooks for github: https://github.com/NixOS/hydra/pull/1052 | 07:48:15 |
| jeonwh joined the room. | 11:07:19 |
| 31 Oct 2021 |
| toonn changed their profile picture. | 20:19:14 |
| 3 Nov 2021 |
| jbedo changed their profile picture. | 10:25:29 |
| 4 Nov 2021 |
Mic92 | Why is the prometheus endpoint per job and not per jobset? | 18:36:55 |
Mic92 | Nevermind. I can just use telegraf's sql input for that. | 18:45:20 |
@grahamc:nixos.org | what would you like it to say per jobset? | 18:56:55 |
@grahamc:nixos.org | one reason I didn't make it per jobset is indeed I wanted to monitor a specific job | 18:57:13 |
@grahamc:nixos.org | so, probably the reason is nobody built it yet :P | 18:57:23 |
Mic92 | grahamc: getting an alert if one of my build fails: https://hydra.thalheim.io/eval/160 | 18:58:45 |
@grahamc:nixos.org | gotcha, so just monitor the entire jobset instead of an aggregate job | 18:59:13 |
@grahamc:nixos.org | makes good sense to me | 18:59:16 |
Mic92 | @grahamc: only issue is if you use this endpoint on nixpkgs with 100.000 jobs per jobset. | 19:00:04 |