FediTest: Test Run Session 57/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
10 (55.6%)
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
6
0
2
0
8 (44.4%)
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
6 (33.3%)
0 (0.0%)
2 (11.1%)
0 (0.0%)
8 (44.4%)
Skipped
0
Errors
0
Total
18

Constellation

client

ImpInProcessNodeDriver
Imp
0.6.dev20241229191155

server

FediverseSaasNodeDriver
mostr
?

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024:12:29-19:24:58.239357Z, ended 2024:12:29-19:24:59.045031Z (duration: 0:00:00.805674)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "application/json; charset=UTF-8"
2: Invalid key: error
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:24:59 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=CCat4MQNXppbLdqSrNP01rx1mZX%2BPnCa1P9n5JFBIa6OcsnEtigmUON7BFpYB0PqyXR9U350VNi6O2ZrNsm8Y3awVW3aX%2F%2B6NX4lkrCy25JhVwJg%2B4%2F4VpUVEh4%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c613f2467df-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=23932&min_rtt=23725&rtt_var=7048&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2831&recv_bytes=914&delivery_rate=116562&cwnd=212&unsent_bytes=0&cid=c6d354ea2a170148&ts=615&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:24:59 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=CCat4MQNXppbLdqSrNP01rx1mZX%2BPnCa1P9n5JFBIa6OcsnEtigmUON7BFpYB0PqyXR9U350VNi6O2ZrNsm8Y3awVW3aX%2F%2B6NX4lkrCy25JhVwJg%2B4%2F4VpUVEh4%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c613f2467df-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=23932&min_rtt=23725&rtt_var=7048&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2831&recv_bytes=914&delivery_rate=116562&cwnd=212&unsent_bytes=0&cid=c6d354ea2a170148&ts=615&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JrdError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff909f25d0>, 'Invalid key: error')]>
./tests/webfinger/server/4_1__2_parameter_ordering_not_significant.py:34

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:24:59.048634Z, ended 2024:12:29-19:24:59.720361Z (duration: 0:00:00.671727)

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:24:59.720419Z, ended 2024:12:29-19:24:59.938472Z (duration: 0:00:00.218053)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "application/json; charset=UTF-8"
2: Invalid key: error
Expected: No exception
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:24:59 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=DxWp9%2FXCABGK%2FnIZ6zlbHseQzhpjMPNrO20SuaPo8Spj%2B%2FGJh4FtFzyP%2BOqD00RtQneWI%2FH5u4Uiuz9GVjLtkBI777Ba7poPc932WnyvTR%2B4neXGtJ9U5YmobUw%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c69fb6cfaca-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=34903&min_rtt=24447&rtt_var=16636&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=118460&cwnd=199&unsent_bytes=0&cid=5da1248e4e56a281&ts=118&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:24:59 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=DxWp9%2FXCABGK%2FnIZ6zlbHseQzhpjMPNrO20SuaPo8Spj%2B%2FGJh4FtFzyP%2BOqD00RtQneWI%2FH5u4Uiuz9GVjLtkBI777Ba7poPc932WnyvTR%2B4neXGtJ9U5YmobUw%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c69fb6cfaca-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=34903&min_rtt=24447&rtt_var=16636&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=118460&cwnd=199&unsent_bytes=0&cid=5da1248e4e56a281&ts=118&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JrdError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90866650>, 'Invalid key: error')]>
./tests/webfinger/server/4_2__2_perform_query.py:20

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:24:59.947518Z, ended 2024:12:29-19:25:00.135889Z (duration: 0:00:00.188371)

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:25:00.136012Z, ended 2024:12:29-19:25:00.312660Z (duration: 0:00:00.176648)

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:25:00.312722Z, ended 2024:12:29-19:25:00.491771Z (duration: 0:00:00.179049)

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:25:00.491921Z, ended 2024:12:29-19:25:00.709445Z (duration: 0:00:00.217524)

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:25:00.709576Z, ended 2024:12:29-19:25:01.905813Z (duration: 0:00:01.196237)

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:25:01.905975Z, ended 2024:12:29-19:25:02.094156Z (duration: 0:00:00.188181)

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:25:02.094307Z, ended 2024:12:29-19:25:02.297493Z (duration: 0:00:00.203186)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 404.
Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3Adoes-not-exist%40mostr.pub".
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:25:02.306046Z, ended 2024:12:29-19:25:02.509883Z (duration: 0:00:00.203837)

AssertionFailure: AssertionFailure (Must, Problem): Not HTTP status 200.
Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub".
Expected: <200>
     but: was <404>
