Dasharo / open-source-firmware-validation

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

Memory-Profile test: AttributeError #173

Open filipleple opened 11 months ago

filipleple commented 11 months ago

Device

MSI z690

RTE version

e1066d329f64f2e8daf2a438c7cd92452c18fa04

Affected component(s) or functionality

Memory-Profile test

Brief summary

Memory-Profile test can't switch memory profiles; fails with AttributeError: 'bool' object has no attribute 'startswith'

How reproducible

50%

How to reproduce

Run the Memory-Profile test

Expected behavior

Test should pass

Actual behavior

Test fails

Link to screenshots or logs

Full HTML log

Additional context

No response

Solutions you've tried

No response

mkopec commented 10 months ago

The keyword to get the current memory profile returns either a Boolean or a String depending on the result, hence the type error. Looks like the caller expects a string.

macpijan commented 4 months ago

@BeataZdunczyk Might be still relevant, needs reproduction.

philipandag commented 3 months ago

I can still reproduce the issue. Working on it.

philipandag commented 3 months ago

https://github.com/Dasharo/open-source-firmware-validation/pull/458

BeataZdunczyk commented 3 months ago

No reviewers assigned to this PR, @philipandag