ankaios
ankaios copied to clipboard
Add utests, itests and stests for uncovered SWDDs
Description
The following SWDDs are uncovered by itests or stests:
not ok - 0/1>0>0/0 - swdd~agent-default-communication-grpc~1 (impl, -itest)
not ok - 0/3>0>0/0 - swdd~agent-manager-listens-requests-from-server~1 (impl, -itest, utest)
not ok - 0/1>0>0/0 - swdd~agent-sends-hello~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~agent-shall-use-interfaces-to-server~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~agent-supports-podman~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~cli-communication-over-middleware~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~communication-to-from-agent-middleware~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~communication-to-from-server-middleware~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-agent-connection-creates-execution-command-channel~1 (impl, -itest)
not ok - 0/7>0>0/0 - swdd~grpc-agent-connection-forwards-commands-to-server~1 (impl, -itest, utest)
not ok - 0/1>0>0/0 - swdd~grpc-agent-connection-forwards-hello-to-ankaios-server~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-agent-connection-responds-with-execution-channel-rx~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-agent-connection-sends-agent-gone~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-agent-connection-stores-execution-channel-tx~1 (impl, -itest)
not ok - 0/2>0>0/0 - swdd~grpc-client-connects-with-agent-hello~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-client-connects-with-unique-cli-connection-name~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-client-creates-state-change-channel~1 (impl, -itest)
not ok - 0/7>0>0/0 - swdd~grpc-client-forwards-commands-to-agent~1 (impl, -itest, utest)
not ok - 0/4>0>0/0 - swdd~grpc-client-forwards-commands-to-grpc-agent-connection~1 (impl, -itest, utest)
not ok - 0/1>0>0/0 - swdd~grpc-client-never-retries-cli-connection~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-client-outputs-error-server-connection-loss-for-cli-connection~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-client-outputs-error-server-unavailability-for-cli-connection~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-client-retries-connection~2 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-server-creates-agent-connection~1 (impl, -itest)
not ok - 0/4>0>0/0 - swdd~grpc-server-forwards-commands-to-grpc-client~1 (impl, -itest)
not ok - 0/1>0>0/0 - swdd~grpc-server-spawns-tonic-service~1 (impl, -itest)
not ok - 0/5>0>0/0 - swdd~podman-workload-creates-container~1 (impl, -stest, utest)
not ok - 0/3>0>0/0 - swdd~podman-workload-deletes-container~1 (impl, -stest, utest)
not ok - 0/4>0>0/0 - swdd~podman-workload-pulls-container~2 (impl, -stest, utest)
not ok - 0/5>0>0/0 - swdd~podman-workload-sends-workload-state~1 (impl, -itest, utest)
not ok - 0/5>0>0/0 - swdd~podman-workload-starts-container~1 (impl, -stest, utest)
not ok - 0/3>0>0/0 - swdd~podman-workload-stops-container~1 (impl, -stest, utest)
not ok - 0/1>0>0/0 - swdd~server-default-communication-grpc~1 (impl, -itest)
not ok - 0/2>0>0/0 - swdd~server-detects-changed-workload~1 (impl, -itest, utest)
not ok - 0/2>0>0/0 - swdd~server-detects-deleted-workload~1 (impl, -itest, utest)
not ok - 0/2>0>0/0 - swdd~server-detects-new-workload~1 (impl, -itest, utest)
Goals
All SWDDs listed above are covered by utest, itests or stests.
Final result
Summary
To be filled when the final solution is sketched.
Tasks
-itest
means itest is missing.
-stest
means stest is missing.
-impl
means impl is missing or not linked.
-utest
means utest is missing.
- [ ] Create integration test concept
- [ ]
swdd~agent-shall-use-interfaces-to-server~1 -itest
- [ ]
swdd~agent-default-communication-grpc~1 -itest
- [ ]
swdd~agent-forward-responses-to-control-interface-pipe~1 -stest
- [ ] #316
- [ ]
swdd~agent-sends-hello~1 -itest
- [ ]
swdd~agent-manager-listens-requests-from-server~1 -itest
- [ ]
swdd~cli-communication-over-middleware~1 -itest
- [ ]
swdd~communication-to-from-server-middleware~1 -itest
- [ ]
swdd~communication-to-from-agent-middleware~1 -itest
- [ ]
swdd~common-workload-state-identification~1 -impl
- [ ]
swdd~cli-blocks-until-ankaios-server-responds-set-desired-state~2 -utest
- [x]
swdd~cli-checks-for-final-workload-state~1 -utest
- [x]
swdd~cli-apply-ankaios-manifest-agent-name-overwrite~1 -utest
- [x]
swdd~cli-provides-set-desired-state~1 -utest
- [ ]
swdd~cli-requests-update-state-with-watch~1 -utest
- [ ]
swdd~cli-requests-update-state-with-watch-error~1 -utest
- [ ]
swdd~cli-requests-update-state-with-watch-success~1 -utest
- [x]
swdd~cli-shall-filter-list-of-workloads~1 (linked to orphaned swdd)
- [x]
swdd~cli-shall-sort-list-of-workloads~1 (linked to orphaned swdd)
- [x]
swdd~cli-supports-yaml-to-set-desired-state~1 -impl -utest
- [x]
swdd~cli-watches-workloads~1 -utest
- [x]
swdd~from-server-channel~1 (unwanted coverage utest)
- [x]
swdd~to-server-channel~1 (unwanted coverage utest)
- [ ]
swdd~server-default-communication-grpc~1 -itest
- [ ]
swdd~server-detects-changed-workload~1 -itest
- [ ]
swdd~server-detects-deleted-workload~1 -itest
- [ ]
swdd~server-detects-new-workload~1 -itest
- [ ]
swdd~stored-workload-spec-parses-yaml~1 -impl -utest
- [ ]
swdd~stored-workload-spec-checks-unique-name~1 -impl -utest
- [ ]
swdd~grpc-agent-connection-creates-from-server-channel~1 -itest
- [ ]
swdd~grpc-agent-connection-forwards-hello-to-ankaios-server~1 -itest
- [ ]
swdd~grpc-agent-connection-forwards-commands-to-server~1 -itest
- [ ]
swdd~grpc-agent-connection-responds-with-from-server-channel-rx~1 -itest
- [ ]
swdd~grpc-agent-connection-sends-agent-gone~1 -itest
- [ ]
swdd~grpc-agent-connection-stores-from-server-channel-tx~1 -itest
- [ ]
swdd~grpc-client-connects-with-agent-hello~1 -itest
- [ ]
swdd~grpc-client-connects-with-unique-cli-connection-name~1 -itest
- [ ]
swdd~grpc-client-creates-to-server-channel~1 -itest
- [ ]
swdd~grpc-client-forwards-from-server-messages-to-agent~1 -itest
- [ ]
swdd~grpc-client-forwards-commands-to-grpc-agent-connection~1 -itest
- [ ]
swdd~grpc-client-never-retries-cli-connection~1 -itest
- [ ]
swdd~grpc-client-outputs-error-server-connection-loss-for-cli-connection~1 -itest
- [ ]
swdd~grpc-client-outputs-error-server-unavailability-for-cli-connection~1 -itest
- [ ]
swdd~grpc-client-retries-connection~2 -itest
- [ ]
swdd~grpc-server-creates-agent-connection~1 -itest
- [ ]
swdd~grpc-server-forwards-from-server-messages-to-grpc-client~1 -itest
- [ ]
swdd~grpc-server-spawns-tonic-service~1 -itest