Dasharo / open-source-firmware-validation

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

[ ERROR ] Error in file '/home/debian/open-source-firmware-validation/dasharo-compatibility/dcu.robot' on line 9: Importing library 'FakerLibrary' failed: ModuleNotFoundError: No module named 'FakerLibrary' #263

Closed pkubaj closed 2 months ago

pkubaj commented 2 months ago

Device

VP2410

RTE version

1.1.0

Affected component(s) or functionality

No response

Brief summary

DCU tests fail to start

How reproducible

No response

How to reproduce

robot -b command_log.txt -v snipeit:no -L TRACE -v rte_ip:192.168.10.233 -v device_ip:192.168.10.24 -v config:protectli-vp2410 dasharo-compatibility/dcu.robot

Expected behavior

Tests should start.

Actual behavior

[ ERROR ] Error in file '/home/debian/open-source-firmware-validation/dasharo-compatibility/dcu.robot' on line 9: Importing library 'FakerLibrary' failed: ModuleNotFoundError: No module named 'FakerLibrary'
Traceback (most recent call last):
  None
PYTHONPATH:
  /home/debian/open-source-firmware-validation/venv/bin
  /usr/lib/python311.zip
  /usr/lib/python3.11
  /usr/lib/python3.11/lib-dynload
  /home/debian/open-source-firmware-validation/venv/lib/python3.11/site-packages
==============================================================================

Link to screenshots or logs

command_log.txt

Additional context

No response

Solutions you've tried

No response

macpijan commented 2 months ago

you need to rebuild venv if dependenics gets updated: https://github.com/Dasharo/open-source-firmware-validation/blob/develop/requirements.txt#L19

pkubaj commented 2 months ago

Ah, I didn't notice that, thanks.