Merge ~athos-ribeiro/ubuntu/+source/pmdk:ftbfs-ppc64el into ubuntu/+source/pmdk:ubuntu/devel

Proposed by Athos Ribeiro
Status: Approved
Approved by: git-ubuntu bot
Approved revision: not available
Proposed branch: ~athos-ribeiro/ubuntu/+source/pmdk:ftbfs-ppc64el
Merge into: ubuntu/+source/pmdk:ubuntu/devel
Diff against target: 91 lines (+13/-40)
4 files modified
debian/changelog (+8/-0)
debian/patches/series (+0/-1)
debian/rules (+5/-2)
dev/null (+0/-37)
Reviewer Review Type Date Requested Status
git-ubuntu bot Approve
Bryce Harrington (community) Approve
Canonical Server Reporter Pending
Review via email: mp+464613@code.launchpad.net

Description of the change

Temp fix FTBFS issue on ppc64el - skip failing build time tests.

PPA: https://launchpad.net/~athos-ribeiro/+archive/ubuntu/pmdk-ftbfs/+packages

To post a comment you must log in.
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

a ~ppa2 upload is pending (LP is under maintenance ATM).

We are still concerned with the fact that these can indeed be real bugs which may even affects other architectures as well.

Let's keep this MP on hold until we sort it all out.

Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

Changed to skipping all tests on ppc64el. There are other tests failing for the python tests.

Revision history for this message
Bryce Harrington (bryce) wrote :

Per discussion at team meeting today + direction from Server team manager is that we should proceed with disabling at least the non-passing tests, with bug report(s) to follow up post-release.

Rationale is: 1) that a proper investigation + solution will likely be lower level, hardware-specific, and potentially more complex than the server team is able to perform in the time available pre-release, 2) we're lacking of certainty that upstream would prioritize issues on this architecture for expedient attention, and 3) removal of the ppc64el binaries for pmdk could have a cascading effect on rdepends (qemu, mariadb, ceph, ...).

Revision history for this message
Bryce Harrington (bryce) wrote :

There are several options:

1. Disable all tests for ppc64el (only). This is what's implemented in this MP.

2. Disable valgrind. This would skip at least some of the broken tests, however my gut says only a subset of the tests are experiencing valgrind issues (I counted 3 valgrind crashes), so this might be only a partial workaround.

3. Disable the tests currently failing. Athos and I counted 20; these could easily be disabled using just the same approach I used in *ubuntu1. But there might be additional tests beyond that (Athos mentions some python tests?) If some other new test case failed, we'd not be in any better situation for resolving it than we're in currently...

If we had another day I'd try #3 first, and if we had more days beyond that I'd instead do #2 and then #3. But given how late things are I agree with Athos that #1 is safest and most practical to get the build passing. We need to keep in mind that this is just to resolve the ftbfs, and the package still needs time to do dep8 testing and migration.

+1, please upload asap.

review: Approve
Revision history for this message
Bryce Harrington (bryce) wrote :

Thanks for not referencing the bug in the changelog; we'll leave that open and continue discussion on resolving it there.

Revision history for this message
git-ubuntu bot (git-ubuntu-bot) wrote :

Approvers: athos-ribeiro, bryce
Uploaders: athos-ribeiro, bryce
MP auto-approved

review: Approve

Unmerged commits

a23d3e6... by Athos Ribeiro

Update changelog

cfc97f8... by Athos Ribeiro

    - d/rules: skip ppc64el build time tests

