summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-03-14Fix the for loopKhouloud Touil1-1/+1
To avoid looping several times through the same test case the 'break' should be moved to the right position. Change-Id: I8a4d5e73b1f2ef39f8593209b928323a1770dedf Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2019-03-14test_can_bitrate: fix indentationKhouloud Touil1-22/+22
This patch fixes indentation in the 'test_can_bitrate.sh' file. Change-Id: I1968e9e7e39429e3900b845c1f72ff393f741d16 Signed-off-by: Khouloud Touil <ktouil@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-11-26ptest wrapper: disable smackhalibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy/6.99.4guppy/6.99.3guppy/6.99.27.90.06.99.46.99.36.99.2Kevin Hilman1-1/+1
All the smack ptest does is generate a bunch of random files, which fills up the filesystem and then fails. Disable it. Change-Id: I859f683105ee89b1d5082e7477f76f127c99da67 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-26ptest wrapper: add ptest-installed PASSKevin Hilman2-0/+3
Add a "ptest-installed" test-case in the successful case also, so that there is always "ptest-installed" test case when ptests are attempted. Change-Id: I277ad66bf51a8b7e65fdea4cf77b6e1d862811c0 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-26ptest wrapper: use new LAVA modeKevin Hilman2-44/+3
ptest-runner now has a new LAVA mode (enabled with -L) that will automatically output the LAVA_SIGNAL messages needed for LAVA to automatically parse/collect test results. Re-work this wrapper script to that it just uses the new LAVA mode. Change-Id: I310f1188f65de5f86e8179c12aedce6a92932e9a Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-11-16Tune down on selection of ptests and ramp-up one-by-oneguppy_6.99.1guppy/6.99.16.99.1Jan-Simon Möller1-3/+6
E.g. the systemd ptest will break network which is bad in a network env. So start with less and add more after checking manually. Change-Id: Iff199dfb6e42475495e036330b0962739e2f74f4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
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-08Merge "yocto-ptest: fix ptest-runner failure case"Jan-Simon Moeller1-1/+1
2018-10-06yocto-ptest: fix ptest-runner failure caseKevin Hilman1-1/+1
lava-test-case only takes one argument for TEST_CASE_ID Change-Id: Ic6e2f93a4f8829c8307528661fd3f9f6db4b6d88 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-06yocto-ptest: fix bash syntax errorKevin Hilman2-2/+2
Change-Id: I7bacce4d52f2ab15c2b855ca853e5b64e13c887d Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-10-02Fix typo in wrapperJan-Simon Möller1-1/+3
Change-Id: I89c02dcdc2bb283cf83442daf0bd78edd208ff42 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-02Add the long ptest job and enhance the short jobJan-Simon Möller3-2/+47
Change-Id: I42dd644656a47fd9ba3b35a25e848535f61ca0a9 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-01Add test to dump the systemd journalJan-Simon Möller2-0/+45
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öller5-0/+92
Change-Id: Ib7e3495a03256e6dcaafda529db99bad805ace03 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-28Update units to test with ptestJan-Simon Möller1-1/+1
Change-Id: Iaae973d8240d8754eac2c49010728c42157674b3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-09-26Remove deprecated service checkJan-Simon Möller1-2/+2
homescreen.service is no longer supported. Change-Id: Icc0595e9aac9522e0b55fb9e524066187cd0efeb 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 touil5-65/+64
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 touil6-0/+527
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.1jobol2-0/+93
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-11-09Yocto ptest wrapper extend ptest seteel_4.99.3eel/4.99.34.99.3Loys Ollivier1-4/+7
Extend the set of ptests to run to: acl attr bluez5 busybox dbus-test. Reduce the LAVA output to summarize the results of ptests. Change-Id: I088789dbc148f4007c8b9971adeadce689cbb6b0 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-10-20New Yocto ptest definition & scripteel_4.99.2eel/4.99.24.99.2lollivier2-0/+37
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-18Rename check for homescreen and remove lightmediascanner serviceJan-Simon Möller1-1/+1
This change corrects the service-check-gfx.sh script. HomeScreen.service is actually named homescreen.service. lightmediascanner.service does not exist in the target rootfs. Change-Id: Ief1a1641e2e5242f155255af02b1c250b377ae12 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12Merge "Adapt service checks for gfx and nogfx case"Jan-Simon Moeller2-13/+41
2017-10-12Add 5 sec delay for service checkJan-Simon Möller2-0/+6
to ensure all services (weston/homescreen) are really up as they might still be starting once we reach the login prompt. Change-Id: I1e16146704f1b11d576ffab1524b279e4be5a82c Bug-AGL: SPEC-950 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-12Adapt service checks for gfx and nogfx caseJan-Simon Möller2-13/+41
Based on SPEC-949, remove the afm-user-daemon service as it is a session service and no system service. Add systemctl list-units at the end. Bug-AGL: SPEC-949 Change-Id: I90cde515efc5dbbd031691026f76345f8828be1a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-10-10Prepare the nogfx variant of the service checkJan-Simon Möller4-4/+47
and enhance verbosity. Change-Id: Ia95a6236ffc4229703714ad58b70b21c00884c5c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-29Add some more output in case the service is not up to assist debuggingJan-Simon Möller1-0/+3
Change-Id: Ia61db614df402ccf9daf37ef685a002b08e3d824 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-09-26Merge "[SPEC-272] Add service test"Jan-Simon Moeller2-0/+34
2017-09-26Add test documentation and exampleLoys Ollivier3-0/+90
Added: - README to point to releng-scripts - test documentation - a test example skeleton Change-Id: I75e7be55eb836adf4c8c6816689ffe5a65b76145 Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-09-22[SPEC-272] Add service testLoys Ollivier2-0/+34
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öller4-0/+135
Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-03-02Add gitreview filedab_3.99.1dab/3.99.1chinook_3.0.3chinook_3.0.2chinook/3.0.3chinook/3.0.23.99.13.0.33.0.2Jan-Simon Möller1-0/+5
Change-Id: Ia69d00c3fd36bfab138d1fc72130e0499ae1b779 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-28Add first test to testdefinition repo.Jan-Simon Möller3-0/+190
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-02-28Initial empty repositoryJan-Simon Moeller0-0/+0