validation.git
4 years agoMerge "Enable vuls and lynis tests in CI"
Cristina Pauna [Tue, 31 Mar 2020 07:13:14 +0000 (07:13 +0000)]
Merge "Enable vuls and lynis tests in CI"

4 years agoEnable vuls and lynis tests in CI 06/3306/7
DANIEL STOICA [Tue, 24 Mar 2020 12:46:22 +0000 (14:46 +0200)]
Enable vuls and lynis tests in CI

 - added the os layer in validation/bluval/bluval-iec.yaml
 - made change in vuls robot script to sincronize the path

complements https://gerrit.akraino.org/r/c/ci-management/+/3307

Signed-off-by: DANIEL STOICA <daniel.stoica@enea.com>
Depends-On: I9e5349a0e3e3a1e7331a5f5b4b4a8d5a1b01aa51
Change-Id: Ibb16f76405f5b43797e0d859db0681759adf5e18

4 years agoAdd path to kube-hunter job manifest file 08/3308/1
Juha Kosonen [Fri, 27 Mar 2020 08:55:58 +0000 (10:55 +0200)]
Add path to kube-hunter job manifest file

Change-Id: I3977be79d96c6122f571efff72d40495e420e767
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years agoUpdate Tempest test case list 00/3300/1
Juha Kosonen [Thu, 19 Mar 2020 10:47:44 +0000 (12:47 +0200)]
Update Tempest test case list

- RefStack 2019.06 -> 2019.11

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: Icec93538cae9dfdb460b069e6918133ce1a593ae

4 years agoMerge "Add Vuls security test for ubuntu and centos"
Juha Kosonen [Thu, 5 Mar 2020 08:59:14 +0000 (08:59 +0000)]
Merge "Add Vuls security test for ubuntu and centos"

4 years agoAdd Vuls security test for ubuntu and centos 55/2255/8
Daniel Stoica [Mon, 24 Feb 2020 16:15:15 +0000 (18:15 +0200)]
Add Vuls security test for ubuntu and centos

JIRA: VAL-79

Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: If81d5ecb68bea40ae179823d655311260e04fc56

4 years agoFix os layer build failures 66/2266/1
Juha Kosonen [Mon, 2 Mar 2020 12:21:31 +0000 (14:21 +0200)]
Fix os layer build failures

Following changes implemented:

- pkg-config is required for building recent version of LTP [1]
- do not try to re-create vuls directory

[1] https://github.com/linux-test-project/ltp/issues/649

JIRA: VAL-100

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: Ib6050dead7e296306ed3f860797fdf6b3944fb43

4 years agoMerge "Add Vuls security test for x86_64"
Cristina Pauna [Mon, 24 Feb 2020 13:32:49 +0000 (13:32 +0000)]
Merge "Add Vuls security test for x86_64"

4 years agoAdd Vuls security test for x86_64 77/2177/12
Daniel Stoica [Tue, 7 Jan 2020 11:33:53 +0000 (13:33 +0200)]
Add Vuls security test for x86_64

JIRA: VAL-79
Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: I6aa553d50fc33327ee893382aec0eee605a94eb1

4 years agoAdd Robot test for running kube-hunter 46/2246/1
Juha Kosonen [Thu, 20 Feb 2020 14:21:12 +0000 (16:21 +0200)]
Add Robot test for running kube-hunter

Integrated to k8s layer as an optional test.

JIRA: VAL-96

Change-Id: I0d11a3aa9438a7fe3dbe52a1358af5ddcaabff61
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years agoUpdate k8s layer base container image 45/2245/1
Juha Kosonen [Thu, 20 Feb 2020 10:29:27 +0000 (12:29 +0200)]
Update k8s layer base container image

Starting from v1.16.5 building e2e test requires Go 1.13.4 or
greater. Layer image updated followingly:

Go 1.12.9 -> 1.13.8
Python 3.6.10 -> 3.7.6

JIRA: VAL-99

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I551b573fce9e461d9523f07056cea4ae6be854dc

4 years agoMerge "Update committers after people move to new jobs"
Tapio Tallgren [Fri, 31 Jan 2020 12:15:36 +0000 (12:15 +0000)]
Merge "Update committers after people move to new jobs"

4 years agoUpdate committers after people move to new jobs 14/2214/2
Tapio Tallgren [Wed, 29 Jan 2020 10:57:54 +0000 (12:57 +0200)]
Update committers after people move to new jobs

