FediTest: Test Run Session 22/84

feditest-run-20241229-191246

This FediTest report requires a desktop or laptop-class monitor.

It cannot be viewed on a mobile device with a small screen.

Sorry about that. But then, you weren't going to use a phone to fix reported bugs, either, right?

Test Run Session Summary

Status Count
Passed
12 (66.7%)
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
1
0
2
0
3 (16.7%)
Should
0
0
0
0
0 (0.0%)
Implied
0
0
0
0
0 (0.0%)
Unspecified
0
0
0
0
0 (0.0%)
Total
1 (5.6%)
0 (0.0%)
2 (11.1%)
0 (0.0%)
3 (16.7%)
Skipped
0
Errors
3 (16.7%)
Total
18

Constellation

client

ImpInProcessNodeDriver
Imp
0.6.dev20241229191155

server

FediverseSaasNodeDriver
Emissary
?

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024:12:29-19:17:11.818896Z, ended 2024:12:29-19:17:12.869615Z (duration: 0:00:01.050719)

AssertionFailure: AssertionFailure (Must, Problem): Response 2 not same.
Accessed URIs: "https://pate.social/.well-known/webfinger?resource=acct%3Aben%40pate.social&rel=self&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else" vs "https://pate.social/.well-known/webfinger?resource=acct%3Aben%40pate.social&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self".
Expected: Objects must be of the same type and recursive structure: {"subject": "acct:ben@pate.social", "aliases": ["https://pate.social/@ben", "https://pate.social/@63f83c5bc421ff9f8c279caa"]}
     but: was <{"subject": "acct:ben@pate.social", "aliases": ["https://pate.social/@ben", "https://pate.social/@63f83c5bc421ff9f8c279caa"], "links": [{"rel": "self", "type": "application/activity+json", "href": "https://pate.social/@63f83c5bc421ff9f8c279caa"}]}>
./tests/webfinger/server/4_1__2_parameter_ordering_not_significant.py:45

Test: webfinger.server.4_2__14_must_only_redirect_to_https::must_only_redirect_to_https

Test that if the server redirected, the final URL is an HTTPS URL.

Started 2024:12:29-19:17:12.871356Z, ended 2024:12:29-19:17:13.021297Z (duration: 0:00:00.149941)

Passed

Test: webfinger.server.4_2__2_perform_query::normal_query

Perform a normal, simple query on an existing account.

Started 2024:12:29-19:17:13.021350Z, ended 2024:12:29-19:17:13.160999Z (duration: 0:00:00.139649)

Passed

Test: webfinger.server.4_2__3_requires_resource_uri::requires_resource_uri_http_status

Do not accept requests with missing resource parameter: HTTP status.

Started 2024:12:29-19:17:13.161042Z, ended 2024:12:29-19:17:13.333872Z (duration: 0:00:00.172830)

Passed

Test: webfinger.server.4_2__3_requires_resource_uri::requires_resource_uri_jrd

Do not accept requests with missing resource parameter: JRD content.

Started 2024:12:29-19:17:13.333912Z, ended 2024:12:29-19:17:13.512379Z (duration: 0:00:00.178467)

Passed

Test: webfinger.server.4_2__4_do_not_accept_malformed_resource_parameters::double_equals_http_status

Do not accept malformed resource parameters. Test HTTP status for inserting an extra = character.

Started 2024:12:29-19:17:13.512401Z, ended 2024:12:29-19:17:13.801919Z (duration: 0:00:00.289518)

Passed

Test: webfinger.server.4_2__4_do_not_accept_malformed_resource_parameters::double_equals_jrd

Do not accept malformed resource parameters. Test JRD content for inserting an extra = character.

Started 2024:12:29-19:17:13.802125Z, ended 2024:12:29-19:17:14.019287Z (duration: 0:00:00.217162)

Passed

Test: webfinger.server.4_2__4_do_not_accept_malformed_resource_parameters::requires_valid_resource_uri_http_status

Do not accept malformed resource parameters. Test HTTP status for missing acct: scheme.

Started 2024:12:29-19:17:14.019597Z, ended 2024:12:29-19:17:14.206029Z (duration: 0:00:00.186432)

Passed