./tests/webfinger/server/4_2__9_content_type.py:27

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:25:02.511753Z, ended 2024:12:29-19:25:02.699886Z (duration: 0:00:00.188133)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 404.
Accessed URI: "https://mostr.pub/.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:25:02.701671Z, ended 2024:12:29-19:25:02.888570Z (duration: 0:00:00.186899)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "application/json; charset=UTF-8"
2: Invalid key: error
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:02 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2F6SQipvITZZJngVOlZD%2FLiFOmMwSQMrsJbFrHy9mFPllBHqJV4rq3bsyo4q%2F1zxYurci8qC3yJcjyOcPUhwA0B6cKvtwVLGoSkBCSgNRIlPSFIAJtz0EUY3NAHQ%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7c6d8b9e76-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26585&min_rtt=25104&rtt_var=8303&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=114258&cwnd=209&unsent_bytes=0&cid=cd623ae49201da70&ts=116&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:02 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2F6SQipvITZZJngVOlZD%2FLiFOmMwSQMrsJbFrHy9mFPllBHqJV4rq3bsyo4q%2F1zxYurci8qC3yJcjyOcPUhwA0B6cKvtwVLGoSkBCSgNRIlPSFIAJtz0EUY3NAHQ%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7c6d8b9e76-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26585&min_rtt=25104&rtt_var=8303&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=114258&cwnd=209&unsent_bytes=0&cid=cd623ae49201da70&ts=116&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JrdError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90833d50>, 'Invalid key: error')]>
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:156

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:25:02.891655Z, ended 2024:12:29-19:25:03.086131Z (duration: 0:00:00.194476)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "application/json; charset=UTF-8"
2: Invalid key: error
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FFw8oKxS8LA3GnLaTYO2xofbQ4i7%2FB1o4sSJV29DJLIFxcywMO8O%2Fskkbd6n8%2BLQH1Lsd%2FDta3%2Bn7lOj4tUn8sDFi6D%2B4RxVl3yPYm0VIw7u9x1EaFhLd01g46I%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7da9bd643b-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26366&min_rtt=25969&rtt_var=10532&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=99361&cwnd=239&unsent_bytes=0&cid=6c3463c5ace1a0b6&ts=122&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2FFw8oKxS8LA3GnLaTYO2xofbQ4i7%2FB1o4sSJV29DJLIFxcywMO8O%2Fskkbd6n8%2BLQH1Lsd%2FDta3%2Bn7lOj4tUn8sDFi6D%2B4RxVl3yPYm0VIw7u9x1EaFhLd01g46I%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7da9bd643b-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26366&min_rtt=25969&rtt_var=10532&sent=4&recv=6&lost=0&retrans=0&sent_bytes=2832&recv_bytes=842&delivery_rate=99361&cwnd=239&unsent_bytes=0&cid=6c3463c5ace1a0b6&ts=122&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JrdError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff9083c950>, 'Invalid key: error')]>
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:70

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:25:03.087255Z, ended 2024:12:29-19:25:03.272428Z (duration: 0:00:00.185173)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "application/json; charset=UTF-8"
2: Invalid key: error
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=UhCmrKbkU9gRQ1Y%2Fnpk6mBsZ6Sir9PuCi0or3voXFqQXB6AblZE4tffM7mpEuJy0X4TuSr1vRy%2BoJzHKb3BDNZ9JOaroniQGlyKB0V1fWHSV0elK3RAkYIEQeRA%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7ed9632393-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26452&min_rtt=26110&rtt_var=7953&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2833&recv_bytes=842&delivery_rate=104146&cwnd=234&unsent_bytes=0&cid=fe7b7f59b453b23d&ts=112&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://mostr.pub/.well-known/webfinger?resource=acct%3A614aee83d7eaffc7bc6bbf02feda0cc53e7f97eeceac08a897c4cea3c023b804%40mostr.pub), method='GET', accept_header=None, payload=None, content_type=None, when_started=datetime.datetime(2024, 12, 29, 19, 12, 46, 457527, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('date': 'Sun, 29 Dec 2024 19:25:03 GMT', 'content-type': 'application/json; charset=UTF-8', 'content-length': '21', 'connection': 'keep-alive', 'access-control-allow-origin': '*', 'vary': 'Accept-Encoding', 'cf-cache-status': 'DYNAMIC', 'report-to': '{"endpoints":[{"url":"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=UhCmrKbkU9gRQ1Y%2Fnpk6mBsZ6Sir9PuCi0or3voXFqQXB6AblZE4tffM7mpEuJy0X4TuSr1vRy%2BoJzHKb3BDNZ9JOaroniQGlyKB0V1fWHSV0elK3RAkYIEQeRA%3D"}],"group":"cf-nel","max_age":604800}', 'nel': '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}', 'server': 'cloudflare', 'cf-ray': '8f9c2c7ed9632393-SJC', 'alt-svc': 'h3=":443"; ma=86400', 'server-timing': 'cfL4;desc="?proto=TCP&rtt=26452&min_rtt=26110&rtt_var=7953&sent=4&recv=7&lost=0&retrans=0&sent_bytes=2833&recv_bytes=842&delivery_rate=104146&cwnd=234&unsent_bytes=0&cid=fe7b7f59b453b23d&ts=112&x=0"')>, payload=b'{"error":"Not found"}', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JrdError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90856690>, 'Invalid key: error')]>
./tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:113

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:25:03.276067Z, ended 2024:12:29-19:25:03.361714Z (duration: 0:00:00.085647)

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:25:03.362316Z, ended 2024:12:29-19:25:03.577953Z (duration: 0:00:00.215637)

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:25:03.578071Z, ended 2024:12:29-19:25:03.772515Z (duration: 0:00:00.194444)

Passed

Test Run Session Metadata

Started 2024:12:29-19:24:58.238879Z
Ended 2024:12:29-19:25:03.773509Z (total: 0:00:05.534630)
Platform Linux-6.8.0-1-aarch64-ARCH-aarch64-with-glibc2.35
FediTest version 0.6.dev20241229191155