Miguel has not been active in the project since last summer and
will not contribute anymore.
Naga has changed email address and will use a different user id
from now on.

Signed-off-by: Tapio Tallgren <tapio.tallgren@nokia.com>
Change-Id: I93f34debfd996ca51501a48e4ed5b4edf7dfdf79

4 years agoAdd read permission for test logs file 11/2211/3
Daniel Stoica [Mon, 27 Jan 2020 16:36:08 +0000 (18:36 +0200)]
Add read permission for test logs file

Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: Ic6a26f14cce46dde019357c0adf8f9b4cd9790cf

4 years ago[UI] Messages in Keywords 07/2207/1
Ioakeim Samaras [Wed, 22 Jan 2020 01:45:45 +0000 (17:45 -0800)]
[UI] Messages in Keywords

Display of messages of Robot keywords
is supported.

Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: I588d72a37ba347a0f9979d517532ecfefe67d99f

4 years agoMerge "Add PTL to INFO.yaml"
Juha Kosonen [Mon, 20 Jan 2020 10:14:09 +0000 (10:14 +0000)]
Merge "Add PTL to INFO.yaml"

4 years agoAdd PTL to INFO.yaml 62/2162/6
LF Jenkins CI [Tue, 17 Dec 2019 19:09:57 +0000 (19:09 +0000)]
Add PTL to INFO.yaml

Automatically generated INFO.yaml with PTL added in.

Change-Id: Icf0dece424586f38b4ea030281f10eb9c6600834
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoMerge "Replace logging with services layer"
Juha Kosonen [Wed, 8 Jan 2020 17:05:54 +0000 (17:05 +0000)]
Merge "Replace logging with services layer"

4 years agoRun Docker Bench parallel on all nodes 79/2179/1
Juha Kosonen [Wed, 8 Jan 2020 12:51:51 +0000 (14:51 +0200)]
Run Docker Bench parallel on all nodes

Execute Docker Bench against all target node parallel instead of
testing them one by one. This way the total execution time does not
depend on the number of nodes to be tested.

Change-Id: I9a8005f76ebe86c659ec82debe26a55940917028
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years agoRemove docker-binary mount. Use container binary 76/2176/4
Alexandru Antone [Tue, 7 Jan 2020 10:44:41 +0000 (12:44 +0200)]
Remove docker-binary mount. Use container binary

The docker client binary mounted from the host is not compatible
with Alpine Linux for certain host distros.

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Change-Id: Iec10dea423adc32f2b9f651043e30a2aa02c7d76

4 years agoMerge "Add validaton tests for KNI"
Cristina Pauna [Tue, 7 Jan 2020 08:54:06 +0000 (08:54 +0000)]
Merge "Add validaton tests for KNI"

4 years agoMerge "[REC-74] openstack bluval integration"
Deepak Kataria [Fri, 3 Jan 2020 18:47:51 +0000 (18:47 +0000)]
Merge "[REC-74] openstack bluval integration"

4 years agoPrevent python to write .pyc files on import 69/2169/1
Juha Kosonen [Fri, 20 Dec 2019 10:39:51 +0000 (12:39 +0200)]
Prevent python to write .pyc files on import

JIRA: VAL-94

Change-Id: I3bf6dd55cb510e2d9a2704369a1bd0599b48eb63
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years ago[VAL-93] Fix docker binary execution error 68/2168/1
Alexandru Antone [Thu, 19 Dec 2019 15:17:10 +0000 (17:17 +0200)]
[VAL-93] Fix docker binary execution error

The docker image was missing libpthread.so.0 required by
the docker binary.
Fixed by adding libc6-compat.

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Change-Id: I50f583bb71ee27b08cfc8af6f175b8671b2d8361

4 years agoMerge "Fix for missing dependencies"
Juha Kosonen [Thu, 19 Dec 2019 06:51:07 +0000 (06:51 +0000)]
Merge "Fix for missing dependencies"

4 years agoFix for missing dependencies 65/2165/3
Alexandru Antone [Wed, 18 Dec 2019 12:04:21 +0000 (14:04 +0200)]
Fix for missing dependencies

Also switch to python:3.6-alpine3.9

Signed-off-by: Alexandru Antone <Alexandru.Antone@enea.com>
Change-Id: I615c30b107cdd64d24b19b4c2a52f2c157c4bdc6

4 years agoRun Redfish test framework parallel on all nodes 66/2166/1
Juha Kosonen [Wed, 18 Dec 2019 12:45:38 +0000 (14:45 +0200)]
Run Redfish test framework parallel on all nodes

