FediTest: Test Run Session 32/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
11 (61.1%)
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
5
1
1
0
7 (38.9%)
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
5 (27.8%)
1 (5.6%)
1 (5.6%)
0 (0.0%)
7 (38.9%)
Skipped
0
Errors
0
Total
18

Constellation

client

ImpInProcessNodeDriver
Imp
0.6.dev20241229191155

server

FediverseSaasNodeDriver
Gitea
?

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024:12:29-19:19:45.931654Z, ended 2024:12:29-19:19:46.297521Z (duration: 0:00:00.365867)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self":
0: Wrong HTTP content type.
 -> "application/json;charset=utf-8"
1: Alias not absolute URI: "mailto:"
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe&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://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe&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=200, response_headers=<MultiDict('access-control-allow-origin': '*', 'alt-svc': 'h3=":443"; ma=2592000', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-length': '540', 'content-type': 'application/json;charset=utf-8', 'date': 'Sun, 29 Dec 2024 19:19:46 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=a422275740b9bdae; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=YqhhdW8Qm-JK03bLtjFytaJiEvk6MTczNTQ5OTk4NjIzMDUwMzMzMw; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax', 'x-frame-options': 'SAMEORIGIN')>, payload=b'{"subject":"acct:AV18@gitea.moe","aliases":["https://gitea.moe/AV18","https://gitea.moe/api/v1/activitypub/user-id/208","mailto:"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://gitea.moe/AV18"},{"rel":"http://webfinger.net/rel/avatar","href":"https://gitea.moe/avatars/a5ca8ee79b113daedbabc06a57448451"},{"rel":"self","type":"application/activity+json","href":"https://gitea.moe/api/v1/activitypub/user-id/208"},{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://gitea.moe/"}]}\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90956510>, 'Alias not absolute URI: "mailto:"')]>
./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:19:46.304422Z, ended 2024:12:29-19:19:46.615126Z (duration: 0:00:00.310704)

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:19:46.615224Z, ended 2024:12:29-19:19:46.985764Z (duration: 0:00:00.370540)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe":
0: Wrong HTTP content type.
 -> "application/json;charset=utf-8"
