puppetdb dep8 tests fail for multiple reasons
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| puppetdb (Ubuntu) |
New
|
Medium
|
Pushkar Kulkarni | ||
| Jammy |
New
|
Undecided
|
Unassigned | ||
| Noble |
New
|
Medium
|
Pushkar Kulkarni | ||
| Plucky |
New
|
Medium
|
Pushkar Kulkarni | ||
| Questing |
New
|
Medium
|
Pushkar Kulkarni | ||
Bug Description
[ Impact ]
* This bug-report was originally reported puppetdb dep8 test failures on noble
after [1] was fixed. Many tests fail with HTTP 403 errors on
autopkgtest.
Currently puppetdb also FTBFS on resolute, questing, plucky and noble, due
to build-time test failures. The failing tests fall into two of the
(upstream-
a. Command tests - related to a reported issue [2] in newer postgresql versions
b. Service tests - related to expiration of certificates
While questing (like resolute) is affected by category (a) and noble by
category (b), plucky is affected by both (a) and (b).
This SRU includes three changes:
A) Fix command test failures (category a), by simply disabling the upstream tests.
B) Fix service test failures (category b), by introducing a Ruby script that generates certificates during a build.
C) Fix the HTTP 403 autopkgtest failures by adding the (local) URLs to the no_proxy environment variable.
All the current stable releases need change (C). Additionally, questing needs (A)and plucky needs (B).
[ Test Plan ]
* The build-time test failures can be reproduced at will during a package build. The dep8 failures can be reproduced by requesting tests on autopkgtest.
[ Where problems could occur ]
* Change (A) disables a total of 3 upstream sub-tests under the "Command Tests" category. Disabling tests could let new regressions escape uncaught. It is a medium-risk change.
[ Other Info ]
* Further, the premise for (A) is [2] an open upstream issue. Though the exception stack match what we observe (on rr, qq and pp), it is reported for libpostgresql-
[1] https:/
[2] https:/
------------ Previous template ------------
Impact
* The puppetdb autopkgtests fail on noble after the FTBFS bug [1] is fixed.
Test Plan
* Running autopkgtests on noble reveals the failure.
Where problems could occur
Currently, both tests under debian/test fail on oracular [2].
====
autopkgtest [00:30:43]: @@@@@@@
standalone FAIL stderr: warn: JDK 21.0.4-ea is neither tested nor supported. Please use JDK 17
with-puppetserver FAIL non-zero exit status 1
====
Test "standalone" fails because of Java 21 usage warning appears on stderr. Test "with-puppetserver" is an integration
test of puppetdb and puppetserver. The latter has been updated to 8.4.1-1 on noble. Use of a custom format named PSON was
completely abandoned in puppetserver 8. Any use of PSON in puppetdb 7 on noble needs to be removed.
Other Info
PuppetDB 7.X is compatible with PuppetServer 8.X [3]
-------
Related branches
- Ubuntu Sponsors: Pending requested
- git-ubuntu import: Pending requested
-
Diff: 193 lines (+85/-11)6 files modifieddebian/changelog (+16/-0)
debian/control (+4/-1)
debian/patches/0001_Lein_Local.patch (+7/-10)
debian/patches/series (+1/-0)
debian/patches/skip-failing-command-tests.patch (+38/-0)
debian/tests/common.sh (+19/-0)
- Lukas Märdian (community): Abstain
- Nick Rosbrook (community): Approve
- git-ubuntu import: Pending requested
-
Diff: 58 lines (+14/-3)4 files modifieddebian/changelog (+10/-0)
debian/control (+2/-1)
debian/tests/control (+1/-1)
debian/tests/with-puppetserver (+1/-1)
| Changed in puppetdb (Ubuntu): | |
| status: | New → In Progress |
| assignee: | nobody → Pushkar Kulkarni (pushkarnk) |
| importance: | Undecided → Medium |
| Changed in puppetdb (Ubuntu Noble): | |
| assignee: | nobody → Pushkar Kulkarni (pushkarnk) |
| importance: | Undecided → Medium |
| status: | New → In Progress |
| description: | updated |
| tags: |
added: verification-failed verification-failed-noble removed: verification-done verification-done-noble |
| summary: |
- autopkgtests fail on oracular & noble + autopkgtests failures on multiple releases |
| summary: |
- autopkgtests failures on multiple releases + autopkgtests failures on stable releases |
| summary: |
- autopkgtests failures on stable releases + puppetdb dep8 tests fail for multiple reasons |
| Changed in puppetdb (Ubuntu Plucky): | |
| importance: | Undecided → Medium |
| Changed in puppetdb (Ubuntu Questing): | |
| importance: | Undecided → Medium |

The same tests fail, with the same errors, on noble (puppetdb 7.12.1-3) after fixing the FTBFS reported by LP#2069384