Execute Redfish test framework tool against all target node parallel
instead of testing them one by one. This way the total execution time
does not depend on the number of nodes to be tested.

Change-Id: I2f1fbfd715aa63ccbe71e6d976404b0f21be344c
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
4 years ago[VAL-80] Lynis 19/2119/3
Naga Sugguna [Wed, 11 Dec 2019 20:57:07 +0000 (20:57 +0000)]
[VAL-80] Lynis

Signed-off-by: Naga Sugguna <ns156u@att.com>
Change-Id: I8fd644e28c8d255b9365f726151933a9bcb74f03

4 years ago[REC-74] openstack bluval integration 02/1602/6
Naga Sugguna [Tue, 17 Sep 2019 19:42:53 +0000 (19:42 +0000)]
[REC-74] openstack bluval integration

Change-Id: I5dd973f8c8dba742e74843a6cd21aa0306ccd71b
Signed-off-by: Naga Sugguna <ns156u@att.com>
4 years ago[VAL-87] Bluval Containerization 89/2089/14
Naga Sugguna [Tue, 3 Dec 2019 07:21:14 +0000 (07:21 +0000)]
[VAL-87] Bluval Containerization

Intention of this change is to simplify BluVal installation

Now steps should be
1. clone the project
2. Update variables.yaml & volumes.yaml
3. ./blucon.sh -l <hardware> -o -n host <bluprint name>

blucon.sh builds the docker image takes few minutes first time
later on it should be quick.

Change-Id: I4b00e00baecc6d7eb81595d1d8866af67e2c53cf
Signed-off-by: Naga Sugguna <ns156u@att.com>
4 years agoMerge "Convention over configuration"
Naga Sugguna [Thu, 12 Dec 2019 17:07:26 +0000 (17:07 +0000)]
Merge "Convention over configuration"

4 years agoReplace logging with services layer 12/2112/1
valentin.radulescu [Tue, 10 Dec 2019 09:18:57 +0000 (01:18 -0800)]
Replace logging with services layer

JIRA: VAL-70

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: Ib3933fe83b3beb0aa984cc8f158b1478e683aa49

4 years ago[VAL-92] OS layer image UTF-8 issue 96/2096/1 2.0.1
Naga Sugguna [Thu, 5 Dec 2019 20:21:58 +0000 (20:21 +0000)]
[VAL-92] OS layer image UTF-8 issue

Signed-off-by: Naga Sugguna <ns156u@att.com>
Change-Id: I79db72c4124c12994823e13fb83176dda09fa37b

4 years agoMerge "Do not run all LTP test suites"
Cristina Pauna [Wed, 4 Dec 2019 16:46:15 +0000 (16:46 +0000)]
Merge "Do not run all LTP test suites"

4 years ago[UI] Ignore malformed results 87/2087/1
Ioakeim Samaras [Tue, 3 Dec 2019 01:56:30 +0000 (17:56 -0800)]
[UI] Ignore malformed results

Validation results are ignored when
there are no robot test results
associated with them

Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: Ia27c20022105e202e24f0281b7a7f69a6212fcc4

4 years agoDo not run all LTP test suites 75/2075/1
Juha Kosonen [Thu, 28 Nov 2019 14:03:07 +0000 (16:03 +0200)]
Do not run all LTP test suites

JIRA: VAL-91

Change-Id: I705b8b20c61988be57c61e3cd7e1b60900a38f24
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoFix the log file name of LTP tests 03/2003/1
Juha Kosonen [Tue, 19 Nov 2019 08:35:53 +0000 (10:35 +0200)]
Fix the log file name of LTP tests

Change-Id: Ie8a0a068a0ac86503df781be0f4921558543fb01
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoFix LTP test case failures 97/1997/1
Juha Kosonen [Mon, 18 Nov 2019 12:37:34 +0000 (14:37 +0200)]
Fix LTP test case failures

- untar ltp to / with sudo
- output 'y' when test case expects user intervention
- set read access to output/results

JIRA: VAL-89

Change-Id: Ia2268fcfb6a9720d051de88a1561456539ec5b03
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years ago[UI] Embed files inside image 90/1990/1
Ioakeim Samaras [Fri, 15 Nov 2019 20:20:15 +0000 (12:20 -0800)]
[UI] Embed files inside image

