Zuul
52f6c03601
Merge "reno: Update master for unmaintained/yoga"
2024-05-02 17:29:22 +00:00
OpenStack Release Bot
8920bb5ec8
reno: Update master for unmaintained/yoga
...
Update the yoga release notes configuration to build from
unmaintained/yoga.
Change-Id: Id3ed1da7d64fabcf2fbe013cb2f30b2d956cf320
2024-02-06 14:27:12 +00:00
OpenStack Release Bot
9ed8b2aad8
Update master for stable/2023.2
...
Add file to the reno documentation build to show release notes for
stable/2023.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.2.
Sem-Ver: feature
Change-Id: I9e3a8dcf6bc78f69b8602836b61afe52b1d461fc
2023-09-14 01:23:19 +00:00
Zuul
5effc13828
Merge "Fix freezer doc error"
2023-02-24 09:03:22 +00:00
Zuul
482ce13228
Merge "Update master for stable/zed"
2023-02-24 08:59:21 +00:00
Elod Illes
f6a5996092
Fix deprecated zuul queue syntax and other gate issues
...
There are multiple issues with the gate. This patch combines the fixes
to unblock the gate.
1. Zuul deprecated (and removed) declaring shared queues at a pipeline
level [1]. This patch fixes the syntax to make the gate work again for
freezer.
2. Zuul CI jobs default nodeset is now Ubuntu 22.04 Jammy Jellyfish,
that does not provide anymore python2 binary, so python-dev needs to be
removed from bindep.txt
3. Latest tox does not allow to list the passed environment variables
in one line separated by space. One option is to list them in separate
lines. Also, external command allowing variable name changed.
basepython as python3 is also conflicts now and it is not necessary.
It looks like tox requires now to install now explicitly all the
requirements listed in requirements.txt.
tox.ini is updated accordingly to the above listed problems.
[1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html
Change-Id: I3c95bb48c7fdd0c752db121f1745f64a53b5a0e5
2023-02-23 16:26:54 +01:00
gecong
57211d5f11
Fix freezer doc error
...
Change-Id: I3da0508b01c65b896bba7b6364e8381bbb931899
2023-02-14 02:36:21 +00:00
OpenStack Release Bot
3d7b522156
Update master for stable/zed
...
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: Ib43eb4b54ee29e12112ae003763e1ce6f0d474b4
2022-09-13 12:16:07 +00:00
gecong
0d47828fa9
Fix freezer doc error
...
Change-Id: Ib2484797cf0e8cfb6c6f5084ec6a226818f82c4d
2022-08-30 07:55:08 +00:00
ljhuang
3983e13908
Replace deprecated readfp method with read_file
...
The readfp method has been deprecated since version 3.2 [1].
[1] https://docs.python.org/3/library/configparser.html?highlight=deprecated#configparser.ConfigParser.readfp
Change-Id: I5246aef8e07b949273b6c3cc31435b4756ae9d1a
2022-07-22 17:22:43 +08:00
Zuul
bbb0fea943
Merge "Dropped the python 3.6/3.7 in zed cycle testing runtime"
2022-06-18 04:01:49 +00:00
Cai Hui
111dfafb62
Dropped the python 3.6/3.7 in zed cycle testing runtime
...
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: If6c82699a088644aa7515021f62b1d08cb6c61fb
2022-05-15 09:11:59 +08:00
Carl caihui
740d153fef
Add arm ci jobs
...
Add arm ci jobs "openstack-python3-zed-jobs-arm64".
Change-Id: Ia4e9519948651a1b2d0f038f55b9c59c64c95ceb
2022-05-10 10:11:28 +00:00
Zuul
175d42f4f8
Merge "Drop lower-constraints.txt and its testing"
2022-05-09 01:34:02 +00:00
Zuul
ae75ae3e28
Merge "Use LOG.warning instead of deprecated LOG.warn"
2022-05-09 00:19:25 +00:00
Cai Hui
14560b4e77
Drop lower-constraints.txt and its testing
...
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: I08cdfa48c8d7366e40b32e54d1f2252fcbcddab8
2022-05-08 21:05:10 +08:00
Zuul
c000ce651c
Merge "Add Python3 zed unit tests"
2022-05-08 12:52:57 +00:00
Zuul
ad939a4770
Merge "Updating python testing classifier as per Yoga testing runtime"
2022-05-08 12:50:09 +00:00
Zuul
c4b2c18eb6
Merge "Fix pylint error"
2022-05-08 10:48:13 +00:00
Cai Hui
6d2df5eee9
Fix pylint error
...
************* Module freezer.engine.rsync.pyrsync
freezer/engine/rsync/pyrsync.py:135:53: E0601: Using variable 'tailsize' before assignment (used-before-assignment)
Change-Id: I86763ae9715fe9ddef483f136c40a3bb8df8a459
2022-05-08 17:44:38 +08:00
OpenStack Release Bot
8976f8dea3
Add Python3 zed unit tests
...
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.
See also the PTI in governance [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: Ia7df976099346a4c610f2b09813a8f68cfc4106a
2022-03-10 12:38:53 +00:00
OpenStack Release Bot
416897be32
Update master for stable/yoga
...
Add file to the reno documentation build to show release notes for
stable/yoga.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.
Sem-Ver: feature
Change-Id: Ia4bf6c4e9e2c06de397bd1f015227cd3952b511d
2022-03-10 12:38:51 +00:00
Takashi Kajinami
7e145f5624
Use LOG.warning instead of deprecated LOG.warn
...
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.
[1] https://docs.python.org/3/library/logging.html#logging.warning
Change-Id: I7e721580693a2d81b415a8ae0eb1963456d0195a
2022-01-28 01:16:00 +09:00
Ghanshyam Mann
9c20044b63
Updating python testing classifier as per Yoga testing runtime
...
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286
this commit updates the classifier in setup.cfg file.
[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: If65bfad8e9ce2c1c79a2eb20aa8e31c66ca36d82
2021-12-14 02:44:22 +00:00
Cai Hui
3eb84784c6
update setup.cfg
...
The project support python3.9.
Change-Id: Iab7d9bac7354ef0e5cb990ac25fd17f126bec651
2021-11-05 21:42:19 +08:00
Carl caihui
7c45623a7e
Update gate CI
...
Update gate CI for yoga version
Change-Id: Iaabe5d1c70dcd20e2787d59241268c0013408f64
2021-11-04 05:03:30 +00:00
Zuul
c0522d915b
Merge "Add python3.9 in tox.ini"
2021-11-03 23:51:10 +00:00
Carl caihui
4a43982658
Add python3.9 in tox.ini
...
Add python3.9 UT job for CI
Change-Id: Ib5f202870200fb4e22d4184fac583264c836b457
2021-11-03 10:20:37 +00:00
Cai Hui
8003eea9d1
Add python3.9 in tox
...
Add python3.9 CI job.
Change-Id: I85674c664821aa2370d4f0d6d09657374dfdda7e
2021-11-03 06:40:47 +08:00
Cai Hui
2322fc9b7e
Update tox.ini
...
Update tox.ini for local test in python3.
Change-Id: I9a3fadb6b6f87ec19e8ca26ee2a3169230efc3ab
2021-09-19 17:18:11 +08:00
Ghanshyam Mann
38cb8cd520
Moving IRC network reference to OFTC
...
Change-Id: I69ea73879d09b14addd2f889b00f0d1156395299
2021-07-07 19:45:41 -05:00
Zuul
8237ad23f0
Merge "Add lower-constraints gate CI"
2021-06-12 07:23:37 +00:00
caihui
a495023807
Add lower-constraints gate CI
...
Add lower-constraints gate CI
Change-Id: Ib2c9d67f96d37d5f85377dd41ef1e9378df35465
2021-06-12 11:42:11 +08:00
Zuul
14401b9290
Merge "Update "if .. if .." to "if .. in ..""
2021-06-10 08:23:52 +00:00
Zuul
ed833ad7e9
Merge "Fix the error of tempest test cases for schedule."
2021-06-10 01:10:43 +00:00
caihui
32337c8d5e
Fix the error of tempest test cases for schedule.
...
The error of tempest test cases for schedule:
ft1.2: freezer_tempest_plugin.tests.scheduler.test_freezer_scheduler.TestFreezerCmdAction.test_freezer_schedulers_restart[gate]testtools.testresult.real._StringException: Traceback (most recent call last):
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/freezer_tempest_plugin/tests/scheduler/test_freezer_scheduler.py", line 33, in test_freezer_schedulers_restart
self.run_subprocess(args, "Freezer scheduler restart.")
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/freezer_tempest_plugin/tests/scheduler/base.py", line 76, in run_subprocess
self.assertEqual(0, proc.returncode,
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 415, in assertEqual
self.assertThat(observed, matcher, message)
File "/opt/stack/tempest/.tox/tempest/lib/python3.8/site-packages/testtools/testcase.py", line 502, in assertThat
raise mismatch_error
testtools.matchers._impl.MismatchError: 0 != 1: Freezer scheduler restart. Output: 2021-06-09 01:05:20.991 116248 CRITICAL freezer-scheduler [-] Unhandled error: OSError: [Errno 88] Socket operation on non-socket
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler Traceback (most recent call last):
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/usr/local/bin/freezer-scheduler", line 10, in <module>
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler sys.exit(main())
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/scheduler/freezer_scheduler.py", line 259, in main
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler daemon.restart()
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/scheduler/daemon.py", line 204, in restart
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler self.start()
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/scheduler/daemon.py", line 178, in start
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler with DaemonContext(pidfile=pidfile, signal_map=self.signal_map,
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/lib/pep3143daemon/daemon.py", line 132, in __init__
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler self.detach_process = detach_required()
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/lib/pep3143daemon/daemon.py", line 416, in detach_required
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler if parent_is_inet() or parent_is_init():
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/opt/stack/freezer/freezer/lib/pep3143daemon/daemon.py", line 394, in parent_is_inet
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler sock = socket.fromfd(
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/usr/lib/python3.8/socket.py", line 544, in fromfd
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler return socket(family, type, proto, nfd)
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler File "/usr/lib/python3.8/socket.py", line 231, in __init__
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler _socket.socket.__init__(self, family, type, proto, fileno)
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler OSError: [Errno 88] Socket operation on non-socket
2021-06-09 01:05:20.991 116248 ERROR freezer-scheduler [00m
Change-Id: I65bb2b620fcc20c3ee3a38cf95cd4280443f77d4
2021-06-10 07:35:10 +08:00
devfu
c33d8d98bd
Update "if .. if .." to "if .. in .."
...
Make the code structure looks more clear and more clean.
Change-Id: I5cfce411d7cc182d3ac50170b2ea6a4bc2598525
2021-06-03 16:09:06 +08:00
Yandong Xuan
ea30ed7dee
setup.cfg: Replace dashes with underscores
...
Resolves warnings like the following:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
Change-Id: Ib6b5c10bb8e9179619275fd21c35d4e7936baaad
2021-05-01 15:12:43 +08:00
gecong1973
9773f99feb
add test_job_start_session unit test cases
...
Change-Id: Ia39021e543fea24f686caeacd8dcef964c80f431
2021-02-07 17:30:05 -08:00
gecong1973
71f04ce289
add test_job_execute unit test cases
...
Change-Id: Icf6a719bc71d1a478d0a232e65d01a3b6617e7e6
2021-02-07 16:09:39 -08:00
gecong1973
98b12b02e0
add test_job_process_event unit test cases
...
Change-Id: Ifcef7876c3b1930ebd1237e9c1264db8278e332e
2021-02-07 00:50:11 -08:00
gecong1973
ca74ddf145
add test_save_action_to_file unit test cases
...
Change-Id: I3459d776df233dbe8c36495db3cc113984b44e94
2021-02-06 23:46:23 -08:00
gecong1973
d8b96ff91c
add test_job_session_id unit testcases
...
Change-Id: If11616c358681b2363ea5ff37c1aba726e4d9091
2021-02-06 22:04:18 -08:00
gecong1973
bf49fb0dfc
add test_job_create unit testcases
...
Change-Id: I8955f673b968c34b9b27f6e305f17ab3b6fcfac2
2021-02-06 19:13:39 -08:00
gecong1973
97236a1609
add test_runningstate_remove for unit test
...
Change-Id: I3db2a946d0950c9b01ee8912c43f7704ffd97c5d
2021-02-06 17:48:01 -08:00
gecong1973
8b26e2738b
add test_runningstate_stop for unit test
...
Change-Id: I33388d127121cc8e017f9db7209ad03773098929
2021-02-06 16:10:40 -08:00
gecong1973
97984c71d6
add test_scheduledstate_start for unit test
...
Change-Id: Iccd20901384ccee82dbb1e57dc6dddf211cbbcd0
2021-02-05 00:43:18 -08:00
gecong1973
0ea6b00494
add test_scheduledstate_stop for unit test
...
Change-Id: I75b4025cb207bb0aa59c4325819add1be45cf08e
2021-02-04 21:56:07 -08:00
gecong1973
50885c1041
add test_stopstate_abort for unit test
...
Change-Id: I850f92470380de21b91406eda28ca01339b61d43
2021-02-04 19:06:38 -08:00
gecong1973
04023a0092
add test_stopstate_stop for unit test
...
Change-Id: I1abb4eca21a19ee810cf3017116eaf446b94af8b
2021-02-04 17:50:38 -08:00