Hi,

I got an error message when Jenkins executed "tox -epy26" in the following fix.
https://review.openstack.org/#/c/112771/

I think that the reason of the error message is a mongod isn't installed in 
test 
environment. (it works in my test env)

Do you have any idea to solve this?

- setup-test-env.sh
     16 export PATH=${PATH:+$PATH:}/sbin:/usr/sbin
     17 if ! which mongod >/dev/null 2>&1
     18 then
     19     echo "Could not find mongod command" 1>&2
     20     exit 1
     21 fi

- console.log
2014-08-12 07:25:03.329 | + tox -epy26
2014-08-12 07:25:03.542 | py26 create: 
/home/jenkins/workspace/gate-ceilometer-python26/.tox/py26
2014-08-12 07:25:05.255 | py26 installdeps: 
-r/home/jenkins/workspace/gate-ceilometer-python26/requirements.txt, 
-r/home/jenkins/workspace/gate-ceilometer-python26/test-requirements.txt
2014-08-12 07:28:01.581 | py26 develop-inst: 
/home/jenkins/workspace/gate-ceilometer-python26
2014-08-12 07:28:07.861 | py26 runtests: commands[0] | bash -x 
/home/jenkins/workspace/gate-ceilometer-python26/setup-test-env.sh python 
setup.py testr --slowest --testr-args=
2014-08-12 07:28:07.864 | + set -e
2014-08-12 07:28:07.865 | ++ mktemp -d CEILO-MONGODB-XXXXX
2014-08-12 07:28:07.866 | + MONGO_DATA=CEILO-MONGODB-t6f5p
2014-08-12 07:28:07.866 | + MONGO_PORT=29000
2014-08-12 07:28:07.866 | + trap clean_exit EXIT
2014-08-12 07:28:07.867 | + mkfifo CEILO-MONGODB-t6f5p/out
2014-08-12 07:28:07.868 | + export 
PATH=/home/jenkins/workspace/gate-ceilometer-python26/.tox/py26/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin
2014-08-12 07:28:07.869 | + 
PATH=/home/jenkins/workspace/gate-ceilometer-python26/.tox/py26/bin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin
2014-08-12 07:28:07.869 | + which mongod
2014-08-12 07:28:07.870 | + echo 'Could not find mongod command'
2014-08-12 07:28:07.870 | Could not find mongod command
2014-08-12 07:28:07.871 | + exit 1
2014-08-12 07:28:07.871 | + clean_exit
2014-08-12 07:28:07.872 | + local error_code=1
2014-08-12 07:28:07.872 | + rm -rf CEILO-MONGODB-t6f5p
2014-08-12 07:28:07.873 | ++ jobs -p
2014-08-12 07:28:07.873 | + kill
2014-08-12 07:28:07.874 | kill: usage: kill [-s sigspec | -n signum | -sigspec] 
pid | jobspec ... or kill -l [sigspec]
2014-08-12 07:28:07.875 | ERROR: InvocationError: '/bin/bash -x 
/home/jenkins/workspace/gate-ceilometer-python26/setup-test-env.sh python 
setup.py testr --slowest --testr-args='

Best Regards,
Hisashi Osanai


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to