Merge lp:~mvo/snappy/snappy-lp1476129-boot-ok into lp:~snappy-dev/snappy/snappy-moved-to-github

Proposed by Michael Vogt on 2015-08-26
Status: Merged
Approved by: John Lenton on 2015-09-08
Approved revision: 641
Merged at revision: 655
Proposed branch: lp:~mvo/snappy/snappy-lp1476129-boot-ok
Merge into: lp:~snappy-dev/snappy/snappy-moved-to-github
Diff against target: 26 lines (+1/-5)
2 files modified
_integration-tests/tests/failover_rclocal_crash_test.go (+0/-5)
debian/ubuntu-snappy.boot-ok.service (+1/-0)
To merge this branch: bzr merge lp:~mvo/snappy/snappy-lp1476129-boot-ok
Reviewer Review Type Date Requested Status
John Lenton 2015-08-26 Approve on 2015-09-01
Federico Gimenez continuous-integration Pending
Review via email: mp+269224@code.launchpad.net

Commit Message

Move ubuntu-snappy.boot-ok after multi-user.target (LP: 1476129)

Description of the Change

This branch fixes the failover for bugs during the boot by moving the ubuntu-snappy.boot-ok.service after the multi-user.target. It also re-enables the integration test for this.

To post a comment you must log in.
John Lenton (chipaca) wrote :

This seems sane to me, but could use fgimenez/elopio's look also.

review: Approve
Federico Gimenez (fgimenez) wrote :

Doesn't work for me on bbb, rolling/edge #160. This is the console log [1], after the test sets the fail conditions it keeps trying to boot on b and showing this same log.

It's failing now for kvm too (rolling/edge #164)

Thanks,

[1] http://paste.ubuntu.com/12305930/

Federico Gimenez (fgimenez) wrote :

It seems that this branch was merged before disabling the test, it's reverted here [1]

Thanks!

[1]

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '_integration-tests/tests/failover_rclocal_crash_test.go'
2--- _integration-tests/tests/failover_rclocal_crash_test.go 2015-07-30 16:22:30 +0000
3+++ _integration-tests/tests/failover_rclocal_crash_test.go 2015-08-26 14:35:36 +0000
4@@ -44,11 +44,6 @@
5 ExecCommand(c, "sudo", "rm", fmt.Sprintf("%s/etc/rc.local", BaseAltPartitionPath))
6 }
7
8-/*
9-TODO: uncomment when bug https://bugs.launchpad.net/snappy/+bug/1476129 is fixed
10-(fgimenez 20150728)
11-
12 func (s *failoverSuite) TestRCLocalCrash(c *check.C) {
13 commonFailoverTest(c, rcLocalCrash{})
14 }
15-*/
16
17=== modified file 'debian/ubuntu-snappy.boot-ok.service'
18--- debian/ubuntu-snappy.boot-ok.service 2015-03-27 08:28:08 +0000
19+++ debian/ubuntu-snappy.boot-ok.service 2015-08-26 14:35:36 +0000
20@@ -1,5 +1,6 @@
21 [Unit]
22 Description=Notify bootloader that boot was successful
23+After=multi-user.target
24
25 [Service]
26 Type=oneshot

Subscribers

People subscribed via source and target branches