Running phase: unpackPhase unpacking source archive /nix/store/qw2xj6w1l9981kmsb8gdkcl19wcchj1z-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build SLF4J(I): Connected with provider of type [org.slf4j.nop.NOPServiceProvider] Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build Running phase: checkPhase Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build --- unit (clojure.test) --------------------------- ol.nad-api.telnet-test parse-command-test extracts command name before operator returns nil for invalid commands parse-introspection-response-test parses multi-line introspection response into set of command names handles empty response filters out lines without equals sign send-command-test sends query command and returns response sends set command and returns response sends increment command and returns response disconnect-test disconnects and closes socket disconnecting twice is safe introspect-continuous-stream-test gives up and closes the socket when the device never pauses unwrap-response-test strips leading newline and trailing carriage return handles response without line endings handles partial line endings introspect-test sends ? command and parses supported commands filters supported commands against registry make-config-test creates config with host and defaults allows overriding port allows overriding timeout allows overriding both default-config-test default-config has expected structure introspect-peer-close-test fails and closes the socket when the device hangs up after the model line send-command-peer-close-test fails and closes the socket when the device hangs up instead of replying wrap-command-test wraps command with telnet line endings send-command-validation-test allows supported commands after introspection throws for unsupported commands after introspection allows any command without introspection parse-response-test extracts value after equals sign returns nil for response without equals handles values containing equals sign finds specific command in multi-line response returns nil when command not found in multi-line handles T778-style temperature dump connect-test connects to NAD receiver and returns connection reads initial model response on connect ol.nad-api.commands-test commands-registry-test commands map exists and contains expected Main domain keys commands map contains Zone2 domain keys each command has required keys valid-operator-test validates operators for main commands model and version only support query operator zone2 commands support standard operators returns false for unknown commands build-command-test builds query commands builds set commands with values builds increment/decrement commands ol.nad-api.sockets-test read-until-deadline-test gives up at the deadline when the peer drips bytes without a delimiter read-until-deadline-silent-peer-test gives up at the deadline even when the idle timeout is longer read-until-eof-test throws EOFException when the peer closes the connection connect-test connects to a server and returns a socket throws on connection timeout to unreachable host close-test closes an open socket closing already closed socket is safe write-test writes string to socket read-until-test reads until delimiter character reads multiple segments until delimiter ol.nad-api.web-test make-device-routes-test generates routes for device with commands plus discovery and reconnect device discovery route has only GET handler reconnect route has only POST handler command routes have GET and POST handlers returns discovery and reconnect routes even for empty commands available-commands-test intersects supported-commands with registry returns empty set when no overlap returns empty set for nil input returns empty set for empty input handler-device-discovery-test GET /api/{device} returns device info and supported commands handler-recovers-from-disconnected-startup-test command routes work after a device starts disconnected handler-get-test GET queries device and returns JSON GET returns 404 for unknown command GET returns 404 for unknown device handler-post-test POST with = operator sets value POST with + operator increments POST returns 400 for missing operator POST returns 400 for invalid operator POST returns 400 for missing value with = operator handler-api-root-test GET /api returns list of all devices handler-unsupported-command-keeps-connection-test a command the device does not support leaves the connection open handler-keeps-replacement-connection-test a request failing on a stale connection leaves the replacement open handler-serializes-concurrent-reconnects-test concurrent requests on a disconnected device open a single connection handler-shares-failed-reconnect-test requests that waited on a failed reconnect fail without dialing again handler-multiple-devices-test handler supports multiple devices ol.nad-api-test e2e-home-assistant-workflow-test simulates Home Assistant switch integration workflow e2e-query-state-test GET request returns current device state e2e-set-power-test POST request changes device power state e2e-source-selection-test source can be changed find-config-file-test uses --config-file option first when file exists falls back to ./config.edn when it exists exception contains searched paths and hint prefers --config-file over ./config.edn xdg-config-home-test returns path ending with .config when XDG_CONFIG_HOME not set e2e-connection-and-introspection-test connects to device and discovers supported commands parse-args-test parses --config-file option returns empty map for no args ignores unknown args handles --config-file at end of args system-starts-when-device-is-unreachable-test api/start does not fail when a configured device is offline e2e-error-handling-test returns 404 for unknown commands returns 400 for invalid operator returns 400 for missing value with = operator e2e-mute-toggle-test mute can be toggled on and off e2e-volume-control-test volume can be set, incremented, and decremented 49 tests, 264 assertions, 0 failures. checkPhase completed in 54 seconds Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2 checking for references to /build/ in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2... patching script interpreter paths in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2 stripping (with command strip and flags -S -p) in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2/bin shrinking RPATHs of ELF executables and libraries in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib checking for references to /build/ in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib... patching script interpreter paths in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib making symlink relative: /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib/uber.jar