Merge ~rafaeldtinoco/ubuntu/+source/cloud-utils:lp1835124 into ubuntu/+source/cloud-utils:ubuntu/disco-devel

Proposed by Scott Moser
Status: Merged
Merge reported by: Scott Moser
Merged at revision: e9de3509560b0c952e6def92a9661c5cff57d505
Proposed branch: ~rafaeldtinoco/ubuntu/+source/cloud-utils:lp1835124
Merge into: ubuntu/+source/cloud-utils:ubuntu/disco-devel
Diff against target: 62 lines (+40/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/lp1842682-test-growpart-fix-logic-error-resulting-test-failure.patch (+32/-0)
debian/patches/series (+1/-0)
Reviewer Review Type Date Requested Status
Scott Moser (community) Approve
git-ubuntu developers Pending
Review via email: mp+372420@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Scott Moser (smoser) :
review: Approve
Revision history for this message
Scott Moser (smoser) wrote :

I uploaded e9de3509560b0c952e6def92a9661c5cff57d505 which has version 0.31-0ubuntu1.2 to disco-proposed on 2019-06-06.

It is currently in the unapproved queue
 https://launchpad.net/ubuntu/disco/+queue?queue_state=1&queue_text=

 https://launchpadlibrarian.net/440570202/cloud-utils_0.31-0ubuntu1.2_source.changes

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 80d02dd..d8b6868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1cloud-utils (0.31-0ubuntu1.2) disco; urgency=medium
2
3 * test-growpart: fix logic error resulting in test failure.
4 [Scott Moser] (LP: #1842682)
5
6 -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 06 Sep 2019 10:47:23 -0300
7
1cloud-utils (0.31-0ubuntu1.1) disco; urgency=medium8cloud-utils (0.31-0ubuntu1.1) disco; urgency=medium
29
3 * fix race condition in test-growpart teardown seen on ppc64el (LP: #1836593)10 * fix race condition in test-growpart teardown seen on ppc64el (LP: #1836593)
diff --git a/debian/patches/lp1842682-test-growpart-fix-logic-error-resulting-test-failure.patch b/debian/patches/lp1842682-test-growpart-fix-logic-error-resulting-test-failure.patch
4new file mode 10064411new file mode 100644
index 0000000..6751703
--- /dev/null
+++ b/debian/patches/lp1842682-test-growpart-fix-logic-error-resulting-test-failure.patch
@@ -0,0 +1,32 @@
1From ef42f6b58505d9787f6583243ed7792b1a08d74b Mon Sep 17 00:00:00 2001
2From: Scott Moser <smoser@brickies.net>
3Date: Wed, 4 Sep 2019 10:50:09 -0400
4Subject: [PATCH] test-growpart: fix logic error resulting in test failure.
5
6In test-growpart, the cleanup code should unmount if the tracking
7variable "MP" has a non-empty value, not an empty value. An empty
8value would indicate that the mount has *not* been done.
9
10This is a regression caused by bug 1835124.
11
12LP: #1842682
13---
14 test/test-growpart | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/test/test-growpart b/test/test-growpart
18index 6df4b89..ecf2dd1 100755
19--- a/test/test-growpart
20+++ b/test/test-growpart
21@@ -28,7 +28,7 @@ clearparts() {
22 udevadm settle
23 }
24 cleanup() {
25- if [ -z "$MP" ]; then
26+ if [ -n "$MP" ]; then
27 echo "unmount $MP";
28 umount "$MP";
29 udevadm settle
30--
312.23.0
32
diff --git a/debian/patches/series b/debian/patches/series
index d6f2064..9feec79 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
1lp1810857-fix-spelling-error-in-ec2metadata-reservation-id.patch1lp1810857-fix-spelling-error-in-ec2metadata-reservation-id.patch
2lp1835124-growpart-fix-bug-when-file-image-ends-in-a-digit.patch2lp1835124-growpart-fix-bug-when-file-image-ends-in-a-digit.patch
3lp1836593-fix-race-condition-in-test-growpart.patch3lp1836593-fix-race-condition-in-test-growpart.patch
4lp1842682-test-growpart-fix-logic-error-resulting-test-failure.patch

Subscribers

People subscribed via source and target branches