Hi,
My test job .yaml does not provide any error while health-check trigger
from GUI and give error while submitting the same test job from the command
line .
you can find the command line submission error as mentioned below.
"
lavamaster@lava$lavacli -i admin@validation jobs submit /tmp/test.yaml
Unable to submit /tmp/target.yaml: <Fault 400: "Problem with submitted job
data: expected str for dictionary value @
data['actions'][0]['boot']['parameters']['shutdown-message']">"
"
I have reported same type of bug for "soft-reboot" command support and
provided the patch by lava-team for this soft-reboot support issue i.e "
https://git.lavasoftware.org/lava/lava/-/merge_requests/1067/diffs#05da71b3…
"
Can someone provide the path for "shutdown-message" support also?
Regards,
Koti
Hi, guys,
We have a scenario like next:
action:
- test
definitions:
- from: inline
name: test1
- test
definitions:
- from: inline
name: test2
For some reasons, we have to use 2 tests here, everything is ok now.
But, if `test1`, that is ` /lava-3102/0/tests/0_test1/run.sh` finished with non-zero, from web we can see the suite fail.
Then, we want to exit the job at once, not continue to run `test2`. If possible here?
Regards,
Larry
Hi everybody,
I'm trying to figure out how to set boot parameters (nfsroot) for a x86 board (Intel NUC10 ).
>From this job definition I understand it's possible using iPXE:
https://lkft.validation.linaro.org/scheduler/job/2959364/definition
But I can't understand what interface is being used to get terminal output and remote control: https://lkft.validation.linaro.org/scheduler/device/x86-01/devicedict
Look's like is using UART, I'm not sure I can get terminal console on boot time on my board (NUC).
The options I can get from the information found are the following (please add any corrections or suggestions):
1) iPXE + terminal console: PXE alone can't get nfsroot settings dynamically. PXE + iPXE should be added to the chain and LAVA should have access to terminal console.
2) iPXE + environment variables: LAVA sets environment variables and PXE + iPXE gets nfsroot settings from environment variables. No terminal console needed.
3) PXE + static folder: LAVA fetches and extract rootfs always to the same folder. PXE reads static configuration file.
4) PXE + dynamic folder: LAVA sets the nfsroot folder name directly on the PXE configuration file (file is machine specific).
5) PXE + INITRAMFS: fetches root file system from file server and extracts to memory.
Let me know your thoughts!
Best Regards
Fabiano
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