| 27 Oct 2021 |
@grahamc:nixos.org | oy, testing this last cancelBuilds action is gnarly (clear-queue-non-current) | 15:14:24 |
@grahamc:nixos.org | rfr: https://github.com/NixOS/hydra/pull/1051 | 15:45:55 |
| infinisil joined the room. | 19:13:15 |
infinisil | Continuing here from https://matrix.to/#/!kjdutkOsheZdjqYmqp:nixos.org/$2we-4xO7GchjBlxtz33j3-kaooYAC4X7dTQfyS1YQP8?via=nixos.org&via=matrix.org&via=nixos.dev | 19:14:05 |
infinisil | Nope, no login, even at HEAD~200 | 19:15:04 |
das_j | did you do hydra-create-user <USER> --full-name '<NAME>' --email-address '<EMAIL>' --password <PASSWORD> --role admin | 19:15:36 |
das_j | I don't think the alice user has always been there | 19:15:46 |
infinisil | It still looks like this: | 19:15:59 |
infinisil |  Download 2021-10-27_21-08.png | 19:16:10 |
infinisil | There's no button for me to press, and If I find the invisible one, it doesn't open a dialogue! | 19:16:29 |
infinisil | This is after git checkout 858eb41fab0c8e2a885dc95f629eac8d56c7449c, git clean -f -x -d, nix-shell, ./bootstrap, ./configure, make, foreman start | 19:17:52 |
infinisil | There is an error during the make, but it doesn't seem relevant
inflating: ./static/js/flot/NEWS.md
inflating: ./static/js/flot/PLUGINS.md
inflating: ./static/js/flot/README.md
make[3]: Leaving directory '/home/infinisil/src/hydra/src/root'
Making all in ttf
make[3]: Entering directory '/home/infinisil/src/hydra/src/ttf'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/infinisil/src/hydra/src/ttf'
make[3]: Entering directory '/home/infinisil/src/hydra/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/infinisil/src/hydra/src'
make[2]: Leaving directory '/home/infinisil/src/hydra/src'
Making all in tests
make[2]: Entering directory '/home/infinisil/src/hydra/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/infinisil/src/hydra/tests'
Making all in doc
make[2]: Entering directory '/home/infinisil/src/hydra/doc'
Making all in manual
make[3]: Entering directory '/home/infinisil/src/hydra/doc/manual'
/nix/store/g2h7jpfr9syw8hnircdf54n62raikchj-libxslt-1.1.34-bin/bin/xsltproc --param callout.graphics.extension \'.gif\' --param section.autolabel 1 --param section.label.includes.component.label 1 --nonet --xinclude \
--output manual.html \
/docbook-xsl-missing/xhtml/docbook.xsl manual.xml
warning: failed to load external entity "/docbook-xsl-missing/xhtml/docbook.xsl"
cannot parse /docbook-xsl-missing/xhtml/docbook.xsl
make[3]: *** [Makefile:517: manual.html] Error 4
make[3]: Leaving directory '/home/infinisil/src/hydra/doc/manual'
make[2]: *** [Makefile:360: all-recursive] Error 1
make[2]: Leaving directory '/home/infinisil/src/hydra/doc'
make[1]: *** [Makefile:414: all-recursive] Error 1
make[1]: Leaving directory '/home/infinisil/src/hydra'
make: *** [Makefile:344: all] Error 2
| 19:18:49 |
infinisil | Maybe I should ./configure with a prefix | 19:19:11 |
infinisil | Oh right, configurePhase, not ./configure, that must be it | 19:19:42 |
infinisil | Error is gone but still no login button.. | 19:21:50 |
infinisil | Also no significant errors in the logs:
| 19:22:53 |
@grahamc:nixos.org | this is probably going to be pretty annoying | 19:22:55 |
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 |