Skip to content

Check PyTest and use proper mariadbverion in command-app application #290

Description

@phracek

The image registry.redhat.io/rhel10/mariadb-105 does not exist on RHE10
See error from PyTest suite:

--> Creating resources ...
    secret "mariadb-testing" created
    service "mariadb-testing" created
    deployment.apps "mariadb-testing" created
--> Success
    Application is not exposed. You can expose services to the outside world by executing one or more of the commands below:
     'oc expose service/mariadb-testing' 
    Run 'oc status' to view your app.
Waiting for mariadb-testing pod becoming ready ...... DONE
  Checking APP using ct_os_check_cmd_internal 'registry.redhat.io/rhel10/mariadb-105' 'mariadb-testing' "echo 'SELECT 42 as testval\g' | mysql --connect-timeout=15 -h 172.30.154.196 testdb -utestu -ptestp" '^42' 120 ...
command POD not running yet, will start one called command-app registry.redhat.io/rhel10/mariadb-105
Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "command-container" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "command-container" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "command-container" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "command-container" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
pod/command-app created
Waiting for command POD .NAME                               READY   STATUS              RESTARTS   AGE
command-app                        0/1     ContainerCreating   0          0s
mariadb-testing-75fdfbb59c-8fnf5   1/1     Running             0          13s
.NAME                               READY   STATUS             RESTARTS   AGE
command-app                        0/1     ImagePullBackOff   0          4s
mariadb-testing-75fdfbb59c-8fnf5   1/1     Running            0          17s
.NAME                               READY   STATUS             RESTARTS   AGE
command-app                        0/1     ImagePullBackOff   0          7s
mariadb-testing-75fdfbb59c-8fnf5   1/1     Running            0          20s
.NAME                               READY   STATUS             RESTARTS   AGE

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions