Age | Commit message (Collapse) | Author |
|
Change-Id: I27fd2240087a4c6f2c6e27e6df895cafea6eff11
|
|
Change-Id: I2655501e4352d7064e9ae940cdcfdb77eab6838a
|
|
Change-Id: If24c0e9fdc7c1fd01c1c7bb0590b00bee7b8fdc4
|
|
Change-Id: I948b6dbab13af0eeea3bea4e01a03a9cffb1bb22
|
|
Change-Id: Ic435a3334c626475ad834ac4f478c773764f5f84
|
|
Url lava.scheduler.job.complete_log does not exist anymore.
Change-Id: I2b082aaad90f414f1372fdc695afee6742b22a1c
|
|
This format hasn't been in used since May 2016.
Also rename the templates to remove the '_pipeline' suffix.
Change-Id: I521150a9f3ec3682f439f2dc940cf6dad482359e
|
|
Second guessing the jinja2 templating causes artifacts when a
device dictionary reuses a variable to avoid duplication.
Simplify the output to provide the raw Jinja2 and the rendered
YAML.
Change-Id: I926150a0d8afdac456021d8009c3e5d9bac7afa1
|
|
This helps easy navigation and also consistent with other device pages.
Change-Id: Ic3dbdc626b858eccba8112af1ac9806fbac370c7
|
|
As part of this effort, remove cumbersome jquery UI lib finally.
Use typeahead instead of autocomplete which is available in deb repos.
For other features, use simple js.
Change-Id: Ia0ce7d36c6d8d9ba2c0526d29ab35e1a2687a3fc
|
|
Change-Id: I3cae4d3b8496a565ea68c797c717dfffb6962f6c
|
|
In this case, the scheduler and the master can't do anything with the device:
it's impossible to schedule, start or cancel any jobs.
Change-Id: I22bde312d7ef3a682e92d661fcc9fb5697e672d6
|
|
This functionality had introduced a security vulnerability in lava-server.
A user can forge a http request that will force lava-server-gunicorn to return
any file on the server that is:
* readable by lavaserver
* valid yaml
This bug was found by running bandit (https://github.com/PyCQA/bandit).
Change-Id: Ie6876bbb4d8dad210d63d2655356bb863a592b41
|
|
The addition of recovery mode is likely to make hard_reset a much
longer line with 4 or 5 lines. Detect a list value and print each
line in a separate <pre> block.
Change-Id: Ie44c06f0fd8a32426d850fdf07504b7e35230626
|
|
Allows to have one url to point users at.
Change-Id: I04d2c1e18a19e932e6581227cd57e4640e19ae93
|
|
Change-Id: I9e81d32cf4177639e7aa83dd744b7f64cb6a9821
|
|
Add an index on TestCase results to improve sql queries speed.
Add links to Recent job errors and Maintenance devices to
job table and device table templates.
Change-Id: Ib6e67b25bf8ae88e20f03ed73230ea7a752f3e71
|
|
This will help reproducing the exact same run.
Also add an xmlrpc api to grab the job configuration.
Change-Id: I64798a12146064d3fb811bb28bf27f49e20fd6d5
|
|
When a debug message is not a string nor an object (like a boolean) the
javascript code, removed by this commit, will crash.
The corresponding code was added to work around a bug in the log format that
has been fixed 6 months ago.
Change-Id: I4908d53aa1172b780b1e6a277a8ec07517b13769
|
|
Change-Id: Id264361fa5489172baf2b37b12584636174a627f
|
|
This should only be used when lava-run is stopped.
Only superuser are allowed to use this function.
Change-Id: Ibcba8e2d9dbf4e3d4f5d84cf1ab3115e8cf9f44e
|
|
* Add a template filter to replace "!!python/unicode " with ""
- required for old job definitions
* Use yaml.safe_dump to store job definitions whereever required.
- acts on new job definitions that gets submitted.
Change-Id: I3ee3a711576e6edbe7aa3464e741d53c1b8f9bb1
|
|
If the job finishes with incomplete health, add metadata from lava
job test case.
Change-Id: I1d05274d35980aeeb8366d37a088bc6bf044adee
|
|
Change-Id: I1bc54e6dcb94cd35ef315d8196049ba13f29bcb0
|
|
This fixes the way in which a sub job definition is displayed. Also, the extra
line number at the end of all job definition display is removed.
Change-Id: I9fa968ade563bc96d7503eb1e156f7224e5097e0
|
|
Change-Id: Iaef8a455c78e10479d55c0909ca6bc12061ef55f
|
|
The crash was found on staging for juno-r2 device-type:
[...]
File "/usr/lib/python2.7/dist-packages/lava_scheduler_app/views.py", line 818, in device_type_detail
'health_freq': health_freq_str})
[...]
File "/usr/lib/python2.7/dist-packages/django/template/defaultfilters.py", line 582, in join
value = map(force_text, value)
TypeError: argument 2 to map() must support iteration
Change-Id: If0e16351db406c274acd087000fe407b968b202e
|
|
Device, DeviceType and Worker pages are now using the same schema.
Change-Id: I13a59f4c294be0a6d9790c809a7809bcff513313
|
|
Change-Id: I4e522efc2bd3d3ec69f780d01729cde836ab663d
|
|
Help the user to spot if a device is usable or not.
Change-Id: I58260c0c700de80b67fb44bc548b9b6384f2f794
|
|
The default is to re-test a device rather than give the
impression that a device should go straight to Good.
Also move Maintenance above Good to reflect usage.
Change-Id: Iac4368be90904a1fc857c53e77f3f62efd6436d1
|
|
Also add a link to the page in alldevices and activedevices pages.
Change-Id: Ibd7155d55b6c46e74684e0c7120e2e16029d311d
|
|
When the mouse pointer is over the button to update Worker and Device health,
it should be changed to indicate that the button is clickable.
Change-Id: I59204588c33a52def038659ec0d6336da18f9340
|
|
Change-Id: I9bd7e4f9480c8e93068468b59d2374b5fbf4fd81
|
|
Change-Id: Ifcaadd28d1ea4cf4459f157ee9ec8a690b4b2f1e
|
|
The templates where still using the old status field instead of state and health.
Change-Id: I6c2c3dfa38214b09a825fb721c82b50af62a1428
|
|
Change-Id: I4233b1728ce1f328afcb864bf5b6b5e0af6c955c
|
|
This patch is made of two parts:
1/ changing the Device and TestJob state machine
2/ rewrite of the TestJob scheduler
Tests for the scheduler and the state machine are still missing.
Change-Id: I80f55c0ba89f978875ab079d2bf595a3c963017b
|
|
We were using encode instead of decode. It's also possible to ask encode to
replace broken characters by "?".
Change-Id: Ide4eb8582d4f81614479f101cb70cb3f08814bb6
|
|
Drop mention of 'exclusive' and update docs.
Expand connection support to cover the deprecation of the
single connection_command support and the use of connection_tags
to denote how connections are closed.
Change-Id: I6e5994d4307e78f77276b8a43786700fa2e4dbc4
|
|
Change-Id: Ia56c702513035ae494f9e1952a3c945ddfb15a2b
|
|
The display field has been removed and incorporated into health field.
Change-Id: I62e680304c55b9ce01c74649b8f16f9ebd3a7c49
|
|
Change-Id: Idadcd27aa9fbd40c750af9e257f62fbc8dd03858
|
|
Remove dashboard app models and add accompanying migration.
Drop dashboard app code.
Adjust dashboard xmlrpc to return empty object.
Change-Id: I24bba3370e19a6412c810d619db0a736f97ee740
|
|
Change-Id: Idd25be554b6bf8fdcb2131c6a257b0d0d4d20180
|
|
Change-Id: Icb0c133a9b785a7784c5cb0bbcd40abe0bed1bf3
|
|
Change-Id: I1aeeda2ba5db79d1b083d86b172b515811f5b45e
|
|
Some older patch removed all references to it as well as the lib
but the inclusion of it in template was not removed.
Change-Id: I1923acdd395636bcd6012ab1cbd4379bfe5bb129
|
|
Change-Id: I5eae20a906d01e9cda555e0e26648b85b6e60bb4
|
|
Devices which have not migrated are neither used nor displayed.
Change-Id: Ida323e4e378c54b10e166ff45fc92da4dc5194be
|