src/qa-testdefinitions.git
5 years agoMerge "Add application-lifecycle test" halibut 7.99.1 7.99.2 7.99.3 8.0.0 8.0.1 8.0.2 8.0.3 8.0.4 8.0.5 8.0.6 halibut/7.99.1 halibut/7.99.2 halibut/7.99.3 halibut/8.0.0 halibut/8.0.1 halibut/8.0.2 halibut/8.0.3 halibut/8.0.4 halibut/8.0.5 halibut/8.0.6 halibut_7.99.1 halibut_7.99.2 halibut_7.99.3 halibut_8.0.0 halibut_8.0.1 halibut_8.0.2 halibut_8.0.3 halibut_8.0.4 halibut_8.0.5 halibut_8.0.6
Jan-Simon Moeller [Wed, 27 Mar 2019 17:15:48 +0000 (17:15 +0000)]
Merge "Add application-lifecycle test"

5 years agoAdd application-lifecycle test 65/20565/4
Corentin LABBE [Tue, 12 Mar 2019 13:49:29 +0000 (14:49 +0100)]
Add application-lifecycle test

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>
5 years agoFix the nomenclatur of LAVA test cases 75/20675/2
Khouloud Touil [Wed, 13 Mar 2019 14:59:31 +0000 (15:59 +0100)]
Fix the nomenclatur of LAVA test cases

This patch fixes the problem of the naming issue. Test cases that have
the same name will end up overwriting previous test cases when storing
the results in the data base. So this patch is to changes the test cases
names and to be more understandable.

Change-Id: Iab3aaf62aefb120b7a04d21bd83aabf7034e72f4
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
5 years agoFix: delete the temporary file 73/20673/1
Khouloud Touil [Wed, 13 Mar 2019 14:28:01 +0000 (15:28 +0100)]
Fix: delete the temporary file

Before breaking the loop, the temporary file should be deleted.

Change-Id: I3d2abb49b78cdf08e77ce4007d24e40dd4a93ea5
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
5 years agoFix the for loop 71/20671/1
Khouloud Touil [Wed, 13 Mar 2019 14:19:00 +0000 (15:19 +0100)]
Fix the for loop

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>
5 years agotest_can_bitrate: fix indentation 69/20669/1
Khouloud Touil [Wed, 13 Mar 2019 14:17:05 +0000 (15:17 +0100)]
test_can_bitrate: fix indentation

This patch fixes indentation in the 'test_can_bitrate.sh' file.

Change-Id: I1968e9e7e39429e3900b845c1f72ff393f741d16
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
5 years agoAdd new parameters 39/19739/1
Khouloud Touil [Thu, 24 Jan 2019 10:05:49 +0000 (11:05 +0100)]
Add new parameters

Passing the board tags as parameters to the .yaml file.

Change-Id: If3c5e9dc5d4e31f00b29cb8f2bf2da60890f8fc5
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
5 years agoptest wrapper: disable smack 17/18317/1 6.99.2 6.99.3 6.99.4 7.90.0 guppy/6.99.2 guppy/6.99.3 guppy/6.99.4 guppy_6.99.2 guppy_6.99.3 guppy_6.99.4 halibut/7.90.0 halibut_7.90.0
Kevin Hilman [Tue, 27 Nov 2018 00:14:32 +0000 (16:14 -0800)]
ptest wrapper: disable smack

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>
5 years agoptest wrapper: add ptest-installed PASS 15/18315/1
Kevin Hilman [Tue, 27 Nov 2018 00:26:18 +0000 (16:26 -0800)]
ptest wrapper: add ptest-installed PASS

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>
5 years agoptest wrapper: use new LAVA mode 13/18313/1
Kevin Hilman [Tue, 27 Nov 2018 00:02:24 +0000 (16:02 -0800)]
ptest wrapper: use new LAVA mode

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>
5 years agoTune down on selection of ptests and ramp-up one-by-one 31/18031/1 6.99.1 guppy/6.99.1 guppy_6.99.1
Jan-Simon Möller [Fri, 16 Nov 2018 06:27:32 +0000 (07:27 +0100)]
Tune down on selection of ptests and ramp-up one-by-one

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>
5 years agoAdd sample folders for daily, weekly and release
Jan-Simon Möller [Tue, 16 Oct 2018 05:45:55 +0000 (07:45 +0200)]
Add sample folders for daily, weekly and release

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoMerge "yocto-ptest: fix ptest-runner failure case"
Jan-Simon Moeller [Mon, 8 Oct 2018 09:16:07 +0000 (09:16 +0000)]
Merge "yocto-ptest: fix ptest-runner failure case"

