Hey,
We're using lava to test multiple of our devices.
While most tests are similar ("does the device still have a working ethernet connection"), some slightly differ. For example a device might have LEDs 1-3, another the LEDs 1-5.
Today I save multiple test shell definitions test1-device1.yaml, test1-device2.yaml, ..., which all just differ by providing "device1", "device2", ... in an argument to the actual test script, so the run: section looks like this:
run:
steps:
- cd ./testdir/
- ./run_test.py device1
I would like to get rid of the two, separate .yaml files and only have a `./run_test.py ${device}` or similar. Is there any way to provide a variable from the job definition to the test shell definition?
Or are things like the device type set in the environment so I could access them?
Best regards, Olli
Dear,
I wonder if it is possible on the job page, I could quickly find other
guys' jobs with a search function? I tried next, but returned nothing.
owner_query=hedy.lamarr
Thanks,
Hedy Lamarr
Dear all,
I don't know what operation I have done, but when a device does not have
any running job, I still see the device is in running status.
I just saw this 1 time, maybe it's a bug or just bad luck.
Anyway, I can't reproduce it on other devices, so it's ok.
But, could you teach me to reset the status to make the device work again?
Do we have some method to reset the status from "Running" to "Idle", or any
api if we don't have an interface on the UI?
[image: image.png]
Thanks,
Hedy Lamarr
Dear,
Recently I'm learning and evaluating LAVA to see if it can help us.
I saw next from
https://validation.linaro.org/static/docs/v2/connections.html:
{% set connection_list = ['uart0', 'uart1'] %}{% set
connection_commands = {'uart0': 'telnet dispatcher01 7001', 'uart1':
'telnet dispatcher01 7002'} %}
I'm pretty confused by the 'uart0', 'uart1'. Should I explicitly specify
something in my job to let some action to choose 'uart0' or 'uart1'? How
does LAVA know at which time it should choose which uart?
Thanks,
Hedy Lamarr
Hello everyone,
I'm new to LAVA and I have some issue with 'iso-installer' for ubuntu 20.04
. As you know, in ubuntu 20.04 the preseed file would not use
'debian_installer' and use 'subiquity' instead, Also LAVA does not support
'subiquity' for 'iso-installer', so I don't know how can I use
'iso-installer' for testing my ubuntu 20.04.
Dear,
I saw https://lkft.linaro.org/ by chance, I wonder if we could benefit from
this on our android test? Does it already have any kernel test for android
kernel?
Thanks,
Hedy Lamarr
Hey,
By coincidence I setup a local test instance of the lava docker-compose setup.
I usually use merge master regularly, so my .env file contained DC_SERVER_IMAGE=lavasoftware/lava-server:latest.
When I started this up, I get
> lava-publisher_1 | ModuleNotFoundError: No module named 'environ'
in the logs from various containers based upon lava-server.
I tested it on my production setup as well as tested fixing my revision to 2021.03.post1, which fixes this.
I checked my changes to the setup and couldn't find anything that looks related, so maybe consider this a bug report?
Full callstack below, best regards
Oliver Westermann
Full Error Log:
lava-publisher_1 | Traceback (most recent call last):
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 326, in <module>
lava-publisher_1 | sys.exit(main())
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 263, in main
lava-publisher_1 | config = load_configuration()
lava-publisher_1 | File "/usr/share/lava-server/postinst.py", line 127, in load_configuration
lava-publisher_1 | module = importlib.import_module("lava_server.settings.prod")
lava-publisher_1 | File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
lava-publisher_1 | return _bootstrap._gcd_import(name[level:], package, level)
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 983, in _find_and_load
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
lava-publisher_1 | File "<frozen importlib._bootstrap_external>", line 728, in exec_module
lava-publisher_1 | File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
lava-publisher_1 | File "/usr/lib/python3/dist-packages/lava_server/settings/prod.py", line 23, in <module>
lava-publisher_1 | import environ
lava-publisher_1 | ModuleNotFoundError: No module named 'environ'