Comments (3)
@wavell @denverwilliams @williscool please add A/C before moving to Needs Peer Review
from testsuite.
Acceptance Criteria:
Common steps
- Find or create a K8s cluster to use
- Steps for creating will be in another ticket
- Talk with team for access to an existing cluster
- Set the KUBECONFIG environment variable for accessing the target K8s cluster
- As a developer, Pull down latest version of CNF conformance test code from
develop
branch - As a peer reviewer, Pull down latest version of CNF conformance test code from
master
branch - Run
shards install
- Run
crystal spec
- I expect to see PASSED for the tests
When using the test crystal src/cnf-conformance.cr readiness
command the sample "good" CNF should PASS test successfully:
- Run
crystal src/cnf-conformance.cr setup
- Run
crystal src/cnf-conformance.cr sample_coredns_setup
- Run
crystal src/cnf-conformance.cr readiness
- I expect to see the output and results from the test
- I expect to see PASSED for the test
When using the test crystal spec --tag 'readiness'
command the sample "good" CNF should PASS and the sample "bad" CNF should FAIL test:
- Run
crystal spec --tag 'readiness'
- I expect to see the output and results from the test
- I expect to see "PASSED: Helm readiness probe found"
- I expect to see "FAILURE: No readinessProbe found"
I would expect the CNF to pass when I run the entire test category suite (configuration_lifecycle
)
- Run
crystal src/cnf-conformance.cr configuration_lifecycle
- I expect to see the output and results from all tests in the test category
- I expect to see PASSED for the test category
I would expect the CNF to pass when I run the entire test suite (all
)
- Follow common steps above
- Run
crystal src/cnf-conformance.cr all
- I expect to see the output from the test
- I expect to see PASSED for the test
Steps after A/C fails
If all A/C fails for peer reviewer
- Add a comment to the PR summarizing the problem tagging the developer
- Attach any console output or logs that can help the developer fix the issue
Steps after A/C Passes
If all A/C passes for developer
- open a Pull Request to master branch and mark as "developer approved"
- Tag team members for peer review
If all A/C passes for peer reviewer
- Mark the PR as approved and merge the PR into
master
from testsuite.
Level of effort in pts: 0, 1, 2, 3, 5, 8, 13, 21 = 5 pts
@wavell 5 pts
@denverwilliams 5 pts
@taylor 3 pts
@lixuna 3 pts
from testsuite.
Related Issues (20)
- [BUG] cni_compatible installs obsolete cluster (v1.21 and no cgroup v2 support). Part of cert ? HOT 4
- [IMPROVEMENT] Health check method that ensures K8s cluster is up and running
- [Platform] SECURITY test: Ensure_Secrets_Encrypted
- [BUG] pod_memory_hog spec test failing in github actions when PR merged to `main` HOT 3
- [BUG] pod_delete test outputs API text during `cert` run HOT 3
- [BUG] cnf_setup passes even when cluster_tools pods are not started successfully HOT 3
- [BUG] pod_dns_error is always SKIPPED when "containerd" runtime is used HOT 2
- [Feature] cluster_api_setup enhancement
- [Feature] clusterapi_enabled enhancement
- [BUG] cluster_api_cleanup leaves some resources hanging
- [Enhancement] Support dynamically setting memory used in the pod_memory_hog test based on the applications pod memory constraints
- Recommendation: Update pod_memory_hog documentation to communicate it is a general kubernetes application best practice (eg. kubenative)
- [BUG] non_root_containers test giving wrong results HOT 1
- [Feature] Check kubescape & kubescape framework version and re-download if version not latest according to constants.cr HOT 1
- [Platform] Check if configmaps are encrypted
- Option to run Cert command for only Essential Tests HOT 5
- [BUG] "resource_policies" (and 4 additional) test crashes HOT 12
- [Feature] Separate console output from logs
- [BUG] Registry spec tests not passing due to insecure registry
- [BUG] `service_account_mapping` test does not fail if the CNF includes an auto-mounted service account. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from testsuite.