Age | Commit message (Collapse) | Author | Files | Lines |
|
We're getting a checksum error when comparing the reference image
against the one done at boot, so let's have to store it, for later
retrieval and investigation.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7a532d78fc840064d74c6f385ddbf2537390b1ad
|
|
Stopping services and the client shell before restarting the compositor,
would avoid some large delays until the new compositor instance
is brought up.
With this approach, were we stop explicitly the client shell and the
launcher, we're basically have a hard stop, and should avoid those huge
delays for qemu-arm. Until we can confirm this is the case, we still
maintain that delay.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ifa067ac40de162291d7d6cfb70035e87add07220
|
|
The user session has its own daemon that needs to be reloaded separately.
Thus execute a separate reload call.
Bug-AGL: SPEC-4165
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ie58423dfb29002660eea69462623d3f37614079f
|
|
Update the restart command and adapt to the user session.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I92ee001ded6d49e83078ce13e31e29cebe69d967
|
|
On slow emulated targets, we do need more time to spin up.
Extend the timeout.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I90231ad23846e77191626ccaebd657b53ee4b897
|
|
We need more time on e.g. qemuarm to finish processing
and also have no pager enabled.
Bug-AGL: SPEC-4165
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I1f1d4adcc2b9b702b09e33005559d2d061f7472f
|
|
The latest changes on the master branch require an update
to the screenshot test.
The script has been changed to use the journal and use the
new settings file locations.
Bug-AGL: SPEC-4150
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: If321c62940bb1809e38585c7dcdb08b273af8221
|
|
These services are disabled now and will re-enter as part of the appfw rework.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I716a1c437c0d50f1756bb0a058b5b1036ca95430
|
|
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I4a16b8f0449fb7413777f08bbc569d5cd76527e0
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ie74175ab892f12a4eca439350bdd043bb282f931
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I3d8cf2dd5227edabf8dc39eb50f5fa0560a5d221
|
|
|
|
Dumpjournal will now dump to artyfactory by default.
Bug-AGL: SPEC-4003
Change-Id: I2ae89be507062bceb84a6a7cbd054dcce09b6874
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
bbe has no sound. skip sound tests.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: Ief9254c5c856b19df063985bce3b2de7d4b6ac87
|
|
This fixes slow (e.g. mesa) startup.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I10ef1e14ca97370c59984b5d848b90e6cbb9d40b
|
|
Lot of code was moved in do_release_test(), but since it is not in a
loop anymore, continue are noop.
Replace them by returns.
Fixes: 1aee04806027c9496f5860a0dfcdbd4aafde148d ("SPEC-3484: create new application tests using new wgt types")
Change-Id: I1dcd7b389dd859d8aadb3608c6e5255d13a470b8
Bug-AGL: SPEC-3808
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
|
|
Add basic screenshooter test.
Change-Id: I8be9c6b4f621dc757c7e8ab846384c0fb32561df
Bug-AGL: SPEC-3764
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ic0b2e75122835786899aae2979feb8d29edefd5c
|
|
We need to use vcan0 for the canreplay.
Bug-AGL: SPEC-3756
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I8e3e8c7d6eadf081014e129cfd59ad217004f46d
|
|
Avoid escaping characters.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I50b1895cc148b43a73e8730f76a39c29382973cb
|
|
Do not enforce tests that require the internet connection to be up.
This is the case for geoclue and weather.
We might be able to revert this in the future after
fixes to the systemd dependencies and lab setup.
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I1f53e6bfda5be7c9f9613b485efb4f2e25839a63
|
|
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I2da141b438122eee2768582c5a31054cb8a68964
|
|
conman break routes after adding veth, prevent this.
Change-Id: Ic674a8ad609783950ac2ca95a9176d427c59b6ad
Bug-AGL: SPEC-3597
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
|
|
We the can test 1_pyagl-tests.can_write_wo_auth can easily fail on
the 2nd invocation. Work this around until fixed.
Bug-AGL: SPEC-3648
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I25af2c86604672f2e439fef19b400c83fff358d9
|
|
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>
|
|
The standalone run did have it defined, but the application test
did mit the setting of
AGL_AVAILABLE_INTERFACES=ethernet.
If necessary it has to be redefined in the test for bluetooth and wifi
per board.
Bug-AGL: SPEC-3597
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Change-Id: I0772f9a6cc449406785fb167f575d6ca65e6267c
|
|
agl-service-homescreen crashes when a testwgt is executed.
Until resolved, disable the test wgt execution.
Bug-AGL: SPEC-3608
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I415b2fe80338f4090ef037c77d61af8205fbb77e
|
|
For using gcov, a new gcovr-wrapper was created.
Let's use it, capture its output ang generate some metrics.
Bug-AGL: SPEC-3484
Change-Id: Idbd9aa34d37d31414d18341b035440e28df5dc83
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
|
|
|
|
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
|
|
Install and test coverage the same way than normal package.
Handling coverage generated files will be handled later.
Bug-AGL: SPEC-3484
Change-Id: I02d4ea1aa77954a7c85317accb6b565ece8676c0
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The id could be not the first element, and so the parsing is wrong.
Change-Id: I325aac6de4733a166c7be8e3515b85e9edff4365
Bug-AGL: SPEC-3550
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
In config.xml, name could be in uppercase, so let's use id which is
lowercase.
Change-Id: Ibc3e9e145692c7773f70a1308c7ff0de27e9f0bd
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Qemu by default has no hardware attached. Limit the run to not
execut hardware-specific tests.
Bug-AGL: SPEC-3572
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I3305d0c34737cf026989e2bde197d8ce3d96db19
|
|
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
|
|
Some package has their service name different than their filename.
This patch handle this situation
Bug-AGL: SPEC-3550
Change-Id: I99c102f411ce5a0636fa14528cd2890694d986c6
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The wgt-test and wgt-coverage needs to be handled differently.
This patchs splits the application tests to handle all files
encountered.
First we download all files, then we use them in a specific order.
Change-Id: Idc71ecfe36496db314b288f2b8ca7c2d61887de7
Bug-AGL: SPEC-3484
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Now we build all package type, we need to handle coverage/test packages.
Bug-AGL: SPEC-3482
Change-Id: Idb6dc2d453f26183094d6679dcc5c1f553780a16
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Dump the journal when the app does not start.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ia886e87599721deca57dd8664c6637c3cd1f9b3f
|
|
For finding wgtname, we download an index.html and the WGT archive could
contains a file with the same name and unzip complain about replacing a file.
The solution is to unzip in an empty dedicated directory.
Change-Id: I9680eb8909256e749a2b5177ed1d942add841af5
BUG-AGL: SPEC-3533
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The grep pattern for systemd units is not enough restrictive.
So let's made grep a little more restrictive.
Change-Id: If0f75919a89c39da63e5375e3b3cdd020c6ea324
Bug-AGL: SPEC-3495
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
Package could have -debug in their filename, but their service name is
without it.
Some package could exists with a basename-extension, so we need to grep
better to not catch them all.
Example: agl-service-bluetooth catch agl-service-bluetooth-map.
Change-Id: Ibc750e7893a8cbe3fc22a0d8f13a32c28a898bd1
Bug-AGL: SPEC-3495
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
RID could be null if process failed to start.
In that case, we will retry to start it.
On a second fail, we will not continue the test suite and fail.
In th same time add a second status check, but after a delay to be sure
the service is still working.
Bug-AGL: SPEC-3427
Change-Id: I566f1aefa06cbb791674373340ce87be220b18a2
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
|
|
The script can be run for testing locally now and afm-util ps needs to start as the target user.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Ief0f785a46439531d4257c2eef9ced15be1b20fb
|
|
This was removed thus there is no '@?.?' .
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
lava-read-feedback fail on qemu due to a sequence issues.
This is merely a timing issue on the lava side that we mask here.
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: I19070931704e7b9bf0a27e9370fdffd5adb899ba
|
|
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>
|