...
- Figure out how to run tests locally. Currently, functest is being used. We might need to investigate the feasibility and if required, set up new testing tool/architecture.
- The existing tests defined for functest/xtesting are old and cover only a subset of plugins that existed 2 years ago.
- So tests will be needed for most plugins. There are a bunch of plugins that barometer uses:
- Log-parser -> Easy plugin to understand and get started
- Network Capabilities Plugin -> For influx DB
- SNMP Write Plugin
- Memory RAS
- ethstat plugin
- SNMP +
- Processes plugin +
- SQL plugin +
- Exec Plugin
- Threshold plugin +
- Memory plugin +
- Bind Plugin
- Network Plugin +
- A review will be needed for the tests in baro_tests/ and determine whether these are suitable for the collectd community
- Set up triggering a Jenkins build when a PR is submitted to the collectd repository, run the job on node 5 of intel pod13 on a nightly basis ( can be triggered upon a github PR at a later stage)
- Contribute to making the barometer docs better, wherever there is confusion and things aren't mentioned clearly to make things easy for future contributors.
...
Week | Activity |
---|---|
Week 1 - Week 3 |
|
Week 4 - Week 6 |
|
Week 7 - Week 9 |
|
Week 10 - Week 12 |
|
...
However, the list of plugins is tentative and subject to change upon further discussions with Barometer and collectd community.
Note: The Jenkins Job set up for running the tests cannot be triggered upon PR submission to Collectd github repository as the tool decided to be used was not quite the right fit. It can be taken up in the future once more tests are added to the barometer project and we figure out a way to set up the triggers.
Milestones
Evaluation Date | Evaluation Criteria | ||
Q1 June 19 |
| ||
Q2 July 10 |
| ||
Q3 July 31 |
| ||
Q4 August 21 |
| Q4 August 21 |
|
Left Deliverables
- Configuring the job to run upon PR submission to Github-Collectd
- Missing functional tests for plugins
- Plugins left for test coverage (hardware limitations, difficult to automate, special requirement)
Results
- Jenkins Job Design
Learnings & Insights
- Monitoring as a service
- Familiarity with open source development lifecycle
- Jenkins and CI pipeline set-up
- Best practices related to test case creation.
Project Report
View file | ||||
---|---|---|---|---|
|