[02:12] <stokachu> when writing charm tests are they run from the perspective of a deployed charm in a juju environment and ran from the /var/lib/juju/charms/path?
[02:16] <stokachu> like when `make test` is run from the automated charm tester the charm is already in a deployed state?
[02:17] <stokachu> or do i have to run through the actual deploy and relations commands first
[02:17] <stokachu> im guessing this is what amulet does from what i can see in the juju docs
[02:45] <stokachu> marcoceppi_, do i have the ability to query the api state server address and password from the jenv files during an automated test run?
[13:57] <stokachu> anyone know if i have the ability to query the api state server address and password from the jenv files during an automated test run?
[14:32] <perrito666> I dont think any of you know how to get a new thinpad kb in brussels rigt?
[14:33] <perrito666> oops wrong channelsorry
[14:37] <sebas5384> imagine a charm with my IDE all configured https://www.stgraber.org/2014/02/09/lxc-1-0-gui-in-containers
[14:38] <sebas5384> where I can relate it to other charms in order to edit them
[14:38] <sebas5384> :)
[14:38] <sebas5384> this could be possible?
[14:41] <stokachu> sebas5384, get pass that pending machine issue?
[14:42] <stokachu> or were you able to file a bug?
[14:42] <sebas5384> I didn't comeback to that
[14:42] <sebas5384> after you destroy de environment all gets normal in the new version
[14:43] <sebas5384> i will get more information with the team and file a bug :)
[14:43] <sebas5384> stokachu: thanks for reminder me!
[14:44] <stokachu> sebas5384, np :D msg me the bug when you get it created
[14:44] <sebas5384> stokachu: sure :D
[14:44] <stokachu> the upgrade of juju using an existing juju env shouldnt break
[14:44] <jcastro> Does someone have time to review this? https://bugs.launchpad.net/charms/+bug/1272083
[14:44] <mup> Bug #1272083: HPCC Charm initial check-in for review <Juju Charms Collection:New for xwang2713> <https://launchpad.net/bugs/1272083>
[16:06] <stokachu> tvansteenburgh, my memory is a little foggy but was it you i was talking to about the charm testing a little while back?
[16:08] <tvansteenburgh> stokachu: probably
[16:09] <stokachu> tvansteenburgh, ok, i was wondering if during a charm test do i have access to the jenv file for getting the api state server and admin password?
[16:09] <stokachu> or are those defined in an environment variable somewhere
[16:12] <tvansteenburgh> stokachu: hm, i'm not sure
[16:12] <tvansteenburgh> obviously it would work fine if you were running the test locally
[16:12] <stokachu> yea, i noticed amulet will do some type of deployer setup for setting up the charm to be tested
[16:12] <tvansteenburgh> and i *think* it would work on jenkins too
[16:13] <tvansteenburgh> stokachu: yeah amulet basically makes a deployment file and hands it off the juju-deployer
[16:14] <stokachu> tvansteenburgh, do i have the ability to run charm tests using jenkins without proposing it to charm store?
[16:15] <tvansteenburgh> stokachu: no, but i could do it for you
[16:15] <tvansteenburgh> stokachu: also, you can just run bundletester directly, as that was jenkins does
[16:15] <tvansteenburgh> stokachu: this may be helpful -> http://blog.juju.solutions/cloud/juju/2014/10/02/charm-testing.html
[16:16] <stokachu> tvansteenburgh, is charmguardian installed as part of bundletester?
[16:16] <tvansteenburgh> stokachu: actually it's the other way around
[16:17] <tvansteenburgh> but you can install bundletester by itself too
[16:17] <tvansteenburgh> bundletester can be pip installed
[16:17] <tvansteenburgh> charmguardian, you need to clone source and run make
[16:17] <stokachu> ok cool, so if bundletester passes locally then theoretically it'll work in jenkins
[16:17] <tvansteenburgh> stokachu: yep
[16:18] <stokachu> tvansteenburgh, ok ill use this locally and when ready maybe have you kick off a charm test for me to make sure i can query the api server?
[16:18] <tvansteenburgh> stokachu: sounds great. just curious, are you using python-jujuclient for the api calls?
[16:18] <stokachu> tvansteenburgh, we have a python3 version of python-jujuclient that we use
[16:19] <stokachu> https://github.com/Ubuntu-Solutions-Engineering/macumba
[16:19] <tvansteenburgh> stokachu: ah, right on
[16:19] <tvansteenburgh> stokachu: are you in Brussels this week?
[16:19] <stokachu> tvansteenburgh, nah unfortunately
[16:19] <stokachu> tvansteenburgh, im in austin in nov though
[16:20] <tvansteenburgh> ah okay, just curious
[16:20] <tvansteenburgh> i'm in Brussels, and it's time for beer now :)
[16:20] <stokachu> tvansteenburgh, haha enjoy
[16:20] <stokachu> thanks for the help this gets me most of the way there
[16:20] <tvansteenburgh> stokachu: will do, catch ya later
[16:20] <tvansteenburgh> great, glad to help!
[16:20] <stokachu> cya
[16:20] <tvansteenburgh> cya