mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2222] [MERGED] import DNSSEC conformance test suite repository #2889
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#2889
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/2222
Author: @japaric
Created: 5/29/2024
Status: ✅ Merged
Merged: 6/7/2024
Merged by: @djc
Base:
main← Head:ja-import-conformance-tests📝 Commits (10+)
a438d7cinitial commite5c373bExpand test setup to run on OSX as wellecc73a5Merge pull request #1 from japaric/expand-example-setup88afa40add TLD name server instructions907f409Prepare containers to work on OSX97beb1cMerge pull request #2 from japaric/readme-upe6691ffMerge pull request #3 from japaric/expand-dockerfiles-install-tools3c50ca9initial Container APIbc10cdaWIP root & tld name server setup6026cafmake nameserver setup work📊 Changes
59 files changed (+6250 additions, -0 deletions)
View changed files
➕
.github/CODEOWNERS(+8 -0)➕
.github/workflows/conformance.yml(+42 -0)📝
.github/workflows/test.yml(+4 -0)➕
conformance/.gitignore(+1 -0)➕
conformance/Cargo.lock(+734 -0)➕
conformance/Cargo.toml(+3 -0)➕
conformance/README.md(+167 -0)➕
conformance/packages/conformance-tests/Cargo.toml(+13 -0)➕
conformance/packages/conformance-tests/src/lib.rs(+4 -0)➕
conformance/packages/conformance-tests/src/name_server.rs(+2 -0)➕
conformance/packages/conformance-tests/src/name_server/rfc4035.rs(+1 -0)➕
conformance/packages/conformance-tests/src/name_server/rfc4035/section_3.rs(+1 -0)➕
conformance/packages/conformance-tests/src/name_server/rfc4035/section_3/section_3_1.rs(+1 -0)➕
conformance/packages/conformance-tests/src/name_server/rfc4035/section_3/section_3_1/section_3_1_1.rs(+64 -0)➕
conformance/packages/conformance-tests/src/name_server/scenarios.rs(+23 -0)➕
conformance/packages/conformance-tests/src/resolver.rs(+4 -0)➕
conformance/packages/conformance-tests/src/resolver/dns.rs(+3 -0)➕
conformance/packages/conformance-tests/src/resolver/dns/scenarios.rs(+68 -0)➕
conformance/packages/conformance-tests/src/resolver/dnssec.rs(+5 -0)➕
conformance/packages/conformance-tests/src/resolver/dnssec/fixtures.rs(+75 -0)...and 39 more files
📄 Description
this PR imports the git history of the dnssec-tests repository (RFC #2155) using the following command
and then proceeds to set up CI and CODEOWNERS as proposed in this comment
the first ~159 commits are the git history of the dnssec-tests repository. the last few commits correspond to the integration work
I considered adding the new two packages to the existing workspace but that resulted in more invasive changes to the
justfile: we don't want to run the conformance test suite whenevercargo ws exec cargo tis used because we want to set the test subject via an environment variable and we also want to run the conformance test suite against different DNS implementations. I didn't find a straightforward way to merge theignorejustfile arguments that some tasks have to a default--ignore='{dns-test,conformance-tests}'argument which had to be added to eachcargo ws execinvocation. Instead, I opted for placing the conformance test suite and its test framework into its own workspace; that led to less invasive changes to thejustfile.Note that the creation of the CODEOWNERS file is not sufficient to achieve the desired review permissions. The ferrous team need to be given write permissions to this repository and the branch protection settings of this repository need to modified to "Require review from Code Owners" as described in this help article
I'm going to leave this PR in draft state because I need to redo the "subtree pull" after https://github.com/ferrous-systems/dnssec-tests/pull/67 has been merged because that un-ignores the tests that pass with the latest version of hickory-dns (DONE107635c6c5)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.