<div dir="auto">I know, I'm whining a lot about usage of u-c for such projects, but I'm just gonna say that u-c is also might be used for tempest installation itself. So if you're trying to install specific tempest version from the requirements file with providing u-c as constraints while having tempest in u-c - this will break due to pip being unable to resolve that.<div dir="auto">And installing tempest without constraints also tends to break.<br><div dir="auto"><br></div><div dir="auto">I've used a workaround to filter out u-c to drop tempest from them until xena, so moving this back and force is a bit annoying for the end users.</div><div dir="auto"><br></div><div dir="auto">I know nobody agrees with me here, but I do see u-c as an instruction for end users on how to build their venvs (because these constraints are tested!) to install openstack projects (can build analogy to poetry here) and not CI thing only.</div><div dir="auto"><br></div><div dir="auto">Eventually, we see more troubles with time not in tempest itself, but in tempest plugins, when a new test being added to the plugin, that requires new API but not verifying API microversion or feature availability. These kind of failures we experience quite regularly, couple time during any given cycle, which made us also pin tempest plugin versions in requirements with for every release.</div><div dir="auto"><br></div><div dir="auto">Also I have a feeling that a lot of times we're treating tempest as a CI-only thing, which is also weird and not true for me, since it's valuable tool for operators and being leveraged by rally or refstack to ensure state of production environments.</div></div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">чт, 30 мар. 2023 г., 04:24 Takashi Kajinami <<a href="mailto:tkajinam@redhat.com">tkajinam@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div><br></div><div>I have had some local discussions with gmann, but I'd really like to move this discussion forward</div><div>to fix the broken stable/xena gate in heat so I will start this thread, hoping the thread can provide</div><div>more context behind my proposal.</div><div><br></div><div>Historically stable branches of heat have been frequently affected by any change in requirements</div><div>of tempest. This is mainly because in our CI we install our own in-tree integration tests[1] into</div><div>tempest venv where tempest and heat-tempest-plugin are installed. Because in-tree integration tests</div><div>are tied to that specific stable branch, this has been often causing conflicts in requirements</div><div>(master constraint vs stable/X constraint).<br></div><br><div>[1]</div><div><a href="https://github.com/openstack/heat/tree/master/heat_integrationtests" target="_blank" rel="noreferrer">https://github.com/openstack/heat/tree/master/heat_integrationtests</a></div><div><br></div><div>In the past we changed our test installation[2] to use stable constraint to avoid this conflicts,</div><div>but this approach does no longer work since stable/xena because</div><div><br></div><div>1. stable/xena u-c no longer includes tempest</div><div><br></div><div>2. latest tempest CAN'T be installed with stable/xena u-c because current tempest requires</div><div> fasteners>=0.16.0 which conflicts with 0.14.1 in stable/xena u-c.</div><div><br></div><div><div>[2]</div><div><a href="https://review.opendev.org/c/openstack/heat/+/803890" target="_blank" rel="noreferrer">https://review.opendev.org/c/openstack/heat/+/803890</a></div><div><a href="https://review.opendev.org/c/openstack/heat/+/848215" target="_blank" rel="noreferrer">https://review.opendev.org/c/openstack/heat/+/848215</a></div></div><div><br></div><div>I've proposed the change to pin tempest[3] in stable/xena u-c so that people can install tempest</div><div>with stable/xena u-c.<br></div><div>[3] <a href="https://review.opendev.org/c/openstack/requirements/+/878228" target="_blank" rel="noreferrer">https://review.opendev.org/c/openstack/requirements/+/878228</a></div><div><br></div><div>I understand the reason tempest was removed from u-c was that we should use the latest tempest</div><div>to test recent stable releases.I agree we can keep tempest excluded for stable/yoga and onwards</div><div>because tempest is installable with their u-c, but stable/xena u-c is no longer compatible with master.</div><div>Adding pin to xena u-c does not mainly affect the policy to test stable branches with latest tempest</div><div>because for that we anyway need to use more recent u-c.</div><div><br></div><div>I'm still trying to find out the workaround within heat but IMO adding tempest pin to stable/xena u-c</div><div>is harmless but beneficial in case anyone is trying to use tempest with stable/xena u-c.<br></div><div><br></div><div>Thank you,<br></div><div>Takashi Kajinami<br></div></div>
</blockquote></div></div>