Dasharo / open-source-firmware-validation

OSFV infrastructure with automated tests and scripts for managing test results
Apache License 2.0
7 stars 1 forks source link

CPU frequency/temperature tests fail on data parsing for v1210 #207

Closed Psotas closed 1 month ago

Psotas commented 6 months ago

Device

V1210

RTE version

Dasharo v0.9.2

Affected component(s) or functionality

No response

Brief summary

Improve CPU freq/temp tests to work properly for v1210

How reproducible

No response

How to reproduce

Run cpu-frequency.robot and cpu-temperature.robot tests.

Expected behavior

Test pass

Actual behavior

Tests fail on data parsing

Link to screenshots or logs

CPU-freq-temp_log.zip

CPF002.001, CPF002.001 and CPF004.001:

Traceback (most recent call last):
  None
RuntimeError: Evaluating expression 're.sub(r'(?s)[^0-9]*([1-9][0-9]*)[,.][0-9]+MHz', r'\1', $frequency)' failed: SyntaxError: invalid syntax (<string>, line 1)

CPT001.001 and CPT002.001:

Traceback (most recent call last):
  None
RuntimeError: '105.0°C)
' cannot be converted to a floating point number: ValueError: could not convert string to float: '105.0°C)\n'

Additional context

No response

Solutions you've tried

No response

macpijan commented 3 months ago

@pkubaj please update the state here after retesting V1210 next week

macpijan commented 1 month ago

This is still valid on revision: 04e410031775b1ee51d8b9c97915d27696856bb8