Adapt relays in functional tests to work with new configuration
After the latest changes done in rack mounts, now, we have a new relay box, allowing us to connect each board to a relay port. With the previous configuration, all test setups were connected to only one relay port, so we have to change the functional tests to work with the new configuration.
The new relay box is managed with a raspeberry-pi using GPIO ports. Such GPIO ports can be managed using a web application developed in python, the URL is:
Things that can be done:
- Identify each GPIO port with the board it is connected to. As suggestion, you can identify which boards need the relay and run the simp binaries to detected which relay port is connected to each board.
- Check if we can change the relay output using wget/curl command.
- Replace the old method with the new one to change the relays in functional tests.
- Investigate if we can parallelize the functional tests as now each setup has its own relay ports.