The files 'server.xml' and 'index.jsp'
are embedded inside the UI docker
image during build stage

Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: I056fbb28a2e58630061ea85d8846ebe08f302998

5 years agoMerge "LTP installed, executed, cleaned on target node" 2.0.0
Cristina Pauna [Fri, 15 Nov 2019 09:14:06 +0000 (09:14 +0000)]
Merge "LTP installed, executed, cleaned on target node"

5 years agoMerge "[k8s][conformance] Check sonobuoy container runs"
Cristina Pauna [Fri, 15 Nov 2019 09:13:15 +0000 (09:13 +0000)]
Merge "[k8s][conformance] Check sonobuoy container runs"

5 years ago[os] Fix python version 81/1981/1
Cristina Pauna [Thu, 14 Nov 2019 14:28:33 +0000 (16:28 +0200)]
[os] Fix python version

The python version we currently use in all our containers is 3.6
Also make sure this version is the default one.

JIRA: VAL-86

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I414adf82f436c21abeb7d11d13b82beab8cc384b

5 years ago[k8s][conformance] Check sonobuoy container runs 69/1969/2
Cristina Pauna [Wed, 13 Nov 2019 13:03:54 +0000 (15:03 +0200)]
[k8s][conformance] Check sonobuoy container runs

Sometimes the sonobuoy container doesn't get into running state before
we check for its status. Added a check to make sure that sonobuoy
container is running before checking for status.

JIRA: VAL-81

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I299083a2150b144714661a57533f3e5aab556cb0

5 years ago[UI] Handle malformed results 72/1972/1
Ioakeim Samaras [Wed, 13 Nov 2019 21:18:51 +0000 (13:18 -0800)]
[UI] Handle malformed results

When malformed results are stored
in Nexus, the UI ignores them.

Signed-off-by: Ioakeim Samaras <is661a@att.com>
Change-Id: I83265825adb36a544618a3003fde56f4d0ccbe70

5 years agoAdd validaton tests for KNI 14/1914/2
Yolanda Robla [Tue, 5 Nov 2019 08:16:29 +0000 (09:16 +0100)]
Add validaton tests for KNI

Create new tests to be run on KNI blueprints.
They are based on kubernetes, so are are adding
hardware, os and k8s tests.

Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Change-Id: I96defca94796dc16d32ef69286381428daeee4ed

5 years agoSelect kube-conformance version dynamically 33/1933/1
Juha Kosonen [Thu, 7 Nov 2019 13:10:50 +0000 (15:10 +0200)]
Select kube-conformance version dynamically

Use a version conformorming server version.

Change-Id: Ib2d82c810fe82da3825f0d1b63345d1fa0baf6ff
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoLTP installed, executed, cleaned on target node 52/1752/10
Naga Sugguna [Wed, 9 Oct 2019 21:16:34 +0000 (21:16 +0000)]
LTP installed, executed, cleaned on target node

Jira: [VAL-66]

LTP testcase fixed to run on cluster master node.
LTP prebuilt binary is installed and cleaned.
LTP output and results downloaded for every testcase

Change-Id: Id3b96f97418034b6099fb11a472a285889159cc4
Signed-off-by: Naga Sugguna <ns156u@att.com>
5 years agoConvention over configuration 91/1891/9
Naga Sugguna [Thu, 31 Oct 2019 20:56:12 +0000 (20:56 +0000)]
Convention over configuration

Jira: [VAL-83]

bluva.py is taking varibles.yaml and writing updated version to
varibles_updated.yaml

varibles_updated.yaml is passed to robot framework.
OperatingSystem.Get Environment is better than $HOME.
Each container automatically removed
Each test suite has a debug.log by default

Signed-off-by: Naga Sugguna <ns156u@att.com>
Change-Id: Iae95d1ee12c8c5e44949be3faf5b0fc9fc40266e

5 years agoMerge "Update conformance test to support k8s 1.16"
Naga Sugguna [Wed, 6 Nov 2019 17:05:33 +0000 (17:05 +0000)]
Merge "Update conformance test to support k8s 1.16"

5 years agoMerge "Add python3 to os container"
Cristina Pauna [Wed, 6 Nov 2019 15:24:34 +0000 (15:24 +0000)]
Merge "Add python3 to os container"

5 years agoMerge "Default value to SSH_KEYFILE"
Naga Sugguna [Tue, 5 Nov 2019 20:37:00 +0000 (20:37 +0000)]
Merge "Default value to SSH_KEYFILE"

