tools/testlab/host.git
5 years agoIncrease slot sizes in exit_maintenence 21/193521/3 master
Katarzyna Gorska [Wed, 21 Nov 2018 09:09:19 +0000 (10:09 +0100)]
Increase slot sizes in exit_maintenence

Change-Id: Ied463585903e3c8c78c7586a41afabb79f9fb83c
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
5 years agoRemove invalid symlinks in /dev/disk/by-uuid 99/193499/4
Katarzyna Gorska [Wed, 21 Nov 2018 08:16:55 +0000 (09:16 +0100)]
Remove invalid symlinks in /dev/disk/by-uuid

Sometimes invalid symlinks are created in /dev/disk/by-uuid.
They make UUID healthcheck procedure more annoying.

New feature was added to thanos_snap to remove those symlinks.

Change-Id: Ieb555f5507bba519a4fe79e69d0058f794ba57a3
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
5 years agoAdd show_alllogs modified 36/190536/4
Katarzyna Gorska [Wed, 3 Oct 2018 11:34:58 +0000 (13:34 +0200)]
Add show_alllogs modified

show_alllogs author: Adam Malinowski
modifications author: Katarzyna Górska

show_alllogs can be used to show all logs concerning
given build and target.

Modifications prevent logs flood when run from any directory
and without arguments.

Change-Id: Ie1fe92fb02613a7f091fc25f1b28bc778c09938a
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
5 years agoAdd alias for removing ghost /dev/sd* files 22/189722/5
Katarzyna Gorska [Thu, 20 Sep 2018 05:19:44 +0000 (07:19 +0200)]
Add alias for removing ghost /dev/sd* files

Change-Id: Ic11033ebdea8b1162497abf43cabe7d5baf428cd
Signed-off-by: Katarzyna Gorska <k.gorska@samsung.com>
5 years agoAdd avengers_{dis,}assemble functions 27/193627/2
Adam Malinowski [Wed, 21 Nov 2018 15:17:00 +0000 (16:17 +0100)]
Add avengers_{dis,}assemble functions

avengers_assemble changes all devices status to TS
avengers_disassemble changes all devices status to DUT

Change-Id: I39ac5024655b233e8f0935462188a5e5cdc1087e

5 years agoAdd alias for rerunning command with increased privileges 48/188148/3
Pawel Wieczorek [Mon, 19 Nov 2018 15:33:15 +0000 (16:33 +0100)]
Add alias for rerunning command with increased privileges

Change-Id: I34e992d8149ac00e2b12e645baf711a1999233a1
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
5 years agoAdd UUID healthcheck alias 47/188147/3
Pawel Wieczorek [Thu, 22 Nov 2018 11:23:21 +0000 (12:23 +0100)]
Add UUID healthcheck alias

Change-Id: I8a544e38c2c6c2b22899a0d350bff493629d2558
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
5 years agoAdd maintenance enter/exit aliases 46/188146/3
Pawel Wieczorek [Mon, 19 Nov 2018 15:32:47 +0000 (16:32 +0100)]
Add maintenance enter/exit aliases

Change-Id: I37ce58ca2663c4a7e6f574ad438a9e84d38ebeb0
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
5 years agoImport useful shell aliases for testlab maintenance 44/188144/2
Pawel Wieczorek [Fri, 31 Aug 2018 13:20:23 +0000 (15:20 +0200)]
Import useful shell aliases for testlab maintenance

Credit: Aleksander Mistewicz <a.mistewicz@samsung.com>

This patch also applies POSIX compliance and Google Shell Style Guide.

Relevant:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#dot
https://google.github.io/styleguide/shell.xml#Function_Names

Change-Id: I3a1e41d4aa878cac0855f0953e8991662a8896a9
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
5 years agoUse sandbox version of testlab-major 55/193355/1
Aleksander Mistewicz [Fri, 6 Oct 2017 15:22:00 +0000 (17:22 +0200)]
Use sandbox version of testlab-major

