Skip to content

Instantly share code, notes, and snippets.

@pingiun
Created December 17, 2020 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pingiun/6a40c2da77401ab64f5ceddaaaa38068 to your computer and use it in GitHub Desktop.
Save pingiun/6a40c2da77401ab64f5ceddaaaa38068 to your computer and use it in GitHub Desktop.
starting VDE switch for network 1
/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py:844: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stdout = io.open(c2pread, 'rb', bufsize)
/nix/store/z65l1jqvxa58zzwwa3bvglb6asj4y8cv-python3-3.8.5/lib/python3.8/subprocess.py:849: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
self.stderr = io.open(errread, 'rb', bufsize)
running the VM test script
error:
Traceback (most recent call last):
File "/nix/store/fzh73pjwzhcf9pzdax58k5zqif2lrx26-nixos-test-driver/bin/.nixos-test-driver-wrapped", line 901, in run_tests
exec(tests, globals())
File "<string>", line 1, in <module>
File "<string>", line 1, in <module>
NameError: name 'webserver' is not defined
cleaning up
(0.00 seconds)
test = pkgs.nixosTest ./nix/test.nix;
{ lib, pkgs, ... }:
{
name = "concrexit";
nodes.webserver = { pkgs, lib, ... }: {
imports = [ ./configuration.nix ];
concrexit.ssl = false;
};
testScript = ''
webserver.succeed("concrexit-manage")
'';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment