summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OTA-2541: Switch to Aktualizr's version that supports IP Secondaries ↵feat/OTA-2541/preconfigured-secondariesMike Sul2019-05-271-1/+1
| | | | | | preconfig and its tests Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: IP Secondary tests (oe-selftest)Mike Sul2019-05-272-66/+138
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Use local.conf's variables to configure Primary with ↵Mike Sul2019-05-2710-13/+86
| | | | | | Secondary(ies) and vice versa Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Use MPL-2.0 license for recipes-test's recipesMike Sul2019-05-277-7/+10
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Add suffix '-sndry' to a default HW_ID for Secondary. Ability to ↵Mike Sul2019-05-277-7/+40
| | | | | | define IP and Port in local.conf Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Remove Secondary's socket service. Use a regular systemd service ↵Mike Sul2019-05-273-11/+6
| | | | | | to start Seconadry daemon Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Static IP address on Primary's and Secondary's internal NICMike Sul2019-05-279-8/+69
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* OTA-2541: Network configuration on IP/Posix SecondaryMike Sul2019-05-271-0/+8
| | | | Signed-off-by: Mike Sul <ext-mykhaylo.sul@here.com>
* Merge pull request #521 from advancedtelematic/feat/test-polling-intervalPatrick Vacek2019-05-243-0/+32
|\ | | | | aktualizr-polling-interval: new config fragment.
| * aktualizr-polling-interval: new config fragment.feat/test-polling-intervalPatrick Vacek2019-05-243-0/+32
| | | | | | | | | | | | | | | | | | Can be used for testing purposes after we increase the default polling interval in aktualizr. We no longer recommend anything less than an hour for production use cases, but it's still convenient to poll more frequently while testing. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* | Merge pull request #519 from advancedtelematic/docs/OTA-2606/rename-provisioningPatrick Vacek2019-05-201-1/+1
|\ \ | |/ |/| OTA-2606: Renaming provisioning methods
| * OTA-2606: Renaming provisioning methodsdocs/OTA-2606/rename-provisioningMerlin Carter2019-05-201-1/+1
| | | | | | | | | | | | Removing unnecessary square brackets Signed-off-by: Merlin Carter <merlin.carter@here.com>
| * OTA-2606: Renaming provisioning methodsmerltron2019-05-131-1/+1
| | | | | | | | | | Updating links to documentation with proper terminology rather than aktualiz repo topics (aktualizr repo also now has a mirror of the same topic).
* | Merge pull request #518 from advancedtelematic/test/fix-aktualizr-python-ptestPatrick Vacek2019-05-132-2/+2
|\ \ | |/ |/| Make aktualizr-ptest depend on python3-misc
| * Fix bad ptest printing of failurestest/fix-aktualizr-python-ptestLaurent Bonnans2019-05-081-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Make aktualizr-ptest depend on python3-miscLaurent Bonnans2019-05-071-1/+1
|/ | | | | | Some of our tests use pathlib which ends up in there... Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #516 from advancedtelematic/test/ptest-printingPatrick Vacek2019-05-072-3/+3
|\ | | | | More robust aktualizr-ptest printing of errors
| * README: Add updater_qemux86_64_ptest to list of test targets.Patrick Vacek2019-05-071-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * More robust aktualizr-ptest printing of errorsLaurent Bonnans2019-05-071-2/+2
|/ | | | | | | If ctest is interrupted (e.g. timeout), its partial output will be in /tmp/aktualizr-ptest.log.tmp Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #512 from advancedtelematic/fix/latest-aktualizrPatrick Vacek2019-04-302-10/+11
|\ | | | | aktualizr: Bump to latest for recovery fixes.
| * selftest: retry aktualizr failure check due to resource constraints.Patrick Vacek2019-04-301-2/+9
| | | | | | | | | | | | | | For some reason it now often fails if you don't briefly pause first, so just retry it if it fails a few times. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Remove aktualizr-check-discovery dependency.Patrick Vacek2019-04-291-2/+1
| | | | | | | | | | | | It no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * aktualizr: Bump to latest for recovery fixes.Patrick Vacek2019-04-291-1/+1
| | | | | | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * selftest: Remove test_secondary_listening.Patrick Vacek2019-04-291-5/+0
|/ | | | | | | The secondary discovery mechanism is being overhauled and that tool no longer exists. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* Merge pull request #508 from advancedtelematic/test/oe-selftest-ptestPatrick Vacek2019-04-154-10/+64
|\ | | | | Add oe-selftest for aktualizr ptest run on qemu
| * Bump aktualizr and garage toolstest/oe-selftest-ptestLaurent Bonnans2019-04-151-4/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Use PARALLEL_MAKE when building aktualizr-ptestLaurent Bonnans2019-04-101-1/+1
| | | | | | | | | | | | | | The trick to add it in do_compile from cmake.bbclass does not work with do_compile_ptest_base Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Parametrizable AKTUALIZR_PTEST_PARALLEL_LEVELLaurent Bonnans2019-04-101-2/+4
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add openssl-bin as a aktualizr-ptest requirementLaurent Bonnans2019-04-101-1/+1
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix problem with lshw for aktualizr ptestLaurent Bonnans2019-04-101-2/+2
| | | | | | | | | | | | | | lshw is installed in `/usr/sbin` which does not appear when a command is launched outside a non-login shell. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add oe-selftest for aktualizr ptest run on qemuLaurent Bonnans2019-04-092-2/+54
|/ | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #510 from advancedtelematic/feat/OTA-2418/remove-example.comPatrick Vacek2019-04-052-2/+7
|\ | | | | OTA-2418: Remove example.com URL from automated garage-sign usage
| * OTA-2418: Remove example.com URL from automated garage-sign usagefeat/OTA-2418/remove-example.comMykhaylo Sul2019-04-033-3/+8
| | | | | | | | Signed-off-by: Mykhaylo Sul <ext-mykhaylo.sul@here.com>
* | Merge pull request #509 from liuming50/compatible-release-warriorPatrick Vacek2019-04-041-1/+1
|\ \ | |/ |/| layer.conf: Add warrior to compatible release series
| * layer.conf: Add warrior to compatible release seriesMing Liu2019-04-031-1/+1
|/ | | | Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Merge pull request #507 from ↵Patrick Vacek2019-03-2119-329/+430
|\ | | | | | | | | advancedtelematic/feat/OTA-2142/aktualizr-resource-control aktualizr resource control
| * Cleanup (not) provisioned checks in oe-selftestfeat/OTA-2142/aktualizr-resource-controlLaurent Bonnans2019-03-213-62/+33
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Solve qemu long rng initialization problemLaurent Bonnans2019-03-211-0/+2
| | | | | | | | | | | | Expose a fake hardware rng on the guest, linked to the host's /dev/urandom. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add resource control testLaurent Bonnans2019-03-211-0/+45
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Fix in oe-selftests/qemu_launchLaurent Bonnans2019-03-202-20/+5
| | | | | | | | | | | | Should build `imagename` and not 'core-image-minimal' in all cases Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Split oe-selftests by target machinesLaurent Bonnans2019-03-206-267/+303
| | | | | | | | | | | | To allow for more targeted testing Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Document aktualizr-resource-controlLaurent Bonnans2019-03-131-0/+14
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Add aktualizr-resource-controlLaurent Bonnans2019-03-132-1/+31
| | | | | | | | | | | | For controlling systemd cgroups configuration of the aktualizr daemon Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Set 'allarch' to aktualizr config recipesLaurent Bonnans2019-03-1310-2/+20
|/ | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
* Merge pull request #500 from advancedtelematic/test/OTA-2137/ptest-runlbonn2019-03-126-4/+315
|\ | | | | ptest for aktualizr
| * Save space in deployed aktualizr ptesttest/OTA-2137/ptest-runLaurent Bonnans2019-03-121-2/+5
| | | | | | | | | | | | | | | | | | * remove whole RIOT repo * remove intermediary static libraries, only useful during build Should be around 500MB saving in total Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Document ptest for aktualizrLaurent Bonnans2019-03-121-0/+13
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * oe-selftest: look for expected error in stderr.Patrick Vacek2019-03-121-1/+1
| | | | | | | | | | | | The output was moved from stdout to stderr in a recent aktualizr commit. Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
| * Patch valgrind for rpi runsLaurent Bonnans2019-03-122-0/+254
| | | | | | | | Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>
| * Depend on python3-modules and curl for aktualizr-ptestLaurent Bonnans2019-03-121-1/+1
| | | | | | | | | | | | | | For python: less headaches, it's already huge anyway. Curl is needed by some shell-backed tests. Signed-off-by: Laurent Bonnans <laurent.bonnans@here.com>