5 years agoMerge "Use a more generic kubectl command to check status"
Naga Sugguna [Tue, 5 Nov 2019 20:17:46 +0000 (20:17 +0000)]
Merge "Use a more generic kubectl command to check status"

5 years agoUse a more generic kubectl command to check status 99/1899/3
valentin.radulescu [Fri, 1 Nov 2019 15:14:26 +0000 (08:14 -0700)]
Use a more generic kubectl command to check status

VAL-73:
Use "kubectl version" instead of "kubectl get pods
--all-namespaces" to check status.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: Ie7549f9af0060aa7e13e363f0a3b289e290a0bdf

5 years agoUpdate conformance test to support k8s 1.16 19/1919/1
Juha Kosonen [Tue, 5 Nov 2019 10:57:55 +0000 (12:57 +0200)]
Update conformance test to support k8s 1.16

- Sonobuoy v0.16.1
- kube-conformance 1.16

JIRA: VAL-84

Change-Id: I63bf582466c6447326c67a0c4faffdcab496acad
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoUpdate eslint config 17/1917/1
Cristina Pauna [Tue, 5 Nov 2019 08:57:20 +0000 (10:57 +0200)]
Update eslint config

When runing the validation of the patces, the eslint verification
throws erros like: "Error: ESLint configuration of global 'console' in
ui/src/main/webapp/.eslintrc is invalid:"

Update the config file so that these errors are not thrown anymore.

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I951bc0370b6599e14fcdc2f68b45d0684b4e2b1b

5 years agoAdd python3 to os container 15/1915/1
Cristina Pauna [Tue, 5 Nov 2019 08:06:13 +0000 (10:06 +0200)]
Add python3 to os container

JIRA: VAL-86

Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
Change-Id: I0a3e7d3f4f9c7f1e89e84624ca23234cfab5a4c1

5 years agoAdd LTP tests build 63/1863/5
Daniel Stoica [Mon, 28 Oct 2019 13:02:14 +0000 (15:02 +0200)]
Add LTP tests build

How to run the ltp tests:
 - copy ltp.tar.gz on the cluster
 - untar ltp.tat.gz in /opt/ltp
 - run /opt/ltp/runtest

JIRA: VAL-69

Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: Ia5a719653b1e0ff89dcb77320a71ead6e247fbff

5 years agoDefault value to SSH_KEYFILE 89/1889/1
Naga Sugguna [Thu, 31 Oct 2019 20:22:39 +0000 (20:22 +0000)]
Default value to SSH_KEYFILE

Jira: VAL-75

Signed-off-by: Naga Sugguna <ns156u@att.com>
Change-Id: I389bb17cb08e2be3f94f2e5a378e655fca0f9288

5 years agoAdd a new parameter to blucon script 72/1872/2
valentin.radulescu [Tue, 29 Oct 2019 15:52:12 +0000 (08:52 -0700)]
Add a new parameter to blucon script

Jira: [VAL-72]
Add a parameter which specifies container network.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I9defc4a122db4c4f6309d4a98f29500849eeeeec

5 years agoMerge "Add iec tests"
Juha Kosonen [Mon, 28 Oct 2019 12:59:13 +0000 (12:59 +0000)]
Merge "Add iec tests"

5 years agoAdd iec tests 20/1820/2
valentin.radulescu [Tue, 22 Oct 2019 13:18:51 +0000 (06:18 -0700)]
Add iec tests

Increase timeout to allow sonobuoy containers to start.

Signed-off-by: valentin.radulescu <valentin.radulescu@enea.com>
Change-Id: I82998aaa2b1a04dc99a05a2cf5144df19bf21110

5 years agoCopy helm charts from tagged version v2.15.1 61/1861/1
Juha Kosonen [Mon, 28 Oct 2019 11:41:08 +0000 (13:41 +0200)]
Copy helm charts from tagged version v2.15.1

JIRA: VAL-71

Change-Id: I0d5e3082805c3aeac24889414973032a5ee29f84
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoRECV-110 ETCD Bluval Integration 04/1804/2
Naga Sugguna [Fri, 18 Oct 2019 19:33:57 +0000 (19:33 +0000)]
RECV-110 ETCD Bluval Integration

Change-Id: Ic88641416478271ccd71403dcd7cbcc251599801
Signed-off-by: Naga Sugguna <ns156u@att.com>
5 years agoMerge "Add remote session to etcd HA testcases"
Naga Sugguna [Fri, 18 Oct 2019 17:46:13 +0000 (17:46 +0000)]
Merge "Add remote session to etcd HA testcases"

