Repository navigation
Factory config test bpi r3 - #1718
Draft
mattiaswal wants to merge 3 commits into
Draft
mattiaswal wants to merge 3 commits into
mattiaswal wants to merge 3 commits into
Conversation
ll6ping stops at the first reply, which is not enough when several DUTs answer on the same test port. Signed-off-by: Mattias Walström <lazzer@gmail.com>
When a DUT's running config bridges the mgmt port with links to other DUTs, every one of them replies to the IPv6LL probe and attach() may land on the wrong box. With hostname= it tries each neighbour and keeps the one running under that name. Signed-off-by: Mattias Walström <lazzer@gmail.com>
Rigs whose factory-config bridges the mgmt port with the inter-DUT links expose every DUT on that port once the target boots on it, so the plain attach could hit a neighbour and fail the hostname check. Attach by the expected hostname instead, retrying until it answers, and use the same selection for the cleanup reboot. Signed-off-by: Mattias Walström <lazzer@gmail.com>
Contributor
Author
|
I feel like the logic about getting the hostname is a bit malplaced in infamy, another solution would be to have all logic in the test, and just have the llscan in infamy. What do you think is best? @wkz |
mattiaswal
marked this pull request as draft
October 21, 2026 06:23
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BPI has a lan bridge causing the factory-config test to fail, since it may connect to some other dut through the bridge.
This adds a possible layer that it need to connect to a unit with the correct hostname, you probably never want to use it outside factory config test.
Description
Checklist
Tick relevant boxes, this PR is-a or has-a: