Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [nix-shell:~/projects/nixops]$ python2 tests.py tests.functional.test_vpc:test_deploy_vpc -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_vpc.test_deploy_vpc('json',) ... deployment ‘b4bf1847-717a-11e8-9523-0242f1563f79’ destroyed
- ERROR
- ======================================================================
- ERROR: tests.functional.test_vpc.test_deploy_vpc('json',)
- ----------------------------------------------------------------------
- Traceback (most recent call last):
- File "/nix/store/qyqsfqjpksrvaa387yk4y5bgxnslfyx8-python2.7-nose-1.3.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
- self.test(*self.arg)
- File "/nix/store/kwq9a1bjhc3w1672khipz85qrwpxj5lv-python2.7-parameterized-0.6.1/lib/python2.7/site-packages/parameterized/parameterized.py", line 280, in <lambda>
- nose_func = wraps(func)(lambda *args: func(*args))
- File "/home/srghma/projects/nixops/tests/functional/test_vpc/__init__.py", line 26, in test_deploy_vpc
- deployment.deploy()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in deploy
- self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 978, in run_with_notify
- f()
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 989, in <lambda>
- self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 922, in _deploy
- nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker)
- File "/home/srghma/projects/nixops/nixops/parallel.py", line 44, in thread_fun
- result_queue.put((worker_fun(t), None, t.name))
- File "/home/srghma/projects/nixops/nixops/deployment.py", line 895, in worker
- r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate)
- File "/home/srghma/projects/nixops/nixops/resources/__init__.py", line 197, in create
- for handler in diff_engine.plan():
- File "/home/srghma/projects/nixops/nixops/diff.py", line 47, in plan
- self.eval_resource_attr_diff(k)
- File "/home/srghma/projects/nixops/nixops/diff.py", line 107, in eval_resource_attr_diff
- s = self._state.get(key, None)
- File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/_abcoll.py", line 382, in get
- return self[key]
- File "/home/srghma/projects/nixops/nixops/state/state_helper.py", line 30, in __getitem__
- return json.loads(value)
- File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/__init__.py", line 339, in loads
- return _default_decoder.decode(s)
- File "/nix/store/wj95m7mnglqih1hhwyywchl0bgcldhad-python-2.7.15/lib/python2.7/json/decoder.py", line 364, in decode
- obj, end = self.raw_decode(s, idx=_w(s, 0).end())
- TypeError: expected string or buffer
- ----------------------------------------------------------------------
- Ran 1 test in 0.358s
- F
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement