!zghijEASpYQWYFzriI:nixos.org

Hydra

391 Members
115 Servers

Load older messages


SenderMessageTime
23 Jun 2021
@amanda:camnet.siteAmanda (she/her) Specifically, lots of this: Jun 23 18:14:17 miranda hydra-queue-runner[455780]: AWS error '' (curlCode: 35, SSL connect error), will retry in X ms 22:20:04
@amanda:camnet.siteAmanda (she/her)

Oh. looks like a pqxx update broke hydra:

make[3]: Entering directory '/build/source/src/hydra-evaluator'
g++ -DHAVE_CONFIG_H -I. -I../..    -std=c++17 -I/nix/store/ll3ava4533mdgadiy6mxmrvi6cnnsbvp-nix-2.4pre20210623_323e545-dev/include/nix -I/nix/store/y4xvwgsrms14b2lmcnbwmfsz10svvzid-boehm-gc-8.0.4-dev/include -Wall -I ../libhydra -Wno-deprecated-declarations -g -O2 -std>
In file included from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/util.hxx:31,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/result.hxx:25,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/binarystring.hxx:21,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/binarystring:4,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/pqxx:3,
                 from ../libhydra/db.hh:3,
                 from hydra-evaluator.cc:1:
../../version:1:1: error: expected unqualified-id before numeric constant
    1 | 0.1
      | ^~~
In file included from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/util.hxx:37,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/result.hxx:25,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/binarystring.hxx:21,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/binarystring:4,
                 from /nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/pqxx:3,
                 from ../libhydra/db.hh:3,
                 from hydra-evaluator.cc:1:
/nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/util.hxx: In function 'void pqxx::check_version()':
/nix/store/35li1apz6s7a3nhvi1vv9w6h96yjrrxx-libpqxx-7.5.2/include/pqxx/util.hxx:183:42: error: 'check_pqxx_version_PQXX_VERSION_MAJOR_PQXX_VERSION_MINOR' is not a member of 'pqxx::internal'
  183 |   static auto const version_ok{internal::PQXX_VERSION_CHECK()};
      |                                          ^~~~~~~~~~~~~~~~~~
hydra-evaluator.cc: In member function 'bool Evaluator::shouldEvaluate(Evaluator::Jobset&)':
hydra-evaluator.cc:236:43: error: 'using work = class pqxx::transaction<>' {aka 'class pqxx::transaction<>'} has no member named 'parameterized'
  236 |                 auto evaluation_res = txn.parameterized
      |                                           ^~~~~~~~~~~~~
hydra-evaluator.cc:250:62: error: expected primary-expression before 'int'
  250 |                 auto evaluation_id = evaluation_res[0][0].as<int>();
      |                                                              ^~~
hydra-evaluator.cc:252:49: error: 'using work = class pqxx::transaction<>' {aka 'class pqxx::transaction<>'} has no member named 'parameterized'
  252 |                 auto unfinished_build_res = txn.parameterized
      |                                                 ^~~~~~~~~~~~~
make[3]: *** [Makefile:440: hydra_evaluator-hydra-evaluator.o] Error 1
make[3]: Leaving directory '/build/source/src/hydra-evaluator'
make[2]: *** [Makefile:360: all-recursive] Error 1
make[2]: Leaving directory '/build/source/src'
make[1]: *** [Makefile:416: all-recursive] Error 1
make[1]: Leaving directory '/build/source'
make: *** [Makefile:346: all] Error 2

22:41:26
24 Jun 2021
@taneb:hacksrus.ukTanebYeah, I noticed that the other day. Not sure how to fix it though :(07:57:34
@vertebralsilence:matrix.orgvertebralsilence joined the room.13:21:19
25 Jun 2021
@andreas.schraegle:helsinki-systems.deajs124Does hydra have a way to pass build options, e.g. something like a sandbox exception to a specific job(set)?13:47:15
26 Jun 2021
@jez:petrichor.meJez (he/him) joined the room.08:44:39
@wucke13:matrix.orgwucke13 joined the room.08:46:07
@wucke13:matrix.orgwucke13 Is it possible to have hydra build the nixosConfigurations in a flake? 08:46:43
@wucke13:matrix.orgwucke13And: Whats need to be done to make hydra use binfmt to build for non native systems (e.g. aarch64 on a x86_64 host)?09:28:47
@joerg:bethselamin.deMic92binfmt support is documented here: https://github.com/cleverca22/nixos-configs/blob/master/qemu.nix09:55:38
@manveru:matrix.orgmanveru Mic92: isn't that a pretty old way of doing it? i just set boot.binfmt.emulatedSystems = [ "aarch64-linux" "armv7l-linux" ]; 09:59:52
@manveru:matrix.orgmanveruthough i haven't tried that with hydra... it works for normal nix builds10:00:30
@joerg:bethselamin.deMic92might be... I took it from here: https://github.com/nix-community/nixos-generators#cross-compiling10:00:40
@joerg:bethselamin.deMic92If it works for normal builds it should work for hydra.10:00:53
@wucke13:matrix.orgwucke13It is not working for hydra. Hydra just claims that no machine is available for that arch. So there must be some way to tell hydra that the local machine supports said arch?10:47:39
@janne.hess:helsinki-systems.dedas_j wucke13: Is aarch64-linux mentioned in your /etc/nix/machines file? 10:48:04
@wucke13:matrix.orgwucke13Said file does not exist10:48:37
@wucke13:matrix.orgwucke13So I guess, that's a No :D10:48:44
@janne.hess:helsinki-systems.dedas_j should be something like localhost x86_64-linux,i686-linux - 32 1 kvm,nixos-test,big-parallel,benchmark 10:49:39
@janne.hess:helsinki-systems.dedas_jthere is a nixos option for that10:49:43
@janne.hess:helsinki-systems.dedas_j
nix.buildMachines
10:50:01
@janne.hess:helsinki-systems.dedas_j(you should obviously add aarch64-linux to the systems)10:50:43
@wucke13:matrix.orgwucke13Reading through the module: Is there no way to omit sshing to localhost?10:52:46
@janne.hess:helsinki-systems.dedas_jthere is. If the string is "localhost" it just implicitly builds locally ;)10:53:03
@janne.hess:helsinki-systems.dedas_jI learned that the hard way when I changed that string to the real hostname10:53:20
@wucke13:matrix.orgwucke13 locahost for hostName? 10:53:24
@janne.hess:helsinki-systems.dedas_jyes10:53:27
@rick:matrix.ciphernetics.nlRick (Mindavi)And keep in mind that emulation is slow :)10:54:07
@wucke13:matrix.orgwucke13 Would I also have to add i386-linux or is it implicitly always enabled if x86_64-linux is present? 10:54:19
@wucke13:matrix.orgwucke13
In reply to @rick:matrix.ciphernetics.nl
And keep in mind that emulation is slow :)
Time plays no role, it's university stuff :D
10:54:32

Show newer messages


Back to Room ListRoom Version: 6