Failing tests in trunk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mojo: Continuous Delivery for Juju |
Fix Released
|
Medium
|
David Ames |
Bug Description
The following tests are failing in trunk:
=======
ERROR: test_workspace_new (mojo.tests.
-------
Traceback (most recent call last):
File "/home/
run_
File "/home/
args.func(args)
File "/home/
stage=stage, manifest_
File "/home/
sys.exit(1)
SystemExit: 1
-------
Project, 'my-project', does not appear to exist.
Please run 'sudo mojo project-new --series trusty my-project' to create the project.
Or check the file permissions on /tmp/tmpTYL49g/
-------
=======
ERROR: test_workspace_
-------
Traceback (most recent call last):
File "/home/
run_
File "/home/
args.func(args)
File "/home/
stage=stage, manifest_
File "/home/
sys.exit(1)
SystemExit: 1
-------
Project, 'your-project', does not appear to exist.
Please run 'sudo mojo project-new --series gusty your-project' to create the project.
Or check the file permissions on /tmp/tmpOe5TxV/
Related branches
- Barry Price: Approve
-
Diff: 42 lines (+21/-4)1 file modifiedmojo/tests/test_cli.py (+21/-4)
Changed in mojo: | |
importance: | Undecided → Medium |
assignee: | nobody → David Ames (thedac) |
status: | New → Fix Committed |
Changed in mojo: | |
status: | Fix Committed → Fix Released |
Problem was due to new project validation code that went into place. The unit tests mock the workspace creation but not the project creation. This MP mocks the project bits that are necessary for the create_workspace to function.
https:/ /code.launchpad .net/~thedac/ mojo/non- spec-branch- location- fix/+merge/ 253886