<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)"><span style="font-family:arial,sans-serif;color:rgb(34,34,34)">On Fri, Mar 10, 2017 at 7:23 AM, Lance Bragstad </span><span dir="ltr" style="font-family:arial,sans-serif;color:rgb(34,34,34)"><<a href="mailto:lbragstad@gmail.com" target="_blank">lbragstad@gmail.com</a>></span><span style="font-family:arial,sans-serif;color:rgb(34,34,34)"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 3:46 PM, Doug Hellmann <span dir="ltr"><<a href="mailto:doug@doughellmann.com" target="_blank">doug@doughellmann.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Excerpts from Andrea Frittoli's message of 2017-03-09 20:53:54 +0000:<br>
<div><div class="gmail-m_5619289470930054799gmail-m_-7127463423234097919gmail-h5">> Hi folks,<br>
><br>
> I'm trying to figure out what's the best approach to fade out testing of<br>
> deprecated API versions.<br>
> We currently host in Tempest API tests for Glance API v1, Keystone API v2<br>
> and Cinder API v1.<br>
><br>
> According to the guidelines for the "follow-standard-deprecation" tag [0],<br>
> when projects that have that tag deprecate a feature:<br>
><br>
> "Code will be frozen and only receive minimal maintenance (just so that it<br>
> continues to work as-is)."<br>
><br>
> I interpret this so that projects should maintain some level of testing of<br>
> the deprecated feature, including a deprecated API version.<br>
> The QA team does not see value in testing deprecated API versions in the<br>
> common gate jobs, so my question is what do to with those tests.<br>
><br>
> One option is to maintain them in Tempest until the API version is removed,<br>
> and run them in dedicated project jobs.<br>
> This means that tempest would have to run those jobs as well, so three<br>
> extra jobs, until the API version is removed.<br>
><br>
> The other option is to move those tests out of Tempest, into the projects.<br>
> This would imply back porting them to all relevant branches as well, but it<br>
> would have the advantage of decoupling them from Tempest. It should be no<br>
> concern from an API stability POV since the code for that API will be<br>
> frozen.<br>
> Tests for deprecated APIs in cinder, keystone and glance are all - as far<br>
> as I can tell - removed or deprecated from interoperability guidelines, so<br>
> moving the tests out of Tempest would not be an issue in that sense.<br>
><br>
> The 2nd option involves a bit more initial overhead for the removal of<br>
> tests, but I think it would works for the best on the long term.<br>
><br>
> There is a 3rd option as well, which is to stop running integration testing<br>
> on deprecated API versions before they are actually removed, but I feel<br>
> that would not meet the criteria defined by the follow-standard-deprecation<br>
> tag.<br>
><br>
> Thoughts?<br>
><br>
> andrea<br>
<br>
</div></div>Are any of those tests used by the interoperability working group<br>
(formerly DefCore)?<br>
<br></blockquote><div><br></div><div>That's a good question. I was very curious about this because last I checked keystone had v2.0 calls required for defcore. Looks like that might not be the case anymore [0]? I started a similar thread to this after the PTG since that was something our group talked about extensively during the deprecation session [1].</div><div><br></div></div></div></div></blockquote><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">​Yes, it seems no Volume v1 and Keystone v2 tests usage in defcore 2017.01.json [0]​. But there are some compute tests which internally use glance v1 API call [2]. But on mentioned flagged action- Nova already moved to v2 APIs and tempest part is pending which can be fixed to make call on v2 APIs only (which can be part of this work and quick).</div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">​From options about deprecated APIs testing, I am with options 2 which really take out the load of Tempest tests maintenance and gate.   ​</div><br></div><div><font color="#000000" face="arial, helvetica, sans-serif">​But another question is about stable branch testing of those API, like glance v1 and identity v2 APIs are supported (not deprecated) in Mitaka. </font><div class="gmail_default" style="display:inline"><font color="#000000" face="arial, helvetica, sans-serif">​As Tempest is responsible of testing all stable branch behavior too, Should</font></div><font color="#000000" face="arial, helvetica, sans-serif"> we keep testing them till all Mitaka EOL (till APIs are in deprecated state in all stable branch) ?​</font><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><br></div><div>[0] <a href="https://github.com/openstack/defcore/blob/master/2017.01.json" target="_blank">https://github.com/opensta<wbr>ck/defcore/blob/master/2017.<wbr>01.json</a></div><div>[1] <a href="http://lists.openstack.org/pipermail/openstack-dev/2017-March/113166.html" target="_blank">http://lists.openstack.<wbr>org/pipermail/openstack-dev/<wbr>2017-March/113166.html</a></div><div><br></div></div></div></div></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;color:rgb(0,0,0)">​[2] <a href="https://git.openstack.org/cgit/openstack/defcore/tree/2017.01.json#n294">https://git.openstack.org/cgit/openstack/defcore/tree/2017.01.json#n294</a>  ​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Doug<br>
<br>
><br>
> [0]<br>
> <a href="https://governance.openstack.org/tc/reference/tags/assert_follows-standard-deprecation.html" rel="noreferrer" target="_blank">https://governance.openstack.o<wbr>rg/tc/reference/tags/assert_fo<wbr>llows-standard-deprecation.htm<wbr>l</a><br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</blockquote></div><br></div></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div></div>