Guest User

Untitled

a guest
Jun 16th, 2018
157
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_cloning_clones -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_cloning_clones.test_cloning_clones('json', ('vbox', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/vbox_base.nix'])) ... deployment ‘53ff2fe6-7154-11e8-899d-0242f1563f79’ destroyed
  9. deployment ‘53fe1d05-7154-11e8-84ff-0242f1563f79’ destroyed
  10. ok
  11. tests.functional.test_cloning_clones.test_cloning_clones('json', ('ec2', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/ec2_base.nix'])) ... deployment ‘540d911c-7154-11e8-a166-0242f1563f79’ destroyed
  12. deployment ‘540db0d4-7154-11e8-8dbe-0242f1563f79’ destroyed
  13. ok
  14. tests.functional.test_cloning_clones.test_cloning_clones('json', ('gce', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/gce_base.nix'])) ... deployment ‘541e2070-7154-11e8-958b-0242f1563f79’ destroyed
  15. deployment ‘541e038a-7154-11e8-ab60-0242f1563f79’ destroyed
  16. ok
  17. tests.functional.test_cloning_clones.test_cloning_clones('json', ('azure', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/azure_base.nix'])) ... Exception in thread Thread-8:
  18. Traceback (most recent call last):
  19. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/threading.py", line 801, in __bootstrap_inner
  20. self.run()
  21. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/threading.py", line 754, in run
  22. self.__target(*self.__args, **self.__kwargs)
  23. File "/home/srghma/projects/nixops/tests/functional/shared/using_state_file.py", line 31, in destroy_deployments
  24. deployment = state.open_deployment(uuid)
  25. File "/home/srghma/projects/nixops/nixops/state/json_file.py", line 184, in open_deployment
  26. deployment = self._find_deployment(uuid=uuid)
  27. File "/home/srghma/projects/nixops/nixops/state/json_file.py", line 156, in _find_deployment
  28. all_deployments = self.db.read()["deployments"]
  29. File "/home/srghma/projects/nixops/nixops/state/json_file.py", line 49, in read
  30. return json.load(f)
  31. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/__init__.py", line 291, in load
  32. **kw)
  33. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/__init__.py", line 339, in loads
  34. return _default_decoder.decode(s)
  35. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/decoder.py", line 364, in decode
  36. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  37. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/decoder.py", line 382, in raw_decode
  38. raise ValueError("No JSON object could be decoded")
  39. ValueError: No JSON object could be decoded
  40.  
  41. deployment ‘542ce6fa-7154-11e8-9ac4-0242f1563f79’ destroyed
  42. warning: not all deployments have been destroyed; some resources may still exist!
  43. ok
  44. tests.functional.test_cloning_clones.test_cloning_clones('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'])) ... deployment ‘543a853d-7154-11e8-9fa9-0242f1563f79’ destroyed
  45. deployment ‘543a6a5c-7154-11e8-ab02-0242f1563f79’ destroyed
  46. ok
  47. tests.functional.test_cloning_clones.test_cloning_clones('nixops', ('vbox', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/vbox_base.nix'])) ... deployment ‘54569861-7154-11e8-874e-0242f1563f79’ destroyed
  48. deployment ‘5453f59c-7154-11e8-8f8a-0242f1563f79’ destroyed
  49. ok
  50. tests.functional.test_cloning_clones.test_cloning_clones('nixops', ('ec2', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/ec2_base.nix'])) ... deployment ‘5482179c-7154-11e8-a4dd-0242f1563f79’ destroyed
  51. deployment ‘547f898c-7154-11e8-aa00-0242f1563f79’ destroyed
  52. ok
  53. tests.functional.test_cloning_clones.test_cloning_clones('nixops', ('gce', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/gce_base.nix'])) ... deployment ‘54b18bbd-7154-11e8-a34b-0242f1563f79’ destroyed
  54. deployment ‘54aec063-7154-11e8-a945-0242f1563f79’ destroyed
  55. ok
  56. tests.functional.test_cloning_clones.test_cloning_clones('nixops', ('azure', ['/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/logical_base.nix', '/home/srghma/projects/nixops/tests/functional/shared/nix_expressions/azure_base.nix'])) ... deployment ‘54dad640-7154-11e8-ac8e-0242f1563f79’ destroyed
  57. deployment ‘54ddf514-7154-11e8-99ab-0242f1563f79’ destroyed
  58. ok
  59. tests.functional.test_cloning_clones.test_cloning_clones('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'])) ... deployment ‘550956bd-7154-11e8-94af-0242f1563f79’ destroyed
  60. deployment ‘550c0199-7154-11e8-ab4f-0242f1563f79’ destroyed
  61. ok
  62.  
  63. ----------------------------------------------------------------------
  64. Ran 10 tests in 1.969s
  65.  
  66. OK
RAW Paste Data