| test_ingress_ip_assignment[ci_k8s_sanity,k8s_sanity,k8s_upgrade] | Failure | Details
Traceback (most recent call last):
testtools.testresult.real._StringException: stderr: {{{
/contrail-test/tcutils/verification_util.py:366: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if not path:
/contrail-test/tcutils/control/cn_introspect_utils.py:40: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if not p:
}}}
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Tue Feb 10 13:45:51 2026
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.k8s_scripts.test_ingress.TestIngressClu...sanity,k8s_sanity,k8s_upgrade] id=0x7f5d292c3a30>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestIngressClusterIp.test_ingress_ip_assignment>
self = <scripts.k8s_scripts.test_ingress.TestIngressClu...sanity,k8s_sanity,k8s_upgrade] id=0x7f5d292c3a30>
args = ()
kwargs = {}
/contrail-test/scripts/k8s_scripts/test_ingress.py in test_ingress_ip_assignment(self=<scripts.k8s_scripts.test_ingress.TestIngressClu...sanity,k8s_sanity,k8s_upgrade] id=0x7f5d292c3a30>)
75 assert self.validate_nginx_lb([pod1, pod2], ingress.cluster_ip,
76 test_pod=pod3)
77 validate()
78 self.validate_post_upgrade = validate
79 # end test_ingress_ip_assignment
validate = <function TestIngressClusterIp.test_ingress_ip_assignment.<locals>.validate>
/contrail-test/scripts/k8s_scripts/test_ingress.py in validate()
73 def validate():
74 # Now validate ingress from within the cluster network
75 assert self.validate_nginx_lb([pod1, pod2], ingress.cluster_ip,
76 test_pod=pod3)
77 validate()
self = <scripts.k8s_scripts.test_ingress.TestIngressClu...sanity,k8s_sanity,k8s_upgrade] id=0x7f5d292c3a30>
self.validate_nginx_lb = <bound method retry.<locals>.deco_retry.<locals>...anity,k8s_sanity,k8s_upgrade] id=0x7f5d292c3a30>>
pod1 = <k8s.pod.PodFixture object>
pod2 = <k8s.pod.PodFixture object>
ingress = <k8s.ingress.IngressFixture object>
ingress.cluster_ip = '10.47.255.249'
test_pod undefined
pod3 = <k8s.pod.PodFixture object>
AssertionError:
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ()
with_traceback = <built-in method with_traceback of AssertionError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/k8s_scripts/test_ingress.py", line 77, in test_ingress_ip_assignment
validate()
File "/contrail-test/scripts/k8s_scripts/test_ingress.py", line 75, in validate
assert self.validate_nginx_lb([pod1, pod2], ingress.cluster_ip,
AssertionError
| 108.747 |
Log File
|
| test_ingress_rule_on_pod_with_service[ci_k8s_sanity,k8s_sanity] | Failure | Details
Traceback (most recent call last):
testtools.testresult.real._StringException: Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 176, in wrapper
raise TestFailed("\n ".join(errmsg))
tcutils.cores.TestFailed: Test failed: AssertionError
Python 3.9.21: /usr/bin/python3
Tue Feb 10 13:47:47 2026
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
/contrail-test/tcutils/wrappers.py in wrapper(self=<scripts.k8s_scripts.test_policy.TestNetworkPoli...vice[ci_k8s_sanity,k8s_sanity] id=0x7f5d2927faf0>, *args=(), **kwargs={})
78 log.info('Initial checks done. Running the testcase now')
79 log.info('')
80 result = function(self, *args, **kwargs)
81 if self.inputs.upgrade:
82 pid = os.getpid()
result = None
function = <function TestNetworkPolicyServiceIngress.test_ingress_rule_on_pod_with_service>
self = <scripts.k8s_scripts.test_policy.TestNetworkPoli...vice[ci_k8s_sanity,k8s_sanity] id=0x7f5d2927faf0>
args = ()
kwargs = {}
/contrail-test/scripts/k8s_scripts/test_policy.py in test_ingress_rule_on_pod_with_service(self=<scripts.k8s_scripts.test_policy.TestNetworkPoli...vice[ci_k8s_sanity,k8s_sanity] id=0x7f5d2927faf0>)
2830 labels={'app2': 'common_label'})
2831 assert service_ns1.verify_on_setup()
2832 assert self.validate_nginx_lb([self.web1_pod_ns1,self.web2_pod_ns1],
2833 service_ns1.cluster_ip,
2834 test_pod=self.client1_pod_ns1)
self = <scripts.k8s_scripts.test_policy.TestNetworkPoli...vice[ci_k8s_sanity,k8s_sanity] id=0x7f5d2927faf0>
self.validate_nginx_lb = <bound method retry.<locals>.deco_retry.<locals>...ice[ci_k8s_sanity,k8s_sanity] id=0x7f5d2927faf0>>
self.web1_pod_ns1 = <k8s.pod.PodFixture object>
self.web2_pod_ns1 = <k8s.pod.PodFixture object>
service_ns1 = <k8s.service.ServiceFixture object>
service_ns1.cluster_ip = '10.104.74.53'
test_pod undefined
self.client1_pod_ns1 = <k8s.pod.PodFixture object>
AssertionError:
__cause__ = None
__class__ = <class 'AssertionError'>
__context__ = None
__delattr__ = <method-wrapper '__delattr__' of AssertionError object>
__dict__ = {}
__dir__ = <built-in method __dir__ of AssertionError object>
__doc__ = 'Assertion failed.'
__eq__ = <method-wrapper '__eq__' of AssertionError object>
__format__ = <built-in method __format__ of AssertionError object>
__ge__ = <method-wrapper '__ge__' of AssertionError object>
__getattribute__ = <method-wrapper '__getattribute__' of AssertionError object>
__gt__ = <method-wrapper '__gt__' of AssertionError object>
__hash__ = <method-wrapper '__hash__' of AssertionError object>
__init__ = <method-wrapper '__init__' of AssertionError object>
__init_subclass__ = <built-in method __init_subclass__ of type object>
__le__ = <method-wrapper '__le__' of AssertionError object>
__lt__ = <method-wrapper '__lt__' of AssertionError object>
__ne__ = <method-wrapper '__ne__' of AssertionError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of AssertionError object>
__reduce_ex__ = <built-in method __reduce_ex__ of AssertionError object>
__repr__ = <method-wrapper '__repr__' of AssertionError object>
__setattr__ = <method-wrapper '__setattr__' of AssertionError object>
__setstate__ = <built-in method __setstate__ of AssertionError object>
__sizeof__ = <built-in method __sizeof__ of AssertionError object>
__str__ = <method-wrapper '__str__' of AssertionError object>
__subclasshook__ = <built-in method __subclasshook__ of type object>
__suppress_context__ = False
__traceback__ = <traceback object>
args = ()
with_traceback = <built-in method with_traceback of AssertionError object>
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper
result = function(self, *args, **kwargs)
File "/contrail-test/scripts/k8s_scripts/test_policy.py", line 2832, in test_ingress_rule_on_pod_with_service
assert self.validate_nginx_lb([self.web1_pod_ns1,self.web2_pod_ns1],
AssertionError
| 69.033 |
Log File
|