UT failed to verify IPv4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Critical
|
Yi Feng |
Bug Description
When executing `tox -e py38`, it cannot pass, and the following error is reported:
tacker.
ft1.164: tacker.
File "/home/
return func(self, *args, **kwargs)
File "/usr/lib/
return func(*newargs, **newkeywargs)
File "/home/
self.
File "/home/
self.
File "/home/
raise mismatch_error
testtools.
reference = "Invalid input for field/attribute additionalParams. Value: ['val1', 'val2']. ['val1', 'val2'] is not of type 'object'"
actual = "Invalid input for field/attribute 0. Value: 192.168.11.01. '192.168.11.01' is not a 'ipv4'"
Changed in tacker: | |
status: | New → In Progress |
Changed in tacker: | |
importance: | Undecided → Critical |
Changed in tacker: | |
assignee: | nobody → Yasufumi Ogawa (yasufum) |
Changed in tacker: | |
assignee: | Yasufumi Ogawa (yasufum) → Yi Feng (fengyi765) |
Reviewed: https:/ /review. opendev. org/c/openstack /tacker/ +/851478 /opendev. org/openstack/ tacker/ commit/ 40e895657b67783 6441040e4cc8d8c cfd4a78c2a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 40e895657b67783 6441040e4cc8d8c cfd4a78c2a
Author: Yi Feng <email address hidden>
Date: Fri Jul 29 11:02:59 2022 +0900
Fix IPv4 check failure in UT
Since the version of jsonschema has been updated from 3.2.0 to 4.7.2,
when tox executes UT, it reports an error when checking IPv4, and now
the invalid IP address is fixed.
Due to FT failure caused by ceilometer, the installation of Ceilometer
was commented out in `.zuul.yaml`.
Note that this is only a temporary change and will need to be changed
back when the ceilometer issue is resolved.
Closes-Bug: #1983067 9b57add263be5fa dd77a7f5ccd
Change-Id: Ice9be4d71ee168