Change-Id: I03aa119f979d5e597d377a6b36bc4664b5183fd0

5 years agoUse sandbox version of u-boot 54/193354/1
Aleksander Mistewicz [Wed, 8 Nov 2017 16:35:04 +0000 (17:35 +0100)]
Use sandbox version of u-boot

Change-Id: Ibadd51e211a7098b1431a4b310d80b038e1641ab

5 years agoAdd u-boot dependency for rPi3 31/185331/2
Aleksander Mistewicz [Tue, 7 Nov 2017 15:07:18 +0000 (16:07 +0100)]
Add u-boot dependency for rPi3

Change-Id: I9587dd948113092e32c0974a5ff27b853529a0a1

5 years agoAdd tmpfs configuration 42/185342/2
Aleksander Mistewicz [Mon, 16 Oct 2017 11:27:42 +0000 (13:27 +0200)]
Add tmpfs configuration

Relevant Change-Id: Icd95b707f077a2ef474a2d61c2067eb0a50305a6

Change-Id: Ia96a41cd477664c40b683f6d2c60220c8da2c7ae

5 years agoAdd prometheus-node-exporter 38/185338/2
Aleksander Mistewicz [Wed, 6 Sep 2017 11:19:17 +0000 (13:19 +0200)]
Add prometheus-node-exporter

This change introduces a requirement on minimal Ubuntu version: 16.04
(Xenial).

Change-Id: I8c0edf7f83127106c6baff015e7816b0e51267b8

5 years agoAdd installation of mux plugin 41/185341/2
Aleksander Mistewicz [Mon, 16 Oct 2017 11:22:13 +0000 (13:22 +0200)]
Add installation of mux plugin

Change-Id: I8f2ffbd729d365941a84170b8dc3c71a2131b433

5 years agoConfigure html output of avocado 40/185340/2
Aleksander Mistewicz [Fri, 6 Oct 2017 15:35:02 +0000 (17:35 +0200)]
Configure html output of avocado

It also upgrades used version of avocado framework.

Change-Id: I4ba2e991b2602024c651e0e6088ddadf11b62a21

5 years agoSet cache_valid_time to 2h 39/185339/2
Aleksander Mistewicz [Fri, 8 Sep 2017 10:08:31 +0000 (12:08 +0200)]
Set cache_valid_time to 2h

Package cache was updated every time scripts were run.
It displayed "changed" state what was annoying if run often.
This patch causes cache to be updated only if it is older than 2 hours.

Change-Id: I10c4456fdb2fdc2d1e687c7c7476c4daae152495

6 years agoRemove runner 37/185337/1
Aleksander Mistewicz [Wed, 16 Aug 2017 08:16:08 +0000 (10:16 +0200)]
Remove runner

All additional setup was moved to master.
It is no longer necessary to setup a key pair between hosts.

Relevant Change-Id: Ied93bb00cd96c1436e2455012a23ce9105bbbc78

Change-Id: Ic38b09c2507cf1976999ada718de058f53a715d2

6 years agoDo not upgrade every time 36/185336/1
Aleksander Mistewicz [Fri, 4 Aug 2017 12:30:08 +0000 (14:30 +0200)]
Do not upgrade every time

Change-Id: Ie4212922a4c0ffbc42675e37f285e9d584c12286

6 years agoAdd missing dependency for avocado 35/185335/1
Aleksander Mistewicz [Thu, 3 Aug 2017 13:27:48 +0000 (15:27 +0200)]
Add missing dependency for avocado

Fix version reference. It should be string, not float.

Change-Id: Ia0099dc1ceb4db7b3fc2127f1bdc80f5674cea27

6 years agoRemove http proxy settings 34/185334/1
Aleksander Mistewicz [Fri, 7 Jul 2017 12:34:37 +0000 (14:34 +0200)]
Remove http proxy settings

