2026-01-26 03:00:05,785 - INFO - Domain Default found not creating 2026-01-26 03:00:05,977 - INFO - Project ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355 not found, creating it 2026-01-26 03:00:06,529 - INFO - Created Project:ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355, ID : aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:08,217 - INFO - ================================================================================ 2026-01-26 03:00:08,217 - INFO - STARTING TEST : test_sec_group_basic 2026-01-26 03:00:08,217 - INFO - TEST DESCRIPTION : Description: Test basic SG features 1. Security group create and delete 2. Create security group with custom rules and then update it for tcp 3. Launch VM with custom created security group and verify 4. Remove secuity group association with VM 5. Add back custom security group to VM and verify 6. Try to delete security group with association to VM. It should fail. 7. Test with ping, which should fail 8. Test with TCP which should pass 9. Update the rules to allow icmp, ping should pass now. 2026-01-26 03:00:09,489 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}, '10.0.0.130': {'10.20.0.25': '0', '10.20.0.129': '0'}} with 2026-01-26 03:00:09,489 - INFO - Initial checks done. Running the testcase now 2026-01-26 03:00:09,489 - INFO - 2026-01-26 03:00:09,850 - INFO - Creating Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355', 'ctest-test_sec_group-22365449'] 2026-01-26 03:00:10,858 - DEBUG - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355', 'ctest-test_sec_group-22365449'] created succesfully 2026-01-26 03:00:10,858 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:11,153 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:11,182 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:11,195 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:11,283 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:11,294 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:11,294 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:11,300 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:11,313 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:11,405 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:11,414 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:13,415 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:13,422 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:13,433 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:13,516 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:13,525 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:13,526 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:13,532 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:13,542 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:13,631 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:13,644 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:15,645 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:15,652 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:15,662 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:15,756 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:15,764 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:15,764 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:15,777 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:15,790 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:15,878 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:15,889 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:17,890 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:17,896 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:17,906 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:18,006 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:18,015 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:18,015 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:18,022 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:18,039 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:18,130 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:18,138 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:20,140 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:20,148 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:20,166 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:20,276 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:20,291 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:20,291 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:20,297 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:20,309 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:20,432 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:20,444 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:22,445 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:22,451 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:22,466 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:22,560 - DEBUG - Requesting: http://10.0.0.141:8082/security-group/aac8efaa-986d-4c5b-a5eb-0aa18bd8fc16 2026-01-26 03:00:22,570 - INFO - Security group ctest-test_sec_group-22365449 found in the API Server 2026-01-26 03:00:22,570 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:22,579 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:22,590 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:22,693 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:22,702 - WARNING - ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:22,703 - INFO - Deleting Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355', 'ctest-test_sec_group-22365449'] 2026-01-26 03:00:22,780 - INFO - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355', 'ctest-test_sec_group-22365449'] deleted successfully. 2026-01-26 03:00:22,781 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:22,786 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:22,796 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:22,904 - INFO - Security group ctest-test_sec_group-22365449 removed from the API Server 2026-01-26 03:00:22,906 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2026-01-26 03:00:22,912 - DEBUG - Requesting: http://10.0.0.141:8082/domain/08a144b7-f725-46be-ae4d-cb483f66bd80 2026-01-26 03:00:22,928 - DEBUG - Requesting: http://10.0.0.141:8082/project/aaf8749a-449e-4c97-a4cc-95f05e555226 2026-01-26 03:00:23,010 - DEBUG - Requesting: http://10.0.0.141:8082/access-control-lists 2026-01-26 03:00:23,035 - DEBUG - ACLs for Security group ctest-test_sec_group-22365449 removed from the API Server 2026-01-26 03:00:23,041 - INFO - security group ctest-test_sec_group-22365449 removed from Control-node 10.0.0.141 2026-01-26 03:00:23,049 - DEBUG - Security group ctest-test_sec_group-22365449 ACLs removed from the control node 10.0.0.141 2026-01-26 03:00:23,057 - INFO - security group ctest-test_sec_group-22365449 removed from Control-node 10.0.0.38 2026-01-26 03:00:23,062 - DEBUG - Security group ctest-test_sec_group-22365449 ACLs removed from the control node 10.0.0.38 2026-01-26 03:00:23,068 - INFO - security group ctest-test_sec_group-22365449 removed from Control-node 10.0.0.240 2026-01-26 03:00:23,076 - DEBUG - Security group ctest-test_sec_group-22365449 ACLs removed from the control node 10.0.0.240 2026-01-26 03:00:23,076 - INFO - Validated that SG ctest-test_sec_group-22365449 is not in control nodes 2026-01-26 03:00:24,360 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Jan 26 03:00:22 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=, *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 = self = args = () kwargs = {} /contrail-test/scripts/securitygroup/test_regression_basic.py in test_sec_group_basic(self=) 49 }] 50 #Create the SG 51 sg_fixture = self.config_sec_group(name=secgrp_name, entries=rule) 52 #Delete the SG 53 self.delete_sec_group(sg_fixture) sg_fixture undefined self = self.config_sec_group = > name undefined secgrp_name = 'ctest-test_sec_group-22365449' entries undefined rule = [{'direction': '>', 'dst_addresses': [{'subnet': {'ip_prefix': '2b7e:45e0:388a:47c5:4802:4a04::', 'ip_prefix_len': 96}}], 'dst_ports': [{'end_port': 8000, 'start_port': 8000}], 'protocol': 'udp', 'src_addresses': [{'security_group': 'local'}], 'src_ports': [{'end_port': 9000, 'start_port': 9000}]}] /contrail-test/common/securitygroup/base.py in config_sec_group(self=, name='ctest-test_sec_group-22365449', secgrpid=None, entries=[{'direction': '>', 'dst_addresses': [{'subnet': {'ip_prefix': '2b7e:45e0:388a:47c5:4802:4a04::', 'ip_prefix_len': 96}}], 'dst_ports': [{'end_port': 8000, 'start_port': 8000}], 'protocol': 'udp', 'src_addresses': [{'security_group': 'local'}], 'src_ports': [{'end_port': 9000, 'start_port': 9000}]}]) 187 uuid=secgrpid, secgrp_entries=entries, option=option)) 188 result, msg = secgrp_fixture.verify_on_setup() 189 assert result, msg 190 return secgrp_fixture 191 result = False msg = 'ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server' AssertionError: ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ('ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server',) with_traceback = 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/securitygroup/test_regression_basic.py", line 51, in test_sec_group_basic sg_fixture = self.config_sec_group(name=secgrp_name, entries=rule) File "/contrail-test/common/securitygroup/base.py", line 189, in config_sec_group assert result, msg AssertionError: ACLs for Security group ctest-test_sec_group-22365449 not found in the API Server 2026-01-26 03:00:24,373 - DEBUG - No XMPP flaps were noticed during the test 2026-01-26 03:00:24,373 - INFO -
2026-01-26 03:00:24,373 - INFO - END TEST : test_sec_group_basic : FAILED[0:00:16]
2026-01-26 03:00:24,373 - INFO - -------------------------------------------------------------------------------- 2026-01-26 03:00:25,111 - INFO - Deleted project: ctest-SecurityGroupBasicRegressionTests1Ipv6-11787355, ID : aaf8749a-449e-4c97-a4cc-95f05e555226