<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 14 July 2015 at 16:57, Christopher Larson <span dir="ltr">&lt;<a href="mailto:kergoth@gmail.com" target="_blank">kergoth@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":45l" class="" style="overflow:hidden">+        parser_create_workspace = subparsers.add_parser(&#39;create-workspace&#39;,<br>
+                                                        help=&#39;Set up a workspace&#39;,<br>
+                                                        description=&#39;Sets up a new workspace. NOTE: other <span class="">devtool</span> subcommands will create a workspace automatically as needed, so you only need to use %(prog)s if you want to specify where the workspace should be located.&#39;)<br>
+        parser_create_workspace.add_argument(&#39;layerpath&#39;, nargs=&#39;?&#39;, help=&#39;Path in which the workspace layer should be created&#39;)<br>
+        parser_create_workspace.add_argument(&#39;--create-only&#39;, action=&quot;store_true&quot;, help=&#39;Only create the workspace layer, do not alter configuration&#39;)<br>
+        parser_create_workspace.set_defaults(func=create_workspace)</div></blockquote></div><br>This is causing the selftests to abort:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">FAIL: test_create_workspace (oeqa.selftest.devtool.DevtoolTests)</div><div class="gmail_extra">----------------------------------------------------------------------</div><div class="gmail_extra">Traceback (most recent call last):</div><div class="gmail_extra">  File &quot;/home/ross/Yocto/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 102, in wrapped_f</div><div class="gmail_extra">    return func(*args)</div><div class="gmail_extra">  File &quot;/home/ross/Yocto/poky/meta/lib/oeqa/selftest/devtool.py&quot;, line 97, in test_create_workspace</div><div class="gmail_extra">    result = runCmd(&#39;devtool create-workspace %s&#39; % tempdir)</div><div class="gmail_extra">  File &quot;/home/ross/Yocto/poky/meta/lib/oeqa/utils/commands.py&quot;, line 104, in runCmd</div><div class="gmail_extra">    raise AssertionError(&quot;Command &#39;%s&#39; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))</div><div class="gmail_extra">AssertionError: Command &#39;devtool create-workspace /tmp/devtoolqaCuFJBv&#39; returned non-zero exit status 1:</div><div class="gmail_extra">Traceback (most recent call last):</div><div class="gmail_extra">  File &quot;/home/ross/Yocto/poky/scripts/devtool&quot;, line 279, in &lt;module&gt;</div><div class="gmail_extra">    ret = main()</div><div class="gmail_extra">  File &quot;/home/ross/Yocto/poky/scripts/devtool&quot;, line 268, in main</div><div class="gmail_extra">    ret = args.func(args, config, basepath, workspace, tinfoil)</div><div class="gmail_extra">TypeError: create_workspace() takes exactly 4 arguments (5 given)</div><div class="gmail_extra"><br></div><div class="gmail_extra">(MACHINE=qemux86 oe-selftest --run-tests devtool)</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>