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

[qos] Specify correct handle to access dut resources #4382

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

neethajohn
Copy link
Contributor

@neethajohn neethajohn commented Sep 29, 2021

Signed-off-by: Neetha John [email protected]

Description of PR

Qos sai failures seen due to changes in #3824

>       if check_qos_db_fv_reference_with_table(duthost) == True:
E       NameError: global name 'duthost' is not defined
bufkeystr  = 'BUFFER_POOL_TABLE:'
db         = '0'
dut_asic   = <tests.common.devices.sonic_asic.SonicAsic object at 0x7f8fd676a050>
keystr     = 'BUFFER_PG_TABLE:Ethernet8:3-4'
os_version = '20201231.31'
port       = 'Ethernet8'
priorityGroup = '3-4'
request    = <SubRequest 'ingressLosslessProfile' for <Function testQosSaiPfcXoffLimit[None-xoff_2]>>
self       = <tests.qos.test_qos_sai.TestQosSai instance at 0x7f8fd82a6820>
table      = 'BUFFER_PG_TABLE'
qos/qos_sai_base.py:222: NameError

Type of change

  • Bug fix
  • Testbed and Framework(new/improvement)
  • Test case(new/improvement)

Back port request

  • 201911

How did you verify/test it?

Ran qos sai test with the changes on backend T0 and they pass

@lolyu lolyu merged commit 0db5b3a into sonic-net:master Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants