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
diff --git a/debian/changelog b/debian/changelog
index 621fcf8..12b321f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
1ocfs2-tools (1.8.5-5ubuntu1) cosmic; urgency=medium
2
3 * Merge with Debian unstable. Remaining changes:
4 - use "echo yes |" instead of "yes |" to avoid a broken pipe error. The
5 "yes" command insists "too much"
6 * Drop:
7 - d/p/ftbfs-strings-header.patch: fix FTBFS (LP: #1740927)
8 [In Debian 1.8.5-4]
9
10 -- Andreas Hasenack <andreas@canonical.com> Mon, 30 Jul 2018 17:13:16 -0300
11
1ocfs2-tools (1.8.5-5) unstable; urgency=medium12ocfs2-tools (1.8.5-5) unstable; urgency=medium
213
3 * debian/patches: fix parallel build (Closes: #894630)14 * debian/patches: fix parallel build (Closes: #894630)
@@ -23,6 +34,16 @@ ocfs2-tools (1.8.5-4) unstable; urgency=medium
2334
24 -- Valentin Vidic <Valentin.Vidic@CARNet.hr> Wed, 24 Jan 2018 15:09:31 +010035 -- Valentin Vidic <Valentin.Vidic@CARNet.hr> Wed, 24 Jan 2018 15:09:31 +0100
2536
37ocfs2-tools (1.8.5-3ubuntu1) bionic; urgency=medium
38
39 * debian/patches/ftbfs-strings-header.patch: fsck.ocfs2: fix compile
40 error whith newer glibc. Thanks to Gang He <ghe@suse.com>.
41 (LP: #1740927)
42 * debian/tests/basic: use "echo yes |" instead of "yes |" to avoid a broken
43 pipe error. The "yes" command insists "too much".
44
45 -- Andreas Hasenack <andreas@canonical.com> Tue, 02 Jan 2018 17:46:42 -0200
46
26ocfs2-tools (1.8.5-3) unstable; urgency=medium47ocfs2-tools (1.8.5-3) unstable; urgency=medium
2748
28 * debian/control: drop B-D on dh-autoreconf and autotools-dev49 * debian/control: drop B-D on dh-autoreconf and autotools-dev
diff --git a/debian/control b/debian/control
index f7c3119..d8c45db 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,8 @@
1Source: ocfs2-tools1Source: ocfs2-tools
2Section: admin2Section: admin
3Priority: optional3Priority: optional
4Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Debian HA Maintainers <debian-ha-maintainers@lists.alioth.debian.org>
5Uploaders: Valentin Vidic <Valentin.Vidic@CARNet.hr>6Uploaders: Valentin Vidic <Valentin.Vidic@CARNet.hr>
6Standards-Version: 4.1.37Standards-Version: 4.1.3
7Build-Depends: debhelper (>= 11), po-debconf, comerr-dev,8Build-Depends: debhelper (>= 11), po-debconf, comerr-dev,
diff --git a/debian/tests/basic b/debian/tests/basic
index 3c11f7c..00196b7 100644
--- a/debian/tests/basic
+++ b/debian/tests/basic
@@ -19,7 +19,7 @@ echo "=== mkfs ==="
19mkfs.ocfs2 --force --mount local --block-size $(stat -f $DISK --format='%s') $DISK 2>&119mkfs.ocfs2 --force --mount local --block-size $(stat -f $DISK --format='%s') $DISK 2>&1
2020
21echo "=== fsck ==="21echo "=== fsck ==="
22yes | fsck.ocfs2 -f -y -F $DISK 2>&122echo yes | fsck.ocfs2 -f -y -F $DISK 2>&1
2323
24echo "=== debugfs ==="24echo "=== debugfs ==="
25debugfs.ocfs2 -R stats $DISK25debugfs.ocfs2 -R stats $DISK

Subscribers

People subscribed via source and target branches