FediTest: Test Run Session 26/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
9 (50.0%)
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
6
0
3
0
9 (50.0%)
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%)
3 (16.7%)
0 (0.0%)
9 (50.0%)
Skipped
0
Errors
0
Total
18

Constellation

client

ImpInProcessNodeDriver
Imp
0.6.dev20241229191155

server

FediverseSaasNodeDriver
Forgejo
?

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:52.751227Z, ended 2024:12:29-19:17:53.428446Z (duration: 0:00:00.677219)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/plain; charset=utf-8"
2: Expecting value: line 1 column 1 (char 0)
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org&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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org&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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=3ef9c10aa0214d95; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=qmO_CVyv4Xd-nVvO8UhmnKbyLIg6MTczNTQ5OTg3MzMzNTIyNjAwMA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:17:53 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org&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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org&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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=3ef9c10aa0214d95; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=qmO_CVyv4Xd-nVvO8UhmnKbyLIg6MTczNTQ5OTg3MzMzNTIyNjAwMA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:17:53 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
./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:17:53.431057Z, ended 2024:12:29-19:17:54.003073Z (duration: 0:00:00.572016)

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:54.003118Z, ended 2024:12:29-19:17:54.574702Z (duration: 0:00:00.571584)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/plain; charset=utf-8"
2: Expecting value: line 1 column 1 (char 0)
Expected: No exception
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=1f9b7b6882c354bd; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=khEY7LOq6I-Uh6dxC2yTAyHeTM06MTczNTQ5OTg3NDQ4MDkwNjIwNg; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:17:54 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=1f9b7b6882c354bd; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=khEY7LOq6I-Uh6dxC2yTAyHeTM06MTczNTQ5OTg3NDQ4MDkwNjIwNg; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:17:54 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
./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:17:54.578666Z, ended 2024:12:29-19:17:55.187523Z (duration: 0:00:00.608857)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400.
Accessed URI: "https://codeberg.org/.well-known/webfinger".
Expected: <400>
     but: was <404>
./tests/webfinger/server/4_2__3_requires_resource_uri.py:37

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:55.189987Z, ended 2024:12:29-19:17:55.775382Z (duration: 0:00:00.585395)

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:55.775517Z, ended 2024:12:29-19:17:56.365656Z (duration: 0:00:00.590139)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400
Accessed URI: "https://codeberg.org/.well-known/webfinger?resource==acct%3AGusted%40codeberg.org".
Expected: <400>
     but: was <404>
./tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:112

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:56.373410Z, ended 2024:12:29-19:17:56.953434Z (duration: 0:00:00.580024)

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:56.953535Z, ended 2024:12:29-19:17:57.555544Z (duration: 0:00:00.602009)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400
Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=Gusted@codeberg.org".
Expected: <400>
     but: was <404>
./tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:39

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:57.565869Z, ended 2024:12:29-19:17:58.146096Z (duration: 0:00:00.580227)

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:58.146914Z, ended 2024:12:29-19:17:58.726361Z (duration: 0:00:00.579447)

Passed

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:58.726440Z, ended 2024:12:29-19:17:59.300954Z (duration: 0:00:00.574514)

AssertionFailure: AssertionFailure (Must, Problem): Not HTTP status 200.
Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org".
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:17:59.308950Z, ended 2024:12:29-19:18:00.470412Z (duration: 0:00:01.161462)

Passed

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:18:00.470578Z, ended 2024:12:29-19:18:01.060824Z (duration: 0:00:00.590246)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/plain; charset=utf-8"
2: Expecting value: line 1 column 1 (char 0)
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=f0eda4c7c440c303; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=frKdtglVgY4gEIoo8CsbY4D17sQ6MTczNTQ5OTg4MDk2MjQwMDM0Nw; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:00 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=f0eda4c7c440c303; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=frKdtglVgY4gEIoo8CsbY4D17sQ6MTczNTQ5OTg4MDk2MjQwMDM0Nw; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:00 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
./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:18:01.065986Z, ended 2024:12:29-19:18:01.648845Z (duration: 0:00:00.582859)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/plain; charset=utf-8"
2: Expecting value: line 1 column 1 (char 0)
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=8026b30a4719976c; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=eSWNUEJy5awggjrLxi_5IAJFQ3c6MTczNTQ5OTg4MTU1MzMxNzA5OQ; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:01 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=8026b30a4719976c; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=eSWNUEJy5awggjrLxi_5IAJFQ3c6MTczNTQ5OTg4MTU1MzMxNzA5OQ; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:01 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
./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:18:01.650638Z, ended 2024:12:29-19:18:02.234840Z (duration: 0:00:00.584202)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/plain; charset=utf-8"
2: Expecting value: line 1 column 1 (char 0)
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=fa50d0cf741e4036; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=PIcRWXuyq0TzDz64RHjudTTwzFc6MTczNTQ5OTg4MjEzNjYzNjM5NA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:02 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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://codeberg.org/.well-known/webfinger?resource=acct%3AGusted%40codeberg.org), 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('access-control-allow-origin': '*', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-type': 'text/plain; charset=utf-8', 'set-cookie': 'i_like_gitea=fa50d0cf741e4036; Path=/; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax, _csrf=PIcRWXuyq0TzDz64RHjudTTwzFc6MTczNTQ5OTg4MjEzNjYzNjM5NA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax; Secure; SameSite=Lax', 'vary': 'Origin', 'date': 'Sun, 29 Dec 2024 19:18:02 GMT', 'content-length': '10', 'strict-transport-security': 'max-age=63072000; includeSubDomains; preload', 'permissions-policy': 'interest-cohort=()', 'x-frame-options': 'sameorigin', 'x-content-type-options': 'nosniff')>, payload=b'Not Found\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
./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:18:02.243214Z, ended 2024:12:29-19:18:02.633105Z (duration: 0:00:00.389891)

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:18:02.633343Z, ended 2024:12:29-19:18:03.235410Z (duration: 0:00:00.602067)

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:18:03.235533Z, ended 2024:12:29-19:18:03.814437Z (duration: 0:00:00.578904)

Passed

Test Run Session Metadata

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