action #111734
closed[sle][migration][backlog] To automatic Jira feature feature SLE-21595 - Create an RMT container for SLE 15 SPx to bring the SLE world closer to the cloud- and container-native world
0%
Files
Updated by tinawang123 almost 2 years ago
Let me put here all the info you need to automate this procedure.
We have a function to install K3s:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/containers/k8s.pm#L23
Also, a very simple one to install Helm:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/lib/containers/k8s.pm#L47
There is a Helm test:
https://github.com/os-autoinst/os-autoinst-distri-opensuse/blob/master/tests/containers/helm.pm
Which we run against different Kubernetes, environments (Azure AKS, Amazon EKS, and locally K3S).
This is an example:
https://openqa.suse.de/tests/8759732#step/helm_K3S/1
What you would need to do is to create a single module to test RMT Container, which re-uses some of this code, and code all the manual steps you have done.
Feel free to create a job group inside /containers in OSD. Maybe call it, RMT Container (I can also do that).
Then, once we have the module merged, I will take care of enabling the automatic trigger of the tests in the container bot, where we can specify openqa variables.
Updated by tinawang123 almost 2 years ago
Refer case: https://openqa.suse.de/tests/8906024
Updated by tinawang123 almost 2 years ago
Updated by tinawang123 almost 2 years ago
Automation got error :
NAME READY STATUS RESTARTS AGE
rmt-front-7f7bd84596-hg9zc 1/1 Running 0 14m
rmt-db-785788f8c5-s7nlp 1/1 Running 0 14m
rmt-app-776fffc4f6-wddh5 0/1 CrashLoopBackOff 7 (33s ago) 14m
The workflow is same with manual testing.
So I think maybe the RAM size is not enough.
Updated by tinawang123 almost 2 years ago
My manual test machine:
susetest:~/rmt-helm/templates # free
total used free shared buff/cache available
Mem: 3912140 1619196 200404 69716 2092540 1931256
Swap: 2098152 361704 1736448
Automatic test machine:
Total: 985532 free: 67892
Updated by tinawang123 almost 2 years ago
Updated by tinawang123 almost 2 years ago
Updated: https://openqa.suse.de/tests/9101645#
It seems rmt-sync has some problem.
I think maybe openqa worker is not good to use
I will mirror just one package to try,
Updated by tinawang123 almost 2 years ago
- Project changed from openQA Tests to qe-yam
- Category deleted (
New test)
Updated by tinawang123 almost 2 years ago
- Tags deleted (
YaST) - Status changed from New to In Progress
- Target version set to Current
Updated by tinawang123 almost 2 years ago
- Tags set to qe-yast-refinement
- Target version deleted (
Current)
Updated by tinawang123 almost 2 years ago
- Tags deleted (
qe-yast-refinement) - Target version set to Current
Updated by JERiveraMoya almost 2 years ago
- Project changed from qe-yam to openQA Tests
- Target version deleted (
Current)
Updated by tinawang123 over 1 year ago
Updated by tinawang123 about 1 year ago
- Status changed from In Progress to Resolved