2026-11-09 03:42:29,362 - INFO - Domain Default found not creating
2026-11-09 03:42:29,595 - INFO - Project ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719 not found, creating it
2026-11-09 03:42:30,248 - INFO - Created Project:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719, ID : ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:32,110 - INFO - ================================================================================
2026-11-09 03:42:32,110 - INFO - STARTING TEST : test_sec_group_basic
2026-11-09 03:42:32,110 - 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. Test with ping, which should fail
7. Test with TCP which should pass
8. Update the rules to allow icmp, ping should pass now
9. Delete security group while ports still reference it; SG is
detached from VMs and removed (Neutron and Contrail API)
2026-11-09 03:42:33,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.38': {'10.20.0.254': '0', '10.20.0.25': '0'}} with
2026-11-09 03:42:33,403 - INFO - Initial checks done. Running the testcase now
2026-11-09 03:42:33,403 - INFO -
2026-11-09 03:42:33,828 - INFO - Creating Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022']
2026-11-09 03:42:35,126 - DEBUG - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022'] created succesfully
2026-11-09 03:42:35,126 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:35,509 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:35,544 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:35,561 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:35,660 - DEBUG - Requesting: http://10.0.0.248:8082/security-group/a7f4866e-0b30-4a68-bd42-e052892faeea
2026-11-09 03:42:35,675 - INFO - Security group ctest-test_sec_group-51543022 found in the API Server
2026-11-09 03:42:35,675 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:35,684 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:35,700 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:35,795 - DEBUG - Requesting: http://10.0.0.248:8082/access-control-lists
2026-11-09 03:42:35,804 - INFO - Validated that ACLs for Security group ctest-test_sec_group-51543022 are present in API Server
2026-11-09 03:42:35,812 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.248
2026-11-09 03:42:35,821 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.248
2026-11-09 03:42:35,828 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.249
2026-11-09 03:42:35,835 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.249
2026-11-09 03:42:35,843 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.33
2026-11-09 03:42:35,850 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.33
2026-11-09 03:42:35,850 - INFO - Validated SG ctest-test_sec_group-51543022 in Control nodes
2026-11-09 03:42:35,850 - INFO - Deleting Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022']
2026-11-09 03:42:35,942 - INFO - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022'] deleted successfully.
2026-11-09 03:42:35,943 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:35,957 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:35,971 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:36,068 - INFO - Security group ctest-test_sec_group-51543022 removed from the API Server
2026-11-09 03:42:36,068 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:36,076 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:36,088 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:36,190 - DEBUG - Requesting: http://10.0.0.248:8082/access-control-lists
2026-11-09 03:42:36,198 - DEBUG - ACLs for Security group ctest-test_sec_group-51543022 removed from the API Server
2026-11-09 03:42:36,206 - INFO - security group ctest-test_sec_group-51543022 removed from Control-node 10.0.0.248
2026-11-09 03:42:36,213 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs removed from the control node 10.0.0.248
2026-11-09 03:42:36,219 - INFO - security group ctest-test_sec_group-51543022 removed from Control-node 10.0.0.249
2026-11-09 03:42:36,225 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs removed from the control node 10.0.0.249
2026-11-09 03:42:36,230 - INFO - security group ctest-test_sec_group-51543022 removed from Control-node 10.0.0.33
2026-11-09 03:42:36,237 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs removed from the control node 10.0.0.33
2026-11-09 03:42:36,237 - INFO - Validated that SG ctest-test_sec_group-51543022 is not in control nodes
2026-11-09 03:42:36,244 - INFO - Creating Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022']
2026-11-09 03:42:37,383 - DEBUG - Security group: ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-test_sec_group-51543022'] created succesfully
2026-11-09 03:42:37,383 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:37,391 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:37,408 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:37,521 - DEBUG - Requesting: http://10.0.0.248:8082/security-group/d3a04a80-50aa-44b1-bb6b-cc312db38413
2026-11-09 03:42:37,539 - INFO - Security group ctest-test_sec_group-51543022 found in the API Server
2026-11-09 03:42:37,539 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:37,550 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:37,567 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:37,665 - DEBUG - Requesting: http://10.0.0.248:8082/access-control-lists
2026-11-09 03:42:37,676 - INFO - Validated that ACLs for Security group ctest-test_sec_group-51543022 are present in API Server
2026-11-09 03:42:37,686 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.248
2026-11-09 03:42:37,694 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.248
2026-11-09 03:42:37,702 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.249
2026-11-09 03:42:37,712 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.249
2026-11-09 03:42:37,719 - INFO - Validated that Security group ctest-test_sec_group-51543022 is found in control node 10.0.0.33
2026-11-09 03:42:37,726 - DEBUG - Security group ctest-test_sec_group-51543022 ACLs found in the control node 10.0.0.33
2026-11-09 03:42:37,726 - INFO - Validated SG ctest-test_sec_group-51543022 in Control nodes
2026-11-09 03:42:37,726 - DEBUG - Replace all the rules of this security group ctest-test_sec_group-51543022 with the new rules
2026-11-09 03:42:37,726 - DEBUG - [{'protocol': 'tcp', 'dst_addresses': [{'subnet': {'ip_prefix': '363c:534c:816:4a6f:395c:d7a0::', 'ip_prefix_len': '96'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'src_addresses': [{'security_group': 'local'}]}, {'protocol': 'tcp', 'src_addresses': [{'subnet': {'ip_prefix': '363c:534c:816:4a6f:395c:d7a0::', 'ip_prefix_len': '96'}}], 'dst_ports': [{'start_port': 0, 'end_port': -1}], 'src_ports': [{'start_port': 0, 'end_port': -1}], 'dst_addresses': [{'security_group': 'local'}]}]
2026-11-09 03:42:38,734 - DEBUG - Response for create_network : {'network': {'id': 'ff729403-b74d-4ba2-a458-c73374c40fed', 'name': 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'tenant_id': 'ed08aece80d946c8adbc262e5b1dc312', 'project_id': 'ed08aece80d946c8adbc262e5b1dc312', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714'], 'port_security_enabled': True, 'description': ''}}
2026-11-09 03:42:38,987 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de6667fa-150c-4d90-8e54-c4052261b368', 'name': '', 'tenant_id': 'ed08aece80d946c8adbc262e5b1dc312', 'network_id': 'ff729403-b74d-4ba2-a458-c73374c40fed', 'ip_version': 6, 'cidr': '363c:534c:816:4a6f:395c:d7a0::/96', 'allocation_pools': [{'start': '363c:534c:816:4a6f:395c:d7a0:0:2', 'end': '363c:534c:816:4a6f:395c:d7a0:ffff:fffe'}], 'gateway_ip': '363c:534c:816:4a6f:395c:d7a0:0:1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '363c:534c:816:4a6f:395c:d7a0:0:2', 'tags': [], 'project_id': 'ed08aece80d946c8adbc262e5b1dc312'}}
2026-11-09 03:42:39,266 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b8f9b87-0770-4ed4-b6d2-b063b6d54ee8', 'name': '', 'tenant_id': 'ed08aece80d946c8adbc262e5b1dc312', 'network_id': 'ff729403-b74d-4ba2-a458-c73374c40fed', 'ip_version': 4, 'cidr': '2.217.56.64/26', 'allocation_pools': [{'start': '2.217.56.66', 'end': '2.217.56.126'}], 'gateway_ip': '2.217.56.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.217.56.66', 'tags': [], 'project_id': 'ed08aece80d946c8adbc262e5b1dc312'}}
2026-11-09 03:42:39,293 - INFO - Created VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714
2026-11-09 03:42:39,309 - DEBUG - VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 UUID is ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,414 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:39,421 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:39,435 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:39,534 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,549 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,560 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/cc967fa4-65d6-4267-a6bb-fe4b871be61f
2026-11-09 03:42:39,569 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/cc967fa4-65d6-4267-a6bb-fe4b871be61f
2026-11-09 03:42:39,578 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/6474be46-3b97-4a82-b6da-bebd682d0e60
2026-11-09 03:42:39,587 - DEBUG - Route Targets: ['target:64512:8000012']
2026-11-09 03:42:39,587 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,598 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/cc967fa4-65d6-4267-a6bb-fe4b871be61f
2026-11-09 03:42:39,616 - INFO - Verified VN network id 20 for VN ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,616 - INFO - Verifications in API Server for VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 passed
2026-11-09 03:42:39,616 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,628 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/cc967fa4-65d6-4267-a6bb-fe4b871be61f
2026-11-09 03:42:39,637 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/cc967fa4-65d6-4267-a6bb-fe4b871be61f
2026-11-09 03:42:39,645 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/6474be46-3b97-4a82-b6da-bebd682d0e60
2026-11-09 03:42:39,660 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18406937370697747362', 'uuid-lslong': '11842434243986984941'}, 'enable': 'true', 'created': '2026-11-09T03:42:38', 'last-modified': '2026-11-09T03:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.462627'}
2026-11-09 03:42:39,670 - DEBUG - Route Targets: ['target:64512:8000012']
2026-11-09 03:42:39,678 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18406937370697747362', 'uuid-lslong': '11842434243986984941'}, 'enable': 'true', 'created': '2026-11-09T03:42:38', 'last-modified': '2026-11-09T03:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.453432'}
2026-11-09 03:42:39,685 - DEBUG - Route Targets: ['target:64512:8000012']
2026-11-09 03:42:39,691 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18406937370697747362', 'uuid-lslong': '11842434243986984941'}, 'enable': 'true', 'created': '2026-11-09T03:42:38', 'last-modified': '2026-11-09T03:42:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.498377'}
2026-11-09 03:42:39,698 - DEBUG - Route Targets: ['target:64512:8000012']
2026-11-09 03:42:39,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 passed
2026-11-09 03:42:39,698 - DEBUG - ====Verifying policy data for ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 in API_Server ======
2026-11-09 03:42:39,698 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-11-09 03:42:39,706 - DEBUG - Requesting: http://10.0.0.248:8082/domain/48397716-fb81-4046-93f4-8bda606db062
2026-11-09 03:42:39,718 - DEBUG - Requesting: http://10.0.0.248:8082/project/ed08aece-80d9-46c8-adbc-262e5b1dc312
2026-11-09 03:42:39,814 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/ff729403-b74d-4ba2-a458-c73374c40fed
2026-11-09 03:42:39,833 - DEBUG - =>VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 has no policy to be verified
2026-11-09 03:42:39,833 - DEBUG - Verifying the vn in opserver
2026-11-09 03:42:39,833 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 virtual network link through opserver 10.0.0.248
2026-11-09 03:42:39,833 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-11-09 03:42:40,202 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-11-09 03:42:40,256 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714?flat'}
2026-11-09 03:42:40,256 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 virtual network link through opserver 10.0.0.249
2026-11-09 03:42:40,256 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-11-09 03:42:40,619 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-11-09 03:42:40,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714?flat'}
2026-11-09 03:42:40,681 - DEBUG - Verifying the default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 virtual network link through opserver 10.0.0.33
2026-11-09 03:42:40,681 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-09 03:42:41,043 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-11-09 03:42:41,099 - DEBUG - vn link and name as {'name': 'default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714?flat'}
2026-11-09 03:42:41,099 - INFO - Validated that VN default-domain:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719:ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714 is found in opserver
2026-11-09 03:42:41,122 - DEBUG - Do not have enough data to verify VN in agent
2026-11-09 03:42:41,148 - DEBUG - VRF ids for VN ctest-SecurityGroupBasicRegressionTests1Ipv6-59101719-10805714: {}
2026-11-09 03:42:41,405 - DEBUG - Services list from nova: [