Comments (5)
Acceptance Criteria for peer review:
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
- Pull down latest version of CNF conformance test code from
develop
branch - Run shard install
- Find the names of the containers in the CNF's helm chart
- Create an environment variable called TARGET_CONTAINER with the list of container names
When using the test increase_decrease_capacity command the CNF should PASS the increase and decrease test successfully:
- Run
crystal src/cnf-conformance.cr increase_decrease_capacity
- I expect to see the output and results from the increase test
- I expect to see the output and results from the decrease test
- I expect to see PASSED for the increase test
- I expect to see PASSED for the decrease test
The CNF should scale-up in capacity when the increase successfully
- Follow common steps above
- Run command
crystal src/cnf-conformance.cr increase_capacity
- There will be output on the screen showing the current replica set count (eg. 1 container) before the increase happens
- eg. Test runs kubectl describe command
- Behind the scenes: The test Increase containers to "more than default"
- There will be output on the screen showing the new replicate set count (eg. 3 containers)
- eg. Test runs kubectl describe command
- Behind the scenes: The test resets the containers to default (Eg. 1)
- There will be output showing if the test PASSED or FAILED
- I would expect the output to say PASSED'
The CNF should scale-down in capacity when the decrease successfully
- Follow common steps above
- Run command
crystal src/cnf-conformance.cr decrease_capacity
- Behind the scenes: The test Increase containers to "default that is more than 1 replica set"
- There will be output on the screen showing the current replica set count (eg. 3 container) before the decrease happens
- eg. Test runs kubectl describe command
- Behind the scenes: The test decrease containers to "less than default"
- There will be output on the screen showing the new replicate set count (eg. 1 containers)
- eg. Test runs kubectl describe command
- Behind the scenes: The test resets the containers to a default (Eg. 1 or 3)
- There will be output showing if the test PASSED or FAILED
- I would expect the output to say PASSED'
I would expect the CNF to pass the increase and decrease test when the scalability category runs
- Follow common steps above
- Run
crystal src/cnf-conformance.cr scalability
- I expect to see the output and results from the increase and decrease grouped test
- I expect to see PASSED for the increase test
- I expect to see PASSED for the decrease test
I would expect the CNF to pass the increase and decrease test 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 increase test
- I expect to see the output from the decrease test
- I expect to see PASSED for the increase test
- I expect to see PASSED for the decrease 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.
Initial task planning https://hackmd.io/Be2pyIA4Tue-HMT3KdfOPA
from testsuite.
Level of effort in pts: 0, 1, 2, 3, 5, 8, 13, 21, infinity: 8 pts
@wavell 8 pts
@williscool 13 pts
@lixuna 8 pts
@denverwilliams 8 pts
@taylor 8 pts
ashleigh 8 pts
@nupejosh 8 pts
from testsuite.
PoC #22
from testsuite.
@taylor went through A/C and all steps passed, closing issue
from testsuite.
Related Issues (20)
- [Improvement] Optimize runtime of single_process_type test
- [Improvement] Refactor K8sTshark module
- Document TSC Decision for PR Approval
- [Feature] Request to support multiple Helm Charts in CNTI Test Catalog HOT 4
- [Feature] Drop or rework k8s_netstat library
- [BUG] Problem with cluster-tools using TTY as input HOT 5
- [Improvement] hardcoded_ip_addresses_in_k8s_runtime_configuration should give more information on failure
- [Improvement] Ignore bash/bash-script processes in single_process_type check
- [MAINTENACE] Clarify usage and behavior of testing multiple CNFs HOT 4
- Global timer makes litmus create verdict sooner than the AUT is ready causing the node drain test to fail HOT 3
- [BUG] CNF Cert test cases not working in offline mode. HOT 2
- [Feature] Warning for running specs with cnfs present
- [Documentation] Incorporate Lost Information into Revised Documentation
- [Feature] Support multiple container engines
- [MAINTENANCE] Remove AIRGAP mode from code HOT 1
- [Feature] Separate manifest installation mode from helm
- [Feature] Join installation modes HelmChart and HelmDirectory
- [Feature] Redesign oran_e2_connection test HOT 1
- [Feature] redesign observability tracing test
- [Feature] Redesign workload_resource_test function 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.