Merge ~djacobs98/checkbox-iiotg/+git/checkbox-provider-intliotg:cyclictest into ~checkbox-dev/checkbox-iiotg/+git/checkbox-provider-intliotg:master
Proposed by
Doug Jacobs
Status: | Rejected |
---|---|
Rejected by: | Vic Liu |
Proposed branch: | ~djacobs98/checkbox-iiotg/+git/checkbox-provider-intliotg:cyclictest |
Merge into: | ~checkbox-dev/checkbox-iiotg/+git/checkbox-provider-intliotg:master |
Diff against target: |
211 lines (+172/-0) 5 files modified
bin/run_cyclictest.py (+141/-0) units/cyclictest/category.pxu (+3/-0) units/cyclictest/jobs.pxu (+26/-0) units/test-plan-desktop.pxu (+1/-0) units/test-plan-server.pxu (+1/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PeiYao Chang | Needs Fixing | ||
Vic Liu | Pending | ||
Review via email: mp+440716@code.launchpad.net |
Commit message
Initial commit.
Add cyclictest script and test case to stress test test plan for desktop and server.
To post a comment you must log in.
Doug, there are few things need you to fix, I list them below.
1. The style of Checkbox job desktop- 22-04-stress and intliotg- server- 22-04-stress, you can reference the ishtp sample (https:/ /git.launchpad. net/~checkbox- dev/checkbox- iiotg/+ git/checkbox- provider- intliotg/ tree/units/ ishtp/test- plan.pxu)
- Always have the test-plan.pxu and well structure for each units.
- Problem:
- Missing the test-plan.pxu in cyclictest unit
- Do not include the job into the intliotg-
2. There are some errors thrown by flake8 /github. com/canonical/ checkbox/ blob/main/ CONTRIBUTING. md cyclictest. py` run_cyclictest. py:10:80: E501 line too long (80 > 79 characters) run_cyclictest. py:24:1: F401 'sys' imported but unused run_cyclictest. py:31:1: E302 expected 2 blank lines, found 1 run_cyclictest. py:31:32: W291 trailing whitespace run_cyclictest. py:33:80: E501 line too long (91 > 79 characters) run_cyclictest. py:34:5: F841 local variable 'test_timeout' is assigned to but never used run_cyclictest. py:37:80: E501 line too long (183 > 79 characters) run_cyclictest. py:50:11: E275 missing whitespace after keyword run_cyclictest. py:57:1: E302 expected 2 blank lines, found 1 run_cyclictest. py:59:1: E115 expected an indented block (comment) run_cyclictest. py:60:1: E115 expected an indented block (comment) run_cyclictest. py:68:11: E275 missing whitespace after keyword run_cyclictest. py:83:1: E302 expected 2 blank lines, found 1 run_cyclictest. py:96:22: E701 multiple statements on one line (colon) run_cyclictest. py:103: 80: E501 line too long (130 > 79 characters) run_cyclictest. py:113: 80: E501 line too long (93 > 79 characters) run_cyclictest. py:120: 11: E275 missing whitespace after keyword run_cyclictest. py:131: 63: E261 at least two spaces before inline comment
- After setting up the dev environment of Checkbox, run flake8 to check python scripts
- Checkbox dev environment: https:/
- flake8 command: `python -m flake8 bin/run_
- Errors
```
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
bin/
```