Git Product home page Git Product logo

tests's People

Contributors

4n0body5 avatar ansasaki avatar cropi avatar koncpa avatar radosroka avatar sarroutbi avatar sergio-correia avatar sopos avatar the-mule avatar tomastomecek avatar zelenymartin avatar zoltanfridrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

tests's Issues

tang-operator: malware detection should be included in test suite

A mechanism to include malware detection should be included in the tang-operator Test Suite.

It should:

  • Check if podman / docker exist
  • Check if clamav is installed
  • Mount both container and container bundle in different directories
  • Check both directories with clamscan
  • Report issues and keep them if issues are found

[tang-operator] Create clevis test

Tang operator functional test is testing tang server availability, but not a real clevis<->tang test. A clevis test should be added to check that, apart from server running correctly, the whole decryption process work

tang-operator [scale-out]: timeout is expiring for POD to go to Running state

tang-operator: timeout is expiring for PODs to go to Running state:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Scale-out scalability test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 16:13:46 ] :: [   PASS   ] :: Creating scale out test [0] (Expected 0, got 0)
:: [ 16:13:47 ] :: [   PASS   ] :: Checking 1 POD is started [Timeout=120 secs.] (Expected 0, got 0)
:: [ 16:13:47 ] :: [   PASS   ] :: Checking 1 Service is started [Timeout=120 secs.] (Expected 0, got 0)
:: [ 16:13:48 ] :: [   PASS   ] :: Checking pod name not empty (Assert: "tangdeployment-tangserver-scaleout-6b6455fb5b-wn9c4" should not equal "")
:: [ 16:13:58 ] :: [   PASS   ] :: Checking POD in Running state [Timeout=120 secs.] (Expected 0, got 0)
:: [ 16:13:59 ] :: [   PASS   ] :: Creating scale out test [1] (Expected 0, got 0)
:: [ 16:14:00 ] :: [   PASS   ] :: Checking 1+1 PODs are started [Timeout=120 secs.] (Expected 0, got 0)
:: [ 16:14:00 ] :: [   PASS   ] :: Checking pod name not empty (Assert: "tangdeployment-tangserver-scaleout-6b6455fb5b-wzprb" should not equal "")
:: [ 16:16:56 ] :: [   FAIL   ] :: Checking added POD in Running state [Timeout=120 secs.] (Expected 0, got 1)
:: [ 16:18:07 ] :: [   PASS   ] :: Deleting scale out test (Expected 0, got 0)
:: [ 16:18:08 ] :: [   PASS   ] :: Checking no PODs continue running [Timeout=5 secs.] (Expected 0, got 0)
:: [ 16:18:08 ] :: [   PASS   ] :: Checking no Services continue running [Timeout=120 secs.] (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This needs to be investigated, to check if it is a ROSA specific issue, as this timeout has been enough on the rest of the platforms

(optional)Refactor rsyslog tests

Many rsyslog test cases need to have certificates created in order to execute the test. In all cases, certificates are created manually at the beginning of each test. I understand that sometimes different types of certificates are required or certificates must be chained but this could be configured.

Consequently, I suggest to implement some kind of a wrapper, which will automatically create desired certificates when invoked. With this approach, tests will be more clean.

What do you think? @sopos @sarroutbi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.