|+1 Great feature that should help with complicated error cases.|
+1 Nice proposal. It will help eradicate some of the inflexibility and frustrations with Jenkins.
Thank you all for making comments on this and I apologize for the late reply.
To clarify the concerns of testing locally, it is still able to run tests without Docker. One of the purposes of this is to create an identical environment as we are running in Jenkins that would be helpful to reproduce strange errors. Contributors could choose starting a container and run tests in there, or just run tests directly.
BIG +1, the previous work on having docker build images  had a
similar goal (to have a reproducible build environment). But this is
even better because we will guarantee the exact same environment in
Jenkins as well as any further improvements. It is important to
document the setup process as part of this (for future maintenance +
Just for clarification this is independent of running the tests
locally without docker, it is more to improve the reproducibility of
the environment we have on jenkins locally for example to address some
I just added BEAM-5311 to track the removal of the docker build images
when this is ready (of course if there are no objections to this
On Thu, Aug 30, 2018 at 3:58 PM Jean-Baptiste Onofré <jb@xxxxxxxxxxxx> wrote:
> That's interesting, however, it's really important to still be able to
> easily run test locally, without any VM/Docker required. It should be
> activated by profile or so.
> On 27/08/2018 19:53, Yifan Zou wrote:
> > Hi,
> > I have a proposal for creating a reproducible environment for Jenkins
> > tests by using docker container. The thing is, the environment
> > configurations on Beam Jenkins slaves are sometimes different from
> > developer's machines. Test failures on Jenkins may not be easy to
> > reproduce locally. Also, it is not convenient for developers to add or
> > modify underlying tools installed on Jenkins VMs, since they're managed
> > by Apache Infra. This proposal is aimed to address those problems.
> > https://docs.google.com/document/d/1y0YuQj_oZXC0uM5-gniG7r9-5gv2uiDhzbtgYYJW48c/edit#heading=h.bg2yi0wbhl9n
> > Any comments are welcome. Thank you.
> > Regards.
> > Yifan
> Jean-Baptiste Onofré
> Talend - http://www.talend.com