Skip to content

Instantly share code, notes, and snippets.

Created September 17, 2014 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/389baade22b077abd190 to your computer and use it in GitHub Desktop.
Save anonymous/389baade22b077abd190 to your computer and use it in GitHub Desktop.
$ bundletester -l DEBUG
DEBUG:root:Bootstrap environment: local
DEBUG:deployer.env:Connecting to environment...
DEBUG:deployer.env:Connected to environment
DEBUG:runner:call ['/home/vagrant/.virtualenvs/tests/bin/charm-proof']
DEBUG:runner:
I: relation image-testing has no hooks
DEBUG:runner:Exit Code: 0
simple-instance-test
charm-proof PASS
DEBUG:runner:call ['/charms/trusty/simple-instance-test/tests/00-setup']
DEBUG:runner:
gpg: keyring `/tmp/tmp9xvip08s/secring.gpg' created
gpg: keyring `/tmp/tmp9xvip08s/pubring.gpg' created
gpg: requesting key C8068B11 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp9xvip08s/trustdb.gpg: trustdb created
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Ign http://ppa.launchpad.net trusty InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://ppa.launchpad.net trusty Release
Ign http://archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty/main Translation-en
Hit http://archive.ubuntu.com trusty Release.gpg
Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty Release
Ign http://security.ubuntu.com trusty-security InRelease
Get:2 http://archive.ubuntu.com trusty-updates Release [59.7 kB]
Get:3 http://security.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Get:4 http://security.ubuntu.com trusty-security Release [59.7 kB]
Hit http://archive.ubuntu.com trusty/main Translation-en
Hit http://archive.ubuntu.com trusty/universe Translation-en
Get:5 http://archive.ubuntu.com trusty-updates/main Sources [120 kB]
Get:6 http://archive.ubuntu.com trusty-updates/universe Sources [84.0 kB]
Get:7 http://archive.ubuntu.com trusty-updates/main amd64 Packages [319 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [202 kB]
Get:9 http://security.ubuntu.com trusty-security/main Sources [44.3 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Get:10 http://security.ubuntu.com trusty-security/universe Sources [10.8 kB]
Get:11 http://security.ubuntu.com trusty-security/main amd64 Packages [140 kB]
Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [47.0 kB]
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 1088 kB in 6s (161 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python-requests is already the newest version.
amulet is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
DEBUG:runner:Exit Code: 0
00-setup PASS
DEBUG:runner:call ['/charms/trusty/simple-instance-test/tests/10-deploy']
DEBUG:runner:
2014-09-17 12:09:21 Starting deployment of local
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/tests/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.4.1', 'console_scripts', 'juju-deployer')()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/cli.py", line 127, in main
run()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/cli.py", line 225, in run
importer.Importer(env, deployment, options).run()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/action/importer.py", line 186, in run
self.get_charms()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/action/importer.py", line 63, in get_charms
no_local_mods=self.options.no_local_mods)
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/deployment.py", line 140, in fetch_charms
charm.fetch()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/charm.py", line 128, in fetch
self.vcs.branch()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/vcs.py", line 103, in branch
self._call(params, self.err_branch, os.path.dirname(self.path))
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/vcs.py", line 30, in _call
args, cwd=cwd or self.path, stderr=stderr)
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings
Traceback (most recent call last):
File "/charms/trusty/simple-instance-test/tests/10-deploy", line 12, in <module>
d.setup(timeout=900)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 266, in setup
self.juju_env], cwd=self.deployer_dir)
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-4zn_s3a9.json', '-e', 'local', 'local']' returned non-zero exit status 1
DEBUG:runner:Exit Code: 1
10-deploy ERROR
------------------------------------------------------------------------------
ERROR: simple-instance-test::10-deploy
[/charms/trusty/simple-instance-test/tests/10-deploy exit 1]
2014-09-17 12:09:21 Starting deployment of local
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/tests/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.4.1', 'console_scripts', 'juju-deployer')()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/cli.py", line 127, in main
run()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/cli.py", line 225, in run
importer.Importer(env, deployment, options).run()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/action/importer.py", line 186, in run
self.get_charms()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/action/importer.py", line 63, in get_charms
no_local_mods=self.options.no_local_mods)
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/deployment.py", line 140, in fetch_charms
charm.fetch()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/charm.py", line 128, in fetch
self.vcs.branch()
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/vcs.py", line 103, in branch
self._call(params, self.err_branch, os.path.dirname(self.path))
File "/home/vagrant/.virtualenvs/tests/local/lib/python2.7/site-packages/deployer/vcs.py", line 30, in _call
args, cwd=cwd or self.path, stderr=stderr)
File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
TypeError: execv() arg 2 must contain only strings
Traceback (most recent call last):
File "/charms/trusty/simple-instance-test/tests/10-deploy", line 12, in <module>
d.setup(timeout=900)
File "/usr/lib/python3/dist-packages/amulet/deployer.py", line 266, in setup
self.juju_env], cwd=self.deployer_dir)
File "/usr/lib/python3.4/subprocess.py", line 557, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['juju-deployer', '-W', '-L', '-c', '/tmp/amulet-juju-deployer-4zn_s3a9.json', '-e', 'local', 'local']' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment