Merge ~ahasenack/ubuntu/+source/ocfs2-tools:cosmic-ocfs2-tools-merge-1.8.5-5 into ubuntu/+source/ocfs2-tools:debian/sid

Proposed by Andreas Hasenack
Status: Merged
Approved by: Christian Ehrhardt 
Approved revision: e229b69425a068e06dd0e20fac31fed59035acbf
Merge reported by: Andreas Hasenack
Merged at revision: e229b69425a068e06dd0e20fac31fed59035acbf
Proposed branch: ~ahasenack/ubuntu/+source/ocfs2-tools:cosmic-ocfs2-tools-merge-1.8.5-5
Merge into: ubuntu/+source/ocfs2-tools:debian/sid
Diff against target: 63 lines (+24/-2)
3 files modified
debian/changelog (+21/-0)
debian/control (+2/-1)
debian/tests/basic (+1/-1)
Reviewer Review Type Date Requested Status
Christian Ehrhardt  (community) Approve
Canonical Server Pending
Review via email: mp+351821@code.launchpad.net

Description of the change

Simple merge with debian.

This drops half our delta (1 out of 2). The other delta is a simple dep8 test fix, but one that was only needed in Ubuntu for some reason. In debian, the test are passing (https://ci.debian.net/packages/o/ocfs2-tools/unstable/amd64/), even in the 1.8.5-3 version where we had to introduce that delta. I felt uncomfortable submitting this change to them without a clear reason other than "it fails for us, please take the change even though it's working for you".

DEP8 tests: http://people.ubuntu.com/~ahasenack/dep8-ocfs2-tools-1.8.5-3ubuntu1/

PPA with test packages: https://launchpad.net/~ahasenack/+archive/ubuntu/ocfs2-tools-merge-1.8.5-5/+packages

I haven't used ocfs2-tools, and I was the previous uploader only because I fixed the FTBFS (that we can drop now), so my only confidence in this upload is that the dep8 tests passed, and that our delta is super simple.

To post a comment you must log in.
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Minimal delta is simple and as you explained Ubuntu (test env) specific.
I think you could still submit it to Debian, maybe they are willing to pick it still - better try than giving up prematurely.

If you are concerned about their reaction, put it in a an if based on lsb_release or so.
And add a comment what we have seen on the broken pipe.

The Debian changes since the last version are not huge but fine to be picked up.

Anyway, for the merge build and tests LGTM, also the Delta is fine IMHO - +1

review: Approve
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

>
> If you are concerned about their reaction, put it in a an if based on
> lsb_release or so.
> And add a comment what we have seen on the broken pipe.
>

I'd like it without the if even more, we might (correctly) say that
depending on the test env this can happen.
And while not triggering today for them it might at any point.
Therefore you are proactively fixing them, isn't that a nice contrib?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I will do that then (push to debian).

For this merge, could you then please push the upload tag for me? I can then dput the package.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Tag pushed

To ssh://git.launchpad.net/~usd-import-team/ubuntu/+source/ocfs2-tools
 * [new tag] upload/1.8.5-5ubuntu1 -> upload/1.8.5-5ubuntu1

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Uploaded, I'll follow migration.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

I filed https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905151

I tried to find autopkgtest logs from the old failure, but didn't find any. I then tried the tests again locally without our change (i.e., using "yes" instead of "echo yes"), and the tests passed. So I'm not even sure we still need it, but trying it out for real in a migration is a bit too painful right now.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

>
> I tried to find autopkgtest logs from the old failure, but didn't find
> any. I then tried the tests again locally without our change (i.e., using
> "yes" instead of "echo yes"), and the tests passed. So I'm not even sure we
> still need it, but trying it out for real in a migration is a bit too
> painful right now.
>

You might upload the Debian version with "yes |" to a bileto ppa + tests.
Then you'll see if it now works on our test infrastructure as well.
OTOH - was the old issue permanent or flaky?

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

Got a response from Debian saying they will include our change in the next package release, so the last remaining delta has its days numbered \o/

In parallel, I uploaded a ppa2 version to https://launchpad.net/~ahasenack/+archive/ubuntu/ocfs2-tools-merge-1.8.5-5 reverting our change, i.e., is uses "yes" instead of "echo yes". We could use that for a bileto run.

I don't remember if the old issue was permanent of flaky. I thought it had failed once, then we debugged and fixed it, but I can't find that failure in autopkgtest.ubuntu.com. Maybe it was only in a local test, before the upload.

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

This migrated finally.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 621fcf8..12b321f 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,14 @@
6+ocfs2-tools (1.8.5-5ubuntu1) cosmic; urgency=medium
7+
8+ * Merge with Debian unstable. Remaining changes:
9+ - use "echo yes |" instead of "yes |" to avoid a broken pipe error. The
10+ "yes" command insists "too much"
11+ * Drop:
12+ - d/p/ftbfs-strings-header.patch: fix FTBFS (LP: #1740927)
13+ [In Debian 1.8.5-4]
14+
15+ -- Andreas Hasenack <andreas@canonical.com> Mon, 30 Jul 2018 17:13:16 -0300
16+
17 ocfs2-tools (1.8.5-5) unstable; urgency=medium
18
19 * debian/patches: fix parallel build (Closes: #894630)
20@@ -23,6 +34,16 @@ ocfs2-tools (1.8.5-4) unstable; urgency=medium
21
22 -- Valentin Vidic <Valentin.Vidic@CARNet.hr> Wed, 24 Jan 2018 15:09:31 +0100
23
24+ocfs2-tools (1.8.5-3ubuntu1) bionic; urgency=medium
25+
26+ * debian/patches/ftbfs-strings-header.patch: fsck.ocfs2: fix compile
27+ error whith newer glibc. Thanks to Gang He <ghe@suse.com>.
28+ (LP: #1740927)
29+ * debian/tests/basic: use "echo yes |" instead of "yes |" to avoid a broken
30+ pipe error. The "yes" command insists "too much".
31+
32+ -- Andreas Hasenack <andreas@canonical.com> Tue, 02 Jan 2018 17:46:42 -0200
33+
34 ocfs2-tools (1.8.5-3) unstable; urgency=medium
35
36 * debian/control: drop B-D on dh-autoreconf and autotools-dev
37diff --git a/debian/control b/debian/control
38index f7c3119..d8c45db 100644
39--- a/debian/control
40+++ b/debian/control
41@@ -1,7 +1,8 @@
42 Source: ocfs2-tools
43 Section: admin
44 Priority: optional
45-Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
46+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
47+XSBC-Original-Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
48 Uploaders: Valentin Vidic <Valentin.Vidic@CARNet.hr>
49 Standards-Version: 4.1.3
50 Build-Depends: debhelper (>= 11), po-debconf, comerr-dev,
51diff --git a/debian/tests/basic b/debian/tests/basic
52index 3c11f7c..00196b7 100644
53--- a/debian/tests/basic
54+++ b/debian/tests/basic
55@@ -19,7 +19,7 @@ echo "=== mkfs ==="
56 mkfs.ocfs2 --force --mount local --block-size $(stat -f $DISK --format='%s') $DISK 2>&1
57
58 echo "=== fsck ==="
59-yes | fsck.ocfs2 -f -y -F $DISK 2>&1
60+echo yes | fsck.ocfs2 -f -y -F $DISK 2>&1
61
62 echo "=== debugfs ==="
63 debugfs.ocfs2 -R stats $DISK

Subscribers

People subscribed via source and target branches