Now at patch debian/patches/reload-policy-files.patch
root@oslop:/tmp/oslo.policy/python-oslo.policy# tox -e py36 -- oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update
GLOB sdist-make: /tmp/oslo.policy/python-oslo.policy/setup.py
py36 inst-nodeps: /tmp/oslo.policy/python-oslo.policy/.tox/dist/oslo.policy-2.3.2.zip
py36 installed: alabaster==0.7.12,attrs==19.3.0,Babel==2.8.0,bandit==1.5.1,certifi==2020.6.20,chardet==3.0.4,cliff==3.3.0,cmd2==1.1.0,colorama==0.4.3,coverage==5.2,debtcollector==2.1.0,docutils==0.15.2,dulwich==0.20.5,extras==1.0.0,fixtures==3.0.0,flake8==2.6.2,future==0.18.2,gitdb==4.0.5,GitPython==3.1.3,hacking==1.1.0,idna==2.10,imagesize==1.2.0,importlib-resources==3.0.0,iso8601==0.1.12,Jinja2==2.11.2,linecache2==1.0.0,MarkupSafe==1.1.1,mccabe==0.5.3,mock==3.0.5,msgpack==0.6.1,netaddr==0.8.0,netifaces==0.10.9,openstackdocstheme==2.2.4,oslo.config==8.2.0,oslo.context==3.1.0,oslo.i18n==5.0.0,oslo.policy @ file:///tmp/oslo.policy/python-oslo.policy/.tox/dist/oslo.policy-2.3.2.zip,oslo.serialization==4.0.0,oslo.utils==4.2.2,oslotest==4.4.0,packaging==20.4,pbr==5.4.5,pkg-resources==0.0.0,prettytable==0.7.2,pycodestyle==2.0.0,pyflakes==1.2.3,Pygments==2.6.1,pyparsing==2.4.7,pyperclip==1.8.0,python-mimeparse==1.6.0,python-subunit==1.4.0,pytz==2020.1,PyYAML==5.3.1,reno==3.1.0,requests==2.23.0,requests-mock==1.8.0,rfc3986==1.4.0,six==1.15.0,smmap==3.0.4,snowballstemmer==2.0.0,Sphinx==3.1.2,sphinxcontrib-apidoc==0.3.0,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,stestr==3.0.1,stevedore==2.0.1,testtools==2.4.0,traceback2==1.4.0,unittest2==1.1.0,urllib3==1.25.9,voluptuous==0.11.7,wcwidth==0.2.5,wrapt==1.12.1,zipp==3.1.0
py36 runtests: PYTHONHASHSEED='3086963030'
py36 runtests: commands[0] | stestr run --slowest oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update
WARNING [oslo_policy.policy] Policies ['foo'] reference a rule that is not defined.
{0} oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update [0.005167s] ... ok
======
Totals
======
Ran: 1 tests in 0.0052 sec.
- Passed: 1
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 0
Sum of execute time for each test: 0.0052 sec.
==============
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:00.005167
Test id Runtime (s)
-------------------------------------------------------------------------------- -----------
oslo_policy.tests.test_policy.EnforcerTest.test_load_directory_after_file_update 0.005
______________________________________________________________________________ summary _______________________________________________________________________________
py36: commands succeeded
congratulations :)
Verified on Bionic/Train.
git show HEAD 25acebf4246caaa 6949e86000 (HEAD -> stable/train, tag: debian/ 2.3.2-0ubuntu1_ cloud1, origin/ stable/ train)
commit f61adf33af13ea7
Author: Corey Bryant <email address hidden>
Date: Thu Jun 25 14:33:54 2020 -0400
releasing package python-oslo.policy version 2.3.2-0ubuntu1~ cloud1
root@oslop: /tmp/oslo. policy/ python- oslo.policy# export QUILT_PATCHES= debian/ patches /tmp/oslo. policy/ python- oslo.policy# quilt push patches/ reload- policy- files.patch policy. py tests/test_ policy. py 0d.yaml
root@oslop:
Applying patch debian/
patching file oslo_policy/
Hunk #3 succeeded at 769 (offset -6 lines).
Hunk #4 succeeded at 809 (offset -6 lines).
patching file oslo_policy/
patching file releasenotes/notes/bug-1880959-8f1370a59759d4
Now at patch debian/ patches/ reload- policy- files.patch
root@oslop: /tmp/oslo. policy/ python- oslo.policy# tox -e py36 -- oslo_policy. tests.test_ policy. EnforcerTest. test_load_ directory_ after_file_ update policy/ python- oslo.policy/ setup.py policy/ python- oslo.policy/ .tox/dist/ oslo.policy- 2.3.2.zip =0.7.12, attrs== 19.3.0, Babel== 2.8.0,bandit= =1.5.1, certifi= =2020.6. 20,chardet= =3.0.4, cliff== 3.3.0,cmd2= =1.1.0, colorama= =0.4.3, coverage= =5.2,debtcollec tor==2. 1.0,docutils= =0.15.2, dulwich= =0.20.5, extras= =1.0.0, fixtures= =3.0.0, flake8= =2.6.2, future= =0.18.2, gitdb== 4.0.5,GitPython ==3.1.3, hacking= =1.1.0, idna==2. 10,imagesize= =1.2.0, importlib- resources= =3.0.0, iso8601= =0.1.12, Jinja2= =2.11.2, linecache2= =1.0.0, MarkupSafe= =1.1.1, mccabe= =0.5.3, mock==3. 0.5,msgpack= =0.6.1, netaddr= =0.8.0, netifaces= =0.10.9, openstackdocsth eme==2. 2.4,oslo. config= =8.2.0, oslo.context= =3.1.0, oslo.i18n= =5.0.0, oslo.policy @ file:// /tmp/oslo. policy/ python- oslo.policy/ .tox/dist/ oslo.policy- 2.3.2.zip, oslo.serializat ion==4. 0.0,oslo. utils== 4.2.2,oslotest= =4.4.0, packaging= =20.4,pbr= =5.4.5, pkg-resources= =0.0.0, prettytable= =0.7.2, pycodestyle= =2.0.0, pyflakes= =1.2.3, Pygments= =2.6.1, pyparsing= =2.4.7, pyperclip= =1.8.0, python- mimeparse= =1.6.0, python- subunit= =1.4.0, pytz==2020. 1,PyYAML= =5.3.1, reno==3. 1.0,requests= =2.23.0, requests- mock==1. 8.0,rfc3986= =1.4.0, six==1. 15.0,smmap= =3.0.4, snowballstemmer ==2.0.0, Sphinx= =3.1.2, sphinxcontrib- apidoc= =0.3.0, sphinxcontrib- applehelp= =1.0.2, sphinxcontrib- devhelp= =1.0.2, sphinxcontrib- htmlhelp= =1.0.3, sphinxcontrib- jsmath= =1.0.1, sphinxcontrib- qthelp= =1.0.3, sphinxcontrib- serializinghtml ==1.1.4, stestr= =3.0.1, stevedore= =2.0.1, testtools= =2.4.0, traceback2= =1.4.0, unittest2= =1.1.0, urllib3= =1.25.9, voluptuous= =0.11.7, wcwidth= =0.2.5, wrapt== 1.12.1, zipp==3. 1.0 '3086963030' tests.test_ policy. EnforcerTest. test_load_ directory_ after_file_ update policy] Policies ['foo'] reference a rule that is not defined. tests.test_ policy. EnforcerTest. test_load_ directory_ after_file_ update [0.005167s] ... ok
GLOB sdist-make: /tmp/oslo.
py36 inst-nodeps: /tmp/oslo.
py36 installed: alabaster=
py36 runtests: PYTHONHASHSEED=
py36 runtests: commands[0] | stestr run --slowest oslo_policy.
WARNING [oslo_policy.
{0} oslo_policy.
======
Totals
======
Ran: 1 tests in 0.0052 sec.
- Passed: 1
- Skipped: 0
- Expected Fail: 0
- Unexpected Success: 0
- Failed: 0
Sum of execute time for each test: 0.0052 sec.
============== ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- --- ----------- tests.test_ policy. EnforcerTest. test_load_ directory_ after_file_ update 0.005 _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _ summary _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ _______ __
Worker Balance
==============
- Worker 0 (1 tests) => 0:00:00.005167
Test id Runtime (s)
-------
oslo_policy.
_______
py36: commands succeeded
congratulations :)