TestIngressClusterIp.test_ingress_ip_assignment[ci_k8s_sanity,k8s_sanity,k8s_upgrade] | Failure | Details
Traceback (most recent call last): testtools.testresult.real._StringException: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 177, in wrapper raise TestFailed("\n ".join(errmsg)) tcutils.cores.TestFailed: Test failed: AssertionError Python 3.6.8: /usr/bin/python3 Mon Aug 26 09:36:16 2024
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=0x7ff44d193320>, *args=(), **kwargs={}) 79 log.info('Initial checks done. Running the testcase now') 80 log.info('') 81 result = function(self, *args, **kwargs) 82 if self.inputs.upgrade: 83 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=0x7ff44d193320> 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=0x7ff44d193320>) 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() 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() 78 self.validate_post_upgrade = validate 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 81, 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 76, in validate test_pod=pod3) AssertionError
| 114.413 |
Log File
|