Merge ~pushkarnk/ubuntu/+source/puppetdb:lp2072516 into ubuntu/+source/puppetdb:ubuntu/devel

Proposed by Pushkar Kulkarni
Status: Merged
Merged at revision: 4c66396064225c1da1a0127ba4f45141eeaad086
Proposed branch: ~pushkarnk/ubuntu/+source/puppetdb:lp2072516
Merge into: ubuntu/+source/puppetdb:ubuntu/devel
Diff against target: 58 lines (+14/-3)
4 files modified
debian/changelog (+10/-0)
debian/control (+2/-1)
debian/tests/control (+1/-1)
debian/tests/with-puppetserver (+1/-1)
Reviewer Review Type Date Requested Status
Lukas Märdian (community) Abstain
Nick Rosbrook (community) Approve
git-ubuntu import Pending
Review via email: mp+468942@code.launchpad.net

Description of the change

debian/test/control: add allow-stderr against test standalone to accommodate a Java version warning on stderr

debian/test/with-puppetserver: the lxd hostname which also becomes 'certname' of the puppet config contains a ".", for the node definition it needs to be enclosed within ' ' to avoid a parsing error.

Tested with the above changes:

=====

$ autopkgtest \
  --shell-fail \
  --no-built-binaries \
  ./puppetdb \
  -- lxd autopkgtest/oracular/noble/amd64

...
...

autopkgtest [00:46:30]: @@@@@@@@@@@@@@@@@@@@ summary
standalone PASS
with-puppetserver PASS

=====

Full output log: https://paste.ubuntu.com/p/qQ4FsfzhVw/

To post a comment you must log in.
Revision history for this message
Nick Rosbrook (enr0n) wrote :

Looks good, except that I would make the changelog match your commit messages (your commit messages are more descriptive of the changes). Besides that, LGTM.

review: Needs Fixing
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :

Thanks! I've updated the changelog.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

Sponsored. Thanks!

review: Approve
Revision history for this message
Lukas Märdian (slyon) wrote :

This has already been sponsored. Claiming the ~ubuntu-sponsors slot.

review: Abstain

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 99fc277..026e57b 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,13 @@
6+puppetdb (8.4.1-1ubuntu1) oracular; urgency=medium
7+
8+ * Fix autopkgtest failures (LP: #2072516)
9+ - d/t/control: add allow-stderr to accommodate
10+ a Java version warning
11+ - d/t/with-puppetserver: avoid a parsing error
12+ on lxd by surrounding the node name in quotes
13+
14+ -- Pushkar Kulkarni <pushkar.kulkarni@canonical.com> Tue, 09 Jul 2024 01:01:45 +0530
15+
16 puppetdb (8.4.1-1) unstable; urgency=medium
17
18 * New upstream version 8.4.1 (Closes: #1062330, #1064677)
19diff --git a/debian/control b/debian/control
20index 72e64e8..898ac08 100644
21--- a/debian/control
22+++ b/debian/control
23@@ -1,7 +1,8 @@
24 Source: puppetdb
25 Section: admin
26 Priority: optional
27-Maintainer: Puppet Package Maintainers <pkg-puppet-devel@lists.alioth.debian.org>
28+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
29+XSBC-Original-Maintainer: Puppet Package Maintainers <pkg-puppet-devel@lists.alioth.debian.org>
30 Uploaders:
31 Apollon Oikonomopoulos <apoikos@debian.org>,
32 Jérôme Charaoui <jerome@riseup.net>,
33diff --git a/debian/tests/control b/debian/tests/control
34index 2ee69ad..34cffc3 100644
35--- a/debian/tests/control
36+++ b/debian/tests/control
37@@ -4,7 +4,7 @@ Depends:
38 curl,
39 jq,
40 postgresql-contrib,
41-Restrictions: needs-root, isolation-container
42+Restrictions: needs-root, isolation-container, allow-stderr
43
44 Tests: with-puppetserver
45 Depends:
46diff --git a/debian/tests/with-puppetserver b/debian/tests/with-puppetserver
47index d9278ca..f7c3e18 100755
48--- a/debian/tests/with-puppetserver
49+++ b/debian/tests/with-puppetserver
50@@ -53,7 +53,7 @@ EOF
51 mkdir -p /etc/puppet/code/environments/production/manifests
52
53 cat >/etc/puppet/code/environments/production/manifests/default.pp <<-EOF
54- node $certname {
55+ node '$certname' {
56 file { '/tmp/testfile' :
57 ensure => present,
58 content => "autopkgtest\n",

Subscribers

People subscribed via source and target branches