Feditest Session Report: Session 4

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
8 (44.4%)
Failed
Interoperability
Compromised Degraded Unaffected Unknown Total
Conformance Must
7
0
3
0
10 (55.6%)
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
7 (38.9%)
0 (0.0%)
3 (16.7%)
0 (0.0%)
10 (55.6%)
Skipped
0
Errors
0
Total
18

Constellation

client

ImpInProcessNodeDriver
Imp
0.4

server

FediverseSaasNodeDriver
apogee
?

Test Results

Test: webfinger.server.4_1__2_parameter_ordering_not_significant::parameter_ordering

Parameter ordering is not significant.

Started 2024:10:24-22:03:22.150775Z, ended 2024:10:24-22:03:23.591158Z (duration: 0:00:01.440383)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work&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/html"
2: Expecting value: line 1 column 1 (char 0)
Expected: an empty collection
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work&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, 10, 24, 22, 2, 37, 617816, tzinfo=datetime.timezone.utc)), final_request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work&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, 10, 24, 22, 2, 37, 617816, tzinfo=datetime.timezone.utc)), response=HttpResponse(http_status=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:23 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
../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:03:23.596035Z, ended 2024:10:24-22:03:24.226602Z (duration: 0:00:00.630567)

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:03:24.226704Z, ended 2024:10:24-22:03:24.946081Z (duration: 0:00:00.719377)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/html"
2: Expecting value: line 1 column 1 (char 0)
Expected: an empty collection
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:24 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), WrongContentTypeError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:24 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
../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:03:24.950379Z, ended 2024:10:24-22:03:25.602565Z (duration: 0:00:00.652186)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400.
Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger".
Expected: <400>
     but: was <404>
../feditest-tests-fediverse/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:10:24-22:03:25.606109Z, ended 2024:10:24-22:03:26.266815Z (duration: 0:00:00.660706)

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:03:26.266994Z, ended 2024:10:24-22:03:27.003967Z (duration: 0:00:00.736973)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400
Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource==acct%3Ateknomunk%40apogee.polaris-1.work".
Expected: <400>
     but: was <404>
../feditest-tests-fediverse/tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:114

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:03:27.008097Z, ended 2024:10:24-22:03:27.719174Z (duration: 0:00:00.711077)

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:03:27.719339Z, ended 2024:10:24-22:03:28.498648Z (duration: 0:00:00.779309)

AssertionFailure: AssertionFailure (Must, Unaffected): Not HTTP status 400
Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=teknomunk@apogee.polaris-1.work".
Expected: <400>
     but: was <404>
../feditest-tests-fediverse/tests/webfinger/server/4_2__4_do_not_accept_malformed_resource_parameters.py:40

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:03:28.510797Z, ended 2024:10:24-22:03:29.147882Z (duration: 0:00:00.637085)

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:03:29.148162Z, ended 2024:10:24-22:03:29.801151Z (duration: 0:00:00.652989)

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:03:29.801318Z, ended 2024:10:24-22:03:30.505074Z (duration: 0:00:00.703756)

AssertionFailure: AssertionFailure (Must, Problem): Not HTTP status 200.
Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work".
Expected: <200>
     but: was <404>
../feditest-tests-fediverse/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:10:24-22:03:30.511395Z, ended 2024:10:24-22:03:31.862297Z (duration: 0:00:01.350902)

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:10:24-22:03:31.862584Z, ended 2024:10:24-22:03:32.576485Z (duration: 0:00:00.713901)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/html"
2: Expecting value: line 1 column 1 (char 0)
Expected: an empty collection
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:32 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
../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:03:32.579452Z, ended 2024:10:24-22:03:33.199913Z (duration: 0:00:00.620461)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/html"
2: Expecting value: line 1 column 1 (char 0)
Expected: an empty collection
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:33 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
../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:03:33.201399Z, ended 2024:10:24-22:03:33.867888Z (duration: 0:00:00.666489)

AssertionFailure: AssertionFailure (Must, Problem): Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work":
0: Wrong HTTP status code.
 -> 404
1: Wrong HTTP content type.
 -> "text/html"
2: Expecting value: line 1 column 1 (char 0)
Expected: an empty collection
     but: was <[WrongHttpStatusError(HttpRequestResponsePair(request=HttpRequest(parsed_uri=ParsedNonAcctUri(https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work), 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=404, response_headers=<MultiDict('server': 'nginx/1.27.2', 'date': 'Thu, 24 Oct 2024 22:03:33 GMT', 'content-type': 'text/html', 'content-length': '153', 'connection': 'keep-alive')>, payload=b'<html>\r\n<head><title>404 Not Found</title></head>\r\n<body>\r\n<center><h1>404 Not Found</h1></center>\r\n<hr><center>nginx/1.27.2</center>\r\n</body>\r\n</html>\r\n', when_completed=datetime.datetime(2024, 10, 24, 22, 2, 37, 618161, tzinfo=datetime.timezone.utc)))), JSONDecodeError('Expecting value: line 1 column 1 (char 0)')]>
../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:03:33.875160Z, ended 2024:10:24-22:03:34.049984Z (duration: 0:00:00.174824)

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:03:34.050164Z, ended 2024:10:24-22:03:34.730176Z (duration: 0:00:00.680012)

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:03:34.730219Z, ended 2024:10:24-22:03:35.365432Z (duration: 0:00:00.635213)

AssertionFailure: AssertionFailure (Must, Problem): Missing CORS header.
Accessed URI: "https://apogee.polaris-1.work/.well-known/webfinger?resource=acct%3Ateknomunk%40apogee.polaris-1.work".
Not present: "access-control-allow-origin".
../feditest-tests-fediverse/tests/webfinger/server/5_1_cors_header_required.py:21

Test Run Metadata

Started 2024:10:24-22:03:22.150595Z
Ended 2024:10:24-22:03:35.374048Z (total: 0:00:13.223453)
Platform Linux-6.11.3-1-aarch64-ARCH-aarch64-with-glibc2.35
Feditest version 0.4