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

[Sync PR]: Sync #3177 to fix AS9817-64O pytest failed #26

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

tigerfu000
Copy link

@tigerfu000 tigerfu000 commented Aug 28, 2024

Why I did it

  • To fix AS9817-64O pytest failed.
    • sfp::TestSfpApi::test_get_transceiver_info
      Failed: Transceiver 1 info does not contain field: 'inactive_firmware', Transceiver 1 info does not contain field: 'active_firmware'
    • sfpshow::test_check_sfpshow_eeprom
      E {"changed": true, "cmd": ["sudo", "sfpshow", "eeprom"], …, "KeyError: 'active_firmware'"
    • show_intf_xcvr::test_check_sfpshow_eeprom
      E {"changed": true, "cmd": ["sudo", "sfpshow", "eeprom"], …, "KeyError: 'active_firmware'"

How I did it

  • Sync PR: CLI enhancements to revtrieve data from TRANSCEIVER_FIRMWARE_INFO table (#3177).

How to verify it

  • Re-run pytest can pass.

…le (#3177)

* Retrieve firmware version fields from TRANSCEIVER_FIRMWARE_INFO table

Signed-off-by: Mihir Patel <[email protected]>

* Fixed test failures

* Removed update_firmware_info_to_state_db function

* Revert "Removed update_firmware_info_to_state_db function"

This reverts commit 68f52a2c3352bc709ab2e3ffe793761f7176a4f0.

---------

Signed-off-by: Mihir Patel <[email protected]>
@kevin28-9219 kevin28-9219 merged commit d576922 into edge-core:202311.X Aug 28, 2024
1 check passed
@tigerfu000 tigerfu000 deleted the 202311.X_syn_pr_3177 branch August 30, 2024 08:13
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.

3 participants