On Tue, Jun 06, 2017 at 05:10:12PM +0200, Vincent Guittot wrote:
On 6 June 2017 at 16:55, Steve McIntyre steve.mcintyre@linaro.org wrote:
Vincent: how have you configured your tests with these specific /dev paths? Are your tests set up to only use specific test boards with a specific arm-probe config file (device tags?), or are you generating the config file somehow for each test?
We have one AEP config file per board. As we can use /dev/serial/by-id/ path in our current test env, we don't have to update it as the config file is always valid Then select the right config file according to the board we want to use for our test
OK. So you're selecting a specific board for your test - that's useful to know!
At the moment, in LAVA we're passing the appropriate /dev/ttyACMx device node into the LXC as we start things up. That's clearly not going to scale here once you're wanting to use more than one AEP in a single test. So, I'm working on this right now. *Hopefully* I'll be able to replicate the /dev/serial/by-id paths - I'll update you shortly.
This would help us if you are able to replicate the /dev/serial/by-id paths in the LXC because it would just be a matter of providing the right config file name
OK, will get back to you...
Cheers,