'command1' autopkgtest fails due to expired test certs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
knot-resolver (Ubuntu) |
Fix Released
|
Low
|
Dan Streetman | ||
Eoan |
Fix Released
|
Low
|
Unassigned | ||
Focal |
Fix Released
|
Low
|
Dan Streetman |
Bug Description
[impact]
autopkgtest 'command1' fails:
# bootstrap.test.lua
[ ta ] keyfile 'ok1.keys': doesn't exist, bootstrapping
ok 1 - fake server certificate is detected
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_attr_
ok 2 - bogus TA XML with an extra attribute
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_attr_
ok 3 - bogus TA XML with invalid validFrom value
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_attr_
ok 4 - bogus TA XML without mandatory validFrom attribute
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_elem_
ok 5 - bogus TA XML with an extra element
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_elem_
ok 6 - bogus TA XML without mandatory element
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'err_multi_
ok 7 - bogus TA XML with multiple TAs
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'unsupp_
ok 8 - unsupported TA XML for non-root zone
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'unsupp_
ok 9 - unsupported TA XML with XML v1.1
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile 'ok0_badtimes.
ok 10 - TA XML with no valid keys
# Got this error: "/usr/lib/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
[ ta ] keyfile '@/tmp/
[ ta ] Failed to bootstrap root trust anchors; see:
https:/
ok1_expired1.keys': doesn't exist, bootstrapping
Expected return code '0' got '2'.
make: *** [tests/
[scope]
This is fixed upstream with commit
https:/
This is needed in Eoan and Focal, which use the test certs that expired.
Bionic and earlier do not contain the expired test certs and do not need this patch (in addition, the Bionic autopkgtests have never worked)
[test case]
check autopkgtest output, e.g.:
https:/
[regression potential]
continued autopkgtest failures and/or incorrect failures or incorrect passes
[other info]
this was hacked around in Focal by using 'datefudge' to fake the date during the testcase run; this reverts that hack since it's not needed with the proper fix.
description: | updated |
Changed in knot-resolver (Ubuntu Focal): | |
status: | New → In Progress |
Changed in knot-resolver (Ubuntu Eoan): | |
status: | New → In Progress |
Changed in knot-resolver (Ubuntu Focal): | |
importance: | Undecided → Low |
Changed in knot-resolver (Ubuntu Eoan): | |
importance: | Undecided → Low |
Changed in knot-resolver (Ubuntu Focal): | |
assignee: | nobody → Dan Streetman (ddstreet) |
Changed in knot-resolver (Ubuntu Eoan): | |
assignee: | nobody → Dan Streetman (ddstreet) |
tags: | added: block-proposed-eoan |
description: | updated |
description: | updated |
Changed in knot-resolver (Ubuntu Eoan): | |
assignee: | Dan Streetman (ddstreet) → nobody |
This bug was fixed in the package knot-resolver - 3.2.1-3ubuntu2
---------------
knot-resolver (3.2.1-3ubuntu2) focal; urgency=medium
* d/p/lp1861924- daemon- trust_anchors. test-Turn- off-expiration- date-i. patch:
- update test certs that had expired (LP: #1861924)
* d/t/control:
- remove datefudge hack since above fixes this properly
-- Dan Streetman <email address hidden> Tue, 04 Feb 2020 15:33:45 -0500