<html><body><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000"><div>Hi All,</div><div><br></div><div>I have been playing with docker for a while to see if we can use it to improve our</div><div>regression test times.</div><div><br></div><div>Here is the github repo having Dockerfile and related scripts.</div><div><a href="https://github.com/raghavendra-talur/Gluster-in-Docker/tree/master">https://github.com/raghavendra-talur/Gluster-in-Docker/tree/master</a></div><div><br></div><div><br></div><div><br></div><div>Out of the 191 tests that we have in tests folder right now these are the tests that fail for me in container;</div><div>after removing most of the issues which were docker related like container not having some packages installed,</div><div>host not having some kernel modules(I know this is why docker is meant more for applications than something like system software.)</div><div><br></div><div><ul><li><span style="font-size: 10pt;">tests/basic/rpm.t Failed test: 4</span></li><li><span style="font-size: 10pt;">I think we can ignore this for now considering that we had some problems with it recently.</span></li></ul><ul><li><span style="font-size: 10pt;">tests/bugs/886998/strict-readdir.t Failed tests: 10, 24</span></li><li><span style="font-size: 10pt;"> looks like bug or readdirp fuse support</span></li></ul><ul><li><span style="font-size: 10pt;">tests/features/glupy.t Failed tests: 2, 6</span></li><li><span style="font-size: 10pt;"> failed to import error in init of glupy.c should be a minor issue with respect to path.</span></li></ul><ul><li><span style="font-size: 10pt;">tests/bugs/bug-802417.t Failed tests: 27-28</span></li><li><span style="font-size: 10pt;"> changelog and afr related Yet to investigate.</span></li></ul><ul><li><span style="font-size: 10pt;">tests/bugs/bug-808400-dist.t Failed test: 10 failure in fcntl test</span></li><li><span style="font-size: 10pt;">tests/bugs/bug-808400-repl.t Failed test: 10 failure in fcntl test</span></li><li><span style="font-size: 10pt;">tests/bugs/bug-808400-stripe.t Failed test: 10 failure in fcntl test</span></li><li><span style="font-size: 10pt;">tests/bugs/bug-808400.t Failed test: 12 failure in fcntl test</span></li><li><span style="font-size: 10pt;">Yet to investigate.</span></li></ul><ul><li><span style="font-size: 10pt;">tests/bugs/bug-990028.t Failed tests: </span></li><li><span style="font-size: 10pt;">164-165 I have no idea why this is failing, it indicates a bug in glusterfs code :(</span></li></ul><div><span style="font-size: 10pt;"><br></span></div><div><span style="font-size: 10pt;">Running the tests in one container is no use of course.</span></div><div><span style="font-size: 10pt;"> Running with combination of &nbsp;xargs and ssh with 5 containers&nbsp;</span><span style="font-size: 10pt;">running I was able to get these times.</span></div><div><span style="font-size: 10pt;"><br></span></div><div><span style="font-size: 10pt;">On local machine: ~90 mins</span></div><div><span style="font-size: 10pt;">With 5 containers: ~45 mins</span></div><div><span style="font-size: 10pt;"><br></span></div><div><span style="font-size: 10pt;">Although I admit, my system was really slow with all 5 containers running tests.</span></div><div><span style="font-size: 10pt;"><br></span></div><div><span style="font-size: 10pt;">Sending this mail to help anyone to take it from here if they want to test gluster in container.</span></div><div><span style="font-size: 10pt;">I will meanwhile continue to debug failures until I get failures to 0!.</span></div><div><span style="font-size: 10pt;"><br></span></div><div><br></div></div><div>-- <br></div><div><span name="x"></span><div><span face="courier new, courier, monaco, monospace, sans-serif" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;" style="font-family: 'courier new',courier,monaco,monospace,sans-serif;"><span size="2" data-mce-style="color: #000000; font-size: small;" style="color: rgb(0, 0, 0); font-size: small;">Thanks!</span><br><span size="2" data-mce-style="font-size: small;" style="font-size: small;"><span color="#3366ff" data-mce-style="color: #3366ff;" style="color: rgb(51, 102, 255);">Raghavendra Talur</span> | <span color="#3366ff" data-mce-style="color: #3366ff;" style="color: rgb(51, 102, 255);">Red Hat Storage Developer</span> | <span color="#3366ff" data-mce-style="color: #3366ff;" style="color: rgb(51, 102, 255);">Bangalore</span> |<span color="#3366ff" data-mce-style="color: #3366ff;" style="color: rgb(51, 102, 255);">+918039245176<br></span></span></span></div><span name="x"></span><br></div></div></body></html>