Adding a pylint tox target which only suppresses
the error codes that are currently failing.
This will prevent any of the passing checks from being
broken by future submissions.
The currently suppressed codes can be fixed by subsequent
commits.
Adds a zuul pylint target to invoke the new tox target.
Unified the install_command in tox.ini to ensure
the upper constraints are used.
Reviewed: https:/ /review. opendev. org/716591 /git.openstack. org/cgit/ starlingx/ fault/commit/ ?id=4dc4325ab03 2fa3ce40d5b12ee 78670370f71017
Committed: https:/
Submitter: Zuul
Branch: f/centos8
commit b70b9b522094032 5844f4fb19d6e8a 13c5e5bb1a
Author: Gerry Kopec <email address hidden>
Date: Mon Mar 30 14:43:36 2020 -0400
Fix stestr version so py27 tox can pass
stestr was upgraded to 3.0.0 on Mar. 26 and it does not support py27.
Update test requirements accordingly so py27 tests will use earlier version.
Change-Id: Ia481a4609d81ad 4d225aeb6ec3ab0 cc3a9e18ae5
Closes-Bug: 1869777
Signed-off-by: Gerry Kopec <email address hidden>
commit ce56ce7ea57c06f 4d1660c61221caf 3fc32952da
Author: albailey <email address hidden>
Date: Tue Mar 10 16:22:44 2020 -0500
Adding pylint zuul and tox target
Adding a pylint tox target which only suppresses
the error codes that are currently failing.
This will prevent any of the passing checks from being
broken by future submissions.
The currently suppressed codes can be fixed by subsequent
commits.
Adds a zuul pylint target to invoke the new tox target.
Unified the install_command in tox.ini to ensure
the upper constraints are used.
Change-Id: Id2fb8cbb7ce63f 844a06403410d46 1c601822ad6
Story: 2007082
Task: 39020
Signed-off-by: albailey <email address hidden>
commit 8fcd1cbe0346d9f 28e5afe79373e16 551838b926
Author: SidneyAn <email address hidden>
Date: Wed Jan 15 09:45:53 2020 +0800
add test case for migration sync and version
add test class DbSyncTestCase
add test case for migration database sync
Story: 2007082 /review. opendev. org/#/c/ 702823/ 9a454dc128a591f 74ef066c149
Task: 38152
Depends-on: https:/
Signed-off-by: SidneyAn <email address hidden>
Signed-off-by: chenyan <email address hidden>
Change-Id: I8121dedae7e431
commit 170d4fefb72d3b4 8bc5ddeabb8daa6 7945b658c6
Author: SidneyAn <email address hidden>
Date: Thu Jan 16 16:46:44 2020 +0800
Add test case to create alarm into database
Add test class DbAlarmTestCase, DbTestCase
Add fake database in tests/base.py.
Add test case test_create_alarm
Story: 2007082
Task: 38085
Depends-on: https:/ /review. opendev. org/#/c/ 702175/ /review. opendev. org/#/c/ 702347/ eb8c52730e00fba 765d33edc0f
Depends-on: https:/
Change-Id: I906edc894c97fd
Signed-off-by: SidneyAn <email address hidden>
commit d73ba874571bdae ba24f856fb78574 9954a23c55
Author: SidneyAn <email address hidden>
Date: Fri Jan 17 13:56:12 2020 +0800
add test framework for rest api tests
this patch include:
fake pecan app for api tests
4 test cases:
bad url
setup
get_root
get_v1_root
Story: 2007082 f25abca3327a963 8a6fa88914c
Task: 38158
Change-Id: I3f933b43aede43
Signed-off-by: SidneyAn <email address hidden>
commit b1dfa14f0bcd6cc 2460b589095d969 5b794686d5
Author: albailey <email address hidden>
Date: Mon Mar 2 10:57:58 2020 -0600
Fix py27 and py35 zuul jobs failing to setup
As of March 1, when jobs run on ubuntu-xenial, they fail
to run py27 and py35 jobs with an error similar to:
/usr/ bin/python3 -m virtualenv --no-download
--python /usr/bin/python2.7 py27
ImportError: cannot import name 'ContextManager'
It does not appear to impact the ubuntu-bionic nodes so
updating zuul to use those nodes.
bionic nodes do not support python3.5, so the py35 jobs
is now converted to py36.
Partial-Bug: 1865554 4d1a02c82f4e1e3 7cac3f27ee7
Change-Id: Iad13d03ced2129
Signed-off-by: albailey <email address hidden>
commit f63603e966a307b 1942177e915a02b 81a4567cdc
Author: albailey <email address hidden>
Date: Mon Feb 10 09:19:55 2020 -0600
Adding a tox coverage target for fm-rest-api.
As new unit tests are being added, the coverage target
helps to view their impact.
Story: 2007082 358a2d31bfc8d8a 8635931527f
Task: 38836
Change-Id: I2d57aac7c633ab
Signed-off-by: albailey <email address hidden>
commit dda009f4c325759 25c8c42f11e6ed5 d81ae78d5b
Author: Bin Qian <email address hidden>
Date: Thu Feb 6 10:02:39 2020 -0500
Adding job to upload commits to GitHub
Add job to publish fault repo to GitHub
Change-Id: Idf3b1f553f7126 fd2c7551fa5ab53 83ef445fca1
Story: 2007252
Task: 38678
Signed-off-by: Bin Qian <email address hidden>