)]}'
{"id":"openstack%2Ftempest~812487","triplet_id":"openstack%2Ftempest~master~I67d7219be440af4e7070a41ab9476e2811773184","project":"openstack/tempest","branch":"master","topic":"fix/requirements","hashtags":[],"change_id":"I67d7219be440af4e7070a41ab9476e2811773184","subject":"Limit jsonschema package to versions older than 4.2.0","status":"ABANDONED","created":"2021-10-05 11:51:59.000000000","updated":"2021-10-11 09:22:53.000000000","total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"959570f2c2f95935006af1ade80fc1f0acd205ee","_number":812487,"virtual_id_number":812487,"owner":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},{"tag":"autogenerated:zuul:check","value":-1,"date":"2021-10-05 14:04:21.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"all":[{"value":-1,"date":"2021-10-05 19:14:28.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},{"value":-1,"date":"2021-10-05 19:35:12.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":-1,"default_value":0,"optional":true},"Workflow":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":2},"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},{"value":0,"permitted_voting_range":{"min":-1,"max":2},"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},{"value":0,"permitted_voting_range":{"min":0,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Release Freeze"," 0":"No Priority","+1":"Important Change","+2":"Gate Blocker Fix / Urgent Change"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2021-10-05 11:52:23.000000000","updated_by":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"reviewer":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"state":"REVIEWER"},{"updated":"2021-10-05 14:04:21.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2021-10-05 19:35:12.000000000","updated_by":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"reviewer":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"state":"REVIEWER"}],"messages":[{"id":"931ac27a560e002bd9b2054a568d60aa000b0077","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"date":"2021-10-05 11:51:59.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"6ffa135435b0e8d2588db167f4272a8daf06b5d8","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2021-10-05 14:04:21.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\n\n\n- requirements-check https://zuul.opendev.org/t/openstack/build/2389a9c6047d453b9595f9a036b6db22 : FAILURE in 4m 07s\n- grenade https://zuul.opendev.org/t/openstack/build/e53ac821ba724cc98f99b75d5fb7dd22 : SUCCESS in 51m 35s\n- tempest-full-py3 https://zuul.opendev.org/t/openstack/build/babbee5496a4422197ab198af85ead99 : SUCCESS in 1h 16m 33s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/6ded9dacfce542b29e7f517d20e6bdef : SUCCESS in 6m 04s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/94cfb7389af840b28ac31e831ce9c553 : SUCCESS in 5m 22s\n- openstack-tox-py36 https://zuul.opendev.org/t/openstack/build/a4237a901b89498e858925a33b9a436b : SUCCESS in 5m 11s\n- openstack-tox-py38 https://zuul.opendev.org/t/openstack/build/da335128affa43dfa058b9f4f51363b8 : SUCCESS in 6m 18s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/865a898371fe4ce0bb7d2a0e903bd6bc : SUCCESS in 6m 01s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/d116623d3171411287396ad6728b9fcb : SUCCESS in 14m 31s\n- tempest-full-parallel https://zuul.opendev.org/t/openstack/build/5a18e5f3dac44248abec3ed8afbbc0f8 : SUCCESS in 1h 30m 10s (non-voting)\n- tempest-full-py3-ipv6 https://zuul.opendev.org/t/openstack/build/d327d90c82c94a2594322b4ce1e5f0f1 : SUCCESS in 1h 05m 44s (non-voting)\n- glance-multistore-cinder-import https://zuul.opendev.org/t/openstack/build/d7155fd126ad4535bffedb16b892077b : SUCCESS in 1h 16m 16s (non-voting)\n- tempest-full-xena https://zuul.opendev.org/t/openstack/build/140589507c904926adec69a67f91ec59 : SUCCESS in 1h 17m 05s\n- tempest-full-wallaby-py3 https://zuul.opendev.org/t/openstack/build/68c974d0899e4553945010d6a2cd18d3 : SUCCESS in 1h 26m 27s\n- tempest-full-victoria-py3 https://zuul.opendev.org/t/openstack/build/50654cdb9faf4b94abf0b59a0be79381 : SUCCESS in 1h 26m 43s\n- tempest-full-ussuri-py3 https://zuul.opendev.org/t/openstack/build/934709a4318a4e02ae781cefe1fbe115 : SUCCESS in 1h 31m 13s\n- tempest-full-train-py3 https://zuul.opendev.org/t/openstack/build/f5aa1181105642119ad1be32a9746821 : SUCCESS in 1h 29m 15s\n- tempest-multinode-full-py3 https://zuul.opendev.org/t/openstack/build/92ffa2ddf76a42b189485359d59e140f : SUCCESS in 1h 32m 02s\n- tempest-tox-plugin-sanity-check https://zuul.opendev.org/t/openstack/build/a113ee4fb3bd40b699615d7abf25e552 : SUCCESS in 34m 20s\n- tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/39274a45637e44418192f68e72656226 : SUCCESS in 50m 18s\n- tempest-slow-py3 https://zuul.opendev.org/t/openstack/build/738a50d313054758845e2ec1d6ec3099 : SUCCESS in 2h 07m 36s\n- nova-live-migration https://zuul.opendev.org/t/openstack/build/cfe162548e824090abe0413cdfba9e0a : SUCCESS in 53m 28s (non-voting)\n- devstack-plugin-ceph-tempest-py3 https://zuul.opendev.org/t/openstack/build/1d99fe8896f649f293ac398ae23d1e56 : SUCCESS in 1h 15m 46s\n- neutron-ovs-grenade-multinode https://zuul.opendev.org/t/openstack/build/2cc6542a52664f61b74e1ad13dae39cd : SUCCESS in 54m 59s\n- neutron-ovs-tempest-dvr https://zuul.opendev.org/t/openstack/build/d5393127b7c5471eb8fcecb633fdde97 : SUCCESS in 1h 02m 38s (non-voting)\n- interop-tempest-consistency https://zuul.opendev.org/t/openstack/build/c7c71e6c7b644420a18de95e59540aa8 : SUCCESS in 5m 17s\n- tempest-full-test-account-py3 https://zuul.opendev.org/t/openstack/build/8809009b9279494ba4d9dfcc821d5f97 : FAILURE in 1h 08m 21s (non-voting)\n- tempest-full-test-account-no-admin-py3 https://zuul.opendev.org/t/openstack/build/96b7ede2be294ee1ba0d67c667a05039 : FAILURE in 59m 45s (non-voting)\n- openstack-tox-bashate https://zuul.opendev.org/t/openstack/build/5ae016e2e9744117adfb511ec7ae318a : SUCCESS in 4m 04s","accounts_in_message":[],"_revision_number":1},{"id":"8046339909f7315b8642476c7f9879997a2ed309","author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"date":"2021-10-05 19:14:28.000000000","message":"Patch Set 1: Code-Review-1\n\nafter a consideration, this is a bug in tempest, the tempest\u0027s function:\nhttps://opendev.org/openstack/tempest/src/commit/a7bcabc8976e6e646d5e4379e3289b43586261c1/tempest/lib/common/jsonschema_validator.py#L34\n\nuses a non public interface (compat.py):\nhttps://github.com/Julian/jsonschema/blob/v3.2.0/jsonschema/compat.py\n\nwhich got removed and therefore it\u0027s failing.\n\nIn the year when it was added - https://opendev.org/openstack/tempest/commit/f9ded3536646bb3998325f3417ef4ed588e05b7d\nthe interface wasn\u0027t marked as non public back then - that got changed in 2018 - https://github.com/Julian/jsonschema/commit/3c9b61c4ef302cf3463f8d82b7976be7e3400147#diff-0b60cfc7f89b490c3e18c14d830f4619c1f75ae9876b92cae8065b9c8a8004f5\n\nIt seems that the compat.py module was just for py2/3 compatibility.","accounts_in_message":[],"_revision_number":1},{"id":"66d6220c6781b5c86ca9cc77b0d92b26d511a441","author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"date":"2021-10-05 19:35:12.000000000","message":"Patch Set 1: Code-Review-1\n\n\u003e Patch Set 1: Code-Review-1\n\u003e \n\u003e after a consideration, this is a bug in tempest, the tempest\u0027s function:\n\u003e https://opendev.org/openstack/tempest/src/commit/a7bcabc8976e6e646d5e4379e3289b43586261c1/tempest/lib/common/jsonschema_validator.py#L34\n\u003e \n\u003e uses a non public interface (compat.py):\n\u003e https://github.com/Julian/jsonschema/blob/v3.2.0/jsonschema/compat.py\n\u003e \n\u003e which got removed and therefore it\u0027s failing.\n\u003e \n\u003e In the year when it was added - https://opendev.org/openstack/tempest/commit/f9ded3536646bb3998325f3417ef4ed588e05b7d\n\u003e the interface wasn\u0027t marked as non public back then - that got changed in 2018 - https://github.com/Julian/jsonschema/commit/3c9b61c4ef302cf3463f8d82b7976be7e3400147#diff-0b60cfc7f89b490c3e18c14d830f4619c1f75ae9876b92cae8065b9c8a8004f5\n\u003e \n\u003e It seems that the compat.py module was just for py2/3 compatibility.\n\nyeah that was change in jsonschema which break the tempest code so we can change that code in tempest so that it work with newer tempest also.\n\nFor old tempest tag, we saw this issue in stable/stein also where some issue in how constraints are enforced in virtual env - https://review.opendev.org/c/openstack/devstack/+/812092\n\nI will say for tempest, instead of limiting the jsonschema version in requirement which is already handled by the upper-constraints we should fix the code to work with latest and old jsonschema","accounts_in_message":[],"_revision_number":1},{"id":"702de6b229341019ef84715d6c2a02e697725075","author":{"_account_id":22873,"name":"Martin Kopec","email":"mkopec@redhat.com","username":"mkopec"},"date":"2021-10-07 07:26:17.000000000","message":"Patch Set 1:\n\nI pushed a patch to fix this:\nhttps://review.opendev.org/c/openstack/tempest/+/812804\n\nIt\u0027s affecting also stackviz project, not just interop/refstack ones (so far).","accounts_in_message":[],"_revision_number":1},{"id":"5cfaf9364cf70b297fd6878a70e34a27d541ec02","author":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"date":"2021-10-11 09:22:33.000000000","message":"Patch Set 1:\n\n(1 comment)","accounts_in_message":[],"_revision_number":1},{"id":"959570f2c2f95935006af1ade80fc1f0acd205ee","tag":"autogenerated:gerrit:abandon","author":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"date":"2021-10-11 09:22:53.000000000","message":"Abandoned\n\nFix here: https://review.opendev.org/c/openstack/tempest/+/812804","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"b83ff4c9769143626c93719d51657b51eefc7905","revisions":{"b83ff4c9769143626c93719d51657b51eefc7905":{"kind":"REWORK","_number":1,"created":"2021-10-05 11:51:59.000000000","uploader":{"_account_id":30674,"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","username":"lukas-piwowarski"},"ref":"refs/changes/87/812487/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/tempest","ref":"refs/changes/87/812487/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/tempest refs/changes/87/812487/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/tempest refs/changes/87/812487/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/tempest refs/changes/87/812487/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/tempest refs/changes/87/812487/1"}}},"commit":{"parents":[{"commit":"a7bcabc8976e6e646d5e4379e3289b43586261c1","subject":"Mark unstable test_create_object_with_transfer_encoding","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/a7bcabc8976e6e646d5e4379e3289b43586261c1"}]}],"author":{"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","date":"2021-10-05 11:29:14.000000000","tz":0},"committer":{"name":"Lukas Piwowarski","email":"lpiwowar@redhat.com","date":"2021-10-05 11:51:53.000000000","tz":0},"subject":"Limit jsonschema package to versions older than 4.2.0","message":"Limit jsonschema package to versions older than 4.2.0\n\nWhen discover-tempest-config is called it fails with the following\nerror: \"AttributeError: module jsonschema has no attribute compat\".\nThe error is caused by new version 4.2.0 of jsonchema package.\n\nThis patch fixes this issue by limiting jsonschema package used\nby tempest only to versions older than 4.2.0.\n\nChange-Id: I67d7219be440af4e7070a41ab9476e2811773184\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/b83ff4c9769143626c93719d51657b51eefc7905"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/tempest/commit/b83ff4c9769143626c93719d51657b51eefc7905"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