5 years agoAdd remote session to etcd HA testcases 93/1793/1
Indumathi Buddi [Wed, 16 Oct 2019 04:54:46 +0000 (04:54 +0000)]
Add remote session to etcd HA testcases

Signed-off-by: Indumathi Buddi <ib405q@att.com>
Change-Id: I9219a85f48cb722d609793e8f43dc953328d4ae6

5 years agoAdd Redfish Robot test 81/1781/1
Juha Kosonen [Mon, 14 Oct 2019 13:27:56 +0000 (16:27 +0300)]
Add Redfish Robot test

Validate common use cases by running Redfish Usecase Checkers suite
via Redfish Test Framework.

JIRA: VAL-67

Change-Id: Ibfec4f6a70dd4dfd62fc0ceb9a871509b53a0745
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoMerge "New container for logging"
Naga Sugguna [Thu, 10 Oct 2019 03:37:08 +0000 (03:37 +0000)]
Merge "New container for logging"

5 years agoSkip DNS domain tests 45/1745/1
Juha Kosonen [Tue, 8 Oct 2019 10:47:22 +0000 (13:47 +0300)]
Skip DNS domain tests

For the time being do not execute e2e tests which assume fixed domain
name [1] conflicting cluster's domain name. Configurability has
been implemented [2] but available only starting from k8s 1.16.

[1] https://github.com/vmware-tanzu/sonobuoy/issues/733
[2] https://github.com/kubernetes/kubernetes/pull/79284

JIRA: VAL-61

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I9b13dc7a402b3304b2b22a33a6eb8e446d3abcc6

5 years agoMerge "Switch back to 1.15 in k8s layer container"
Juha Kosonen [Mon, 7 Oct 2019 16:21:52 +0000 (16:21 +0000)]
Merge "Switch back to 1.15 in k8s layer container"

5 years agoSwitch back to 1.15 in k8s layer container 41/1741/1
Juha Kosonen [Mon, 7 Oct 2019 12:48:38 +0000 (15:48 +0300)]
Switch back to 1.15 in k8s layer container

Verification needed before version upgrade.

JIRA: VAL-65

Change-Id: I3e38a5f421a05fb3024ef83fd1c3c1d4bd267278
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years ago[UI] Enable HTTPs default port 40/1740/2
Ioakeim Samaras [Mon, 7 Oct 2019 10:06:00 +0000 (13:06 +0300)]
[UI] Enable HTTPs default port

The UI should be accessible using
the default https (i.e. 443) port.

JIRA: VAL-64

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I48452327bca0aa7029ecaf69dd9c927ea2a27977

5 years agoMerge "[UI] Optional trust of all SSL Certificates"
Deepak Kataria [Fri, 4 Oct 2019 13:19:59 +0000 (13:19 +0000)]
Merge "[UI] Optional trust of all SSL Certificates"

5 years ago[UI] Optional trust of all SSL Certificates 36/1736/2
Ioakeim Samaras [Fri, 4 Oct 2019 09:02:51 +0000 (12:02 +0300)]
[UI] Optional trust of all SSL Certificates

The user can select whether the UI should
trust all SSL certificates or not.

JIRA: VAL-63

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I3d1b7dba74342550aa743f906affba7cf7ddd7fc

5 years agoSet kube-conformance back to v1.15 33/1733/2
Juha Kosonen [Fri, 4 Oct 2019 07:56:51 +0000 (10:56 +0300)]
Set kube-conformance back to v1.15

The image was upgraded in [1].

The version must be in line with target deployment's version if
internal registry is used. REC is based on 1.15 and utilize internal
registry.

[1] https://gerrit.akraino.org/r/c/validation/+/1691

Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I42738c2845c874e457bf317aeb95465f93c4102b

5 years ago[UI] Handling users and passwords 27/1727/1
Ioakeim Samaras [Thu, 3 Oct 2019 13:26:17 +0000 (16:26 +0300)]
[UI] Handling users and passwords

The UI does not reset passwords on startup.
Also, only the admin user is created during startup.
Then, new users can be created by the admin.
Moreover, 3 level of privileges are supported,
namely admin, tsc and lab owner.
Finally, the admin user is enabled to reset users.

JIRA: VAL-62

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Ie799c5b7eedf557855cccdc5a60395ec074ac381

