Questions / problems running LXC related unit tests
Haitao Jiang
jianghaitao at gmail.com
Wed Feb 15 16:59:35 UTC 2012
Hi, there
Just join the mailing list. Apologize if this has been asked before. I
have download the juju source
bzr branch lp:juju
and tried to run just the LXC tests, so far it has been failing.
My questions
- Do I need to run the LXC tests as sudo?
- It seems that it can not connect to 192.168.122.1:3142 - anyway to
get around this?
Thanks
-----------------------------------------------------------------------------------------------------------------------------------
./test juju/lib/lxc/tests
Using system zookeeper classpath from /etc/zookeeper/conf/environment
juju.lib.lxc.tests.test_lxc
LXCTest
test_container_clone ... [ERROR]
+ APT_OPTIONS='-o Dpkg::Options::= --force-confnew --force-yes -fuy'
+ source /etc/juju/juju.conf
++ JUJU_CONTAINER_NAME=lxc_test
++ JUJU_PUBLIC_KEY=dsa...
++ JUJU_ORIGIN=ppa
+ '[' -z ppa ']'
++ id -u
+ '[' 0 '!=' 0 ']'
+ '[' -z lxc_test ']'
+ '[' -z dsa... ']'
++ id -u
+ '[' 0 '!=' 0 ']'
+ setup_apt_cache
+ cat
+ chmod a+r /etc/apt/apt.conf.d/02juju-apt-proxy
+ apt-get update
Err http://archive.ubuntu.com oneiric InRelease
Err http://archive.ubuntu.com oneiric Release.gpg
Unable to connect to 192.168.122.1:3142:
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/oneiric/InRelease
W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg Unable to
connect to 192.168.122.1:3142:
:
More information about the Juju
mailing list