aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2018-10-01Add test to dump the systemd journalJan-Simon Möller1-0/+24
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öller3-0/+50
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 touil4-49/+48
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 touil5-0/+501
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/+78
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.2lollivier1-0/+30
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öller2-3/+31
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-22[SPEC-272] Add service testLoys Ollivier1-0/+19
New test definition. Check that needed services are up. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
2017-06-13Add examples for testsJan-Simon Möller2-0/+89
Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>