5 years agoNew container for logging 25/1725/1
Daniel Stoica [Thu, 3 Oct 2019 11:33:40 +0000 (14:33 +0300)]
New container for logging

Added a container basic tools needed for testing logging layer
JIRA: VAL-53

Signed-off-by: Daniel Stoica <daniel.stoica@enea.com>
Change-Id: I37e95397200ef10c0e2f53642141cb3cd3fae8cb

5 years agoMerge "[UI] Fix ONAP Portal SDK redirection bug"
Deepak Kataria [Thu, 3 Oct 2019 11:12:25 +0000 (11:12 +0000)]
Merge "[UI] Fix ONAP Portal SDK redirection bug"

5 years agodocker: manifest push: Ignore missing images 18/1718/1
Alexandru Avadanii [Thu, 3 Oct 2019 10:26:17 +0000 (12:26 +0200)]
docker: manifest push: Ignore missing images

Certain containers might lack one of the images that should be part
of the multiarch tag, so create the manifest without them and do not
bail in such scenarios.

Change-Id: Ia1094d1dfb1c998d7eda5e68c751d75ab3966c5b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agodocker: Fix aarch64 mysql docker build/push skip 02/1702/2
Alexandru Avadanii [Wed, 2 Oct 2019 12:25:41 +0000 (14:25 +0200)]
docker: Fix aarch64 mysql docker build/push skip

The previous attempt of skipping the mysql container image build on
aarch64 did not really work.

Rework our .push_image by adding a wrapper make target, push-image,
for each docker container.

Fixes: ffc875998692929c2e4c0881aec6b68c9f2fbab8

Change-Id: I1fe2d0ad05fda224db1991d07f46653f89b5a82b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agok8s, kube-conformance: K8s 1.16.0, Sonobuoy 1.16.1 91/1691/1
Alexandru Avadanii [Tue, 1 Oct 2019 14:17:35 +0000 (16:17 +0200)]
k8s, kube-conformance: K8s 1.16.0, Sonobuoy 1.16.1

Change-Id: I99668fff76cb899d3b58013002451bb9d473a927
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years agomysql: Skip build/push on aarch64 90/1690/1
Alexandru Avadanii [Tue, 1 Oct 2019 13:46:55 +0000 (15:46 +0200)]
mysql: Skip build/push on aarch64

MySQL 5.6 is not officially available on aarch64 platforms, so
skip building/pushing the arm64 artifacts for our mysql container.

Change-Id: I21c6ae3cf33d46966e432c53f57cffc80d4d4170
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
5 years ago[UI] Fix ONAP Portal SDK redirection bug 86/1686/1
Ioakeim Samaras [Tue, 1 Oct 2019 11:57:08 +0000 (14:57 +0300)]
[UI] Fix ONAP Portal SDK redirection bug

Whenever a login redirection is needed,
the user is redirected to the UI login page.

JIRA: VAL-60

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I220ef9b046ff4263717877480f750b2e8299c690

5 years ago[UI] Use MySQL instead of MariaDB 62/1662/1
Ioakeim Samaras [Fri, 27 Sep 2019 12:08:58 +0000 (15:08 +0300)]
[UI] Use MySQL instead of MariaDB

The UI MariaDB database is substituted
with MySQL. In this way, the deployment
to Amazon ECS can be supported.

JIRA: VAL-58

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Iba311b6165a0fe09f187e7787b59739d4c353e02

5 years agoMerge "Refactor conformance robot test"
Juha Kosonen [Fri, 27 Sep 2019 11:04:37 +0000 (11:04 +0000)]
Merge "Refactor conformance robot test"

5 years ago[UI] Support user creation 58/1658/1
Ioakeim Samaras [Thu, 26 Sep 2019 16:59:59 +0000 (19:59 +0300)]
[UI] Support user creation

Creation of users is supported.
The AES PKCS#5 is used for
encrypting/decrypting passwords in database.

JIRA: VAL-57

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I2469eac0c2b7ab99f3853ac3a023b325c51285f2

5 years ago[UI] Prevent UI from XSS 53/1653/1
Ioakeim Samaras [Thu, 26 Sep 2019 07:26:30 +0000 (10:26 +0300)]
[UI] Prevent UI from XSS

Prevent UI from XSS (Cross-site-scripting)
attacks.

JIRA: VAL-56

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Iab877852f0f4c35e36a23c2cae301dffd3d57827

5 years agoRefactor conformance robot test 97/1597/6
Juha Kosonen [Tue, 17 Sep 2019 12:29:26 +0000 (15:29 +0300)]
Refactor conformance robot test

