srghma

Untitled

Jun 16th, 2018
57
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_vpc:test_deploy_vpc -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_vpc.test_deploy_vpc('json',) ... deployment ‘b4bf1847-717a-11e8-9523-0242f1563f79’ destroyed
  11. ERROR
  12.  
  13. ======================================================================
  14. ERROR: tests.functional.test_vpc.test_deploy_vpc('json',)
  15. ----------------------------------------------------------------------
  16. Traceback (most recent call last):
  17. File "/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
  18. self.test(*self.arg)
  19. File "/nix/store/kwq9a1bjhc3w1672khipz85qrwpxj5lv-python2.7-parameterized-0.6.1/lib/python2.7/site-packages/parameterized/parameterized.py", line 280, in <lambda>
  20. nose_func = wraps(func)(lambda *args: func(*args))
  21. File "/home/srghma/projects/nixops/tests/functional/test_vpc/__init__.py", line 26, in test_deploy_vpc
  22. deployment.deploy()
  23. File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in deploy
  24. self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
  25. File "/home/srghma/projects/nixops/nixops/deployment.py", line 978, in run_with_notify
  26. f()
  27. File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in <lambda>
  28. self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
  29. File "/home/srghma/projects/nixops/nixops/deployment.py", line 922, in _deploy
  30. nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)
  31. File "/home/srghma/projects/nixops/nixops/parallel.py", line 44, in thread_fun
  32. result_queue.put((worker_fun(t), None, t.name))
  33. File "/home/srghma/projects/nixops/nixops/deployment.py", line 895, in worker
  34. r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)
  35. File "/home/srghma/projects/nixops/nixops/resources/__init__.py", line 197, in create
  36. for handler in diff_engine.plan():
  37. File "/home/srghma/projects/nixops/nixops/diff.py", line 47, in plan
  38. self.eval_resource_attr_diff(k)
  39. File "/home/srghma/projects/nixops/nixops/diff.py", line 107, in eval_resource_attr_diff
  40. s = self._state.get(key, None)
  41. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/_abcoll.py", line 382, in get
  42. return self[key]
  43. File "/home/srghma/projects/nixops/nixops/state/state_helper.py", line 30, in __getitem__
  44. return json.loads(value)
  45. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/__init__.py", line 339, in loads
  46. return _default_decoder.decode(s)
  47. File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/decoder.py", line 364, in decode
  48. obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  49. TypeError: expected string or buffer
  50.  
  51. ----------------------------------------------------------------------
  52. Ran 1 test in 0.358s
  53.  
  54. F
RAW Paste Data