Open ravi861 opened 4 years ago
Don't think we support running fake tests like that:
Thank you for the response. It would help if you can publish a format for the fruid.json and agent.conf if you think that will help with a custom SAI and maybe what their purpose is.
hi @shri-khare I need a agent.conf too,can you help share one, thanks!
[root@bogon fboss]# ./bin/wedge_agent -mode=wedge -mgmt_if=enp7s0 -config=/etc/coop/sample3.json
Not valid AgentConfig, fallback to parsing as SwitchConfig...
terminate called after throwing an instance of 'apache::thrift::bad_field_access'
what(): accessing unset optional value
*** Aborted at 1634091526 (Unix time, try 'date -d @1634091526') ***
*** Signal 6 (SIGABRT) (0xa2e) received by PID 2606 (pthread TID 0x7f8aa9304800) (linux TID 2606) (maybe from PID 2606, UID 0) (code: -6), stack trace: ***
(error retrieving stack trace)
Aborted
When try to execute sai_test-fake-1.5.0, I encountered the following error.
Upon copying a fruid.json from /tmp/fboss_bins-1cmivb7i6/share/th/fruid.json, the test seems to proceed further but then crashes.
This possibly makes the application think it is some kind of HW platform.
Is there a sample fruid.json available to execute the fake SAI tests? 2a5e5b12414beedebc8bba86b2842cf169a0d149 is the commit used when building fboss.
Any help is much appreciated?