On 21 February 2018 at 13:33, Zoran S <zoran.stojsavljevic.de@gmail.com> wrote:
Hello to LAVA admins,

You have fatal error in Lava V2. I submitted job, which hangs in
submitted state indefinitely.

This will be down to local misconfiguration. Submitted jobs will stay in submitted until everything is ready for the job to start.

What version of LAVA are you running? There were important changes in scheduling after the removal of V1 in 2018.1


I also see the non-existent job 92 (which is deleted) running there?!

Test jobs should not typically be deleted - except possibly as part of archival.
 
http://localhost:8080/scheduler/device/bbb01

254 2018-02-21 12:05 Reserved → Running —
Job 92 running

We don't use this format for device transitions anymore. There were issues with the old transitions but those could not be addressed until V1 was removed.

https://validation.linaro.org/scheduler/device/beaglebone-black02
 
253 2018-02-21 12:04 Idle → Reserved —
Reserved for job 92
252 2018-02-21 12:03 Running → Idle —
Job 91 cancelled
251 2018-02-21 12:03 Reserved → Running —
Job 91 running
250 2018-02-21 12:03 Idle → Reserved —
Reserved for job 91
249 2018-02-21 11:33 Running → Idle —
Job 89 has ended. Setting job status Incomplete

But when I look to this local pointer:
http://localhost:8080/admin/lava_scheduler_app/testjob/

102 Submittednobodylessbeaglebone-black -Feb. 21, 2018, 1:07 p.m.--
76   Incompletenobodylessbeaglebone-black bbb01 (Running, health
Unknown)Feb. 20, 2018, 9:50 a.m.Feb. 20, 2018, 9:50 a.m.Feb. 20, 2018,
9:55 a.m.
49   Completenobodylessqemu qemu01 (Idle, health Unknown)Feb. 16,
2018, 10:44 a.m.Feb. 16, 2018, 10:44 a.m.Feb. 16, 2018, 10:50 a.m.
43   Completenobodylessqemu qemu01 (Idle, health Unknown)Feb. 16,
2018, 8:42 a.m.Feb. 16, 2018, 8:43 a.m.Feb. 16, 2018, 8:49 a.m.

How to force submitted job to be active job (from both CLI and GUI)?

Check the lava-master and lava-slave logs to find the misconfiguration. It's likely to be invalid state of the device and/or test job or misconfigured device configuration.
 

How to delete nonexistent jobs (from both CLI and GUI)?

Not recommended. lava-server manage has helpers to delete objects but the first thing to do is debug what is happening on your localhost.
 

Thank you,
Zoran
_______________________________________________
Lava-users mailing list
Lava-users@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lava-users



--