[PDB-1034] Ezbake: switch source based tests to use ezbake somehow and retire that old code Created: 2014/11/17 Updated: 2015/11/20 Resolved: 2015/02/11
|Fix Version/s:||PDB 3.0.0|
|Reporter:||Ken Barber||Assignee:||Ken Barber|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|Epic Link:||QA/QEng Phase 1|
|Sprint:||PuppetDB 2014-12-03, PuppetDB 2014-12-17, PuppetDB 2015-01-14, PuppetDB 2015-01-28, PuppetDB 2015-02-11|
The ezbake work in
Two ideas for now:
a) Use the ezbake helpers already in beaker to build and install locally on a jenkins slave & ship the tarball to an ec2 instance so we can run make on it.
Either way our goals should be: PR tests still work, and that old code is dead.
|Comment by Ken Barber [ 2014/12/11 ]|
TL;DR source based builds for PuppetDB + ezbake patches up, please review
So I've managed to get some patches raised now for the ezbake & beaker changes required to support source based installations for PR testing and one off runs. This is the second phase of the PuppetDB ezbake cutover, currently for PR testing and source based testing it is using the old packaging methodology to do this, but that has to go, since it no longer reflects proper 'shipped' reality.
This is a 3-way patch, and is reasonably complex to follow, I do apoligise:
I would appreciate some review when people have the time. These are WIP for now, as I expect some more changes to come after discussion, and I anticipate some testing failures potentially, but for now they are good to review at least. Without a doubt, the beaker patch includes the largest set of changes FWIW, the rest are pretty minor in LoC but potentially big in breaking compatibility potential.
Here are the tests I've been running, in particular the latest one just before I raised the PR's:
And the existing production PR testing is here:
FYI: there is a transient failure in that second test, due to a maven download error, which can be fixed in the future with a proper maven mirror.
FYI: There is also currently a bug on Beaker 2.0.0 and RHEL 7 that kills off SSH connections (I think something changed in the way we manage sshd_config) so please ignore that failure for now (its raised here: https://tickets.puppetlabs.com/browse/QENG-1594).
Primarily the things to note:
... I've also left more details in the git comment on each patch also ...
I guess the order these things need to be merged in eventually are: