Case
sendspin-server-cpp -> aiosendspin
Start the server first, then the client. The client discovers or looks up the server and initiates the WebSocket connection, the server streams album artwork, disconnects, and the matrix compares the received bytes against the server's encoded artwork.
Server
sendspin-server-cpp
Client
aiosendspin
Status
Passed
Artwork bytes match
Server activation
Initial server/activate
What the sendspin-server-cpp server's own adapter recorded for its first server/activate on this connection, reported as sent. The case fails when none was sent, when its activities are not unique values from playback and pairing, or when it omits active_roles. Nothing else in it is checked against the specification: which activities and roles the matched PSK allows is not judged. A recording that cannot be read as that message is shown whole and not judged either.
Server group state
Every group/update after activation
What the sendspin-server-cpp server's own adapter recorded for each group/update it sent after its first server/activate on this connection, in order and reported as sent. The case fails when none followed, or when in any of them playback_state is not playing or stopped, or group_id or group_name is missing or not a string. How soon the first followed is not judged, because the specification says promptly and gives no bound, so one sent at any point in the case counts. Whether a change to a field produced a further message is not judged either. A recording of anything other than that message is shown whole and fails the case as a harness gap.
1 of 1
Inspection
Summaries, logs, and builds
Matrix result
RAW{
"case_dir": "artifacts/results/data/macos__client-initiated-artwork__sendspin-server-cpp__to__aiosendspin",
"client_exit_code": 0,
"client_impl": "aiosendspin",
"reason": "Artwork bytes match",
"scenario_id": "client-initiated-artwork",
"scenario_revision": 1,
"server_exit_code": 0,
"server_impl": "sendspin-server-cpp",
"status": "passed",
"unsupported": false
}Server summary (JSON)
RAW{
"activation": {
"payload": {
"active_roles": [
"artwork@v1"
],
"activities": []
},
"type": "server/activate"
},
"artwork": {
"byte_count": 2587,
"channel": 0,
"encoded_sha256": "a26c41e162cc6642a8e8476b98bbd6536ba80dfa3caa7ffb307023e609736421",
"format": "jpeg",
"height": 256,
"source": "album",
"width": 256
},
"availability_trace": [
{
"available": true,
"type": "client/state"
},
{
"phase": "sending",
"roles": [
"artwork"
],
"type": "stream/start"
},
{
"phase": "sent",
"roles": [
"artwork"
],
"type": "stream/start"
}
],
"client": {
"active_roles": [
"artwork@v1"
],
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"name": "aiosendspin-client",
"supported_roles": [
"artwork@v1"
]
},
"discovery_method": "registry",
"group_updates": [
{
"payload": {
"group_id": "1",
"group_name": "sendspin-server-cpp server",
"playback_state": "stopped"
},
"type": "group/update"
}
],
"implementation": "sendspin-server-cpp",
"initiator_role": "client",
"peer_hello": {
"payload": {
"name": "aiosendspin-client",
"supported_pair_methods": {
"pairing_psk": {}
},
"supported_roles": [
"artwork@v1"
],
"unpaired_access": {
"enabled": true
}
},
"type": "client/hello"
},
"preferred_codec": "none",
"role": "server",
"scenario_id": "client-initiated-artwork",
"server_id": "SgonN5c4eGzaA6O9XJyQbK4jKX5aSqcsh-GCGeLKiAc",
"server_name": "sendspin-server-cpp server",
"status": "ok",
"time_exchange": [
{
"payload": {
"client_transmitted": 1232852039
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1232852039,
"server_received": 1232852111,
"server_transmitted": 1232852146
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1233056174
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1233056174,
"server_received": 1233056465,
"server_transmitted": 1233056598
},
"type": "server/time"
},
{
"payload": {
"client_transmitted": 1233258738
},
"type": "client/time"
},
{
"payload": {
"client_transmitted": 1233258738,
"server_received": 1233259141,
"server_transmitted": 1233259295
},
"type": "server/time"
}
]
}Server log
RAWsendspin-server-cpp: "aiosendspin-client" at 127.0.0.1:49539 connected
listener: client aiosendspin-client disconnected: server stopped
{
"status": "ok",
"implementation": "sendspin-server-cpp",
"role": "server",
"server_name": "sendspin-server-cpp server",
"scenario_id": "client-initiated-artwork",
"initiator_role": "client",
"preferred_codec": "none",
"server_id": "SgonN5c4eGzaA6O9XJyQbK4jKX5aSqcsh-GCGeLKiAc",
"discovery_method": "registry",
"peer_hello": {
"payload": {
"name": "aiosendspin-client",
"supported_roles": [
"artwork@v1"
],
"supported_pair_methods": {
"pairing_psk": {}
},
"unpaired_access": {
"enabled": true
}
},
"type": "client/hello"
},
"activation": {
"type": "server/activate",
"payload": {
"activities": [],
"active_roles": [
"artwork@v1"
]
}
},
"group_updates": [
{
"type": "group/update",
"payload": {
"playback_state": "stopped",
"group_id": "1",
"group_name": "sendspin-server-cpp server"
}
}
],
"availability_trace": [
{
"type": "client/state",
"available": true
},
{
"type": "stream/start",
"phase": "sending",
"roles": [
"artwork"
]
},
{
"type": "stream/start",
"phase": "sent",
"roles": [
"artwork"
]
}
],
"time_exchange": [
{
"payload": {
"client_transmitted": 1232852039
},
"type": "client/time"
},
{
"type": "server/time",
"payload": {
"client_transmitted": 1232852039,
"server_received": 1232852111,
"server_transmitted": 1232852146
}
},
{
"payload": {
"client_transmitted": 1233056174
},
"type": "client/time"
},
{
"type": "server/time",
"payload": {
"client_transmitted": 1233056174,
"server_received": 1233056465,
"server_transmitted": 1233056598
}
},
{
"payload": {
"client_transmitted": 1233258738
},
"type": "client/time"
},
{
"type": "server/time",
"payload": {
"client_transmitted": 1233258738,
"server_received": 1233259141,
"server_transmitted": 1233259295
}
}
],
"client": {
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"name": "aiosendspin-client",
"supported_roles": [
"artwork@v1"
],
"active_roles": [
"artwork@v1"
]
},
"artwork": {
"channel": 0,
"source": "album",
"format": "jpeg",
"width": 256,
"height": 256,
"encoded_sha256": "a26c41e162cc6642a8e8476b98bbd6536ba80dfa3caa7ffb307023e609736421",
"byte_count": 2587
}
}
Client summary (JSON)
RAW{
"artwork": {
"byte_count": 2587,
"channel": 0,
"received_count": 2,
"received_sha256": "a26c41e162cc6642a8e8476b98bbd6536ba80dfa3caa7ffb307023e609736421"
},
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"client_name": "aiosendspin-client",
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": null,
"preferred_codec": "none",
"role": "client",
"scenario_id": "client-initiated-artwork",
"server": null,
"status": "ok",
"stream": {
"channels": [
{
"format": "jpeg",
"height": 256,
"source": "album",
"width": 256
}
]
}
}Client log
RAWINFO:aiosendspin.client.client:Connecting to Sendspin server at ws://127.0.0.1:19077/sendspin
{
"artwork": {
"byte_count": 2587,
"channel": 0,
"received_count": 2,
"received_sha256": "a26c41e162cc6642a8e8476b98bbd6536ba80dfa3caa7ffb307023e609736421"
},
"client_id": "rFgILqo5YfPor8oK13GTFmECUaxYcW46Q1TFv8F38Xg",
"client_name": "aiosendspin-client",
"implementation": "aiosendspin",
"initiator_role": "client",
"peer_hello": null,
"preferred_codec": "none",
"role": "client",
"scenario_id": "client-initiated-artwork",
"server": null,
"status": "ok",
"stream": {
"channels": [
{
"format": "jpeg",
"height": 256,
"source": "album",
"width": 256
}
]
}
}
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x10aa22c60>
Server build log · sendspin-server-cpp-server · built · 161.45s
RAWp-server.dir/trace_recorder.cpp.o
[100%] Linking CXX executable conformance-sendspin-server-cpp-server
[100%] Built target conformance-sendspin-server-cpp-server
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
21 | #if (HAS_SIZEOF_INT128_64BIT || HAS_MSVC_64BIT || HAS_GCC_4_4_64BIT)
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:17:34: note: expanded from macro 'HAS_SIZEOF_INT128_64BIT'
17 | #define HAS_SIZEOF_INT128_64BIT (defined(__SIZEOF_INT128__) && defined(__LP64__))
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:6: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:17:64: note: expanded from macro 'HAS_SIZEOF_INT128_64BIT'
17 | #define HAS_SIZEOF_INT128_64BIT (defined(__SIZEOF_INT128__) && defined(__LP64__))
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:33: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
21 | #if (HAS_SIZEOF_INT128_64BIT || HAS_MSVC_64BIT || HAS_GCC_4_4_64BIT)
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:18:25: note: expanded from macro 'HAS_MSVC_64BIT'
18 | #define HAS_MSVC_64BIT (defined(_MSC_VER) && defined(_M_X64))
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:33: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:18:46: note: expanded from macro 'HAS_MSVC_64BIT'
18 | #define HAS_MSVC_64BIT (defined(_MSC_VER) && defined(_M_X64))
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:51: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
21 | #if (HAS_SIZEOF_INT128_64BIT || HAS_MSVC_64BIT || HAS_GCC_4_4_64BIT)
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:19:28: note: expanded from macro 'HAS_GCC_4_4_64BIT'
19 | #define HAS_GCC_4_4_64BIT (defined(__GNUC__) && defined(__LP64__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))))
| ^
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:21:51: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
/Users/runner/work/conformance/conformance/adapters/sendspin-server-cpp/server/build/_deps/noise_c-src/src/crypto/donna/poly1305-donna.c:19:49: note: expanded from macro 'HAS_GCC_4_4_64BIT'
19 | #define HAS_GCC_4_4_64BIT (defined(__GNUC__) && defined(__LP64__) && ((__GNUC__ > 4) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4))))
| ^
6 warnings generated.Client build log · python-adapters · built · 0.24s
RAW.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/audio_transformers.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/capabilities.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/events.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/group.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/types.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/player/v1.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/registry.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/scheduled_state.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/source'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/events.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/stream.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/source/v1.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/visualizer'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/features.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/group.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/packing.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/types.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer/v1.py'... Listing 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/__init__.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/features.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/packing.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/roles/visualizer_draft_r1/role.py'... Compiling 'src/conformance/_vendor/aiosendspin/server/server.py'... Compiling 'src/conformance/_vendor/aiosendspin/util.py'... Listing 'src/conformance/adapters'... Compiling 'src/conformance/adapters/__init__.py'... Compiling 'src/conformance/adapters/_aiosendspin_pairing.py'... Compiling 'src/conformance/adapters/_aiosendspin_protocol_evidence.py'... Compiling 'src/conformance/adapters/aiosendspin_client.py'... Compiling 'src/conformance/adapters/aiosendspin_server.py'... Compiling 'src/conformance/adapters/placeholder.py'... Compiling 'src/conformance/cli.py'... Compiling 'src/conformance/flac.py'... Compiling 'src/conformance/merge.py'... Compiling 'src/conformance/pcm.py'... Compiling 'src/conformance/registry.py'... Listing 'src/conformance/validator'... Compiling 'src/conformance/validator/__init__.py'... Compiling 'src/conformance/validator/checks.py'... Compiling 'src/conformance/validator/cli.py'... Compiling 'src/conformance/validator/code_pairing.py'... Compiling 'src/conformance/validator/code_pairing_checks.py'... Compiling 'src/conformance/validator/discovery.py'... Compiling 'src/conformance/validator/findings.py'... Compiling 'src/conformance/validator/noncompliance_refs.py'... Compiling 'src/conformance/validator/prompter.py'... Compiling 'src/conformance/validator/recorder.py'... Compiling 'src/conformance/validator/report.py'... Compiling 'src/conformance/validator/session.py'... Compiling 'src/conformance/validator/storage.py'... Compiling 'src/conformance/validator/suite_checks.py'... Compiling 'src/conformance/validator/suites.py'... Listing 'src/sendspin_conformance.egg-info'... Listing 'scripts'... Compiling 'scripts/detect_regressions.py'... Compiling 'scripts/merge_results.py'... Compiling 'scripts/run_all.py'... Compiling 'scripts/setup_repositories.py'... Compiling 'scripts/setup_workspace.py'... Compiling 'scripts/vendor_aiosendspin.py'...