<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Zhi Chang,<br>
<br>
You will have to use sorted to fix the test failure.<br>
i.e.,
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
<span class="pln" style="color: rgb(0, 0, 0); font-family:
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: 1; word-spacing:
0px; -webkit-text-stroke-width: 0px;">self</span><span class="pun"
style="color: rgb(102, 102, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">.</span><span class="pln"
style="color: rgb(0, 0, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">assertEqual</span><span
class="pun" style="color: rgb(102, 102, 0); font-family:
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: 1; word-spacing:
0px; -webkit-text-stroke-width: 0px;">(sorted([</span><span
class="str" style="color: rgb(0, 136, 0); font-family: monospace;
font-size: 12px; font-style: normal; font-variant: normal;
font-weight: normal; letter-spacing: normal; line-height: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: 1; word-spacing:
0px; -webkit-text-stroke-width: 0px;">'2.2.2.2'</span><span
class="pun" style="color: rgb(102, 102, 0); font-family:
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: 1; word-spacing:
0px; -webkit-text-stroke-width: 0px;">,</span><span class="pln"
style="color: rgb(0, 0, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;"> </span><span class="str"
style="color: rgb(0, 136, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">'1.1.1.1'</span><span class="pun"
style="color: rgb(102, 102, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">]),</span><span class="pln"
style="color: rgb(0, 0, 0); font-family: monospace; font-size:
12px; font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal; orphans:
auto; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre; widows: 1; word-spacing: 0px;
-webkit-text-stroke-width: 0px;"> sorted(dns_list)</span><span
class="pun" style="color: rgb(102, 102, 0); font-family:
monospace; font-size: 12px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing: normal; line-height:
normal; orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: pre; widows: 1; word-spacing:
0px; -webkit-text-stroke-width: 0px;">)</span><br>
<br>
--Sridhar.<br>
<br>
<div class="moz-cite-prefix">On 07/20/2015 11:17 AM, Zhi Chang
wrote:<br>
</div>
<blockquote cite="mid:tencent_435F483A570722BC6BF2AF96@qq.com"
type="cite">
<div>Hi, all.</div>
<div> I write a unit test in devstack and runs all tests okay
on my environment. Why does Jenkins failed when I upload my
patch into review? The patch
is <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/199588/">https://review.openstack.org/#/c/199588/</a>. The failed test was
named "<span style="font-family: monospace; font-size: medium;
line-height: normal; text-indent: -286px; white-space:
pre-wrap;">neutron.tests.unit.plugins.embrane.test_embrane_neutron_plugin.TestEmbraneSubnetsV2.test_subnet_lifecycle_dns_retains_order</span><span
style="line-height: 1.5;">". But it is okay on my environment.
Could someone tells me the reason? What should I do?</span></div>
<div><span style="line-height: 1.5;"><br>
</span></div>
<div><span style="line-height: 1.5;"><br>
</span></div>
<div><span style="line-height: 1.5;">Thanks</span></div>
<div>Zhi Chang</div>
<div><includetail><!--<![endif]--></includetail></div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>