[VAL-5] Test OPNFV Functest for Kubernetes testing Created: 07/Mar/19 Updated: 10/Apr/19 Resolved: 10/Apr/19 |
|
| Status: | Done |
| Project: | Validation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Medium |
| Reporter: | Tapio Tallgren | Assignee: | Cristina Pauna |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Run OPNFV Functest-kubernetes against an IEC deployment for both x86 and aarch64. |
| Comments |
| Comment by Cristina Pauna [ 19/Mar/19 ] |
|
ns156u Not sure what the genesis node is, we usually run functest from a jumpserver (a server from which k8s is installed, separate from the cluster itself). I ran the test also from the k8s master today and the test passed. {{ubuntu@iec01:~$ cat k8.creds }} In your case it seems connection to https://127.0.0.1:6553/api/v1 is denied to localhost. What is the output of the command below? wget https://127.0.0.1:6553/api/v1 --no-check-certificate
|
| Comment by Naga Sugguna [ 15/Mar/19 ] |
|
I am running it form genesis node. |
| Comment by Naga Sugguna [ 15/Mar/19 ] |
|
Mar 15 05:28:25.275: INFO: >>> kubeConfig: /root/.kube/config Unexpected error: , , _output/local/go/src/k8s.io/kubernetes/test/e2e/e2e.go:104 Ran 1 of 0 Specs in 0.004 seconds |
| Comment by Jingzhao Ni [ 14/Mar/19 ] |
|
Ran the opnfv/functest-kubernetes-healthcheck:latest image against an arm64 k8s deploy. The environmental-setting is same as x86 platform's. You can directly reference the x86 configurations. And the default.log is attached functest-k8s.log On the other hand, when deploying the functest-kubernetes-healthcheck, i found that the status of coredns pod in kube-system namespace is crashed. It caused by host dns configuration. And i will updated the automatic scripts in future. |
| Comment by Juha Kosonen [ 14/Mar/19 ] |
|
In this case results were attempted to push to database because option '-r' (report) was set in execution command: run_tests -r -t all
$ run_tests --help usage: run_tests [-h] [-t TEST] [-n] [-r] optional arguments: -h, --help show this help message and exit -t TEST, --test TEST Test case or tier (group of tests) to be executed. It will run all the test if not specified. -n, --noclean Do not clean OpenStack resources after running each test (default=false). -r, --report Push results to database (default=false). $
|
| Comment by Cristina Pauna [ 13/Mar/19 ] |
|
Ran the opnfv/functest-kubernetes-healthcheck:latest image against an x86 k8s deploy. The image can be used as is, with some prerequisites:
Start the tests from the jumpserver: docker run -e DEPLOY_SCENARIO=k8-nosdn-nofeature-noha -v /home/jenkins/k8.creds:/home/opnfv/functest/conf/env_file -v /home/jenkins/opnfv/functest/results/master:/home/opnfv/functest/results -v /home/jenkins/admin.conf:/root/.kube/config opnfv/functest-kubernetes-healthcheck:latest /bin/bash -c 'run_tests -r -t all'
One additional note, the tests try to push the results to http://testresults.opnfv.org/test/api/v1/results by default. Log of the run is attached. |