Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
CAN tests fail on M3 and H3 because their build includes busybox version
of ip (and not iproute one).
This patchs adds a test for detecting if the right ip util is installed.
Change-Id: I5909bc0af23271626dec9c1ed7003bdfc9129041
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
When TERM is dump, the width of logging is cropped at 80columns which
made debugging harder.
This patchs increase columns size to 1000.
Bug-AGL: SPEC-2970
Change-Id: Ia70136b6aa6242362b1286631ae4b00ab567ae2e
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Currently we disable ptests/socket tests
to be enabled in SPEC-2940 and SPEC-2941.
Shift from the permission database cynara
to cynagora permission database with a compatibility
library.
Bug-AGL: SPEC-2844
Bug-AGL: SPEC-2941
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Change-Id: I673e47ae237a83926f15d003dd2d2623a08eefb5
|
|
Currently the bluetooth service fails exclusively on m3ulcb-nogfx.
We need to adapt the CI infra (lava labs) either with additional hw
or adapt the dtb used conditionally. This needs further work.
Meanwhile mask the bluetooth service test on the m3ulcb-nogfx target
to avoid false-positives being reported.
Bug-AGL: SPEC-2921
.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I592ea7f8a6b8ddc4ff10eac8428162c44a1d3ac4
|
|
This printing breaks 'rid' parsing, remove it.
Bug-AGL: SPEC-2903
Bug-AGL: SPEC-2925
Change-Id: I505ab9d2994f983de53849fce25d87c8af44362d
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
While inspecting if application test is working with our latest
SPEC-2903 changes I see in job 8845 the following errors:
+ grep urn:AGL:widget:provided-api config.xml
+ '<feature' 'name=\"urn:AGL:widget:provided-api\">'
./common/scripts/application-lifecycle.sh: line 74: <feature: command not found
So let's change the grep method.
Furthermore, add a debug for the do_afm_util for being sure it work as
needed.
Bug-AGL: SPEC-2903
Change-Id: I5a8a6d98cd9dc6c1b2d1626fc6841eb2c2b16d53
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
This patch change the way we ran afm-util commands by using a simple
wrapper.
Furthermore, since we are in a loop, let's reset all variable
(SERVICE_PLATFORM/etc..) to 0 at the beginning of the loop.
Extra-furthermore: restore the unzip error code test, but in non-fatal
way, since busybox unzip seems to dont like our CRC.
Bug-AGL: SPEC-2903
Change-Id: I5d7357fd74307ed69a6675beac57d8601fdcdb52
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I9076278096e15829b4bca52f6b5ef9e9a3b39e9e
|
|
|
|
When executing the lifecycle test, we need to take into account if
the service or app runs in platform or user scope.
Bug-AGL: SPEC-2903
.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I49a53a5a2b14666757b65b0f8203eb73ed2c7b45
|
|
|
|
|
|
This test should be failing, so it should be set to pass when it
fails, and should be set to fail when it passes.
AGL-bug: SPEC-2878
Change-Id: I43921717eea77d654921eca4691c936bb2901e54
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
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>
|
|
|
|
To make sure that the can interface could be configured, we have to make
it dowm each time before the start of the config step.
Change-Id: I7bebea65072ffd822ee30241c68a0a89123b1576
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
|
|
weston does not start on qemuarm/qemuarm64, let's add it to the test skiplist.
Change-Id: I885b8fe0e6521a1e707c4a3298a9f7d9aa384728
Bug-AGL: SPEC-2740
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
Before breaking the loop, the temporary file should be deleted.
Change-Id: I3d2abb49b78cdf08e77ce4007d24e40dd4a93ea5
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
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>
|
|
This patch fixes indentation in the 'test_can_bitrate.sh' file.
Change-Id: I1968e9e7e39429e3900b845c1f72ff393f741d16
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
Passing the board tags as parameters to the .yaml file.
Change-Id: If3c5e9dc5d4e31f00b29cb8f2bf2da60890f8fc5
Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
|
|
lava-test-case only takes one argument for TEST_CASE_ID
Change-Id: Ic6e2f93a4f8829c8307528661fd3f9f6db4b6d88
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I7bacce4d52f2ab15c2b855ca853e5b64e13c887d
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Change-Id: I89c02dcdc2bb283cf83442daf0bd78edd208ff42
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I42dd644656a47fd9ba3b35a25e848535f61ca0a9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: I2ad02f6828e165a898fb4a739ab3c893267d4c53
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Ib7e3495a03256e6dcaafda529db99bad805ace03
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Change-Id: Iaae973d8240d8754eac2c49010728c42157674b3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
homescreen.service is no longer supported.
Change-Id: Icc0595e9aac9522e0b55fb9e524066187cd0efeb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|