Guest User

Untitled

a guest
Jun 16th, 2018
174
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_deploys_nixos -vv
  2. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  3. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  4. nose.selector: INFO: /home/srghma/projects/nixops/dev-shell is executable; skipped
  5. nose.selector: INFO: /home/srghma/projects/nixops/coverage-tests.py is executable; skipped
  6. nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
  7. nose.config: INFO: Excluding tests matching ['^coverage-tests\\.py$']
  8. tests.functional.test_deploys_nixos.test_deploys_nixos('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:
  9. machine> /nix/store/salf7gs2gd55p63kx5qgcw520zvjgv84-libvirtd-ssh-image.drv
  10. machine> building '/nix/store/salf7gs2gd55p63kx5qgcw520zvjgv84-libvirtd-ssh-image.drv'...
  11. machine> Formatting '/nix/store/c8r5jpzg2zzjyhxf7avximh8q88csy0p-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
  12. machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
  13. machine>
  14. machine>
  15. machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
  16. machine>
  17. machine>
  18. machine>
  19. machine> Booting from ROM...
  20. machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
  21. 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
  22. 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
  23. machine> mounting Nix store...
  24. machine> mounting host's temporary directory...
  25. machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
  26. machine> [ 0.793319] reboot: Power down
  27. machine> starting...
  28. machine> waiting for IP address to appear in DHCP leases........... 192.168.122.154
  29. Warning: Permanently added '192.168.122.154' (ED25519) to the list of known hosts.
  30. machine> setting state version to 18.03
  31. machine> waiting for SSH...
  32. building all machine configurations...
  33. these derivations will be built:
  34. /nix/store/lqyn0ll2f1qfr89xmfjpn7g05s12v151-etc-hosts.drv
  35. /nix/store/4bl85h4s8p5agmna52hnkxc4gnr4d21p-unit-nscd.service.drv
  36. /nix/store/1xnng0bfs6g3grqmi6xs57rckq60546m-system-units.drv
  37. /nix/store/f302x3a6y13g6lx8v44sc2gzqzgr0jm1-root-authorized_keys.drv
  38. /nix/store/xr29avjw1w7c9x096qqq56p9vs5jvkp5-etc.drv
  39. /nix/store/b0jqv81gv8gimn4nc70hv10bs4x0649z-nixos-system-machine-18.03.132645.43c77db3aa5.drv
  40. /nix/store/a9nw33zspl5bpj8qvijjkgrppgdx6ka2-nixops-machines.drv
  41. building '/nix/store/lqyn0ll2f1qfr89xmfjpn7g05s12v151-etc-hosts.drv'...
  42. building '/nix/store/f302x3a6y13g6lx8v44sc2gzqzgr0jm1-root-authorized_keys.drv'...
  43. building '/nix/store/4bl85h4s8p5agmna52hnkxc4gnr4d21p-unit-nscd.service.drv'...
  44. building '/nix/store/1xnng0bfs6g3grqmi6xs57rckq60546m-system-units.drv'...
  45. building '/nix/store/xr29avjw1w7c9x096qqq56p9vs5jvkp5-etc.drv'...
  46. building '/nix/store/b0jqv81gv8gimn4nc70hv10bs4x0649z-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
  47. building '/nix/store/a9nw33zspl5bpj8qvijjkgrppgdx6ka2-nixops-machines.drv'...
  48. machine> copying closure...
  49. machine> copying 10 paths...
  50. machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.154'...
  51. machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.154'...
  52. machine> copying path '/nix/store/hjw8wvvf2dbd7ssyhrldb9mg47q0hsqn-etc-hosts' to 'ssh://root@192.168.122.154'...
  53. machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.154'...
  54. machine> copying path '/nix/store/wbml5acljwdi5hz8hzp49dzr50fskwqr-root-authorized_keys' to 'ssh://root@192.168.122.154'...
  55. machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.154'...
  56. machine> copying path '/nix/store/9wz2nbqhmzm5k5vh2b2ykczi9fw74lxj-unit-nscd.service' to 'ssh://root@192.168.122.154'...
  57. machine> copying path '/nix/store/52m9crcgb61qiwpyri4l1j4n8cwm6a71-system-units' to 'ssh://root@192.168.122.154'...
  58. machine> copying path '/nix/store/48nzpdrcd84asxxpqrdbhyczcljxqmhg-etc' to 'ssh://root@192.168.122.154'...
  59. machine> copying path '/nix/store/alpq8jfj1dlr8bx2h92vx1ngrlgxyyzb-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.154'...
  60. unnamed> closures copied successfully
  61. machine> updating GRUB 2 menu...
  62. machine> stopping the following units: nscd.service
  63. machine> activating the configuration...
  64. machine> setting up /etc...
  65. machine> setting up tmpfiles
  66. machine> starting the following units: nscd.service
  67. machine> activation finished successfully
  68. unnamed> deployment finished successfully
  69. tests> test -f /etc/NIXOS
  70. machine> destroying... shutting down...
  71. deployment ‘53ae0a02-7141-11e8-ae01-02421304dbb8’ destroyed
  72. ok
  73. tests.functional.test_deploys_nixos.test_deploys_nixos('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:
  74. machine> /nix/store/wss83xswcim7rdf3bra42mkcnbkr4faw-libvirtd-ssh-image.drv
  75. machine> building '/nix/store/wss83xswcim7rdf3bra42mkcnbkr4faw-libvirtd-ssh-image.drv'...
  76. machine> Formatting '/nix/store/c0p41zj7ka67hdqzhvy5ysygfx50ff77-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
  77. machine> cSeaBIOS (version rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org)
  78. machine>
  79. machine>
  80. machine> iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+2FF912F0+2FEF12F0 C980
  81. machine>
  82. machine>
  83. machine>
  84. machine> Booting from ROM...
  85. machine> Probing EDD (edd=off to disable)... ocloading kernel modules...
  86. 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
  87. 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
  88. machine> mounting Nix store...
  89. machine> mounting host's temporary directory...
  90. machine> starting stage 2 (/nix/store/4fb775m6j04wwxrmh5xkp0chwvvx60yw-vm-run-stage2)
  91. machine> [ 0.764321] reboot: Power down
  92. machine> starting...
  93. machine> waiting for IP address to appear in DHCP leases............ 192.168.122.10
  94. Warning: Permanently added '192.168.122.10' (ED25519) to the list of known hosts.
  95. machine> setting state version to 18.03
  96. machine> waiting for SSH...
  97. building all machine configurations...
  98. these derivations will be built:
  99. /nix/store/afdmw7y3yl5cmsr8aycyw54wdf5iih9j-etc-hosts.drv
  100. /nix/store/0v7fs5k22yaqsw3i6k35yrr9q6y852is-unit-nscd.service.drv
  101. /nix/store/597b85kxjmrhpxgvyzfc2hb75d87lr0i-system-units.drv
  102. /nix/store/hqvsfk32yr6dvr9yswjp3mp9ml22hkc8-root-authorized_keys.drv
  103. /nix/store/lw7yn07qh7liizpi6zgfh0c80vjxx09p-etc.drv
  104. /nix/store/50mjpfg6mc3ffaby7bl52sqr2i2hp3cw-nixos-system-machine-18.03.132645.43c77db3aa5.drv
  105. /nix/store/gq22mwvbl5c5ykzhcqp24m143c63x612-nixops-machines.drv
  106. building '/nix/store/afdmw7y3yl5cmsr8aycyw54wdf5iih9j-etc-hosts.drv'...
  107. building '/nix/store/hqvsfk32yr6dvr9yswjp3mp9ml22hkc8-root-authorized_keys.drv'...
  108. building '/nix/store/0v7fs5k22yaqsw3i6k35yrr9q6y852is-unit-nscd.service.drv'...
  109. building '/nix/store/597b85kxjmrhpxgvyzfc2hb75d87lr0i-system-units.drv'...
  110. building '/nix/store/lw7yn07qh7liizpi6zgfh0c80vjxx09p-etc.drv'...
  111. building '/nix/store/50mjpfg6mc3ffaby7bl52sqr2i2hp3cw-nixos-system-machine-18.03.132645.43c77db3aa5.drv'...
  112. building '/nix/store/gq22mwvbl5c5ykzhcqp24m143c63x612-nixops-machines.drv'...
  113. machine> copying closure...
  114. machine> copying 10 paths...
  115. machine> copying path '/nix/store/8jx5h944wf14zlflxhy6xz973c6r7cdc-etc-hostname' to 'ssh://root@192.168.122.10'...
  116. machine> copying path '/nix/store/aap3n7mgsil7rrm5dvfal23h47n4wgjw-unit-nixops-keys.service-disabled' to 'ssh://root@192.168.122.10'...
  117. machine> copying path '/nix/store/f2ccsh4k4h83crdgwfajqppcfjlxdpl3-root-authorized_keys' to 'ssh://root@192.168.122.10'...
  118. machine> copying path '/nix/store/ny5mb32ffzby6ryv33dcvaipzfvxkq5s-unit-encrypted-links.target' to 'ssh://root@192.168.122.10'...
  119. machine> copying path '/nix/store/s4ik35kb20zym96gp5yaskyysbqk9ax9-etc-hosts' to 'ssh://root@192.168.122.10'...
  120. machine> copying path '/nix/store/br4d00pl7wyplm10m715hc3agfihvvwx-unit-nscd.service' to 'ssh://root@192.168.122.10'...
  121. machine> copying path '/nix/store/zrbwxwa4rn6mj36lwr7yffzf3g3ivzbv-setup-keys.sh' to 'ssh://root@192.168.122.10'...
  122. machine> copying path '/nix/store/5vp45d3s5qki5kmm80v3nwb8p8xrc2sw-system-units' to 'ssh://root@192.168.122.10'...
  123. machine> copying path '/nix/store/r4rgfny21z15vmmqr3vkhvgywgpp0g63-etc' to 'ssh://root@192.168.122.10'...
  124. machine> copying path '/nix/store/a65amqr9g06z6l1h5c3kc29fv34y6vnz-nixos-system-machine-18.03.132645.43c77db3aa5' to 'ssh://root@192.168.122.10'...
  125. unnamed> closures copied successfully
  126. machine> updating GRUB 2 menu...
  127. machine> stopping the following units: nscd.service
  128. machine> activating the configuration...
  129. machine> setting up /etc...
  130. machine> setting up tmpfiles
  131. machine> starting the following units: nscd.service
  132. machine> activation finished successfully
  133. unnamed> deployment finished successfully
  134. tests> test -f /etc/NIXOS
  135. machine> destroying... shutting down...
  136. deployment ‘76deffc0-7141-11e8-a626-02421304dbb8’ destroyed
  137. ok
  138.  
  139. ----------------------------------------------------------------------
  140. Ran 2 tests in 121.270s
  141.  
  142. OK
  143.  
  144. [nix-shell:~/projects/nixops]$
RAW Paste Data