Merge ~danilogondolfo/ubuntu/+source/libcap2:fix_autopkgtest_armhf into ubuntu/+source/libcap2:ubuntu/devel

Proposed by Danilo Egea Gondolfo
Status: Merged
Merge reported by: Robie Basak
Merged at revision: 404bd8e13c17db25875f195447634a40444ef4c2
Proposed branch: ~danilogondolfo/ubuntu/+source/libcap2:fix_autopkgtest_armhf
Merge into: ubuntu/+source/libcap2:ubuntu/devel
Diff against target: 32 lines (+12/-1)
2 files modified
debian/changelog (+9/-0)
debian/tests/upstream-root (+3/-1)
Reviewer Review Type Date Requested Status
Ubuntu Sponsors Pending
git-ubuntu import Pending
Review via email: mp+436832@code.launchpad.net

Description of the change

PPA with this change: https://launchpad.net/~danilogondolfo/+archive/ubuntu/libcap2

Autopkgtest results for armhf and arm64

ARM64 - test executed and passed (see message "exploit attempt failed")

https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-danilogondolfo-libcap2/lunar/arm64/libc/libcap2/20230203_121605_cc7f8@/log.gz

autopkgtest [12:15:42]: test upstream-root: [-----------------------
@@@ Running upstream tests (root required) @@@
## Preparation ##
## libcap2 tests ##
exploit attempt failed
hello
hello

ARMHF - test wasn't executed

https://autopkgtest.ubuntu.com/results/autopkgtest-lunar-danilogondolfo-libcap2/lunar/armhf/libc/libcap2/20230203_121308_94957@/log.gz

autopkgtest [12:12:04]: test upstream-root: [-----------------------
@@@ Running upstream tests (root required) @@@
## Preparation ##
## libcap2 tests ##
hello
hello

To post a comment you must log in.
Revision history for this message
Robie Basak (racb) wrote :

Seb asked me to mark this as Merged as the change was uploaded to Lunar.

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 015c9a0..d8e6edc 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,12 @@
6+libcap2 (1:2.66-3ubuntu2) lunar; urgency=medium
7+
8+ * Skip the test uns_test to fix autopkgtest on armhf.
9+ It's failing on armhf because we are using an older kernel in the armhf
10+ builders. This test succeeds on newer versions. Once we upgrade our
11+ hosts this patch can be dropped. See LP#2003892
12+
13+ -- Danilo Egea Gondolfo <danilo.egea.gondolfo@canonical.com> Fri, 03 Feb 2023 11:18:40 +0000
14+
15 libcap2 (1:2.66-3ubuntu1) lunar; urgency=medium
16
17 * Strip -Wl,-Bsymbolic-functions from LDFLAGS (LP: #2003892)
18diff --git a/debian/tests/upstream-root b/debian/tests/upstream-root
19index b5634dc..9fb7703 100755
20--- a/debian/tests/upstream-root
21+++ b/debian/tests/upstream-root
22@@ -25,7 +25,9 @@ cd "$AUTOPKGTEST_TMP"
23
24 echo "## libcap2 tests ##"
25 # From <src>/tests/Makefile
26-echo exit | "$TESTDIR"/uns_test
27+# Skip uns_test on armhf. It will fail because we currently run armhf tests
28+# in hosts with an older kernel (5.4). See LP#2003892
29+dpkg-architecture -e armhf || echo exit | "$TESTDIR"/uns_test
30 ./libcap_launch_test
31 ./exploit || echo "exploit failed"
32 ./noexploit

Subscribers

People subscribed via source and target branches