opendut
opendut copied to clipboard
Implement test execution (local, central, remote)
This story is about provisioning, configuring and execution of automotive test cases within the openDuT framework on the DuTs. Depending on the specific test case and method, it is necessary to execute tests locally, in close vicinity to the DuT. In parallel, for certain tests it is appropriate that test case generation is taking place at a central instance of the framework or even from an external/ remote entity (e.g., testing SaaS).
Specific features of this story are:
- [ ] Implement a local test execution environment for automotive test cases on EDGAR. The execution environment should be segregated from other EDGAR components, communicate via an API with EDGAR and be potentially containerized
- [ ] Create a mechanism to provision the deployment of new/ external test engines on EDGAR that can be executed on the attached DuTs
- [ ] Connect the (local) test engine with the physical/ virtual automotive interfaces (ETH, CAN) of EDGAR to reach the DuTs
- [ ] EDGAR must be capable of embedding new test engines in a plug&play mode, potentially triggered by the Test-Manager and distributed via the VPN (CARL)
- [ ] Provide an interface for the test engine to trigger automotive applications (clamps, serial comm., general I/O, power supply) on the DuT (cf. #4 )
For the MVP, we have distilled and are currently working on the following tasks:
- [x] Define test configuration format (JSON)
- [x] Adjust and extend types to allow transferring test configurations to EDGARs
- [x] Create logic for parsing test configuration JSONs on CLEO
- [x] Create logic for pushing test configuration to EDGAR
- [x] Create logic for test initialization and monitoring on EDGAR
- [x] Make CAN and Ethernet accessible from within the test execution container
- [x] Set up dockerized WebDAV server
- [x] Create logic for uploading test results to WebDAV server
- [ ] Create channel back to CARL to report status information
- [ ] Set up dockerized local Docker repository (for MVP)