Test: webfinger.server.4_2__4_do_not_accept_malformed_resource_parameters::requires_valid_resource_uri_jrd

Do not accept malformed resource parameters. Test JRD content for missing acct: scheme.

Started 2024:12:29-19:17:14.206072Z, ended 2024:12:29-19:17:14.372786Z (duration: 0:00:00.166714)

Passed

Test: webfinger.server.4_2__5_status_404_for_nonexisting_resources::status_404_for_nonexisting_resources

The server responds with 404 when the resource parameter identifies a non-existent resource.

Started 2024:12:29-19:17:14.372906Z, ended 2024:12:29-19:17:14.752393Z (duration: 0:00:00.379487)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 404.
Accessed URI: "https://pate.social/.well-known/webfinger?resource=acct%3Adoes-not-exist%40pate.social".
Expected: <404>
     but: was <400>
./tests/webfinger/server/4_2__5_status_404_for_nonexisting_resources.py:34

Test: webfinger.server.4_2__9_content_type::returns_jrd_in_response_to_https

Test that a query over HTTPS produces a JRD.

Started 2024:12:29-19:17:14.756421Z, ended 2024:12:29-19:17:14.906994Z (duration: 0:00:00.150573)

Passed

Test: webfinger.server.4_5__1_any_uri_scheme_for_resource_identifiers::any_uri_scheme_for_resource_identifiers

The server must accept resource identifiers provided in the query that use any scheme.

Started 2024:12:29-19:17:14.907035Z, ended 2024:12:29-19:17:15.051388Z (duration: 0:00:00.144353)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 404.
Accessed URI: "https://pate.social/.well-known/webfinger?resource=mailto%3Aabc%40def.com".
Expected: <404>
     but: was <400>
./tests/webfinger/server/4_5__1_any_uri_scheme_for_resource_identifiers.py:37

Test: webfinger.server.4__1_accepts_all_link_rels_in_query::accepts_combined_link_rels_in_query

A server must accept all link rels in the query, even if it does not understand them. Tests several known an unknown link rels at a time.

Started 2024:12:29-19:17:15.054614Z, ended 2024:12:29-19:17:15.338711Z (duration: 0:00:00.284097)

KeyError: 'links'
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:180

Test: webfinger.server.4__1_accepts_all_link_rels_in_query::accepts_known_link_rels_in_query

A server must accept all link rels in the query, even if it does not understand them. Tests one known link rel at a time.

Started 2024:12:29-19:17:15.349785Z, ended 2024:12:29-19:17:15.704037Z (duration: 0:00:00.354252)

KeyError: 'links'
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:92

Test: webfinger.server.4__1_accepts_all_link_rels_in_query::accepts_unknown_link_rels_in_query

A server must accept all link rels in the query, even if it does not understand them. Tests one unknown link rels at a time.

Started 2024:12:29-19:17:15.706641Z, ended 2024:12:29-19:17:15.961397Z (duration: 0:00:00.254756)

KeyError: 'links'
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:135

Test: webfinger.server.4__3_only_returns_jrd_in_response_to_https_requests::does_not_return_jrd_in_response_to_http

Test that a query over HTTP does not produce a JRD.

Started 2024:12:29-19:17:15.966824Z, ended 2024:12:29-19:17:16.048570Z (duration: 0:00:00.081746)

Passed

Test: webfinger.server.4__3_only_returns_jrd_in_response_to_https_requests::uses_valid_https_certificate

Test that the server uses a valid HTTPS certificate.

Started 2024:12:29-19:17:16.048665Z, ended 2024:12:29-19:17:16.214011Z (duration: 0:00:00.165346)

Passed

Test: webfinger.server.5_1_cors_header_required::cors_header_required

The server must provide a valid value for HTTP Header "Access-Control-Allow-Origin".

Started 2024:12:29-19:17:16.214198Z, ended 2024:12:29-19:17:16.350693Z (duration: 0:00:00.136495)

Passed

Test Run Session Metadata

Started 2024:12:29-19:17:11.818672Z
Ended 2024:12:29-19:17:16.350781Z (total: 0:00:04.532109)
Platform Linux-6.8.0-1-aarch64-ARCH-aarch64-with-glibc2.35
FediTest version 0.6.dev20241229191155