- 20 Jul, 2018 7 commits
-
-
Neil Williams authored
Change-Id: If77b28ea3b9ecb622fe59504b5526a55b8af943e
-
Neil Williams authored
Move similar calls into one place, change the directory to have setgid as setuid is ignored. Use python handlers instead of shells. Allow users in the 'adm' group to read all log files and start lava-server manage commands. Drop recursive mode and permission operations, use glob to act on all log files. Change-Id: I563b08a2cacfb6cf6fa4a213deaddb48b30e7c4d
-
Neil Williams authored
Device, DeviceType and Worker need to be created in the Django Admin Interface but not allow editing after creation. Change the editable field back but change admin.py to support changing the read_only status based on the call being create or edit. Move latest migration to replace non-editable key changes which are no longer required. Change-Id: Ie5f565d300408e4697738322ec1e42ec42b50ec9
-
Rémi Duraffort authored
Change-Id: I2655501e4352d7064e9ae940cdcfdb77eab6838a
-
Rémi Duraffort authored
Change-Id: If24c0e9fdc7c1fd01c1c7bb0590b00bee7b8fdc4
-
Rémi Duraffort authored
With this patch, it's impossible to create the corresponding objects from the admin UI. This reverts commit 6383230a. Change-Id: If6581e9085fbf0e5b84b538fe815188df116f3f7
-
Neil Williams authored
If a misconfigured device lacks any commands: then connection.serial needs to report a validate() error instead of the current traceback. Change-Id: I6e3769189bc3388e6efd693356ec3b3cdcf2b6e2
-
- 19 Jul, 2018 1 commit
-
-
Neil Williams authored
Change-Id: I3845e9587b2a3df003ad6cee102c4c1dca20715c
-
- 18 Jul, 2018 8 commits
-
-
Rémi Duraffort authored
Change-Id: I51da5b1b20aaca5d2ef1618805c62033e0f21279
-
Neil Williams authored
Change-Id: Ic98160b15f1300fb7607e9096ee2bbea698c330e
-
Neil Williams authored
Explicitly import time based modules for lavatable to support querystring searches for start_time and end_time. Ensure the table meta data is returned in the templatetags. Fix typo in tables.html template. Change-Id: I9757d4ec11613ed986cffb0e20d97ab0818f21f5
-
Neil Williams authored
Change-Id: I948b6dbab13af0eeea3bea4e01a03a9cffb1bb22
-
Neil Williams authored
Various corner cases of the pretend dict deployment_data_dict cause issues and failures. Simplify back to a simple dict and fix the default value of the (little used) os-specific install deps. Change-Id: Ibb121b5d4040bb356729adfbbb8828dea24c7793
-
Rémi Duraffort authored
This will make admin's life easier when creating devices from the admin UI. Change-Id: I2237dd6c3ff226361a8783ec3c79ae617453754c
-
Rémi Duraffort authored
Change-Id: Icc3ef0e6174f86457dd44989e3bc7b3a9d95fbf9
-
Rémi Duraffort authored
When checking the connectivity with the master, lava-slave should still listen for signal to quit if requested. Change-Id: I5e252686a17bfc289fbd4557f2dcfb73d39f54c0
-
- 17 Jul, 2018 6 commits
-
-
Matt Hart authored
Change-Id: I645df213647fa35a125389d883bb4732f01d14ad
-
Rémi Duraffort authored
Make this an helper function, called when needed as this is only used by Android jobs. Change-Id: I10584f5f37d4edee5b6a8354bbcd5f393d3b4410
-
Neil Williams authored
Fix a typo related to the meta-lava addition. Change-Id: I7fa39348910d63367c279c038a5ffd2c9b4ddc5e
-
Rémi Duraffort authored
Bug found by meta-lava. Change-Id: Idf9a079d2bea30914cc502023d9795abec397573
-
Rémi Duraffort authored
This is confusing most admins because this is not doing what they expect. When modifying the primary_key of an object, Django will make a copy of the object and change the primary_key of the copy, keeping the original. For instance, when a TestJob is running on a Device, changing the Device hostname will create a copy of the Running Device without any TestJob attached to it. Change-Id: Ic7329156c5f45ccdeb42c1a128981d3e36a9d64d
-
Rémi Duraffort authored
TestJob, Query, TestCase, ... should never be created in the admin UI because this might break assumption about some links with other objects. Change-Id: Ia37374f21ad2a1ab94861c09e06642a4662e3ad2
-
- 16 Jul, 2018 10 commits
-
-
Neil Williams authored
Clean up .pytest_cache in ./ci-run too. Change-Id: I2cd4f533c066663ae6b296a212fe5ba55d01ef2e
-
Neil Williams authored
Change-Id: I11bfdc04aa0e6a669508479f13a708778d7e35dc
-
Rémi Duraffort authored
After the creation of lava_common module, pipeline description are not loadable because they reference the old modules. Fix the module new on the fly. Replace python/name:lava_dispatcher.action.InfrastructureError by python/name:lava_common.exceptions.InfrastructureError Change-Id: I1d3ac9c0ee111c0e1310b7bf0edbec6143293573
-
Neil Williams authored
Change-Id: Ib69b00110097f595eb15cf9d9b5d4e0c0b803a00
-
Neil Williams authored
Function only used in one file, move to that file and drop the import. Change-Id: Ib91038c972f0cb07f60a3a6f6c7c70ec417b5ef3
-
Neil Williams authored
Older versions of django_tables made this magically available. Drop failing search on device_type tables. Change-Id: I1903b172877fbf6505813d0c5b2dad6d48eac441
-
Rémi Duraffort authored
Change-Id: Ic435a3334c626475ad834ac4f478c773764f5f84
-
Corentin LABBE authored
Add meson-gxm-khadas-vim2 device-type This patch was tested on lab-baylibre. Change-Id: I158c019723500c348d7331fb128f9f96973cfb03
-
Rémi Duraffort authored
When most env variables are unset, bzr can't determine the current commiter, so this should be set manually. Change-Id: Ie2efbf0976af540ebd70150e3a0b791126357b4f
-
Neil Williams authored
Document that 'os' is approximate when it is used. Document when it is still required. Document that other uses are deprecated. Allow the overlay to pick up common POSIX constants. Change-Id: I1f7c8f27615cd33a8d2b505a3f0563373f8111f4
-
- 13 Jul, 2018 6 commits
-
-
Rémi Duraffort authored
Url lava.scheduler.job.complete_log does not exist anymore. Change-Id: I2b082aaad90f414f1372fdc695afee6742b22a1c
-
Rémi Duraffort authored
Change-Id: Idd4d55a81df7a0fd332fdc0d06e23922362370bc
-
Rémi Duraffort authored
Change-Id: I8d007fa7ccd514a901661ebcf0ad4cb6ff77c186
-
Rémi Duraffort authored
If a block is not specified, the parent is automaticcaly added. Change-Id: Ia1fc1ce66f294c224db04395dadbeb94add99897
-
Rémi Duraffort authored
Change-Id: Iefd9df6830251e300d85a911727ab28a2b79958a
-
Rémi Duraffort authored
Change-Id: I6154819210bff5d816f6c385a19257a4604da76e
-
- 12 Jul, 2018 2 commits
-
-
Guillaume Tucker authored
The standard bootloader for the tegra124-nyan-big Chromebook is Depthcharge, so update its device type accordingly now that it has been tested with LAVA with these firmware config values: CONFIG_BASE_ADDRESS=0x85000000 CONFIG_HEAP_SIZE=0x00800000 CONFIG_KERNEL_START=0x82000000 CONFIG_KERNEL_SIZE=0x3000000 This allows the device to boot using a FIT image with an initramfs and a mainline kernel built with multi_v7_defconfig. Change-Id: Ifc699769fe7e64311a764a47825cae689dd49e4f Signed-off-by:Guillaume Tucker <guillaume.tucker@collabora.com>
-
Rémi Duraffort authored
Support env.yaml and env.dut.yaml in dispatcher-specific directories, /etc/lava-server/dispatcher.d/<hostname> to allow setting values like HTTP_PROXY per dispatcher. If absent lava-master will fallback to instance-wide files in /etc/lava-server/ Change-Id: I85a13cf638771ebfc36fec343e0df4e31c69c4f0
-