<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 3, 2015 at 1:04 PM, Maite Balhester <span dir="ltr"><<a href="mailto:mbalhest@thoughtworks.com" target="_blank">mbalhest@thoughtworks.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<p><span>Hey folks, let me introduce myself first, I’m Maitê and I’m currently working on adding tests in the puppet modules with my team.</span></p>
<p><span>Last week we started to face errors in gate jobs regarding to the fog-google version (<a href="http://logs.openstack.org/28/220228/9/check/gate-openstackci-beaker-trusty-dsvm/7ca0fc1/console.html" target="_blank"><span>http://logs.openstack.org/28/220228/9/check/gate-openstackci-beaker-trusty-dsvm/7ca0fc1/console.html</span></a>).</span></p>
<p>As you can see in this link (<a href="https://tickets.puppetlabs.com/browse/BKR-564" target="_blank"><span>https://tickets.puppetlabs.com/browse/BKR-564</span></a>) this error was fixed in beaker > 2.24.0, but somehow the bundler 1.10.6 is not fetching the latest beaker version (actually it is fetching 2.24.0 version).</p>
<p><span>We can fix the beaker version to 2.27.0 in the Gemfiles for the modules (in our tests this worked fine), but it is not the best approach, since we have a lot of modules and this can be easily outdated.</span></p></div></blockquote><div>I /think/ this should be fixed[1], and hopefully the fix will be released soon. The dependency resolution is really confusing here.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<p>Another point of concern is that vagrant 1.7.x expects bundler (<= 1.10.5, >= 1.5.2), (<a href="https://github.com/mitchellh/vagrant/issues/6158" target="_blank"><span>https://github.com/mitchellh/vagrant/issues/6158</span></a>) and even if we fix the version, running the tests with bundler 1.10.6 will probably will probably break the job.<br></p></div></blockquote><div>This also looks like it was fixed[2] in beaker so again we just need to await a release. I'll try to poke the right people during US west coast workday hours.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><p><span></span></p>
<p>If we fix the beaker version, we must fix the bundler version to 1.10.5, and I personally don’t like to specify versions because it is hard to maintain and it can get easily updated. But I don’t see other way to deal with this subject.<br><span></span></p>
<p>What do you think? Do we have a better way to deal with this situation?<br></p></div></blockquote><div>A good resource for these types of issues is #puppet or #puppet-dev on freenode, or the puppet-users or puppet-dev mailing lists. Module testing sits on the boundary between puppet users questions and puppet developers questions so either channel or list is appropriate to ask. </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><p><span></span></p>
<p>Thanks for your attentions and regards,<span class=""><font color="#888888"><br><span></span></font></span></p><span class=""><font color="#888888"><div><br></div></font></span></div></blockquote><div>Colleen</div><div> </div><div>[1] <a href="https://github.com/puppetlabs/beaker/commit/3625c573e8a59ca634ef2b5d6d0ae9d021e8d2d5">https://github.com/puppetlabs/beaker/commit/3625c573e8a59ca634ef2b5d6d0ae9d021e8d2d5</a> </div><div>[2] <a href="https://github.com/puppetlabs/beaker/pull/1003">https://github.com/puppetlabs/beaker/pull/1003</a><br></div></div></div></div>