nixops
nixops copied to clipboard
Tests fail with `attribute 'network' missing`
Example:
$ nix-shell
[nix-shell:~/Projects/nixops]$ ./coverage-tests.py -a '!libvirtd,!gce,!ec2,!azure' -v
nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module
tests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy ... building all machine configurations...
unnamed> closures copied successfully
unnamed> deployment finished successfully
ok
tests.functional.test_ec2_rds_dbinstance.TestEc2RdsDbinstanceTest.test_deploy_with_sg ... building all machine configurations...
unnamed> closures copied successfully
unnamed> deployment finished successfully
ok
tests.functional.test_invalid_identifier.TestInvalidIdentifier.test_invalid_identifier_fails_evaluation ... error: --- EvalError ------------------------------------ nix-instantiate
in file: /home/wmertens/Projects/nixops/nix/eval-machine-info.nix (51:26)
attribute 'network' missing
I'm using nix (Nix) 2.4pre20200622_334e26b, perhaps that's related?
Could the reason be that Azure is not supported at the moment? https://github.com/NixOS/nixops/commit/4cae6bcb4aff4d972b7514fb1e2b6c04e9e5801f
network.description should be added to the following files
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_ec2_base.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_ec2_base_nvme.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_ec2_ebs.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_ec2_spot_instance.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_elsewhere_key.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_gce_base.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_has_hello.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_libvirtd_base.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_outputs.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_outputs_mod.nix
- https://github.com/NixOS/nixops/blob/master/tests/functional/single_machine_secret_key.nix