-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Test Failed] DEM_TC_2_6 Device crashes. #34954
Comments
There is a bounds check failure on the slots (although it checks the length it should use >= not just >). A second crash then occurs which is because there is no check on the optional .HasValue() before using the value. In fixing both of these however the test script bombs out with a check on the error being Failure but it returns a Constraint error. So needs a proper look at this code since the test case is not including a nominal power in the adjustmentSlot structure. This was the patch that stops it from crashing.
|
Test 2.6 might being run on the ESP32 with both kPowerForecastReporting and kStateForecastReporting set when it should only be run with kStateForecastReporting (they are mutually exclusive flags). When I run the Linux test with both of these set, I see the same fail in test step 4. I'll update the test plan + scripts to check for this and fail straightaway if they see this. |
Test issue(s)
Device crashes at TH step for Test DEM_TC_2_6
Executing Test Step: TH sends ModifyForecastRequest with ForecastID=Forecast.ForecastID+1, SlotAdjustments[0].{SlotIndex=0, Duration=Forecast.Slots[0].MaxDurationAdjustment}, Cause=GridOptimization.
Platform
No response
Anything else?
DEM2-6_2024_08_13_13_45_15.log
device.txt
The text was updated successfully, but these errors were encountered: