<div dir="ltr">thanks for your help</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 10:38 PM, James E. Blair <span dir="ltr"><<a href="mailto:jeblair@openstack.org" target="_blank">jeblair@openstack.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">ZhiQiang Fan <<a href="mailto:aji.zqfan@gmail.com">aji.zqfan@gmail.com</a>> writes:<br>
<br>
> currently, i don't know if it is coverage problem or something else.<br>
><br>
> the direct cause is:<br>
><br>
> sudo /usr/local/jenkins/slave_scripts/jenkins-sudo-grep.sh post<br>
><br>
> Sep 9 06:57:23 precise1 sudo: jenkins : 3 incorrect password<br>
> attempts ; TTY=unknown ;<br>
> PWD=/home/jenkins/workspace/gate-neutron-python27 ; USER=root ;<br>
> COMMAND=ovs-vsctl --timeout=2 -- --columns=external_ids,name,ofport<br>
> find Interface external_ids:iface-id="71d9fa4c-f074-46bd-96af-8c592d37c160"<br>
<br>
</div>This is because the unit test tried to run 'sudo'. That's not allowed<br>
in unit tests, so it needs to be mocked out.<br>
<div><div class="h5"><br>
> meanwhile, i found that:<br>
><br>
> 2013-09-09 06:42:25.922 | + git fetch<br>
> <a href="http://zuul.openstack.org/p/openstack/neutron" target="_blank">http://zuul.openstack.org/p/openstack/neutron</a><br>
> refs/zuul/master/Z62b50e610b554304bde4aa2a9ea80193<br>
> 2013-09-09 06:42:26.747 | From <a href="http://zuul.openstack.org/p/openstack/neutron" target="_blank">http://zuul.openstack.org/p/openstack/neutron</a><br>
> 2013-09-09 06:42:26.747 | * branch<br>
> refs/zuul/master/Z62b50e610b554304bde4aa2a9ea80193 -> FETCH_HEAD<br>
> 2013-09-09 06:42:26.751 | + git checkout FETCH_HEAD<br>
> 2013-09-09 06:42:26.954 | Warning: you are leaving 17 commits behind,<br>
> not connected to<br>
> 2013-09-09 06:42:26.954 | any of your branches:<br>
> 2013-09-09 06:42:26.954 |<br>
> 2013-09-09 06:42:26.954 | 62d0927 Avoid shadowing NeutronException<br>
> 'message' attribute<br>
> 2013-09-09 06:42:26.954 | e26639b Merge "Replace assertEquals with<br>
> assertEqual"<br>
> 2013-09-09 06:42:26.954 | 5bae582 Load ML2 mech drivers as listed in<br>
> ml2_conf.ini<br>
> 2013-09-09 06:42:26.955 | 902dc88 Replace assertEquals with assertEqual<br>
> 2013-09-09 06:42:26.955 | ... and 13 more.<br>
> 2013-09-09 06:42:26.955 |<br>
> 2013-09-09 06:42:26.955 | If you want to keep them by creating a new<br>
> branch, this may be a good time<br>
> 2013-09-09 06:42:26.956 | to do so with:<br>
> 2013-09-09 06:42:26.956 |<br>
> 2013-09-09 06:42:26.956 | git branch new_branch_name<br>
> 62d09275d899237dc34cf50c81e99d50489212ff<br>
> 2013-09-09 06:42:26.956 |<br>
> 2013-09-09 06:42:26.962 | HEAD is now at 7cbd0f5... Improve dhcp_agent_scheduler<br>
<br>
</div></div>You can ignore most of that; that's just Jenkins resetting its git repo<br>
<div class="im">from an earlier test run. By the time it's finished, it says:<br>
<br>
>> 2013-09-09 06:42:26.962 | HEAD is now at 7cbd0f5... Improve dhcp_agent_scheduler<br>
<br>
</div>Which is the important part. You'll see that matches your local HEAD as well:<br>
<div class="im"><br>
> but in my local env:<br>
><br>
> $ git log --pretty=format:"%h %s"<br>
><br>
> 7cbd0f5 Improve dhcp_agent_scheduler<br>
<br>
</div>-Jim<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>blog: <a href="http://zqfan.github.com" target="_blank">zqfan.github.com</a><br></div>git: <a href="http://github.com/zqfan" target="_blank">github.com/zqfan</a><br>
</div>
</div>