Project

General

Profile

Actions

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

Added by tinawang123 almost 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
New test
Target version:
-
Start date:
2022-05-30
Due date:
% Done:

0%

Estimated time:
Difficulty:


Files

Actions #1

Updated by llzhao almost 2 years ago

  • Category set to New test
Actions #2

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.

Actions #5

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.

Actions #6

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

Actions #8

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,

Actions #9

Updated by tinawang123 almost 2 years ago

  • Tags set to YaST

Try to add yast tag to my ticket

Actions #10

Updated by tinawang123 almost 2 years ago

  • Project changed from openQA Tests to qe-yam
  • Category deleted (New test)
Actions #11

Updated by tinawang123 almost 2 years ago

  • Tags deleted (YaST)
  • Status changed from New to In Progress
  • Target version set to Current
Actions #12

Updated by tinawang123 almost 2 years ago

  • Tags set to qe-yast-refinement
  • Target version deleted (Current)
Actions #13

Updated by tinawang123 almost 2 years ago

  • Tags deleted (qe-yast-refinement)
  • Target version set to Current
Actions #14

Updated by JERiveraMoya almost 2 years ago

  • Project changed from qe-yam to openQA Tests
  • Target version deleted (Current)
Actions #15

Updated by okurz almost 2 years ago

  • Category set to New test
Actions #17

Updated by tinawang123 about 1 year ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF