- 09 Nov, 2018 1 commit
-
-
Guillaume Tucker authored
In order to be able to use base-grub.jinja2 with devices that require different GRUB commands, define the ramdisk and nfs boot commands as part of Jinja2 blocks. This allows device types that extend base-grub to define their own. Change-Id: I6318e989913ddca312557d2d007a2f21c9fc7cb3 Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
- 09 Oct, 2018 1 commit
-
-
Guillaume Tucker authored
Add `initrd` GRUB command to nfs_commands to make it possible to first load a ramdisk before booting with the main NFS root. If no ramdisk URL is provided, GRUB raises an error but then carries on booting. Change-Id: Ibb320b003c48b88ebe349af9de6841596c697127 Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
- 28 Sep, 2018 1 commit
-
-
Sjoerd Simons authored
If the server does not provide extra dispatcher configuration check for a local file to include in the runs. Useful to e.g. configure the IP to use for communicating with the duts. Signed-off-by:
Sjoerd Simons <sjoerd.simons@collabora.co.uk>
-
- 29 Aug, 2018 1 commit
-
-
Guillaume Tucker authored
Align with the version sent upstream by using base-grub.jinja2 rather than base.jinja2. Change-Id: Ied0fe7dc5e23e0dce0be79893836579fc727b8b7 Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
- 24 Aug, 2018 6 commits
-
-
Guillaume Tucker authored
Add device type definitions for the Minnowboard Max and Turbot (x86 Atom E3825/E3826) with boot commands for ramdisk and NFS using GRUB. These typically rely on a stand-alone GRUB binary to be downloaded via PXE boot with the following modules built-in: tftp net efinet linux efifwsetup part_msdos part_gpt btrfs ext2 fat Some instructions on how to set up these boards can be found here: https://wiki.apertis.org/Reference_Hardware/Minnowboard_setup#Setting_up_a_Minnowboard_device_for_LAVA Change-Id: I45a9ddd9aaf4bdf2019be08b8cc82316a4466725 Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
Guillaume Tucker authored
When providing an arbitrary list of commands in the job definition to boot from a secondary medium, skip the rest of the validate() function as expected. Change-Id: I3605acc30caaa61db32a3b75bb14be6d93e628e2 Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
By converting Decimal objects to Strings in Yaml, we ensure that 'TestCase.metadata' field stored as a string in the database. This helps YAML/CSV test result export more readable and easy to parse. Change-Id: Iead15ebf7225e248c97e44257a113ba91acea3a6 Signed-off-by:
Lakshmipathi Ganapathi <lakshmipathi.ganapathi@collabora.co.uk>
-
Allow to specify any path in `lava_test_results_dir` for deployments. Originally guest image for Qemu is mounted to target mount point but in the same time path inside the image skip only 1 directory in hierarchy doubling the rest of the path in Qemu VM, for instance: `/var/lib/lava-5/lib/lava-5/bin/...` instead of `/var/lib/lava-5/bin/...`. This behavior causes the issues in `lava-test-shell` test: lava-test: # lava-test: # sh: 9: /var/lib/lava-4/bin/lava-test-runner: not found Signed-off-by:
Denis Pynkin <denis.pynkin@collabora.com>
-
Guillaume Tucker authored
Some Ubuntu-derived distros such as Apertis have a read-only root file system, and it can't be re-mounted as rw. So to be able to store LAVA test files, move the directories to /var/lib/ instead as this has write permissions. Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
Guillaume Tucker authored
This was suggested by Huawei to avoid some boot failures. Change-Id: I93e146a4c24d69ea91c1bf1e02331234546306fc Signed-off-by:
Guillaume Tucker <guillaume.tucker@collabora.com>
-
- 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 8 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
-