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

How to generate test report for SAI PTF test case #1930

Open
rajneeshaec opened this issue Nov 27, 2023 · 0 comments
Open

How to generate test report for SAI PTF test case #1930

rajneeshaec opened this issue Nov 27, 2023 · 0 comments

Comments

@rajneeshaec
Copy link
Contributor

Hi All,

Is there any way to generate test report of SAI PTF test cases. I am seeing OK print on the console for passed test cases
Please find details given below:-

Running tests...

Reboot mode is: cold
Config_db.json path is config_db.json
Waiting for switch to get ready, 5 seconds ...
Ignore all the expect error code and exception captures.
Get number_of_system_ports 0
Get number_of_active_ports 54
Restore all the expect error code and exception captures.
***** Number of available resources *****
SAI_SWITCH_ATTR_ECMP_MEMBERS : 64
ecmp_members : 64
SAI_SWITCH_ATTR_NUMBER_OF_ECMP_GROUPS : 128
number_of_ecmp_groups : 128
SAI_SWITCH_ATTR_AVAILABLE_IPV4_ROUTE_ENTRY : 38338
available_ipv4_route_entry : 38338
SAI_SWITCH_ATTR_AVAILABLE_IPV6_ROUTE_ENTRY : 19169
available_ipv6_route_entry : 19169
SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEXTHOP_ENTRY : 8190
available_ipv4_nexthop_entry : 8190
SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEXTHOP_ENTRY : 8190
available_ipv6_nexthop_entry : 8190
SAI_SWITCH_ATTR_AVAILABLE_IPV4_NEIGHBOR_ENTRY : 16288
available_ipv4_neighbor_entry : 16288
SAI_SWITCH_ATTR_AVAILABLE_IPV6_NEIGHBOR_ENTRY : 16288
available_ipv6_neighbor_entry : 16288
SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_ENTRY : 127
available_next_hop_group_entry : 127
SAI_SWITCH_ATTR_AVAILABLE_NEXT_HOP_GROUP_MEMBER_ENTRY : 8192
available_next_hop_group_member_entry : 8192
SAI_SWITCH_ATTR_AVAILABLE_FDB_ENTRY : 32768
available_fdb_entry : 32768
Get default vlan...
BrcmSaiHelperBase::recreate_ports does not support. Just Parse Port Config
Base on lanes config file[configdb.json], init 54 ports from 54 device ports
Set port...
Turn up ports...
Skip turn up port 32 , local index 32 id 281474976710688 nameEthernet32.
Skip turn up port 33 , local index 33 id 281474976710689 nameEthernet33.
Skip turn up port 34 , local index 34 id 281474976710690 nameEthernet34.
Skip turn up port 35 , local index 35 id 281474976710691 nameEthernet35.
Skip turn up port 36 , local index 36 id 281474976710692 nameEthernet36.
Skip turn up port 37 , local index 37 id 281474976710693 nameEthernet37.
Skip turn up port 38 , local index 38 id 281474976710694 nameEthernet38.
Skip turn up port 39 , local index 39 id 281474976710695 nameEthernet39.
Skip turn up port 40 , local index 40 id 281474976710696 nameEthernet40.
Skip turn up port 41 , local index 41 id 281474976710697 nameEthernet41.
Skip turn up port 42 , local index 42 id 281474976710698 nameEthernet42.
Skip turn up port 43 , local index 43 id 281474976710699 nameEthernet43.
Skip turn up port 44 , local index 44 id 281474976710700 nameEthernet44.
Skip turn up port 45 , local index 45 id 281474976710701 nameEthernet45.
Skip turn up port 46 , local index 46 id 281474976710702 nameEthernet46.
Skip turn up port 47 , local index 47 id 281474976710703 nameEthernet47.
Skip turn up port 48 , local index 48 id 281474976710704 nameEthernet48.
Skip turn up port 49 , local index 49 id 281474976710705 nameEthernet49.
Skip turn up port 50 , local index 50 id 281474976710706 nameEthernet50.
Skip turn up port 51 , local index 51 id 281474976710707 nameEthernet51.
Skip turn up port 52 , local index 52 id 281474976710708 nameEthernet52.
Skip turn up port 53 , local index 53 id 281474976710709 nameEthernet53.
Turn up port 0
port index:0 hardIdx: 0 ptf_dev_idx: 0 name:Ethernet0 config lane:[0] mtu:9100 fec:0 speed:1000
port 0 , local index 0 id 281474976710656 is not up, status: 2. Retry. Reset Admin State.
Turn up port 1
Turn up port 2
Turn up port 3
Turn up port 4
Turn up port 5
Turn up port 6
Turn up port 7
Turn up port 8
Turn up port 9
Turn up port 10
Turn up port 11
Turn up port 12
Turn up port 13
Turn up port 14
Turn up port 15
Turn up port 16
Turn up port 17
Turn up port 18
Turn up port 19
Turn up port 20
Turn up port 21
Turn up port 22
Turn up port 23
Turn up port 24
Turn up port 25
Turn up port 26
Turn up port 27
Turn up port 28
Turn up port 29
Turn up port 30
Turn up port 31
Get default 1Q bridge...
Get bridge ports...
Remove all bridge ports...
Removed bridge 54, left 0
Finish SaiHelperBase setup
Create default v4&v6 route entry...
saifdb.FdbAttributeTest ... OK (49.666s)


Ran 1 test in 49.666s

OK

Thanks
Rajneesh

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

No branches or pull requests

1 participant