It caused too many inconsistencies in crawlers and downloaders.

Change-Id: Ie9dd87f754e9fcec52bb5c0b24aac013fdeeac07

6 years agoAdd imagemagick dependency 33/185333/1
Aleksander Mistewicz [Wed, 5 Jul 2017 09:37:04 +0000 (11:37 +0200)]
Add imagemagick dependency

Relevant Change-Id: I91bdb49ee630abf4d6fc81aacaf781d6bdf2b8e0

Change-Id: Ic9132fc0c898495ab3bb9f5e8c92eb7b1b76ecad

6 years agoInstall task-spooler in version 1.0 32/185332/1
Aleksander Mistewicz [Wed, 5 Jul 2017 09:31:54 +0000 (11:31 +0200)]
Install task-spooler in version 1.0

Version 1.0 fixes TMPDIR problem, what is useful
when multiple queues are running.

Change-Id: I0faf8a5f9c2a461787abe98958e8f6150081a648

6 years agoAdd sdboot dependency 86/133786/2
Aleksander Mistewicz [Wed, 24 May 2017 10:44:40 +0000 (12:44 +0200)]
Add sdboot dependency

Relevant Change-Id: I3e9568e11fd35b76cdcdb70809131af9779d5205

Change-Id: I241e19bef2c5f91334870b046c7d55c54b2fbcbc

7 years agoAdd sqlite3 to master's dependencies 15/89015/4
Aleksander Mistewicz [Wed, 21 Sep 2016 11:27:46 +0000 (13:27 +0200)]
Add sqlite3 to master's dependencies

Relevant Change-Id: Iab5728c40e4786425c26dd48e7a70d6221dc90ae

Change-Id: I80094b7f02ba61be8a9d92d782dbafd544778e78

7 years agoAdd avocado-framework install procedure 14/89014/5
Aleksander Mistewicz [Tue, 29 Nov 2016 14:42:36 +0000 (15:42 +0100)]
Add avocado-framework install procedure

Relevant Change-Id: I438d266802b9d9b29e4dd3f7314f3ec1f5776fca

Change-Id: I9efc37fedd366a90a48b851fd2830005a061787e

7 years agoAdd installing and configuring lighttpd server 20/85520/10
Adam Malinowski [Thu, 25 Aug 2016 12:23:55 +0000 (14:23 +0200)]
Add installing and configuring lighttpd server

Change-Id: Ia5fcef16eda907e39cad283905b4c58fdd7465f6

7 years agoAdd ansible configuration for runner host 05/74305/16
Adam Malinowski [Mon, 13 Jun 2016 14:54:17 +0000 (16:54 +0200)]
Add ansible configuration for runner host

Change-Id: I8b7fcc36afb8e17707a577e92268c25c12eea79e

7 years agoAdd ansible configuration for master host 04/74304/13
Adam Malinowski [Mon, 13 Jun 2016 14:51:53 +0000 (16:51 +0200)]
Add ansible configuration for master host

Change-Id: If0cbcb3a79689076fd00319935b03fa643bc08d3

7 years agoAdd setting ssh key on the target machines 03/74303/7
Adam Malinowski [Mon, 13 Jun 2016 13:07:37 +0000 (15:07 +0200)]
Add setting ssh key on the target machines

This patch adds playbook script for setting ssh keys on the remote
machine in order to execute further ansible commands without password
prompt.

Change-Id: I09fcdd1c6d29d8faf75aca22c2175c21a62b89b0

7 years agoAdd license file 02/74302/1
Adam Malinowski [Mon, 13 Jun 2016 12:52:34 +0000 (14:52 +0200)]
Add license file

Change-Id: Ib9461f0f91bdd892f682389938172f2af580d84d

8 years agoInitial empty repository
seonil kim [Thu, 21 Jan 2016 04:28:30 +0000 (20:28 -0800)]
Initial empty repository