Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_stopping_stops -vv
- nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
- nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
- nose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped
- nose.selector: INFO: /home/srghma/projects/nixops/clean_test_state_files.py is executable; skipped
- nose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped
- nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
- nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
- tests.functional.test_stopping_stops.test_stopping_stops('json', ('libvirtd', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/libvirtd_base.nix'])) ... machine> these derivations will be built:
- machine> /nix/store/74hlnb9c9z49x08iky3km18wgbkvc99b-libvirtd-ssh-image.drv
- machine> building '/nix/store/74hlnb9c9z49x08iky3km18wgbkvc99b-libvirtd-ssh-image.drv'...
- machine> Formatting '/nix/store/h7y3a8a32z7pp19kpkwnmijggnk62w9z-libvirtd-ssh-image/image', fmt=qcow2 size=10737418240 backing_file=/nix/store/xbidgp3zv971gaikc4q5vj0z4knzg4sd-libvirtd-image/disk.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
- machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
- machine>
- machine>
- machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
- machine>
- machine>
- machine>
- machine> Booting from ROM...
- machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
- machine> insmod: can't insert '/nix/store/c8gjyb91rsnama532wyfxx1c7m8pxfmi-linux-4.14.48-shrunk/lib/modules/4.14.48/kernel/arch/x86/crypto/crc32c-intel.ko.xz': No such device
- machine> warning: unable to load /nix/store/c8gjyb91rsnama532wyfxx1c7m8pxfmi-linux-4.14.48-shrunk/lib/modules/4.14.48/kernel/arch/x86/crypto/crc32c-intel.ko.xz
- machine> mounting Nix store...
- machine> mounting host's temporary directory...
- machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
- machine> [ 0.817064] reboot: Power down
- machine> starting...
- machine> waiting for IP address to appear in DHCP leases............ 192.168.122.58
- Warning: Permanently added '192.168.122.58' (ED25519) to the list of known hosts.
- machine> setting state version to 18.03
- machine> waiting for SSH...
- building all machine configurations...
- these derivations will be built:
- /nix/store/yqwssxn7pp8wmg9c9g31sqhs1rrknisb-etc-hosts.drv
- /nix/store/kz2pyfdwxm0q13yyksplmq0lk1mdpkm9-unit-nscd.service.drv
- /nix/store/370rk14n24k3mq0ibqcigqjilzygy58m-system-units.drv
- /nix/store/3spkihwink790j9bjmv1l90v7cj8gb44-root-authorized_keys.drv
- /nix/store/czbp4bpllsmg75vmckdy6axrgr736ain-etc.drv
- /nix/store/k3pcb9wrj3ppmbvs5dyf01m7fl331z3a-nixos-system-machine-18.03.132645.43c77db3aa5.drv
- /nix/store/8jkm2235pcb5r6x419dagyg09k19wa5q-nixops-machines.drv
- building '/nix/store/yqwssxn7pp8wmg9c9g31sqhs1rrknisb-etc-hosts.drv'...
- building '/nix/store/3spkihwink790j9bjmv1l90v7cj8gb44-root-authorized_keys.drv'...
- building '/nix/store/kz2pyfdwxm0q13yyksplmq0lk1mdpkm9-unit-nscd.service.drv'...
- building '/nix/store/370rk14n24k3mq0ibqcigqjilzygy58m-system-units.drv'...
- building '/nix/store/czbp4bpllsmg75vmckdy6axrgr736ain-etc.drv'...
- building '/nix/store/k3pcb9wrj3ppmbvs5dyf01m7fl331z3a-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
- building '/nix/store/8jkm2235pcb5r6x419dagyg09k19wa5q-nixops-machines.drv'...
- machine> copying closure...
- machine> copying 10 paths...
- machine> copying path '/nix/store/nl0yzlqxa435jbjhfhmvdlk6xscs22hf-etc-hosts' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/1ymwxljnv9vqk9mn4jy4s8v7fkyn9lpk-root-authorized_keys' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/l9yjk8wp5vf5cjylqlhsmkkvwji1vdlf-unit-nscd.service' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/ysy6mn013m0qp57fz7xlz0jbf1bxr5ys-system-units' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/l3b7qrsxf0g3xx4xzyvp9nc3hjz0dray-etc' to 'ssh://root@192.168.122.58'...
- machine> copying path '/nix/store/8swrw25q5bd22vg6gq92szpfn7rmrnaj-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.58'...
- unnamed> closures copied successfully
- machine> updating GRUB 2 menu...
- machine> stopping the following units: nscd.service
- machine> activating the configuration...
- machine> setting up /etc...
- machine> setting up tmpfiles
- machine> starting the following units: nscd.service
- machine> activation finished successfully
- unnamed> deployment finished successfully
- machine> shutting down... warning: non-fatal error on clean backups for deployment ‘729ee933-723d-11e8-889f-024286c7aaba’: 'LibvirtdState' object has no attribute 'get_backups'
- Traceback (most recent call last):
- File "/home/srghma/projects/nixops/tests/functional/shared/destroy_deployments_and_remove_state_file.py", line 34, in destroy_deployments
- deployment.clean_backups()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 743, in clean_backups
- _backups = self.get_backups()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 717, in get_backups
- machine_backups[m.name] = m.get_backups()
- AttributeError: 'LibvirtdState' object has no attribute 'get_backups'
- machine> destroying...
- machine> not running
- deployment ‘729ee933-723d-11e8-889f-024286c7aaba’ destroyed
- ok
- tests.functional.test_stopping_stops.test_stopping_stops('nixops', ('libvirtd', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/libvirtd_base.nix'])) ... machine> these derivations will be built:
- machine> /nix/store/fjqjck1ffpffzy8hcd4xl02xa44aggz2-libvirtd-ssh-image.drv
- machine> building '/nix/store/fjqjck1ffpffzy8hcd4xl02xa44aggz2-libvirtd-ssh-image.drv'...
- machine> Formatting '/nix/store/fz8wa7fckhilr85n830259mw12yy6lia-libvirtd-ssh-image/image', fmt=qcow2 size=10737418240 backing_file=/nix/store/xbidgp3zv971gaikc4q5vj0z4knzg4sd-libvirtd-image/disk.qcow2 cluster_size=65536 lazy_refcounts=off refcount_bits=16
- machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
- machine>
- machine>
- machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
- machine>
- machine>
- machine>
- machine> Booting from ROM...
- machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
- machine> insmod: can't insert '/nix/store/c8gjyb91rsnama532wyfxx1c7m8pxfmi-linux-4.14.48-shrunk/lib/modules/4.14.48/kernel/arch/x86/crypto/crc32c-intel.ko.xz': No such device
- machine> warning: unable to load /nix/store/c8gjyb91rsnama532wyfxx1c7m8pxfmi-linux-4.14.48-shrunk/lib/modules/4.14.48/kernel/arch/x86/crypto/crc32c-intel.ko.xz
- machine> mounting Nix store...
- machine> mounting host's temporary directory...
- machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
- machine> [ 0.788565] reboot: Power down
- machine> starting...
- machine> waiting for IP address to appear in DHCP leases............ 192.168.122.149
- Warning: Permanently added '192.168.122.149' (ED25519) to the list of known hosts.
- machine> setting state version to 18.03
- machine> waiting for SSH...
- building all machine configurations...
- these derivations will be built:
- /nix/store/sw4qfyqrc3vphbh0ps9f3vg7lqp9w97w-etc-hosts.drv
- /nix/store/c7ffc7c2wg4pmxl6b5fj436ad96k058g-unit-nscd.service.drv
- /nix/store/89wgp8fafcksima9w8szh1q09w4v8r8q-system-units.drv
- /nix/store/agl6b0aaz9wcd57jsrj961ydnj4kgyhv-root-authorized_keys.drv
- /nix/store/brndbhdy50fzcc9dd3ks7zd2axisgp47-etc.drv
- /nix/store/y9qhgiv3f2dgywfnc51r90cs8kgpijzn-nixos-system-machine-18.03.132645.43c77db3aa5.drv
- /nix/store/f4vb73zyg9lv9xzkhwaky6bgz694y3s3-nixops-machines.drv
- building '/nix/store/sw4qfyqrc3vphbh0ps9f3vg7lqp9w97w-etc-hosts.drv'...
- building '/nix/store/agl6b0aaz9wcd57jsrj961ydnj4kgyhv-root-authorized_keys.drv'...
- building '/nix/store/c7ffc7c2wg4pmxl6b5fj436ad96k058g-unit-nscd.service.drv'...
- building '/nix/store/89wgp8fafcksima9w8szh1q09w4v8r8q-system-units.drv'...
- building '/nix/store/brndbhdy50fzcc9dd3ks7zd2axisgp47-etc.drv'...
- building '/nix/store/y9qhgiv3f2dgywfnc51r90cs8kgpijzn-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
- building '/nix/store/f4vb73zyg9lv9xzkhwaky6bgz694y3s3-nixops-machines.drv'...
- machine> copying closure...
- machine> copying 10 paths...
- machine> copying path '/nix/store/4wjajswzbbdhv1ckjnzf59j2hzd9i2kl-root-authorized_keys' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/5hwa8x3pr70c2milnvpsmcrxm5mq6y4v-etc-hosts' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/3z8jxfq3ibib4sm76v5zx6yflagf4cn8-unit-nscd.service' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/pscjkknxc9q4qp5xc8wdk7n6bjdfljra-system-units' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/zq71qg9qp0y1a1kzml4bwwyc07lcplwd-etc' to 'ssh://root@192.168.122.149'...
- machine> copying path '/nix/store/2zmq9aipgl09mir1jaim9zsf6vyv8fs5-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.149'...
- unnamed> closures copied successfully
- machine> updating GRUB 2 menu...
- machine> stopping the following units: nscd.service
- machine> activating the configuration...
- machine> setting up /etc...
- machine> setting up tmpfiles
- machine> starting the following units: nscd.service
- machine> activation finished successfully
- unnamed> deployment finished successfully
- machine> shutting down... warning: non-fatal error on clean backups for deployment ‘8fed6591-723d-11e8-91c6-024286c7aaba’: 'LibvirtdState' object has no attribute 'get_backups'
- Traceback (most recent call last):
- File "/home/srghma/projects/nixops/tests/functional/shared/destroy_deployments_and_remove_state_file.py", line 34, in destroy_deployments
- deployment.clean_backups()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 743, in clean_backups
- _backups = self.get_backups()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 717, in get_backups
- machine_backups[m.name] = m.get_backups()
- AttributeError: 'LibvirtdState' object has no attribute 'get_backups'
- machine> destroying...
- machine> not running
- deployment ‘8fed6591-723d-11e8-91c6-024286c7aaba’ destroyed
- ok
- ----------------------------------------------------------------------
- Ran 2 tests in 99.797s
- OK
- [nix-shell:~/projects/nixops]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement