SoK/2024/StatusReport/AakarshMJ: Difference between revisions
(Created page with "'''SUSTAINABILITY 1: TESTING AND DEVELOPEMENT OF "KECOLAB" ''' '''Project Abstract:''' Following are the deliverables: # Integrate Okular sus scripts into Okular's Pipeline (Solves #2) # Integrate CI/CD pipelines with E2E tests or Integration tests (Solves #10): ## Have Kate/Okular scripts(xdotool, Selenium and KdeEcoTest) which would be a CI test after each MR to make sure KEcoLab works well. ## To make sure energy requirement measured using all 3 scripts menti...") |
No edit summary |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<h1>Sustainability 1: Testing and Developement of KEcoLab</h1> | |||
'''Project Abstract:''' | '''Project Abstract:''' | ||
Sustainability is one of KDE's goals for the next two years. One aspect of this goal is to measure the energy consumption of KDE software. To do this, it is necessary to access the lab in KDAB, Berlin, which can now be done remotely using "KEcoLab". Further testing and integrating KEcoLab into Blue Angel certified projects is also necessary and this project aims to achieve that. A detailed proposal can be found [https://invent.kde.org/teams/season-of-kde/2024/-/issues/24 here] and the following are the deliverables: | |||
# Integrate Okular sus scripts into Okular's Pipeline (Solves #2) | # Integrate Okular sus scripts into Okular's Pipeline (Solves #2) | ||
# Integrate CI/CD pipelines with E2E tests or Integration tests (Solves #10): | # Integrate CI/CD pipelines with E2E tests or Integration tests (Solves #10): | ||
Line 11: | Line 10: | ||
# Usage scenario scripting with Selenium(Solves #5) | # Usage scenario scripting with Selenium(Solves #5) | ||
# Usage scenario scripts with KdeEcoTest | # Usage scenario scripts with KdeEcoTest | ||
'''Mentors: ''' | |||
Karanjot Singh and Joseph P. De Veaugh-Geiss | |||
'''Blog Post:''' | |||
[https://eco.kde.org/blog/2024-03-28-sok24-energy-measurement-lab/ KEcoLab in SoK24: Incorporating Energy-Consumption Measurements in the CI/CD pipeline] | |||
'''Merge Requests:''' | |||
1. [https://invent.kde.org/teams/eco/remote-eco-lab/-/merge_requests/35 Updated Kate Test Scripts] | |||
2. [https://invent.kde.org/teams/eco/remote-eco-lab/-/merge_requests/34 Added okular scripts to Remote Eco Lab] | |||
3. [https://invent.kde.org/teams/eco/remote-eco-lab/-/merge_requests/36 Added Option to Run Configuration Scripts] | |||
4. [https://invent.kde.org/sysadmin/ci-utilities/-/merge_requests/274 Measurement Template for KEcoLab] | |||
'''Weekly Progress:''' | '''Weekly Progress:''' | ||
# Week 1-2: | # <b>Week 1-2:</b> | ||
## | ## Setup 3 virtual machines and installed Selenium on all 3 of them | ||
## Contacted and discussed KEcoLab implementation details with the Okular team. | |||
## Discussed about the timeline of adding Wayland support with KdeEcoTest team. | |||
## Went through gitlab-ci templates used by KDE in various other projects to get an Idea about generating one for KEcoLab | |||
## Tested out Okular script prepared by Joseph and created a PR to update it. | |||
# <b>Week 3:</b> | |||
## OFF in lieu of being a speaker and conducting a workshop at Conf KDE India 2024. | |||
# <b>Week 4-5:</b> | |||
## Discussed the implementation details with the community and maintained communication with okular team regarding the integration of KEcoLab. | |||
## Started working on the yaml template to integrate KEcoLab in Okular's pipeline. | |||
## Started work on mid term blog post. | |||
# <b>Week 6-7</b> | |||
## Tested the pipeline on a test repo for the following things: | |||
### Triggering KEcoLab's pipeline for energy measurement- | |||
#### using Web UI. | |||
#### pushing the tag through Git. | |||
### Pipeline runs on triggering it manually through the Web UI. | |||
### Pipeline does not run on merge request. | |||
### Prevent pipeline from running on every commit push. | |||
# <b>Week 8-9</b> | |||
## Started Testing the pipeline on my fork of okular. | |||
## Continued work on the blog post. | |||
# <b>Week 10</b> | |||
## Completed the blog post. | |||
## Completed the Status report. |
Latest revision as of 07:23, 24 April 2024
Sustainability 1: Testing and Developement of KEcoLab
Project Abstract:
Sustainability is one of KDE's goals for the next two years. One aspect of this goal is to measure the energy consumption of KDE software. To do this, it is necessary to access the lab in KDAB, Berlin, which can now be done remotely using "KEcoLab". Further testing and integrating KEcoLab into Blue Angel certified projects is also necessary and this project aims to achieve that. A detailed proposal can be found here and the following are the deliverables:
- Integrate Okular sus scripts into Okular's Pipeline (Solves #2)
- Integrate CI/CD pipelines with E2E tests or Integration tests (Solves #10):
- Have Kate/Okular scripts(xdotool, Selenium and KdeEcoTest) which would be a CI test after each MR to make sure KEcoLab works well.
- To make sure energy requirement measured using all 3 scripts mentioned above remains constant with +-(5 to 10)% accuracy rate after every MR
- Usage scenario scripting with Selenium(Solves #5)
- Usage scenario scripts with KdeEcoTest
Mentors:
Karanjot Singh and Joseph P. De Veaugh-Geiss
Blog Post:
KEcoLab in SoK24: Incorporating Energy-Consumption Measurements in the CI/CD pipeline
Merge Requests:
2. Added okular scripts to Remote Eco Lab
3. Added Option to Run Configuration Scripts
4. Measurement Template for KEcoLab
Weekly Progress:
- Week 1-2:
- Setup 3 virtual machines and installed Selenium on all 3 of them
- Contacted and discussed KEcoLab implementation details with the Okular team.
- Discussed about the timeline of adding Wayland support with KdeEcoTest team.
- Went through gitlab-ci templates used by KDE in various other projects to get an Idea about generating one for KEcoLab
- Tested out Okular script prepared by Joseph and created a PR to update it.
- Week 3:
- OFF in lieu of being a speaker and conducting a workshop at Conf KDE India 2024.
- Week 4-5:
- Discussed the implementation details with the community and maintained communication with okular team regarding the integration of KEcoLab.
- Started working on the yaml template to integrate KEcoLab in Okular's pipeline.
- Started work on mid term blog post.
- Week 6-7
- Tested the pipeline on a test repo for the following things:
- Triggering KEcoLab's pipeline for energy measurement-
- using Web UI.
- pushing the tag through Git.
- Pipeline runs on triggering it manually through the Web UI.
- Pipeline does not run on merge request.
- Prevent pipeline from running on every commit push.
- Triggering KEcoLab's pipeline for energy measurement-
- Tested the pipeline on a test repo for the following things:
- Week 8-9
- Started Testing the pipeline on my fork of okular.
- Continued work on the blog post.
- Week 10
- Completed the blog post.
- Completed the Status report.