Thursday, 2024-07-11

*** mhen_ is now known as mhen01:28
mhenHi. I'm currently trying to check protection and unit tests for my domain manager implementation. Are protection tests known to be broken on current master?11:15
mhenFor example, this reference does not seem to resolve: https://github.com/openstack/keystone/blob/master/keystone/tests/protection/v3/test_application_credential.py#L10411:16
mhenThis "RULE_SYSTEM_READER_OR_OWNER" does not seem to be defined anywhere.11:16
gtemamhen, tests are not broken, since they executed and pass. I agree it is weird there is code like that. I assume this is something very old which is not invoked and as such does not fail (long live the type check)14:14
mhenIt is invoked (and fails) if I try to run the protection tests locally using "tox -e protection".14:15
gtemaoh sorry, I swapped the zeroes 14:16
gtemahttps://838e8809c9c087f1d2df-d66d94e8460be82c507ecb0f70cc3225.ssl.cf2.rackcdn.com/923749/1/check/keystone-protection-functional/739c7f9/testr_results.html14:17
gtemathat is one random result from one of the last changes14:17
gtemait shows some tests which apparently come from tempest plugin14:17
gtemaand most likely I misinterpreted the same name "protection"14:18
mhenyes, that is using the tempest plugin (a different repo and entirely different tests)14:18
gtemaso right, tox -e protection is not being executed and fails14:18
mhenso, those tests are unmaintained and I should look at the tempest plugin instead I guess?14:19
gtemamost likely yes14:19
gtemawe can probably discuss that topic tomorrow in reviewaton14:19
mhenftr, 304 out of 1879 protection unit tests are failing for me locally on an unmodified copy of current master15:13
opendevreviewArtem Goncharov proposed openstack/keystone master: Add pre-commit  https://review.opendev.org/c/openstack/keystone/+/92399119:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Fix bindep for py312 job  https://review.opendev.org/c/openstack/keystone/+/92399219:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.auth  https://review.opendev.org/c/openstack/keystone/+/92399319:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.credential  https://review.opendev.org/c/openstack/keystone/+/92399419:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.application_credential  https://review.opendev.org/c/openstack/keystone/+/92399519:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.application_catalog  https://review.opendev.org/c/openstack/keystone/+/92399619:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.identity  https://review.opendev.org/c/openstack/keystone/+/92399719:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.oauth  https://review.opendev.org/c/openstack/keystone/+/92399819:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.federation  https://review.opendev.org/c/openstack/keystone/+/92399919:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.role  https://review.opendev.org/c/openstack/keystone/+/92400019:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.resource  https://review.opendev.org/c/openstack/keystone/+/92400119:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.limit  https://review.opendev.org/c/openstack/keystone/+/92400219:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.api remains  https://review.opendev.org/c/openstack/keystone/+/92400319:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.server  https://review.opendev.org/c/openstack/keystone/+/92400419:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.cmd  https://review.opendev.org/c/openstack/keystone/+/92400519:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.common  https://review.opendev.org/c/openstack/keystone/+/92400619:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify keystone.protection tests  https://review.opendev.org/c/openstack/keystone/+/92400719:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Blackify everything else  https://review.opendev.org/c/openstack/keystone/+/92400819:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Enable black in pre-commit  https://review.opendev.org/c/openstack/keystone/+/92400919:44
opendevreviewArtem Goncharov proposed openstack/keystone master: Enable pyupgrade  https://review.opendev.org/c/openstack/keystone/+/92401019:44

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!