You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ReadSingleIndirectMeterEntryTest test case in TdiTableManagerTest is failing.
[ RUN ] TdiTableManagerTest.DISABLED_ReadSingleIndirectMeterEntryTest
E20241106 06:19:52.409034 42629 p4_info_manager.cc:222] StratumErrorSpace::ERR_INVALID_P4_INFO: P4Info ID UNSPECIFIED/0x2b67 (0x2b67) is not found
E20241106 06:19:52.409073 42629 tdi_table_manager.cc:972] Return Error: p4_info_manager_->FindResourceTypeByID(table_id) at stratum/hal/lib/tdi/tdi_table_manager.cc:972
stratum/hal/lib/tdi/tdi_table_manager_test.cc:458: Failure
Value of: tdi_table_manager_->ReadMeterEntry(session_mock, entry, &writer_mock)
Expected: is OK
Actual: StratumErrorSpace::ERR_INVALID_P4_INFO: P4Info ID UNSPECIFIED/0x2b67 (0x2b67) is not found (of type util::Status)
stratum/hal/lib/tdi/tdi_table_manager_test.cc:446: Failure
Actual function call count doesn't match EXPECT_CALL(writer_mock, Write(EqualsProto(resp)))...
Expected: to be called once
Actual: never called - unsatisfied and active
stratum/hal/lib/tdi/tdi_table_manager_test.cc:421: Failure
Actual function call count doesn't match EXPECT_CALL(*tdi_sde_wrapper_mock_, ReadIndirectMeters(kDevice1, _, kTdiRtTableId, Optional(kMeterIndex), _, _, _, _, _, _))...
Expected: to be called once
Actual: never called - unsatisfied and active
[ FAILED ] TdiTableManagerTest.DISABLED_ReadSingleIndirectMeterEntryTest (0 ms)
To Reproduce
bazel test //stratum/hal/lib/tdi:tdi_table_manager_test --test_arg=--gtest_also_run_disabled_tests
Expected behavior
The test case is expected to pass.
Additional context
May be related to the failure in WriteIndirectMeterEntryTest. See issue #306.
The text was updated successfully, but these errors were encountered:
Describe the bug
The ReadSingleIndirectMeterEntryTest test case in TdiTableManagerTest is failing.
To Reproduce
bazel test //stratum/hal/lib/tdi:tdi_table_manager_test --test_arg=--gtest_also_run_disabled_tests
Expected behavior
The test case is expected to pass.
Additional context
May be related to the failure in WriteIndirectMeterEntryTest. See issue #306.
The text was updated successfully, but these errors were encountered: