aboutsummaryrefslogtreecommitdiffstats
path: root/test-suites
AgeCommit message (Collapse)AuthorFilesLines
2020-11-25Flip order in veth setupJan-Simon Möller1-2/+3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2da141b438122eee2768582c5a31054cb8a68964
2020-11-25SPEC-3597: prevent conman to break routesCorentin LABBE1-0/+2
conman break routes after adding veth, prevent this. Change-Id: Ic674a8ad609783950ac2ca95a9176d427c59b6ad Bug-AGL: SPEC-3597 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-10-14SPEC-3631: Add veth testCorentin LABBE1-0/+10
Add veth test which adds an extra virtual network card for testing. Change-Id: I4e6fef99009830cd016b2124b45b6815192b5ced Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE <clabbe@baylibre.com> (cherry picked from commit 372171903a7c594f3623f80063f7c986150e17f3)
2020-09-14Change regular pyagl invocation to nohwJan-Simon Moeller2-14/+14
In CI we will execute the 'not hwrequired' flag. Make this the default case in the test-suites. Bug-AGL: SPEC-3572 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I370bb3c12953d7455a1a4c06c573cbc10ee17bda
2020-09-09Add test definitions for pyaglJan-Simon Moeller1-0/+14
We can now call pytest using the pyagl/tests module. These expose -k regular and -k hwrequired, thus create two caller scripts. Also create a sample testsuite entry using the regular variant with limited AGL_AVAILABLE_INTERFACES. Bug-AGL: SPEC-3572 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic6b977da959f946ca88348715d5249748c70f736
2019-12-21Disable the can module unload/load testicefish_8.99.5icefish/8.99.58.99.5Jan-Simon Möller1-3/+3
And also fix a logic bug in the test_can_modules. The test can stay disabled. There is no need to unload the modules. Bug-AGL: SPEC-3070 . Change-Id: Ic94d5bb9cad3d6cdcbc6534cfc4003213ad82aaa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-10-15qa-testdefinitions: Split can tests to avoid failuresKhouloud Touil2-9/+21
Split the can tests in two, one for basic tests that doesn't need the two can interfaces to be related, and the other one is for a board with two related interfaces. Modify the test_can_modules to be run on a board with only one can if at least. AGL-bug: SPEC-2878 Change-Id: I6f761458c3e191aa8000d19cb05b0592566cb6c9 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-09-06Use the new arg --build-tags and the arg --device-tagsKhouloud Touil1-2/+5
Use the new arg --build-tags along with the arg --device-tags to decide the tests to be run and the tests to be skiped. The test to be tested in this patch is for the weston service. Bug-AGL: SPEC-2721 Change-Id: Ia34680c5e60e27dfe286626fedc5775efff87ba3 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-26Add application-lifecycle testCorentin LABBE1-0/+13
This patch adds basic Application Lifecycle Workflow Test (fetch, uninstall, install, start) Bug-AGL: SPEC-1850 Change-Id: Ie65648e043b7909aecb2fe64dfbf2b2bba8f1f37 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2019-01-24Add new parametersKhouloud Touil1-0/+2
Passing the board tags as parameters to the .yaml file. Change-Id: If3c5e9dc5d4e31f00b29cb8f2bf2da60890f8fc5 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-10-16Add sample folders for daily, weekly and releaseJan-Simon Möller9-0/+144
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-02Add the long ptest job and enhance the short jobJan-Simon Möller1-0/+7
Change-Id: I42dd644656a47fd9ba3b35a25e848535f61ca0a9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-01Add test to dump the systemd journalJan-Simon Möller1-0/+21
Change-Id: I2ad02f6828e165a898fb4a739ab3c893267d4c53 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-01Add job to delay shutdown for manual inspectionJan-Simon Möller2-0/+42
Change-Id: Ib7e3495a03256e6dcaafda529db99bad805ace03 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-16Fix the CAN bus testsguppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.26.90.05.99.65.99.55.99.45.99.35.99.2khouloud touil1-16/+16
At first to be able to configure the can interfaces, we had to use the libsocketcan, but this lib should be used with canutils utilities, but a conflict happened between the canutils and the can-utils, so I had to fix the tests to be able to use only the can-utils utilities. This link for a LAVA test job for these tests: http://lava.baylibre.com:10080/scheduler/job/10883 Change-Id: I7b988496d6977d6d9d82f8f82b58520444dbc7d6 Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-07-02CAN bus testskhouloud touil1-0/+26
This commit for testing CAN modules, sending and receiving frames, showing stats and and testing suitable bitrates for transmission. The "test_can_loopback_mode" test can be run on a board with one interface. This test will fail gracfully if the board dosen't have any CAN interface. The other tests needs to be run on a board with two CAN interfaces (e.g. dra7 with external transceiver.) These tests requires two interfaces on the same board to send frames with the first interface and to receive them with the other one These tests will fail gracfully by skiping all test cases if the board doesn't have two interfaces. This link for the DRA7xx-EVM job : http://lava.baylibre.com:10080/scheduler/job/2860 This link for the AM335X-BONEBLACK (no CAN interface) : http://lava.baylibre.com:10080/scheduler/job/2862 Change-Id: I7d4c69f7817adbea8281d264cbbb7fa55571584e Signed-off-by: khouloud touil <ktouil@baylibre.com>
2018-03-14service-ids-check: Add check uid/gid of servicesflounder_5.99.1flounder/5.99.15.99.1jobol1-0/+15
This new test allows to check whether service run with expected uid and gid. This check doesn't check that the service runs because there is an other check for that. It currently only checks weston service to run as display/display but it can be easily extended for checking other services. Bug-AGL: SPEC-546 Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-10-20New Yocto ptest definition & scripteel_4.99.2eel/4.99.24.99.2lollivier1-0/+7
Add a new yocto ptest definition to the pool of tests. The script is a wrapper around the ptests. For now it only runs the ptests for busybox. Bug-AGL: SPEC-911 Change-Id: I6fe96297c0d5db71c2ef41dc5afd67eecf3d8e97 Signed-off-by: lollivier <lollivier@baylibre.com>
2017-10-10Prepare the nogfx variant of the service checkJan-Simon Möller2-1/+16
and enhance verbosity. Change-Id: Ia95a6236ffc4229703714ad58b70b21c00884c5c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-22[SPEC-272] Add service testLoys Ollivier1-0/+15
New test definition. Check that needed services are up. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-06-13Remove lscpu and lsb_release as they're not in our filesystem.Jan-Simon Möller1-2/+0
Change-Id: Ibe359a3140362f30e1a28f3431caf5beb60acdf2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-06-13Add examples for testsJan-Simon Möller2-0/+46
Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>