[PKG-Openstack-devel] fixed build package python-oslo.db - missing testscenarions package

Ondrej Novy novy at ondrej.org
Tue Jan 16 12:47:59 UTC 2018


Hi,

first of all, thanks for fixing.

If you are not uploading package, please don't tag them. I need to remove
that tag now to fix something.

2018-01-16 13:35 GMT+01:00 Michal Arbet <michal.arbet at ultimum.io>:

> Hi Guys,
>
> I want just remind you that I fixed build-dependency in python-oslo.db >>
>
> https://salsa.debian.org/openstack-team/oslo/python-oslo.db/commit/
> 9047af2ddbff02f7fc54b585f7aa05ac15d09c61
>
> before build was failing on tests :
>
> ===> Running tests
> set -e ; set -x ; for i in 2.7 3.5 ; do \
>     PYMAJOR=`echo $i | cut -d'.' -f1` ; \
>     echo "===> Testing with python$i (python$PYMAJOR)" ; \
>     rm -rf .testrepository ; \
>     testr-python$PYMAJOR init ; \
>     TEMP_REZ=`mktemp -t` ; \
>     PYTHONPATH=/build/python-oslo.db PYTHON=python$i testr-python$PYMAJOR
> run --subunit 'tests\.(?!.*test_db_api_without_installed_eventlet.*)' |
> tee $TEMP_REZ | subunit2pyunit ; \
>     cat $TEMP_REZ | subunit-filter -s --no-passthrough | subunit-stats ; \
>     rm -f $TEMP_REZ ; \
>     testr-python$PYMAJOR slowest ; \
> done
> + echo 2.7
> + cut -d. -f1
> + PYMAJOR=2
> + echo ===> Testing with python2.7 (python2)
> ===> Testing with python2.7 (python2)
> + rm -rf .testrepository
> + testr-python2 init
> + mktemp -t
> + TEMP_REZ=/tmp/tmp.JqRaTYYY88
> + PYTHONPATH=/build/python-oslo.db PYTHON=python2.7 testr-python2 run
> --subunit tests\.(?!.*test_db_api_without_installed_eventlet.*)
> + tee /tmp/tmp.JqRaTYYY88
> + subunit2pyunit
> runNon-zero exit code (2) from test listing.
> ning=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
> OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
> OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
> ${PYTHON:-python} -m subunit.run discover -t ./ ./oslo_db/tests --list
> --- import errors ---
> Failed to import test module: oslo_db.tests.sqlalchemy
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 490,
> in _find_test_path
>     package = self._get_module_from_name(name)
>   File "/usr/lib/python2.7/dist-packages/unittest2/loader.py", line 395,
> in _get_module_from_name
>     __import__(name)
>   File "oslo_db/tests/sqlalchemy/__init__.py", line 16, in <module>
>     from oslo_db.sqlalchemy import test_base
>   File "oslo_db/sqlalchemy/test_base.py", line 35, in <module>
>     from oslo_db.sqlalchemy.test_fixtures import
> optimize_package_test_loader
>   File "oslo_db/sqlalchemy/test_fixtures.py", line 19, in <module>
>     import testscenarios
> ImportError: No module named testscenarios
>
>
> Thanks,
> Michal Arbet ( Kevin )
>
> _______________________________________________
> Openstack-devel mailing list
> Openstack-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/openstack-devel
>



-- 
S pozdravem/Best regards
 Ondřej Nový

Email: novy at ondrej.org
PGP: 3D98 3C52 EB85 980C 46A5  6090 3573 1255 9D1E 064B
Jabber: onovy at njs.netlab.cz
ICQ: 115-674-713
Facebook: http://www.facebook.com/onovy
Tel/Cell: +420 777 963 207
Datová schránka: aypqr6c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20180116/179d5e5c/attachment.html>


More information about the Openstack-devel mailing list