Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

platform-configs/include/protectli-vp32xx.robot: add eth ports order #638

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

wiktormowinski
Copy link
Contributor

No description provided.

@macpijan
Copy link
Contributor

macpijan commented Dec 18, 2024

@wiktormowinski is this finalized? Any test logs? Any reviewer to assign? I guess @miczyg1 could take a look once it's ready as he was involved in this test.

@wiktormowinski
Copy link
Contributor Author

wiktormowinski commented Dec 18, 2024

@macpijan nowhere near, currently i am working on other issues, however i plan on completing this PR today

@macpijan
Copy link
Contributor

@wiktormowinski wiktormowinski marked this pull request as draft December 18, 2024 11:01
@miczyg1
Copy link
Contributor

miczyg1 commented Dec 18, 2024

@wiktormowinski is this finalized? Any test logs? Any reviewer to assign? I guess @miczyg1 could take a look once it's ready as he was involved in this test.

Generally it looks ok. THere should not be anything more needed for this test. Simply the ID must match the controllers PCI device ID and MACs have to exactly match those found on the platform in lab.

@wiktormowinski
Copy link
Contributor Author

@miczyg1 1. adding these is easy as log as there is a sticker on port or platform is aviable on snipeit and even if they are free there is some weird stuff going on them (for example on 2410 ubuntu is just going to grub and that's it)
as of now we are still missing (because of reasons mentioned above):

  • 24xx series (all 3 platforms)
  1. and because most of the platforms are being used right now and half of them doesnt even have dasharo on it, making this test case useless i can't run the test case on every single platform in relatively quick time.
  2. also we have 2x VP4670 so i only included the one with 2.0 next to it (cuz 1<2 so it's better)

@miczyg1
Copy link
Contributor

miczyg1 commented Dec 19, 2024

@miczyg1 1. adding these is easy as log as there is a sticker on port or platform is aviable on snipeit and even if they are free there is some weird stuff going on them (for example on 2410 ubuntu is just going to grub and that's it) as of now we are still missing (because of reasons mentioned above):

  • 24xx series (all 3 platforms)
  1. and because most of the platforms are being used right now and half of them doesnt even have dasharo on it, making this test case useless i can't run the test case on every single platform in relatively quick time.
  2. also we have 2x VP4670 so i only included the one with 2.0 next to it (cuz 1<2 so it's better)

Ad. 1. Each Protectli platform can boot DTS over iPXE. From DTS shell you may extract all the info you need.
Ad. 2. No other solution than to wait till it is free or ask the person who checked out the platform to give it to you for 5 minutes...
Ad. 3. Right... This is problematic to have different revisions of the same HW platform in lab. Mayeb the test could be extended to have a 2-dimensional array with two sets of MACs for that particular platform, then one or the other set should match. Test could be modified accordingly.

@wiktormowinski wiktormowinski marked this pull request as ready for review December 19, 2024 15:01
@wiktormowinski
Copy link
Contributor Author

alright that's all of them, thanks for the tip @miczyg1, i forgor we can use dts for that

563953c i've also added skip because this test raised many questions when it was running on every platform ;p

@@ -12,3 +12,5 @@ ${MAX_CPU_TEMP}= 95
${DMIDECODE_MANUFACTURER}= Protectli
${DMIDECODE_VENDOR}= 3mdeb
${DMIDECODE_FAMILY}= Vault Pro

${ETHERNET_ID}= 8086:1539
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see vp2420 has different port than vp2410. VP2430 will also have different. I would move it to the board-specific config rather than include into common vp24xx config.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

k makes sense, 30d89c0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should have changed only the platform-configs/include/protectli-vp24xx.robot file. The rest was ok...

Copy link
Contributor

@miczyg1 miczyg1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vp24xx is not a series of the same platform variant, it has 3 entirely different platofrm

@SebastianCzapla
Copy link
Contributor

SebastianCzapla commented Dec 31, 2024

image
Works good on vp2430, and order is not messed up when we plug additional Ethernet connections (for example using loopback to test eth speeds)

(tested via cherrypick)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants