nad-api-0.2
checks.x86_64-linux.packages-default
· build #31
· raw
unpackPhase
1unpacking source archive /nix/store/qw2xj6w1l9981kmsb8gdkcl19wcchj1z-source2source root is sourceconfigurePhase
3no configure script, doing nothingbuildPhase
4Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build5Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build6Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build7Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build8SLF4J(I): Connected with provider of type [org.slf4j.nop.NOPServiceProvider]9Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/buildcheckPhase
10Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build11Picked up JAVA_TOOL_OPTIONS: -Duser.home=/nix/store/nr5w6qpbrnv0yhwddfgsn07h3axirnyc-clojure-home -Djava.io.tmpdir=/build12--- unit (clojure.test) ---------------------------13ol.nad-api.telnet-test14 parse-command-test15 extracts command name before operator16 returns nil for invalid commands17 parse-introspection-response-test18 parses multi-line introspection response into set of command names19 handles empty response20 filters out lines without equals sign21 send-command-test22 sends query command and returns response23 sends set command and returns response24 sends increment command and returns response25 disconnect-test26 disconnects and closes socket27 disconnecting twice is safe28 introspect-continuous-stream-test29 gives up and closes the socket when the device never pauses30 unwrap-response-test31 strips leading newline and trailing carriage return32 handles response without line endings33 handles partial line endings34 introspect-test35 sends ? command and parses supported commands36 filters supported commands against registry37 make-config-test38 creates config with host and defaults39 allows overriding port40 allows overriding timeout41 allows overriding both42 default-config-test43 default-config has expected structure44 introspect-peer-close-test45 fails and closes the socket when the device hangs up after the model line46 send-command-peer-close-test47 fails and closes the socket when the device hangs up instead of replying48 wrap-command-test49 wraps command with telnet line endings50 send-command-validation-test51 allows supported commands after introspection52 throws for unsupported commands after introspection53 allows any command without introspection54 parse-response-test55 extracts value after equals sign56 returns nil for response without equals57 handles values containing equals sign58 finds specific command in multi-line response59 returns nil when command not found in multi-line60 handles T778-style temperature dump61 connect-test62 connects to NAD receiver and returns connection63 reads initial model response on connect6465ol.nad-api.commands-test66 commands-registry-test67 commands map exists and contains expected Main domain keys68 commands map contains Zone2 domain keys69 each command has required keys70 valid-operator-test71 validates operators for main commands72 model and version only support query operator73 zone2 commands support standard operators74 returns false for unknown commands75 build-command-test76 builds query commands77 builds set commands with values78 builds increment/decrement commands7980ol.nad-api.sockets-test81 read-until-deadline-test82 gives up at the deadline when the peer drips bytes without a delimiter83 read-until-deadline-silent-peer-test84 gives up at the deadline even when the idle timeout is longer85 read-until-eof-test86 throws EOFException when the peer closes the connection87 connect-test88 connects to a server and returns a socket89 throws on connection timeout to unreachable host90 close-test91 closes an open socket92 closing already closed socket is safe93 write-test94 writes string to socket95 read-until-test96 reads until delimiter character97 reads multiple segments until delimiter9899ol.nad-api.web-test100 make-device-routes-test101 generates routes for device with commands plus discovery and reconnect102 device discovery route has only GET handler103 reconnect route has only POST handler104 command routes have GET and POST handlers105 returns discovery and reconnect routes even for empty commands106 available-commands-test107 intersects supported-commands with registry108 returns empty set when no overlap109 returns empty set for nil input110 returns empty set for empty input111 handler-device-discovery-test112 GET /api/{device} returns device info and supported commands113 handler-recovers-from-disconnected-startup-test114 command routes work after a device starts disconnected115 handler-get-test116 GET queries device and returns JSON117 GET returns 404 for unknown command118 GET returns 404 for unknown device119 handler-post-test120 POST with = operator sets value121 POST with + operator increments122 POST returns 400 for missing operator123 POST returns 400 for invalid operator124 POST returns 400 for missing value with = operator125 handler-api-root-test126 GET /api returns list of all devices127 handler-unsupported-command-keeps-connection-test128 a command the device does not support leaves the connection open129 handler-keeps-replacement-connection-test130 a request failing on a stale connection leaves the replacement open131 handler-serializes-concurrent-reconnects-test132 concurrent requests on a disconnected device open a single connection133 handler-shares-failed-reconnect-test134 requests that waited on a failed reconnect fail without dialing again135 handler-multiple-devices-test136 handler supports multiple devices137138ol.nad-api-test139 e2e-home-assistant-workflow-test140 simulates Home Assistant switch integration workflow141 e2e-query-state-test142 GET request returns current device state143 e2e-set-power-test144 POST request changes device power state145 e2e-source-selection-test146 source can be changed147 find-config-file-test148 uses --config-file option first when file exists149 falls back to ./config.edn when it exists150 exception contains searched paths and hint151 prefers --config-file over ./config.edn152 xdg-config-home-test153 returns path ending with .config when XDG_CONFIG_HOME not set154 e2e-connection-and-introspection-test155 connects to device and discovers supported commands156 parse-args-test157 parses --config-file option158 returns empty map for no args159 ignores unknown args160 handles --config-file at end of args161 system-starts-when-device-is-unreachable-test162 api/start does not fail when a configured device is offline163 e2e-error-handling-test164 returns 404 for unknown commands165 returns 400 for invalid operator166 returns 400 for missing value with = operator167 e2e-mute-toggle-test168 mute can be toggled on and off169 e2e-volume-control-test170 volume can be set, incremented, and decremented17117249 tests, 264 assertions, 0 failures.173checkPhase completed in 54 secondsfixupPhase
174shrinking RPATHs of ELF executables and libraries in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2175checking for references to /build/ in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2...176patching script interpreter paths in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2177stripping (with command strip and flags -S -p) in /nix/store/yw1326z7icdi561a75s6dn9iwi5kh06m-nad-api-0.2/bin178shrinking RPATHs of ELF executables and libraries in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib179checking for references to /build/ in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib...180patching script interpreter paths in /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib181making symlink relative: /nix/store/7kqgl8ry72bfdl9p6k0sa5v1jiy7pvbf-nad-api-0.2-lib/uber.jar