Feature #12503
Use rake to start the test suite in Jenkins
10%
Description
While we worked on the vagrant build switch part of Feature #5630 (Feature #11972 and friends), the Rakefile got improved with some code that can be used to start the test suite through rake test
.
There’s been a pull request to use switch to this in Jenkins.
Subtasks
Related issues
Related to Tails - |
Resolved | 2016-12-04 |
History
#1 Updated by bertagaz 2017-05-03 12:12:54
- related to
Feature #11972: Switch our Jenkins ISO build system to vagrant-libvirt added
#2 Updated by intrigeri 2017-05-03 12:52:39
- Category changed from Infrastructure to Continuous Integration
- Status changed from Confirmed to In Progress
- % Done changed from 0 to 10
#3 Updated by bertagaz 2017-05-27 10:17:34
- Target version changed from Tails_3.1 to Tails_3.2
#4 Updated by bertagaz 2017-08-11 16:16:29
- Target version changed from Tails_3.2 to Tails_3.3
#5 Updated by intrigeri 2017-08-11 17:46:16
- Assignee changed from bertagaz to anonym
- Target version changed from Tails_3.3 to Tails_3.2
- QA Check changed from Ready for QA to Info Needed
- Feature Branch deleted (
wip/11972-use-vagrant-in-jenkins)
This has apparently been waiting to be reviewed since 3 months (granted, it’s not high priority and I see no indication of what’s the expected value of this change is). I would be happy to do at least an initial code review, but I cannot find the proposed branch. Where is it? Please reassign to me for QA once this is clarified.
And while you’re at it: I’m concerned that we’ll be maintaining two different ways to run our test suite, and developers are not using the same as our CI infra. Is the plan to switch to rake test
for other use cases than Jenkins, e.g. regular developers? If yes, then wiki/src/contribute/release_process/test/usage.mdwn
needs to be updated.
#6 Updated by bertagaz 2017-08-12 09:32:24
intrigeri wrote:
> This has apparently been waiting to be reviewed since 3 months (granted, it’s not high priority and I see no indication of what’s the expected value of this change is).
Yeah, I delayed it while trying to sort out my plate for 3.2.
> I would be happy to do at least an initial code review, but I cannot find the proposed branch. Where is it? Please reassign to me for QA once this is clarified.
There’s a feature/use-rake-test
branch in the anonym/puppet-tails
repo on git.tails.boum.org
. The test rake task has been sniked into the merge of the branch for Feature #11972.
> And while you’re at it: I’m concerned that we’ll be maintaining two different ways to run our test suite, and developers are not using the same as our CI infra. Is the plan to switch to rake test
for other use cases than Jenkins, e.g. regular developers? If yes, then wiki/src/contribute/release_process/test/usage.mdwn
needs to be updated.
I think the plan was to use it in both cases.
#7 Updated by intrigeri 2017-08-12 20:58:46
- Assignee changed from anonym to intrigeri
- QA Check changed from Info Needed to Ready for QA
- Feature Branch set to anonym/puppet-tails:feature/use-rake-test
Thanks, adjusting metadata accordingly. I’ll have a look but this should not block anonym from answering the other question :)
#8 Updated by intrigeri 2017-08-13 15:14:36
- Feature Branch deleted (
anonym/puppet-tails:feature/use-rake-test)
The relevant commit (dee23d21093afc63c5126664426ae8a984c92729) was already merged on our master branch by mistake, and reverted in 6dc5891928297c1e3eb484e6e5af6c91964eaf5c. So this ticket is about reverting the revert.
#9 Updated by intrigeri 2017-08-13 15:24:05
- Assignee changed from intrigeri to anonym
- QA Check changed from Ready for QA to Dev Needed
I had a look. So since a few months we have two independent implementations of the logic behind the args passed to Cucumber (i.e.: is release? only doc changes?). I’m not very happy with this situation, and now all our base branches support rake test
, so let’s clean this up. IMO next steps are:
- test
rake test
on a developer setup - update our developer documentation to instruct using
rake test
- drop the now obsolete code from
wrap_test_suite
on a topic branch, reassign to me for QA - test the proposed Jenkins change either on a local clone of our Jenkins infra, or in production being ready to revert immediately if it breaks stuff
I can do the last (test/review/deploy) step, but I’d rather see those who initiated this transition handle the rest of it.
#10 Updated by intrigeri 2017-09-07 07:00:51
- Target version changed from Tails_3.2 to Tails_3.5
(I’m not sure this is worth having a target version at all, but well. Your call.)
#11 Updated by intrigeri 2017-12-07 13:06:09
- Target version deleted (
Tails_3.5)