Patch Set 3: > The main issue is that it's a chicken-egg problem.
I think it is sufficient to store the modem path with those modems that are currently reserved. * get a listing of modem paths from ofono; * read the state file and see if any of those paths are currently reserved; * check only those paths that do not appear in the state. If modems are re-connected, those paths may change on the fly, so we shouldn't have too long state about the modem paths. If we re-connect a modem bank during a test run, that test run will probably fail. As soon as it frees its modem paths, the state about IMSI<->ofono-path is cleared and things are refreshed autmagically. -- To view, visit https://gerrit.osmocom.org/2676 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ib9f4de81abc18e8db0c15df965e4811b6513e1b1 Gerrit-PatchSet: 3 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <[email protected]> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Neels Hofmeyr <[email protected]> Gerrit-Reviewer: Pau Espin Pedrol <[email protected]> Gerrit-HasComments: No
