rnhmjoj
fe34d10e57
nixos/tests/gnupg: init
2023-02-07 08:47:14 +01:00
rnhmjoj
067d688b16
nixos/test-driver: handle decoding errors in Machine.execute
...
The output of a command is not guaranteed to be valid UTF-8, so the
decoding can fail raising UnicodeDecodeError. If this happens during a
`succeeds` the check will be erroneously marked failed.
This changes the error handling to the "replace" mode, where invalid
codepoints are replaced with � (REPLACEMENT CHARACTER U+FFFD) and the
decoding can go on.
2023-02-07 08:47:14 +01:00
rnhmjoj
f2929eb949
nixos/test-driver: drop logging from Machine.send_monitor_command
...
Several machine operations, like `send_chars` and `send_key`, are
implemented by calling `send_monitor_command`, possibly multiple times.
This generates a huge amount of unnecessary noise in the log, because
`send_monitor_command` is a low-level operation and an implementation
detail.
Here's an excerpt from a highlighted log before and afte the change.
Before:
[1m[32msubtest: Can generate a PGP key[0m[0m
machine: [1m[32msending keys 'gpg --gen-key\n'[0m[0m
machine: [1m[32msending monitor command: sendkey g[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey g, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey p[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey p, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey g[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey g, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey spc[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey spc, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey 0x0C[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey 0x0C, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey 0x0C[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey 0x0C, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey g[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey g, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey e[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey e, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey n[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey n, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey 0x0C[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey 0x0C, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey k[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey k, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey e[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey e, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey y[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey y, in 0.00 seconds)
machine: [1m[32msending monitor command: sendkey ret[0m[0m
machine: [1m[32mwaiting for monitor prompt[0m[0m
(finished: waiting for monitor prompt, in 0.00 seconds)
(finished: sending monitor command: sendkey ret, in 0.00 seconds)
(finished: sending keys 'gpg --gen-key\n', in 0.15 seconds)
After:
[1m[32msubtest: Can generate a PGP key[0m[0m
machine: [1m[32msending keys 'gpg --gen-key\n'[0m[0m
(finished: sending keys 'gpg --gen-key\n', in 0.15 seconds)
2023-02-07 08:40:54 +01:00
Sandro
8b598ff3d6
Merge pull request #199731 from Luflosi/kubo-idempotence
2023-01-31 22:12:49 +01:00
Sandro
600adcfdcc
Merge pull request #187994 from Izorkin/update-nginx-gzip
2023-01-31 20:41:59 +01:00
Izorkin
59dbe319ce
nixos/gitea: update SystemCallFilter
2023-01-31 10:08:32 -06:00
Gregor Kleen
239a93f205
chrony: add gkleen as maintainer for nixos test for ptp_kvm
2023-01-31 10:08:32 -06:00
Gregor Kleen
b355be2d91
chrony: add nixos test for ptp_kvm
2023-01-31 10:08:32 -06:00
Izorkin
48ecda0962
nixos/chrony: disable PrivateDevices setting
2023-01-31 10:08:32 -06:00
Martin Weinelt
e60ddddbbb
Merge pull request #213489 from mweinelt/paperless-update
...
paperless-ngx: 1.11.3 -> 1.12.2
2023-01-31 15:36:45 +00:00
Sandro
c3b1fd8ba1
Merge pull request #199784 from Majiir/fix-plymouth-start
...
nixos/plymouth: don't start Plymouth on config switch
2023-01-31 15:47:45 +01:00
Jörg Thalheim
badb11b99f
Merge pull request #212153 from Mic92/rtorrent
...
nixos/rtorrent: make directory permissions configurable
2023-01-31 14:03:10 +00:00
Weijia Wang
5f83b5d199
Merge pull request #208801 from LeSuisse/multipath-tools-0.9.4
...
multipath-tools: 0.9.3 -> 0.9.4
2023-01-31 14:57:49 +01:00
Erik Arvstedt
a7d112b30a
nixos/paperless: Reindex documents after updating to 1.12.x
...
This causes a reindex of all documents to allow for comments made before
1.12.x to be searchable.
Also change the format of the version file to just include the version,
not the whole store path.
This simplifies version comparisons and causes migrations to run only
when the version has changed.
Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
2023-01-31 14:43:36 +01:00
Maximilian Bosch
e6ad298b7c
Merge pull request #213392 from Ma27/grafana-fix-provision-test
...
nixos/tests/grafana/provision: fix test
2023-01-31 13:49:28 +01:00
Nick Cao
db77921d65
Merge pull request #205118 from SharzyL/fix-openconnect-protocol
...
nixos/openconnect: support alternative protocol
2023-01-31 19:53:53 +08:00
Vladimír Čunát
e4957a85c9
Merge #211923 : staging-next 2023-01-21
2023-01-31 09:42:28 +01:00
Peter Hoeg
9abbbc5979
nixos/plasma5: add tool needed for kinfocenter
2023-01-31 14:46:06 +08:00
github-actions[bot]
66bb8338fc
Merge master into staging-next
2023-01-31 06:01:26 +00:00
Timothy Fenney
e60870a807
doc/nixos:
...
Bump the postgres version in the manual text to match the version in the above Nix expression.
2023-01-30 17:57:02 -07:00
github-actions[bot]
dd1ff149da
Merge master into staging-next
2023-01-31 00:02:31 +00:00
Florian Klink
cd47b8e423
Merge pull request #213445 from Majiir/fix-systemd-coredump-truncation
...
nixos/systemd/coredump: fix kernel.core_pattern truncation
2023-01-30 21:26:21 +01:00
Izorkin
d178a1d7a1
nixos/nginx: update recommended brotli settings
2023-01-30 23:13:12 +03:00
Izorkin
ee7e096c48
nixos/nginx: update recommended gzip settings
2023-01-30 23:03:01 +03:00
Sandro Jäckel
2d3efd3301
nixos/nginx: clear clients Connection headers
2023-01-30 20:25:22 +01:00
pennae
5b6dcece88
Merge pull request #212684 from pennae/nixos-render-docs
...
nixos-render-docs: init, use for some manual rendering to docbook
2023-01-30 19:26:07 +01:00
github-actions[bot]
872d17dee8
Merge master into staging-next
2023-01-30 18:01:30 +00:00
K900
2c257a212e
Merge pull request #213509 from K900/accept-my-fate
...
treewide: add myself as maintainer to all the Pipewire stuff
2023-01-30 20:05:49 +03:00
Artturi
d88425e91c
Merge pull request #199512 from 06kellyjac/tracee
2023-01-30 17:59:23 +02:00
Vladimír Čunát
23ce77d76e
Revert #178290 : nixos/virtualisation: add option
...
...for explicitly named network interfaces
This reverts commit 6ae3e7695e
.
(and evaluation fixups 08d26bbb72
7aed90a969
)
Some of the tests fail or time out after the merge.
2023-01-30 07:55:50 -08:00
06kellyjac
22ebaedc73
tracee: 0.9.2 -> 0.10.0
...
Diff: https://github.com/aquasecurity/tracee/compare/v0.9.2...v0.10.0
Changelog: https://github.com/aquasecurity/tracee/releases/tag/v0.10.0
Fix integration tests after recent changes
2023-01-30 15:22:50 +00:00
Michele Guerini Rocco
72c6c848ee
Merge pull request #212685 from rnhmjoj/pr-connman
...
nixos/wireless: fix failure on missing config file
2023-01-30 13:32:58 +01:00
github-actions[bot]
1a06f52c21
Merge master into staging-next
2023-01-30 12:01:22 +00:00
Sandro
d26c778ade
Merge pull request #153127 from eyJhb/user-uids-fix
...
nixos/users+nixos/lightdm: fixed users starting at 1000, and system users below 1000
2023-01-30 11:32:10 +01:00
rnhmjoj
fc211deccf
nixos/tests/connman: init
2023-01-30 07:48:51 +01:00
Nick Cao
445d1dc7b0
Merge pull request #213483 from lovesegfault/fix-roon-bridge
...
nixos/roon-bridge: fix exec name
2023-01-30 14:25:25 +08:00
K900
ffaae97867
nixos/pipewire: add myself as maintainer
2023-01-30 09:09:47 +03:00
Bernardo Meurer
259cc7903c
nixos/roon-bridge: fix exec name
2023-01-29 19:57:59 -05:00
Majiir Paktu
7f35c8b2ac
nixos/systemd/coredump: fix kernel.core_pattern truncation
...
Fixes #213408
2023-01-29 15:49:16 -05:00
github-actions[bot]
7b3f0537af
Merge master into staging-next
2023-01-29 18:01:12 +00:00
Maximilian Bosch
859f4aa172
nixos/tests/grafana/provision: fix test
...
Not sure why the tmpfile rule fails now, so let's quick-fix it with an
activation script.
2023-01-29 16:50:56 +01:00
Raphael Robatsch
7aed90a969
nixos/tests/networking: fix evaluation
...
Fixes commands such as `nix-build -A nixosTests.networking.scripted`.
Currently this fails: "error: The option `nodes' is used but not
defined."
2023-01-29 14:30:29 +01:00
github-actions[bot]
2019d6632b
Merge master into staging-next
2023-01-29 12:01:20 +00:00
Florian
b9e6189341
Octoprint vcgencmd patch ( #213201 )
...
* octoprint: add tmpfile.d rule for read-access to /dev/vchiq for vcgencmd
fixes #210629
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
* Update pkgs/applications/misc/octoprint/default.nix
---------
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Nick Cao <nickcao@nichi.co>
2023-01-29 16:11:48 +08:00
K900
de6e502f5e
pipewire: 0.3.64 -> 0.3.65
2023-01-29 10:11:12 +03:00
github-actions[bot]
04f965695c
Merge master into staging-next
2023-01-29 06:01:23 +00:00
Florian Brandes
5b3ce4f78f
octoprint: add nixosTests
...
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
Co-authored-by: Nick Cao <nickcao@nichi.co>
2023-01-29 05:40:28 +01:00
github-actions[bot]
d7f991bb53
Merge master into staging-next
2023-01-29 00:02:27 +00:00
Artturi
4cbf8b05bf
Merge pull request #213118 from vcunat/p/hotfix-networking-tests-eval
2023-01-28 22:10:51 +02:00
github-actions[bot]
b460ba1998
Merge master into staging-next
2023-01-28 12:01:10 +00:00