Advertisement
srghma

Untitled

Jun 17th, 2018
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.50 KB | None | 0 0
  1.  
  2. [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_stopping_stops -vv
  3. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  4. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  5. nose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped
  6. nose.selector: INFO: /home/srghma/projects/nixops/clean_test_state_files.py is executable; skipped
  7. nose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped
  8. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  9. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  10. 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:
  11. machine> /nix/store/74hlnb9c9z49x08iky3km18wgbkvc99b-libvirtd-ssh-image.drv
  12. machine> building '/nix/store/74hlnb9c9z49x08iky3km18wgbkvc99b-libvirtd-ssh-image.drv'...
  13. 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
  14. machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
  15. machine>
  16. machine>
  17. machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
  18. machine>
  19. machine>
  20. machine>
  21. machine> Booting from ROM...
  22. machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
  23. 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
  24. 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
  25. machine> mounting Nix store...
  26. machine> mounting host's temporary directory...
  27. machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
  28. machine> [ 0.817064] reboot: Power down
  29. machine> starting...
  30. machine> waiting for IP address to appear in DHCP leases............ 192.168.122.58
  31. Warning: Permanently added '192.168.122.58' (ED25519) to the list of known hosts.
  32. machine> setting state version to 18.03
  33. machine> waiting for SSH...
  34. building all machine configurations...
  35. these derivations will be built:
  36. /nix/store/yqwssxn7pp8wmg9c9g31sqhs1rrknisb-etc-hosts.drv
  37. /nix/store/kz2pyfdwxm0q13yyksplmq0lk1mdpkm9-unit-nscd.service.drv
  38. /nix/store/370rk14n24k3mq0ibqcigqjilzygy58m-system-units.drv
  39. /nix/store/3spkihwink790j9bjmv1l90v7cj8gb44-root-authorized_keys.drv
  40. /nix/store/czbp4bpllsmg75vmckdy6axrgr736ain-etc.drv
  41. /nix/store/k3pcb9wrj3ppmbvs5dyf01m7fl331z3a-nixos-system-machine-18.03.132645.43c77db3aa5.drv
  42. /nix/store/8jkm2235pcb5r6x419dagyg09k19wa5q-nixops-machines.drv
  43. building '/nix/store/yqwssxn7pp8wmg9c9g31sqhs1rrknisb-etc-hosts.drv'...
  44. building '/nix/store/3spkihwink790j9bjmv1l90v7cj8gb44-root-authorized_keys.drv'...
  45. building '/nix/store/kz2pyfdwxm0q13yyksplmq0lk1mdpkm9-unit-nscd.service.drv'...
  46. building '/nix/store/370rk14n24k3mq0ibqcigqjilzygy58m-system-units.drv'...
  47. building '/nix/store/czbp4bpllsmg75vmckdy6axrgr736ain-etc.drv'...
  48. building '/nix/store/k3pcb9wrj3ppmbvs5dyf01m7fl331z3a-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
  49. building '/nix/store/8jkm2235pcb5r6x419dagyg09k19wa5q-nixops-machines.drv'...
  50. machine> copying closure...
  51. machine> copying 10 paths...
  52. machine> copying path '/nix/store/nl0yzlqxa435jbjhfhmvdlk6xscs22hf-etc-hosts' to 'ssh://root@192.168.122.58'...
  53. machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.58'...
  54. machine> copying path '/nix/store/1ymwxljnv9vqk9mn4jy4s8v7fkyn9lpk-root-authorized_keys' to 'ssh://root@192.168.122.58'...
  55. machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.58'...
  56. machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.58'...
  57. machine> copying path '/nix/store/l9yjk8wp5vf5cjylqlhsmkkvwji1vdlf-unit-nscd.service' to 'ssh://root@192.168.122.58'...
  58. machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.58'...
  59. machine> copying path '/nix/store/ysy6mn013m0qp57fz7xlz0jbf1bxr5ys-system-units' to 'ssh://root@192.168.122.58'...
  60. machine> copying path '/nix/store/l3b7qrsxf0g3xx4xzyvp9nc3hjz0dray-etc' to 'ssh://root@192.168.122.58'...
  61. machine> copying path '/nix/store/8swrw25q5bd22vg6gq92szpfn7rmrnaj-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.58'...
  62. unnamed> closures copied successfully
  63. machine> updating GRUB 2 menu...
  64. machine> stopping the following units: nscd.service
  65. machine> activating the configuration...
  66. machine> setting up /etc...
  67. machine> setting up tmpfiles
  68. machine> starting the following units: nscd.service
  69. machine> activation finished successfully
  70. unnamed> deployment finished successfully
  71. machine> shutting down... warning: non-fatal error on clean backups for deployment ‘729ee933-723d-11e8-889f-024286c7aaba’: 'LibvirtdState' object has no attribute 'get_backups'
  72. Traceback (most recent call last):
  73. File "/home/srghma/projects/nixops/tests/functional/shared/destroy_deployments_and_remove_state_file.py", line 34, in destroy_deployments
  74. deployment.clean_backups()
  75. File "/home/srghma/projects/nixops/nixops/deployment.py", line 743, in clean_backups
  76. _backups = self.get_backups()
  77. File "/home/srghma/projects/nixops/nixops/deployment.py", line 717, in get_backups
  78. machine_backups[m.name] = m.get_backups()
  79. AttributeError: 'LibvirtdState' object has no attribute 'get_backups'
  80. machine> destroying...
  81. machine> not running
  82. deployment ‘729ee933-723d-11e8-889f-024286c7aaba’ destroyed
  83. ok
  84. 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:
  85. machine> /nix/store/fjqjck1ffpffzy8hcd4xl02xa44aggz2-libvirtd-ssh-image.drv
  86. machine> building '/nix/store/fjqjck1ffpffzy8hcd4xl02xa44aggz2-libvirtd-ssh-image.drv'...
  87. 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
  88. machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
  89. machine>
  90. machine>
  91. machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
  92. machine>
  93. machine>
  94. machine>
  95. machine> Booting from ROM...
  96. machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
  97. 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
  98. 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
  99. machine> mounting Nix store...
  100. machine> mounting host's temporary directory...
  101. machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
  102. machine> [ 0.788565] reboot: Power down
  103. machine> starting...
  104. machine> waiting for IP address to appear in DHCP leases............ 192.168.122.149
  105. Warning: Permanently added '192.168.122.149' (ED25519) to the list of known hosts.
  106. machine> setting state version to 18.03
  107. machine> waiting for SSH...
  108. building all machine configurations...
  109. these derivations will be built:
  110. /nix/store/sw4qfyqrc3vphbh0ps9f3vg7lqp9w97w-etc-hosts.drv
  111. /nix/store/c7ffc7c2wg4pmxl6b5fj436ad96k058g-unit-nscd.service.drv
  112. /nix/store/89wgp8fafcksima9w8szh1q09w4v8r8q-system-units.drv
  113. /nix/store/agl6b0aaz9wcd57jsrj961ydnj4kgyhv-root-authorized_keys.drv
  114. /nix/store/brndbhdy50fzcc9dd3ks7zd2axisgp47-etc.drv
  115. /nix/store/y9qhgiv3f2dgywfnc51r90cs8kgpijzn-nixos-system-machine-18.03.132645.43c77db3aa5.drv
  116. /nix/store/f4vb73zyg9lv9xzkhwaky6bgz694y3s3-nixops-machines.drv
  117. building '/nix/store/sw4qfyqrc3vphbh0ps9f3vg7lqp9w97w-etc-hosts.drv'...
  118. building '/nix/store/agl6b0aaz9wcd57jsrj961ydnj4kgyhv-root-authorized_keys.drv'...
  119. building '/nix/store/c7ffc7c2wg4pmxl6b5fj436ad96k058g-unit-nscd.service.drv'...
  120. building '/nix/store/89wgp8fafcksima9w8szh1q09w4v8r8q-system-units.drv'...
  121. building '/nix/store/brndbhdy50fzcc9dd3ks7zd2axisgp47-etc.drv'...
  122. building '/nix/store/y9qhgiv3f2dgywfnc51r90cs8kgpijzn-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
  123. building '/nix/store/f4vb73zyg9lv9xzkhwaky6bgz694y3s3-nixops-machines.drv'...
  124. machine> copying closure...
  125. machine> copying 10 paths...
  126. machine> copying path '/nix/store/4wjajswzbbdhv1ckjnzf59j2hzd9i2kl-root-authorized_keys' to 'ssh://root@192.168.122.149'...
  127. machine> copying path '/nix/store/5hwa8x3pr70c2milnvpsmcrxm5mq6y4v-etc-hosts' to 'ssh://root@192.168.122.149'...
  128. machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.149'...
  129. machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.149'...
  130. machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.149'...
  131. machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.149'...
  132. machine> copying path '/nix/store/3z8jxfq3ibib4sm76v5zx6yflagf4cn8-unit-nscd.service' to 'ssh://root@192.168.122.149'...
  133. machine> copying path '/nix/store/pscjkknxc9q4qp5xc8wdk7n6bjdfljra-system-units' to 'ssh://root@192.168.122.149'...
  134. machine> copying path '/nix/store/zq71qg9qp0y1a1kzml4bwwyc07lcplwd-etc' to 'ssh://root@192.168.122.149'...
  135. machine> copying path '/nix/store/2zmq9aipgl09mir1jaim9zsf6vyv8fs5-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.149'...
  136. unnamed> closures copied successfully
  137. machine> updating GRUB 2 menu...
  138. machine> stopping the following units: nscd.service
  139. machine> activating the configuration...
  140. machine> setting up /etc...
  141. machine> setting up tmpfiles
  142. machine> starting the following units: nscd.service
  143. machine> activation finished successfully
  144. unnamed> deployment finished successfully
  145. machine> shutting down... warning: non-fatal error on clean backups for deployment ‘8fed6591-723d-11e8-91c6-024286c7aaba’: 'LibvirtdState' object has no attribute 'get_backups'
  146. Traceback (most recent call last):
  147. File "/home/srghma/projects/nixops/tests/functional/shared/destroy_deployments_and_remove_state_file.py", line 34, in destroy_deployments
  148. deployment.clean_backups()
  149. File "/home/srghma/projects/nixops/nixops/deployment.py", line 743, in clean_backups
  150. _backups = self.get_backups()
  151. File "/home/srghma/projects/nixops/nixops/deployment.py", line 717, in get_backups
  152. machine_backups[m.name] = m.get_backups()
  153. AttributeError: 'LibvirtdState' object has no attribute 'get_backups'
  154. machine> destroying...
  155. machine> not running
  156. deployment ‘8fed6591-723d-11e8-91c6-024286c7aaba’ destroyed
  157. ok
  158.  
  159. ----------------------------------------------------------------------
  160. Ran 2 tests in 99.797s
  161.  
  162. OK
  163.  
  164. [nix-shell:~/projects/nixops]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement