<div dir="ltr">Completely isolated docker containers. Jenkins basically runs two separate calls to docker...<div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><pre class="gmail-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px">[vagrant-1.9.1] $ docker run -t -d -u 997:994 -v /opt/gemcache:/opt/gemcache -w /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ -v /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ:/var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ:rw -v /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ@tmp:/var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat myoung34/vagrant:1.9.1
<span style="box-sizing:border-box;color:rgb(154,153,153)">[Pipeline] [vagrant-1.9.1] {</span></pre><pre class="gmail-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span style="box-sizing:border-box;color:rgb(154,153,153)"><br></span></pre></div></blockquote><font color="#9a9999" face="monospace"><span style="font-size:14px;white-space:pre-wrap"><br></span></font><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><pre class="gmail-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><span style="box-sizing:border-box;color:rgb(154,153,153)">[Pipeline] [vagrant-1.9.2] withDockerContainer
</span>[vagrant-1.9.2] $ docker run -t -d -u 997:994 -v /opt/gemcache:/opt/gemcache -w /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ -v /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ:/var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ:rw -v /var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ@tmp:/var/lib/jenkins/workspace/oung34_vagrant-ovirt4_PR-79-7BRKVM5TQ5BGPECFMXYIEOYZOICCET4GY37WXT4D65NSV4F5TADQ@tmp:rw -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** --entrypoint cat myoung34/vagrant:1.9.2</pre><pre class="gmail-console-output" style="box-sizing:border-box;white-space:pre-wrap;word-wrap:break-word;margin-top:0px;margin-bottom:0px;color:rgb(51,51,51);font-size:14px"><br></pre></div></blockquote><font color="#333333" face="monospace"><span style="font-size:14px;white-space:pre-wrap">Each of those containers in turn runs:</span></font></div><div><font color="#333333" face="monospace"><span style="font-size:14px;white-space:pre-wrap"><br></span></font></div><div><table class="gmail-diff-table gmail-tab-size" style="box-sizing:border-box;width:978px;color:rgb(36,41,46);font-family:-apple-system,system-ui,&quot;segoe ui&quot;,helvetica,arial,sans-serif,&quot;apple color emoji&quot;,&quot;segoe ui emoji&quot;,&quot;segoe ui symbol&quot;;font-size:14px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><br></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R30" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            gem build *.gemspec</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R31" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            /usr/bin/vagrant plugin install *.gem</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R32" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            bundle install --path /opt/gemcache --without development plugins</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R33" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            bundle exec kitchen destroy all</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R34" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            rm -rf .kitchen</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R35" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            sleep <span class="gmail-pl-cce" style="box-sizing:border-box">\$</span>(shuf -i 0-10 -n 1) #i did this to see if maybe i could stagger the creates</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R36" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            export VAGRANT_VERSION=<span class="gmail-pl-cce" style="box-sizing:border-box">\$</span>(echo <span class="gmail-pl-s1" style="box-sizing:border-box;color:rgb(51,51,51)"><span class="gmail-pl-pse" style="box-sizing:border-box">${</span>vagrantVersion<span class="gmail-pl-pse" style="box-sizing:border-box">}</span></span> | sed &#39;s/<span class="gmail-pl-cce" style="box-sizing:border-box">\\</span>.//g&#39;)</span></span></td></tr><tr style="box-sizing:border-box"><td class="gmail-blob-num gmail-blob-num-addition empty-cell" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td id="gmail-diff-58231b16fdee45a03a4ee3cf94a9f2c3R37" class="gmail-blob-num gmail-blob-num-addition gmail-js-linkable-line-number" style="box-sizing:border-box;padding:0px 10px;width:50px;min-width:50px;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;line-height:20px;color:rgba(27,31,35,0.298039);text-align:right;white-space:nowrap;vertical-align:top;background-color:rgb(219,255,219);border-color:rgb(193,233,193)"></td><td class="gmail-blob-code gmail-blob-code-addition" style="box-sizing:border-box;padding:0px 10px;line-height:20px;vertical-align:top;background-color:rgb(234,255,234)"><button class="gmail-btn-link gmail-add-line-comment gmail-js-add-line-comment gmail-js-add-single-line-comment" type="button" style="font-style:inherit;font-variant:inherit;font-weight:inherit;font-stretch:inherit;font-size:inherit;line-height:21px;font-family:inherit;overflow:visible;padding:0px;color:rgb(255,255,255);white-space:nowrap;background-color:rgb(3,102,214);border-width:0px;border-style:initial;border-color:initial;float:left;width:22px;height:22px;border-radius:3px;opacity:0"></button><span class="gmail-blob-code-inner" style="box-sizing:border-box;overflow:visible;font-family:sfmono-regular,consolas,&quot;liberation mono&quot;,menlo,courier,monospace;font-size:12px;word-wrap:normal;white-space:pre">+<span class="gmail-pl-s" style="box-sizing:border-box;color:rgb(24,54,145)">            bundle exec kitchen test ^[^singleton-]</span></span></td></tr></tbody></table></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 11:01 AM, Juan Hernández <span dir="ltr">&lt;<a href="mailto:jhernand@redhat.com" target="_blank">jhernand@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 03/07/2017 05:42 PM, Marc Young wrote:<br>
&gt; I&#39;ve been fighting this for roughly two days and I&#39;m starting to think<br>
&gt; that possibly it&#39;s not my code but an interaction with the server.<br>
&gt;<br>
&gt; I&#39;m using test-kitchen[1] with the kitchen-vagrant[2] driver to spin up<br>
&gt; vagrant machines and run tests against them. I&#39;m using Jenkins to run<br>
&gt; kitchen in containers in parallel.<br>
&gt;<br>
&gt; Basically Jenkins runs a docker container with ruby + vagrant 1.9.2 and<br>
&gt; runs kitchen test all at the same time as another container with ruby +<br>
&gt; vagrant 1.9.1.<br>
&gt;<br>
&gt; If I run these in parallel, on some occasions the server seems to<br>
&gt; respond with the wrong creation information. If you look at the logs<br>
&gt; here: <a href="http://home.blindrage.us:8080/job/myoung34/job/vagrant-ovirt4/view/change-requests/job/PR-79/41/console" rel="noreferrer" target="_blank">http://home.blindrage.us:8080/<wbr>job/myoung34/job/vagrant-<wbr>ovirt4/view/change-requests/<wbr>job/PR-79/41/console</a><br>
&gt; &lt;<a href="http://home.blindrage.us:8080/job/myoung34/job/vagrant-ovirt4/view/change-requests/job/PR-79/41/console" rel="noreferrer" target="_blank">http://home.blindrage.us:<wbr>8080/job/myoung34/job/vagrant-<wbr>ovirt4/view/change-requests/<wbr>job/PR-79/41/console</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; the container for vagrant 1.9.1 created a VM `vagrant-dynamic-1.9.1:<br>
&gt;<br>
&gt;     [vagrant-1.9.1]        Bringing machine &#39;default&#39; up with &#39;ovirt4&#39; provider...<br>
&gt;<br>
&gt;     [vagrant-1.9.1]        ==&gt; default: Creating VM with the following settings...<br>
&gt;<br>
&gt;     [vagrant-1.9.1]        ==&gt; default:  -- Name:          dynamic-1.9.1<br>
&gt;<br>
&gt;<br>
&gt; And the container for vagrant 1.9.2 (nearly the same time) created a VM<br>
&gt; `vagrant-dynamic-1.9.2`:<br>
&gt;<br>
&gt;     [vagrant-1.9.2]        ==&gt; default: Creating VM with the following settings...<br>
&gt;<br>
&gt;     [vagrant-1.9.2]        ==&gt; default:  -- Name:          dynamic-1.9.2<br>
&gt;<br>
&gt;     [vagrant-1.9.2]        ==&gt; default:  -- Cluster:       Default<br>
&gt;<br>
&gt;<br>
&gt; If you look at the ss:<br>
&gt;<br>
</span><span class="">&gt; the container 1.9.1 will wait for dynamic-1.9.1 and try to contact it at<br>
&gt; 192.168.2.54<br>
&gt;<br>
&gt; the container 1.9.2 will wait for dynamic-1.9.2 and try to contact it at<br>
&gt; 192.168.2.55<br>
&gt;<br>
&gt; But if you look at the logs, the 1.9.1 container started trying to work<br>
&gt; with 192.168.2.55 by creating a new key then talking to it:<br>
&gt;<br>
&gt;      [vagrant-1.9.1]            default: Key inserted! Disconnecting and reconnecting using new SSH key...<br>
&gt;<br>
</span>&gt;     [vagrant-1.9.1]        Waiting for SSH service on <a href="http://192.168.2.55:22" rel="noreferrer" target="_blank">192.168.2.55:22</a> &lt;<a href="http://192.168.2.55:22" rel="noreferrer" target="_blank">http://192.168.2.55:22</a>&gt;, retrying in 3 seconds<br>
<span class="">&gt;<br>
&gt;<br>
&gt; Because 1.9.1 inserted a generated key into that box, the 1.9.2<br>
&gt; container which _should_ be talking to it cannot now:<br>
&gt;<br>
&gt;     [vagrant-1.9.2]        ==&gt; default: Rsyncing folder: /home/jenkins/.kitchen/cache/ =&gt; /tmp/omnibus/cache<br>
&gt;     [vagrant-1.9.2]        SSH authentication failed! This is typically caused by the public/private<br>
&gt;     [vagrant-1.9.2]        keypair for the SSH user not being properly set on the guest VM. Please<br>
&gt;     [vagrant-1.9.2]        verify that the guest VM is setup with the proper public key, and that<br>
&gt;     [vagrant-1.9.2]        the private key path for Vagrant is setup properly as well.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Via the ruby sdk I create the VM and store the ID it responded with.<br>
&gt; Then to get the IP:<br>
&gt;<br>
&gt;     server = env[:vms_service].vm_service(<wbr>env[:machine].id)<br>
&gt;     nics_service = server.nics_service<br>
&gt;     nics = nics_service.list<br>
&gt;     ip_addr = nics.collect { |nic_attachment|<br>
&gt;     env[:connection].follow_link(<wbr>nic_attachment).reported_<wbr>devices.collect {<br>
&gt;     |dev| dev.ips.collect { |ip| ip.address if ip.version == &#39;v4&#39; } }<br>
&gt;     }.flatten.reject {   |ip| ip.nil? }.first rescue nil<br>
&gt;<br>
<br>
</span>Is this code running inside the same Ruby process for both virtual<br>
machines? In multiple threads?<br>
<span class=""><br>
&gt; Given this code I can&#39;t think of any way that I would get the wrong IP<br>
&gt; unless somehow the server responded incorrectly, since the NIC&#39;s i&#39;ve<br>
&gt; scanned and compiled across are tied directly to the server I created.<br>
&gt;<br>
&gt; Any thoughts? This only happpens randomly and it seems to happen if I<br>
&gt; bombard the server with a bunch of VM creations simultaneously<br>
&gt;<br>
&gt; [1] <a href="https://github.com/test-kitchen/test-kitchen" rel="noreferrer" target="_blank">https://github.com/test-<wbr>kitchen/test-kitchen</a><br>
&gt; [2] <a href="https://github.com/test-kitchen/kitchen-vagrant" rel="noreferrer" target="_blank">https://github.com/test-<wbr>kitchen/kitchen-vagrant</a><br>
&gt;<br>
&gt;<br>
</span>&gt; ______________________________<wbr>_________________<br>
&gt; Devel mailing list<br>
&gt; <a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;<br>
<br>
</blockquote></div><br></div>