Feditest: momostr

feditest-run-2024-06-16T22-41-50.971358Z [Test Matrix]

Test Run Summary

Status Count
Passed
7
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
7
0
3
0
10
Should
0
0
0
0
0
Implied
0
0
0
0
0
Unspecified
0
0
0
0
0
Total
7
0
3
0
10
Skipped
0
Errors
0
Total
17

Constellation

client
ImpInProcessNodeDriver
Imp
0.0.2
server
SaasFediverseNodeDriver
momostr
?
Parameters:
app momostr
hostname momostr.pink
existing-account-uri acct:npub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx@momostr.pink
nonexisting-account-uri acct:does-not-exist@momostr.pink

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024-06-16T22:53:52.726229+00:00, ended 2024-06-16T22:53:53.408829+00:00

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink&rel=http%3A//webfinger.net/rel/profile-page&rel=something-else&rel=self". -> "application/json"
Expected: None
     but: was  "application/json">
../feditest-tests-fediverse//tests/webfinger/server/4_1__2_parameter_ordering_not_significant.py:30

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-06-16T22:53:53.410543+00:00, ended 2024-06-16T22:53:53.738670+00:00

Passed

Test: webfinger.server.4_2__2_perform_query::normal_query

Perform a normal, simple query on an existing account.

Started 2024-06-16T22:53:53.738741+00:00, ended 2024-06-16T22:53:53.842247+00:00

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink". -> "application/json"
Expected: None
     but: was  "application/json">
../feditest-tests-fediverse//tests/webfinger/server/4_2__2_perform_query.py:19

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-06-16T22:53:53.843922+00:00, ended 2024-06-16T22:53:54.155846+00:00

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-06-16T22:53:54.155934+00:00, ended 2024-06-16T22:53:54.361798+00:00

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-06-16T22:53:54.361889+00:00, ended 2024-06-16T22:53:54.760302+00:00

AssertionFailure: Not HTTP status 400
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource==acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink".
Expected: <400>
     but: was <404>
../feditest-tests-fediverse//tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:103

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-06-16T22:53:54.762025+00:00, ended 2024-06-16T22:53:54.862443+00:00

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-06-16T22:53:54.862478+00:00, ended 2024-06-16T22:53:55.188196+00:00

AssertionFailure: Not HTTP status 4xx.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=npub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx@momostr.pink".
Expected: (a value greater than or equal to <400> and a value less than <500>)
     but: a value greater than or equal to <400> was <200>
../feditest-tests-fediverse//tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:28

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-06-16T22:53:55.189955+00:00, ended 2024-06-16T22:53:55.289971+00:00

AssertionFailure: Returns JRD content.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=npub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx@momostr.pink".
../feditest-tests-fediverse//tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:63

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-06-16T22:53:55.291770+00:00, ended 2024-06-16T22:53:55.655758+00:00

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-06-16T22:53:55.655845+00:00, ended 2024-06-16T22:53:55.757593+00:00

AssertionFailure: Wrong content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink".
Expected: ('application/jrd+json' or a string starting with 'application/jrd+json;' or a string starting with 'application/xml')
     but: was 'application/json'
../feditest-tests-fediverse//tests/webfinger/server/4_2__9_content_type.py:28

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-06-16T22:53:55.759101+00:00, ended 2024-06-16T22:53:56.391690+00:00

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-06-16T22:53:56.391780+00:00, ended 2024-06-16T22:53:56.492998+00:00

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink". -> "application/json"
Expected: None
     but: was  "application/json">
../feditest-tests-fediverse//tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:149

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-06-16T22:53:56.495131+00:00, ended 2024-06-16T22:53:56.592578+00:00

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink". -> "application/json"
Expected: None
     but: was  "application/json">
../feditest-tests-fediverse//tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:66

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-06-16T22:53:56.593744+00:00, ended 2024-06-16T22:53:56.693312+00:00

AssertionFailure: Wrong HTTP content type.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink". -> "application/json"
Expected: None
     but: was  "application/json">
../feditest-tests-fediverse//tests/webfinger/server/4__1_accepts_all_link_rels_in_query.py:108

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-06-16T22:53:56.695114+00:00, ended 2024-06-16T22:53:56.773843+00:00

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-06-16T22:53:56.773906+00:00, ended 2024-06-16T22:53:56.870859+00:00

AssertionFailure: Missing CORS header.
Accessed URI: "https://momostr.pink/.well-known/webfinger?resource=acct%3Anpub15jnttpymeytm80hatjqcvhhqhzrhx6gxp8pq0wn93rhnu8s9h9dsha32lx%40momostr.pink".
Not present: "access-control-allow-origin".
../feditest-tests-fediverse//tests/webfinger/server/5_1_cors_header_required.py:19

Test Run Metadata

Started 2024-06-16T22:53:52.726131+00:00
Ended 2024-06-16T22:53:56.872590+00:00 (total: 0:00:04.146459)
Platform macOS-14.5-arm64-arm-64bit
Feditest version 0.0.2