Feditest Session Report: Session 34

feditest-run-20241024-220237 [Summary]

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 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.4

server

FediverseSaasNodeDriver
Gitea
?

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024:10:24-22:09:57.125832Z, ended 2024:10:24-22:09:57.470334Z (duration: 0:00:00.344502)

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: an empty collection
     but: was <[InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffffa7baf910>, 'Alias not absolute URI: "mailto:"')]>
../feditest-tests-fediverse/tests/webfinger/server/4_1__2_parameter_ordering_not_significant.py:35

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:10:24-22:09:57.477029Z, ended 2024:10:24-22:09:57.729846Z (duration: 0:00:00.252817)

Passed

Test: webfinger.server.4_2__2_perform_query::normal_query

Perform a normal, simple query on an existing account.

Started 2024:10:24-22:09:57.729904Z, ended 2024:10:24-22:09:57.987476Z (duration: 0:00:00.257572)

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: an empty collection
     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, 10, 24, 22, 2, 37, 617816, 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, 10, 24, 22, 2, 37, 617816, 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': 'Thu, 24 Oct 2024 22:09:57 GMT', 'server': 'Caddy', 'set-cookie': 'i_like_gitea=45050ba31fbef7a7; Path=/; HttpOnly; Secure; SameSite=Lax, _csrf=uc2vQgublNM_bZmfO36YjfaO5DA6MTcyOTgwNzc5NzkxMDIwOTg1MQ; 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, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffffa7bcc410>, 'Alias not absolute URI: "mailto:"')]>
../feditest-tests-fediverse/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:10:24-22:09:57.988811Z, ended 2024:10:24-22:09:58.245395Z (duration: 0:00:00.256584)

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:10:24-22:09:58.245424Z, ended 2024:10:24-22:09:58.496729Z (duration: 0:00:00.251305)

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:10:24-22:09:58.496791Z, ended 2024:10:24-22:09:58.764866Z (duration: 0:00:00.268075)

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:10:24-22:09:58.764982Z, ended 2024:10:24-22:09:59.021743Z (duration: 0:00:00.256761)

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:10:24-22:09:59.021790Z, ended 2024:10:24-22:09:59.279601Z (duration: 0:00:00.257811)

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:10:24-22:09:59.279797Z, ended 2024:10:24-22:09:59.540866Z (duration: 0:00:00.261069)

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:10:24-22:09:59.540960Z, ended 2024:10:24-22:09:59.885050Z (duration: 0:00:00.344090)

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:10:24-22:09:59.885164Z, ended 2024:10:24-22:10:00.139581Z (duration: 0:00:00.254417)

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'
../feditest-tests-fediverse/tests/webfinger/server/4_2__9_content_type.py:44

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:10:24-22:10:00.142166Z, ended 2024:10:24-22:10:00.635558Z (duration: 0:00:00.493392)

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>
../feditest-tests-fediverse/tests/webfinger/server/4_5__1_any_uri_scheme_for_resource_identifiers.py:38

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:10:24-22:10:00.637050Z, ended 2024:10:24-22:10:00.900998Z (duration: 0:00:00.263948)

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: an empty collection
     but: was <[InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffffa7d72f10>, 'Alias not absolute URI: "mailto:"')]>
../feditest-tests-fediverse/tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:160

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:10:24-22:10:00.903403Z, ended 2024:10:24-22:10:01.166455Z (duration: 0:00:00.263052)

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: an empty collection
     but: was <[InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffffa7bfa590>, 'Alias not absolute URI: "mailto:"')]>
../feditest-tests-fediverse/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:10:24-22:10:01.173831Z, ended 2024:10:24-22:10:01.434952Z (duration: 0:00:00.261121)

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: an empty collection
     but: was <[InvalidUriError(<feditest.protocols.webfinger.diag.ClaimedJrd object at 0xffffa7bc6b10>, 'Alias not absolute URI: "mailto:"')]>
../feditest-tests-fediverse/tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:115

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:10:24-22:10:01.437362Z, ended 2024:10:24-22:10:01.723335Z (duration: 0:00:00.285973)

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:10:24-22:10:01.723411Z, ended 2024:10:24-22:10:02.008876Z (duration: 0:00:00.285465)

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:10:24-22:10:02.008980Z, ended 2024:10:24-22:10:02.314984Z (duration: 0:00:00.306004)

Passed

Test Run Metadata

Started 2024:10:24-22:09:57.124920Z
Ended 2024:10:24-22:10:02.315133Z (total: 0:00:05.190213)
Platform Linux-6.11.3-1-aarch64-ARCH-aarch64-with-glibc2.35
Feditest version 0.4