5 years agoyocto-ptest: fix ptest-runner failure case 73/16973/1
Kevin Hilman [Sat, 6 Oct 2018 15:56:37 +0000 (17:56 +0200)]
yocto-ptest: fix ptest-runner failure case

lava-test-case only takes one argument for TEST_CASE_ID

Change-Id: Ic6e2f93a4f8829c8307528661fd3f9f6db4b6d88
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 years agoyocto-ptest: fix bash syntax error 71/16971/1
Kevin Hilman [Sat, 6 Oct 2018 15:18:58 +0000 (17:18 +0200)]
yocto-ptest: fix bash syntax error

Change-Id: I7bacce4d52f2ab15c2b855ca853e5b64e13c887d
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
5 years agoFix typo in wrapper 87/16887/1
Jan-Simon Möller [Tue, 2 Oct 2018 17:42:29 +0000 (19:42 +0200)]
Fix typo in wrapper

Change-Id: I89c02dcdc2bb283cf83442daf0bd78edd208ff42
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAdd the long ptest job and enhance the short job 83/16883/1
Jan-Simon Möller [Tue, 2 Oct 2018 17:30:20 +0000 (19:30 +0200)]
Add the long ptest job and enhance the short job

Change-Id: I42dd644656a47fd9ba3b35a25e848535f61ca0a9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAdd test to dump the systemd journal
Jan-Simon Möller [Mon, 1 Oct 2018 11:05:39 +0000 (13:05 +0200)]
Add test to dump the systemd journal

Change-Id: I2ad02f6828e165a898fb4a739ab3c893267d4c53
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoAdd job to delay shutdown for manual inspection
Jan-Simon Möller [Mon, 1 Oct 2018 10:54:26 +0000 (12:54 +0200)]
Add job to delay shutdown for manual inspection

Change-Id: Ib7e3495a03256e6dcaafda529db99bad805ace03
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoUpdate units to test with ptest 51/16851/1
Jan-Simon Möller [Fri, 28 Sep 2018 12:40:38 +0000 (14:40 +0200)]
Update units to test with ptest

Change-Id: Iaae973d8240d8754eac2c49010728c42157674b3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoRemove deprecated service check 05/16805/1
Jan-Simon Möller [Wed, 26 Sep 2018 21:42:19 +0000 (23:42 +0200)]
Remove deprecated service check

homescreen.service is no longer supported.

Change-Id: Icc0595e9aac9522e0b55fb9e524066187cd0efeb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
5 years agoFix the CAN bus tests 31/15331/6 5.99.2 5.99.3 5.99.4 5.99.5 5.99.6 6.90.0 flounder/5.99.2 flounder/5.99.3 flounder/5.99.4 flounder/5.99.5 flounder/5.99.6 flounder_5.99.2 flounder_5.99.3 flounder_5.99.4 flounder_5.99.5 flounder_5.99.6 guppy/6.90.0 guppy_6.90.0
khouloud touil [Thu, 12 Jul 2018 08:36:46 +0000 (10:36 +0200)]
Fix the CAN bus tests

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>
5 years agoCAN bus tests 99/14599/4
khouloud touil [Fri, 22 Jun 2018 12:26:49 +0000 (14:26 +0200)]
CAN bus tests

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>
6 years agoservice-ids-check: Add check uid/gid of services 13/13613/1 5.99.1 flounder/5.99.1 flounder_5.99.1
jobol [Wed, 14 Mar 2018 12:58:25 +0000 (13:58 +0100)]
service-ids-check: Add check uid/gid of services

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>
6 years agoYocto ptest wrapper extend ptest set 71/11771/3 4.99.3 eel/4.99.3 eel_4.99.3
Loys Ollivier [Thu, 9 Nov 2017 10:10:00 +0000 (11:10 +0100)]
Yocto ptest wrapper extend ptest set

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>
6 years agoNew Yocto ptest definition & script 07/11407/2 4.99.2 eel/4.99.2 eel_4.99.2
lollivier [Fri, 20 Oct 2017 09:30:03 +0000 (11:30 +0200)]
New Yocto ptest definition & script

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>
6 years agoRename check for homescreen and remove lightmediascanner service 67/11367/1
Jan-Simon Möller [Tue, 17 Oct 2017 22:13:06 +0000 (00:13 +0200)]
Rename check for homescreen and remove lightmediascanner service

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>
6 years agoMerge "Adapt service checks for gfx and nogfx case"
Jan-Simon Moeller [Thu, 12 Oct 2017 12:45:24 +0000 (12:45 +0000)]
Merge "Adapt service checks for gfx and nogfx case"

