juju test doesn't work
Tilman Baumann
tilman.baumann at canonical.com
Wed May 31 09:02:02 UTC 2017
On 31.05.2017 10:45, John Meinel wrote:
> I'm pretty sure 'charm' tools have moved over to using 'snap install
> charm' as the preferred method for getting the charm tools. I'm not sure
> that there is a way to deprecate/remove the versions that are in the
> archives. For something like Zesty, it probably would have been possible
> to just remove it, I think it was just an oversight.
Yea, I found references for that. But we can't just abandon the dpkg
package without letting the users know. :)
Replace the binary with 'echo use snap you fool' would be fine with me.
However, I should have mentioned. I did see that and tried that.
The charm command provided by the snap does not have a 'build' option.
$ charm build
ERROR unrecognized command: charm build
> I'm not sure about 'juju test' itself. It is actually a plugin supplied
> by the charm tools (I believe) rather than something that is part of the
> core 'juju' packaging. (The binary is actually /usr/bin/juju-test, and a
> while back people asked that anything we find in $PATH as 'juju-foo' can
> be called as just 'juju foo')
Yes, you are right. That did come from the charm-tools package. And it
is also not there with the charm snap.
> I *do* believe that there was a push to actually split "tools for Charm
> developers" away from "tools for people operating software with Juju".
> So likely there is something like "charm test" that you should actually
> be using, rather than an old, deprecated 'juju-test' that we shouldn't
> be installing anymore.
test as a charm command makes a lot of sense. And IIRC it already
exists, I think I used juju test mostly because of lingering docu
references to it.
But again, only the packeted version does that. The snap charm command
has no test command.
> On Wed, May 31, 2017 at 11:57 AM, Tilman Baumann
> <tilman.baumann at canonical.com <mailto:tilman.baumann at canonical.com>> wrote:
> [...]
>
> During this development I found a number of bugs that made it quite hard
> to be productive.
More information about the Juju
mailing list