- upload and use images in internal repository if the repository
  is defined
- create sonobuoy manifest file dynamically
- increase sonobuoy timeout to avoid early abort

JIRA: VAL-48

Change-Id: I49c721bc8a4da90942167ecd835c8e5bb26f5364
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years ago[UI] Encrypt passwords in db 49/1649/1
Ioakeim Samaras [Wed, 25 Sep 2019 12:35:35 +0000 (15:35 +0300)]
[UI] Encrypt passwords in db

The passwords stored in database are encrypted.
In this way, this data cannot be used by individuals
that shouldn't have access to it.

JIRA: VAL-55

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I3eb3b6a23398d37faa59938f84368711e7666978

5 years agoMerge "[UI] Support of HTTPS"
Naga Sugguna [Tue, 24 Sep 2019 15:49:00 +0000 (15:49 +0000)]
Merge "[UI] Support of HTTPS"

5 years ago[UI] Support of HTTPS 44/1644/2
Ioakeim Samaras [Tue, 24 Sep 2019 09:21:15 +0000 (12:21 +0300)]
[UI] Support of HTTPS

HTTPs with the appropriate SSL certificates
is supported in order to secure the connection
between the client and the UI.

JIRA: VAL-54

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I4fe37d98fbc5cfa45a12eef0f1af820877758f54

5 years agoMerge "send_logs script"
Ioakeim Samaras [Tue, 24 Sep 2019 06:43:12 +0000 (06:43 +0000)]
Merge "send_logs script"

5 years agosend_logs script 37/1637/2
Naga Sugguna [Fri, 20 Sep 2019 15:40:40 +0000 (15:40 +0000)]
send_logs script

Change-Id: I44d00dff3b066b21b9a0dca34deeda67254db1ed
Signed-off-by: Naga Sugguna <ns156u@att.com>
5 years agoMerge "[UI] Support data registration"
Deepak Kataria [Fri, 20 Sep 2019 18:09:40 +0000 (18:09 +0000)]
Merge "[UI] Support data registration"

5 years ago[UI] Support data registration 36/1636/2
Ioakeim Samaras [Fri, 20 Sep 2019 14:26:55 +0000 (17:26 +0300)]
[UI] Support data registration

Data regarding available labs, blueprints, versions,
layers is created/deleted/updated by the UI users
using user-friendly views.

JIRA: VAL-44

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: Ic69e5bf9c150e51cc6d83b7ed5124632075943eb

5 years agoMerge "Generate Tempest test report"
Deepak Kataria [Fri, 20 Sep 2019 13:48:27 +0000 (13:48 +0000)]
Merge "Generate Tempest test report"

5 years agoMerge "Add etcd ha test cases"
Deepak Kataria [Wed, 18 Sep 2019 18:22:04 +0000 (18:22 +0000)]
Merge "Add etcd ha test cases"

5 years ago[UI] Common class for results 84/1584/2
Ioakeim Samaras [Mon, 16 Sep 2019 12:57:59 +0000 (15:57 +0300)]
[UI] Common class for results

A common class for Nexus and database results
is used.

JIRA: VAL-49

Signed-off-by: Ioakeim Samaras <ioakeim.samaras@ericsson.com>
Change-Id: I62e68091b0a978d721f6468a7b2bf73d899c4027

5 years agoAdd etcd ha test cases 02/802/6
Juha Kosonen [Thu, 23 May 2019 13:31:02 +0000 (16:31 +0300)]
Add etcd ha test cases

This is on par with the etcd tests for Airship on
ha/ha_etcd_api_ctl_sch.robot.

JIRA: VAL-25

Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: I492ac86d0c34b3768469c4272bfc4a502a2847f7
Signed-off-by: Indumathi Buddi <ib405q@att.com>
5 years agoFix repo url retrieval 73/1573/1
Juha Kosonen [Thu, 12 Sep 2019 08:37:34 +0000 (11:37 +0300)]
Fix repo url retrieval

Allow also non-printable characters as a field separator when listing
repositories.

JIRA: VAL-47

Change-Id: If8628fd55adc5f2d38e8680d3f96e9a0cbd5b94e
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
5 years agoMerge "Add Helm chart repository Robot tests"
Deepak Kataria [Wed, 11 Sep 2019 11:31:24 +0000 (11:31 +0000)]
Merge "Add Helm chart repository Robot tests"