04b94ba... by Athos Ribeiro

    - d/p/debian-changes: remove bogus file

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 b753303..f1a6159 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,11 @@
6+pmdk (1.13.1-1.1ubuntu2) noble; urgency=medium
7+
8+ * Fix FTBFS issues in ppc64el:
9+ - d/rules: skip ppc64el build time tests
10+ - d/p/debian-changes: remove bogus file
11+
12+ -- Athos Ribeiro <athos.ribeiro@canonical.com> Thu, 18 Apr 2024 09:44:59 -0300
13+
14 pmdk (1.13.1-1.1ubuntu1) noble; urgency=medium
15
16 * d/rules: Disable TEST5 on ppc64el to fix FTBFS
17diff --git a/debian/patches/debian-changes b/debian/patches/debian-changes
18deleted file mode 100644
19index 3b637b7..0000000
20--- a/debian/patches/debian-changes
21+++ /dev/null
22@@ -1,37 +0,0 @@
23-Description: Autogenerated patch header for a single-debian-patch file.
24- The delta against upstream is either kept as a single patch, or maintained
25- in some VCS, and exported as a single patch instead of more manageable
26- atomic patches.
27-Forwarded: not-needed
28-
29----
30---- /dev/null
31-+++ pmdk-1.13.1/0001-d-rules-Disable-TEST5-on-ppc64el-to-fix-FTBFS.patch
32-@@ -0,0 +1,27 @@
33-+From c205347c197212ad46fc61c378470d0d25b49964 Mon Sep 17 00:00:00 2001
34-+From: Bryce Harrington <bryce@bryceharrington.org>
35-+Date: Tue, 16 Apr 2024 16:12:46 -0700
36-+Subject: [PATCH] * d/rules: Disable TEST5 on ppc64el to fix FTBFS (LP:
37-+ #2061913)
38-+
39-+---
40-+ debian/rules | 4 ++++
41-+ 1 file changed, 4 insertions(+)
42-+
43-+diff --git a/debian/rules b/debian/rules
44-+index 134e00ee..b4217c0c 100755
45-+--- a/debian/rules
46-++++ b/debian/rules
47-+@@ -48,5 +48,9 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
48-+ rm -f src/test/obj_pool/TEST34
49-+ # binutils regression #964457
50-+ rm -rf src/test/scope/TESTS.py
51-++ifeq ($(DEB_BUILD_ARCH),ppc64el)
52-++ # https://github.com/pmem/pmdk/issues/6079
53-++ rm -f src/test/obj_basic_integration/TEST5
54-++endif
55-+ +$(MAKE) check pycheck $(BUILD_ARGS)
56-+ endif
57-+--
58-+2.34.1
59-+
60diff --git a/debian/patches/series b/debian/patches/series
61index 01830c6..2be7c09 100644
62--- a/debian/patches/series
63+++ b/debian/patches/series
64@@ -1,2 +1 @@
65 check-manpages-noerror.patch
66-debian-changes
67diff --git a/debian/rules b/debian/rules
68index deff278..4abc353 100755
69--- a/debian/rules
70+++ b/debian/rules
71@@ -7,6 +7,11 @@ DEB_UPSTREAM_VERSION = $(shell dpkg-parsechangelog -S version | cut -d - -f 1 |
72
73 BUILD_ARGS = prefix=/usr libdir=/usr/lib/$(DEB_HOST_MULTIARCH) sysconfdir=/etc bashcompdir=/usr/share/bash-completion/completions NORPATH=1 BUILD_EXAMPLES=n BUILD_BENCHMARKS=n
74
75+# LP: #2061913
76+ifeq ($(DEB_BUILD_ARCH),ppc64el)
77+export DEB_BUILD_OPTIONS+=nocheck
78+endif
79+
80 %:
81 dh $@ --with bash-completion
82
83@@ -44,8 +49,6 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
84 ifeq ($(DEB_BUILD_ARCH),ppc64el)
85 # https://github.com/pmem/pmdk/issues/5458
86 rm -f src/test/obj_ctl_arenas/TEST3 src/test/pmem2_future/TESTS.py
87- # https://github.com/pmem/pmdk/issues/6079
88- rm -f src/test/obj_basic_integration/TEST5
89 endif
90 +$(MAKE) check pycheck $(BUILD_ARGS)
91 endif

Subscribers

People subscribed via source and target branches