6 years agoAdd 5 sec delay for service check 43/11243/1
Jan-Simon Möller [Thu, 12 Oct 2017 10:05:51 +0000 (12:05 +0200)]
Add 5 sec delay for service check
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>
6 years agoAdapt service checks for gfx and nogfx case 41/11241/1
Jan-Simon Möller [Thu, 12 Oct 2017 09:56:15 +0000 (11:56 +0200)]
Adapt service checks for gfx and nogfx case

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>
6 years agoPrepare the nogfx variant of the service check
Jan-Simon Möller [Tue, 10 Oct 2017 21:06:21 +0000 (23:06 +0200)]
Prepare the nogfx variant of the service check

and enhance verbosity.

Change-Id: Ia95a6236ffc4229703714ad58b70b21c00884c5c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoAdd some more output in case the service is not up to assist debugging 77/11077/1
Jan-Simon Möller [Fri, 29 Sep 2017 10:19:13 +0000 (12:19 +0200)]
Add some more output in case the service is not up to assist debugging

Change-Id: Ia61db614df402ccf9daf37ef685a002b08e3d824
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoMerge "[SPEC-272] Add service test"
Jan-Simon Moeller [Tue, 26 Sep 2017 11:30:43 +0000 (11:30 +0000)]
Merge "[SPEC-272] Add service test"

6 years agoAdd test documentation and example 29/11029/1
Loys Ollivier [Tue, 26 Sep 2017 06:57:22 +0000 (08:57 +0200)]
Add test documentation and example

Added:
- README to point to releng-scripts
- test documentation
- a test example skeleton

Change-Id: I75e7be55eb836adf4c8c6816689ffe5a65b76145
Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
6 years ago[SPEC-272] Add service test 07/11007/1
Loys Ollivier [Fri, 22 Sep 2017 14:23:41 +0000 (16:23 +0200)]
[SPEC-272] Add service test

New test definition. Check that needed services are up.

Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
6 years agoRemove lscpu and lsb_release as they're not in our filesystem. 21/9721/1
Jan-Simon Möller [Tue, 13 Jun 2017 11:07:39 +0000 (13:07 +0200)]
Remove lscpu and lsb_release as they're not in our filesystem.

Change-Id: Ibe359a3140362f30e1a28f3431caf5beb60acdf2
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoAdd examples for tests 19/9719/1
Jan-Simon Möller [Tue, 13 Jun 2017 09:15:28 +0000 (11:15 +0200)]
Add examples for tests

Change-Id: I2488c210df0b71c1d7b752babce16fd80d17acd3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd gitreview file 15/8615/1 3.0.2 3.0.3 3.99.1 chinook/3.0.2 chinook/3.0.3 chinook_3.0.2 chinook_3.0.3 dab/3.99.1 dab_3.99.1
Jan-Simon Möller [Thu, 2 Mar 2017 17:06:51 +0000 (18:06 +0100)]
Add gitreview file

Change-Id: Ia69d00c3fd36bfab138d1fc72130e0499ae1b779
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd first test to testdefinition repo.
Jan-Simon Möller [Tue, 28 Feb 2017 12:11:08 +0000 (13:11 +0100)]
Add first test to testdefinition repo.

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoInitial empty repository
Jan-Simon Moeller [Tue, 28 Feb 2017 11:56:35 +0000 (11:56 +0000)]
Initial empty repository