1: Alias not absolute URI: "mailto:"
Expected: No exception
     but: was <[WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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=200, response_headers=<MultiDict('access-control-allow-origin': '*', 'alt-svc': 'h3=":443"; ma=2592000', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-length': '540', 'content-type': 'application/json;charset=utf-8', 'date': 'Sun, 29 Dec 2024 19:19:46 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=169c5170cb08c760; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=Gl1911Mznp1Njx_SGQo5aLBX8fU6MTczNTQ5OTk4Njg0NzIwMzg4MA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax', 'x-frame-options': 'SAMEORIGIN')>, payload=b'{"subject":"acct:AV18@gitea.moe","aliases":["https://gitea.moe/AV18","https://gitea.moe/api/v1/activitypub/user-id/208","mailto:"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://gitea.moe/AV18"},{"rel":"http://webfinger.net/rel/avatar","href":"https://gitea.moe/avatars/a5ca8ee79b113daedbabc06a57448451"},{"rel":"self","type":"application/activity+json","href":"https://gitea.moe/api/v1/activitypub/user-id/208"},{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://gitea.moe/"}]}\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90ca2790>, 'Alias not absolute URI: "mailto:"')]>
./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:19:46.987350Z, ended 2024:12:29-19:19:47.228536Z (duration: 0:00:00.241186)

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:19:47.229044Z, ended 2024:12:29-19:19:47.531953Z (duration: 0:00:00.302909)

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:19:47.532040Z, ended 2024:12:29-19:19:47.794565Z (duration: 0:00:00.262525)

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:19:47.794676Z, ended 2024:12:29-19:19:48.115914Z (duration: 0:00:00.321238)

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:19:48.116128Z, ended 2024:12:29-19:19:48.423224Z (duration: 0:00:00.307096)

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:19:48.423319Z, ended 2024:12:29-19:19:48.730340Z (duration: 0:00:00.307021)

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:19:48.730448Z, ended 2024:12:29-19:19:48.982687Z (duration: 0:00:00.252239)

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:19:48.982817Z, ended 2024:12:29-19:19:49.290753Z (duration: 0:00:00.307936)

AssertionFailure: AssertionFailure (Must, Degraded): Wrong content type.
Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe".
Expected: ('application/jrd+json' or a string starting with 'application/jrd+json;')
     but: was 'application/json;charset=utf-8'
./tests/webfinger/server/4_2__9_content_type.py:43

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:19:49.297616Z, ended 2024:12:29-19:19:49.851913Z (duration: 0:00:00.554297)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 404.
Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=foo%3A//gitea.moe".
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:19:49.855061Z, ended 2024:12:29-19:19:50.103508Z (duration: 0:00:00.248447)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe":
0: Wrong HTTP content type.
 -> "application/json;charset=utf-8"
1: Alias not absolute URI: "mailto:"
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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=200, response_headers=<MultiDict('access-control-allow-origin': '*', 'alt-svc': 'h3=":443"; ma=2592000', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-length': '540', 'content-type': 'application/json;charset=utf-8', 'date': 'Sun, 29 Dec 2024 19:19:50 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=c724e2be530bc11a; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=SOMLucPm3TXH2JiB90oq-vFaw246MTczNTQ5OTk5MDA2MDAyMzU1Ng; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax', 'x-frame-options': 'SAMEORIGIN')>, payload=b'{"subject":"acct:AV18@gitea.moe","aliases":["https://gitea.moe/AV18","https://gitea.moe/api/v1/activitypub/user-id/208","mailto:"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://gitea.moe/AV18"},{"rel":"http://webfinger.net/rel/avatar","href":"https://gitea.moe/avatars/a5ca8ee79b113daedbabc06a57448451"},{"rel":"self","type":"application/activity+json","href":"https://gitea.moe/api/v1/activitypub/user-id/208"},{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://gitea.moe/"}]}\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff9096cc10>, 'Alias not absolute URI: "mailto:"')]>
./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:19:50.106636Z, ended 2024:12:29-19:19:50.404039Z (duration: 0:00:00.297403)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe":
0: Wrong HTTP content type.
 -> "application/json;charset=utf-8"
1: Alias not absolute URI: "mailto:"
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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=200, response_headers=<MultiDict('access-control-allow-origin': '*', 'alt-svc': 'h3=":443"; ma=2592000', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-length': '540', 'content-type': 'application/json;charset=utf-8', 'date': 'Sun, 29 Dec 2024 19:19:50 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=a625b453b0fd48d2; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=h4fgbV_83Eiy8G-yPYWPV-xrpsw6MTczNTQ5OTk5MDM0NTc2Njk3MA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax', 'x-frame-options': 'SAMEORIGIN')>, payload=b'{"subject":"acct:AV18@gitea.moe","aliases":["https://gitea.moe/AV18","https://gitea.moe/api/v1/activitypub/user-id/208","mailto:"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://gitea.moe/AV18"},{"rel":"http://webfinger.net/rel/avatar","href":"https://gitea.moe/avatars/a5ca8ee79b113daedbabc06a57448451"},{"rel":"self","type":"application/activity+json","href":"https://gitea.moe/api/v1/activitypub/user-id/208"},{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://gitea.moe/"}]}\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff9092a7d0>, 'Alias not absolute URI: "mailto:"')]>
./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:19:50.409099Z, ended 2024:12:29-19:19:50.657930Z (duration: 0:00:00.248831)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe":
0: Wrong HTTP content type.
 -> "application/json;charset=utf-8"
1: Alias not absolute URI: "mailto:"
Expected: No exception other than: WrongContentTypeError,InvalidMediaTypeError,InvalidRelError
     but: was <[WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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://gitea.moe/.well-known/webfinger?resource=acct%3Aav18%40gitea.moe), 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=200, response_headers=<MultiDict('access-control-allow-origin': '*', 'alt-svc': 'h3=":443"; ma=2592000', 'cache-control': 'max-age=0, private, must-revalidate, no-transform', 'content-length': '540', 'content-type': 'application/json;charset=utf-8', 'date': 'Sun, 29 Dec 2024 19:19:50 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=635fa4042f172434; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=Tt3djW6CCDGmpEWXe8_uCqDqK1Q6MTczNTQ5OTk5MDYxNTM0NjM2MA; Path=/; Max-Age=86400; HttpOnly; Secure; SameSite=Lax', 'x-frame-options': 'SAMEORIGIN')>, payload=b'{"subject":"acct:AV18@gitea.moe","aliases":["https://gitea.moe/AV18","https://gitea.moe/api/v1/activitypub/user-id/208","mailto:"],"links":[{"rel":"http://webfinger.net/rel/profile-page","type":"text/html","href":"https://gitea.moe/AV18"},{"rel":"http://webfinger.net/rel/avatar","href":"https://gitea.moe/avatars/a5ca8ee79b113daedbabc06a57448451"},{"rel":"self","type":"application/activity+json","href":"https://gitea.moe/api/v1/activitypub/user-id/208"},{"rel":"http://openid.net/specs/connect/1.0/issuer","href":"https://gitea.moe/"}]}\n', when_completed=datetime.datetime(2024, 12, 29, 19, 12, 46, 457820, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffff90969a50>, 'Alias not absolute URI: "mailto:"')]>
./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:19:50.659958Z, ended 2024:12:29-19:19:50.860386Z (duration: 0:00:00.200428)

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:19:50.860504Z, ended 2024:12:29-19:19:51.151897Z (duration: 0:00:00.291393)

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:19:51.152316Z, ended 2024:12:29-19:19:51.465807Z (duration: 0:00:00.313491)

Passed

Test Run Session Metadata

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