2025-09-14 22:38:12,806 - INFO - Domain Default found not creating 2025-09-14 22:38:12,950 - INFO - Project ctest-TestBasicPolicy-51705864 not found, creating it 2025-09-14 22:38:13,364 - INFO - Created Project:ctest-TestBasicPolicy-51705864, ID : 81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:14,708 - INFO - ================================================================================ 2025-09-14 22:38:14,708 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-14 22:38:14,708 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-09-14 22:38:14,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-14 22:38:14,966 - INFO - Initial checks done. Running the testcase now 2025-09-14 22:38:14,966 - INFO - 2025-09-14 22:38:15,467 - DEBUG - Response for create_network : {'network': {'id': '2115e1cf-3763-4bee-8036-546a4dcd724b', 'name': 'ctest-vn-40597206', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'project_id': '81213386f784463289412d1f64e8c01d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-vn-40597206'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:38:15,657 - DEBUG - Response for create_subnet : {'subnet': {'id': '355c8652-5abf-4b3c-b651-dd43683a8fae', 'name': '', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'network_id': '2115e1cf-3763-4bee-8036-546a4dcd724b', 'ip_version': 4, 'cidr': '119.40.177.64/26', 'allocation_pools': [{'start': '119.40.177.66', 'end': '119.40.177.126'}], 'gateway_ip': '119.40.177.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.40.177.66', 'tags': [], 'project_id': '81213386f784463289412d1f64e8c01d'}} 2025-09-14 22:38:15,671 - INFO - Created VN ctest-vn-40597206 2025-09-14 22:38:15,720 - DEBUG - VN ctest-vn-40597206 UUID is 2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:16,017 - DEBUG - Response for create_network : {'network': {'id': '739e89a0-b96a-4416-b00a-9d5f756a2f4b', 'name': 'ctest-vn-00875300', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'project_id': '81213386f784463289412d1f64e8c01d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-vn-00875300'], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:38:16,165 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e80eee14-e9a9-49e0-b06d-949d95a146bf', 'name': '', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'network_id': '739e89a0-b96a-4416-b00a-9d5f756a2f4b', 'ip_version': 4, 'cidr': '33.143.41.0/26', 'allocation_pools': [{'start': '33.143.41.2', 'end': '33.143.41.62'}], 'gateway_ip': '33.143.41.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.143.41.2', 'tags': [], 'project_id': '81213386f784463289412d1f64e8c01d'}} 2025-09-14 22:38:16,180 - INFO - Created VN ctest-vn-00875300 2025-09-14 22:38:16,232 - DEBUG - VN ctest-vn-00875300 UUID is 739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:16,380 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-09-14 22:38:16,674 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2115e1cf-3763-4bee-8036-546a4dcd724b', 'name': 'ctest-vn-40597206', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'project_id': '81213386f784463289412d1f64e8c01d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['355c8652-5abf-4b3c-b651-dd43683a8fae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-vn-40597206'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-policy-allow-all-51797794']], 'subnet_ipam': [{'subnet_cidr': '119.40.177.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:38:16,898 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '739e89a0-b96a-4416-b00a-9d5f756a2f4b', 'name': 'ctest-vn-00875300', 'tenant_id': '81213386f784463289412d1f64e8c01d', 'project_id': '81213386f784463289412d1f64e8c01d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e80eee14-e9a9-49e0-b06d-949d95a146bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-vn-00875300'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-policy-allow-all-51797794']], 'subnet_ipam': [{'subnet_cidr': '33.143.41.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-14 22:38:17,060 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:17,347 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:17,372 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:17,383 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:17,449 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,458 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,465 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:17,471 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:17,476 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350b2e9-ef2b-4245-9c48-d4370025302f 2025-09-14 22:38:17,481 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-14 22:38:17,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,488 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:17,499 - INFO - Verified VN network id 12 for VN 2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,499 - INFO - Verifications in API Server for VN ctest-vn-40597206 passed 2025-09-14 22:38:17,499 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,506 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:17,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:17,516 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/7350b2e9-ef2b-4245-9c48-d4370025302f 2025-09-14 22:38:17,525 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51705864', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2384059857866279918', 'uuid-lslong': '9238664501145727563'}, 'enable': 'true', 'created': '2025-09-14T22:38:15', 'last-modified': '2025-09-14T22:38:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.874560'} 2025-09-14 22:38:17,530 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-14 22:38:17,530 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40597206 passed 2025-09-14 22:38:17,530 - DEBUG - ====Verifying policy data for ctest-vn-40597206 in API_Server ====== 2025-09-14 22:38:17,530 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:17,533 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:17,541 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:17,610 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2115e1cf-3763-4bee-8036-546a4dcd724b 2025-09-14 22:38:17,617 - DEBUG - ==>Verifying data for policy with id: cfbc7957-2f99-486f-aa31-c7948aee02cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-policy-allow-all-51797794'] 2025-09-14 22:38:17,617 - INFO - VN ctest-vn-40597206 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-14 22:38:17,618 - DEBUG - Verifying the vn in opserver 2025-09-14 22:38:17,618 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206 virtual network link through opserver 10.0.0.22 2025-09-14 22:38:17,618 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-14 22:38:17,917 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-14 22:38:17,970 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206?flat'} 2025-09-14 22:38:17,970 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206 is found in opserver 2025-09-14 22:38:17,980 - DEBUG - Do not have enough data to verify VN in agent 2025-09-14 22:38:17,985 - DEBUG - VRF ids for VN ctest-vn-40597206: {} 2025-09-14 22:38:17,985 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:17,989 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:17,999 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:18,067 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,077 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,084 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:18,090 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:18,096 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c91ece90-083e-45b2-8cfd-9b9a7adca177 2025-09-14 22:38:18,101 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-14 22:38:18,104 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,111 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:18,122 - INFO - Verified VN network id 13 for VN 739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,122 - INFO - Verifications in API Server for VN ctest-vn-00875300 passed 2025-09-14 22:38:18,122 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,129 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:18,134 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:18,139 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/c91ece90-083e-45b2-8cfd-9b9a7adca177 2025-09-14 22:38:18,148 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51705864', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8331247684080518166', 'uuid-lslong': '12685124333759770443'}, 'enable': 'true', 'created': '2025-09-14T22:38:15', 'last-modified': '2025-09-14T22:38:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.268653'} 2025-09-14 22:38:18,153 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-14 22:38:18,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00875300 passed 2025-09-14 22:38:18,153 - DEBUG - ====Verifying policy data for ctest-vn-00875300 in API_Server ====== 2025-09-14 22:38:18,153 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:18,157 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:18,166 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:18,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/739e89a0-b96a-4416-b00a-9d5f756a2f4b 2025-09-14 22:38:18,240 - DEBUG - ==>Verifying data for policy with id: cfbc7957-2f99-486f-aa31-c7948aee02cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-51705864', 'ctest-policy-allow-all-51797794'] 2025-09-14 22:38:18,240 - INFO - VN ctest-vn-00875300 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-14 22:38:18,240 - DEBUG - Verifying the vn in opserver 2025-09-14 22:38:18,240 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300 virtual network link through opserver 10.0.0.22 2025-09-14 22:38:18,240 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-14 22:38:18,249 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300?flat'} 2025-09-14 22:38:18,249 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-00875300 is found in opserver 2025-09-14 22:38:18,256 - DEBUG - Do not have enough data to verify VN in agent 2025-09-14 22:38:18,260 - DEBUG - VRF ids for VN ctest-vn-00875300: {} 2025-09-14 22:38:18,309 - DEBUG - Services list from nova: [, , ] 2025-09-14 22:38:19,265 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:38:20,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4106-1) 2025-09-14 22:38:20,324 - INFO - Waiting for VM ctest-TestBasicPolicy-51705864-80689927 to be up.. 2025-09-14 22:38:20,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-14 22:38:25,463 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:38:25,463 - INFO - VM name : ctest-TestBasicPolicy-51705864-80689927 2025-09-14 22:38:25,523 - DEBUG - VM ctest-TestBasicPolicy-51705864-80689927 ID is feb8e9d0-3ae8-45aa-b948-d357e3c78145 2025-09-14 22:38:25,542 - DEBUG - VM ctest-TestBasicPolicy-51705864-80689927 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:38:25,605 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/feb8e9d0-3ae8-45aa-b948-d357e3c78145 2025-09-14 22:38:25,612 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ea7304e2-2aa0-4e58-879b-9eb3978a57ee 2025-09-14 22:38:28,863 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1024ms') 2025-09-14 22:38:28,863 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51705864-80689927 failed! 2025-09-14 22:38:28,920 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51705864:ctest-vn-40597206 is 119.40.177.65 and allocation pool is NOT set 2025-09-14 22:38:30,983 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.404 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.404/1.680/2.956/1.276 ms') 2025-09-14 22:38:30,983 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51705864-80689927 passed 2025-09-14 22:38:31,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:38:31,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51705864-80689927, IP 119.40.177.67, Port 22 2025-09-14 22:38:31,284 - DEBUG - VM ctest-TestBasicPolicy-51705864-80689927 is ready for SSH connections 2025-09-14 22:38:31,284 - INFO - Waiting for VM ctest-TestBasicPolicy-51705864-84690981 to be up.. 2025-09-14 22:38:31,351 - DEBUG - VM is in ACTIVE state now 2025-09-14 22:38:31,351 - INFO - VM name : ctest-TestBasicPolicy-51705864-84690981 2025-09-14 22:38:31,420 - DEBUG - VM ctest-TestBasicPolicy-51705864-84690981 ID is b2eb2956-3662-40c8-b438-4dccbcd383a1 2025-09-14 22:38:31,420 - DEBUG - VM ctest-TestBasicPolicy-51705864-84690981 launched on Node cn-jenkins-deploy-platform-ansible-os-4106-1 2025-09-14 22:38:31,482 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b2eb2956-3662-40c8-b438-4dccbcd383a1 2025-09-14 22:38:31,489 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a7a66d11-8237-4739-8425-40bca629c092 2025-09-14 22:38:32,720 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.341/1.623/2.905/1.282 ms') 2025-09-14 22:38:32,720 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51705864-84690981 passed 2025-09-14 22:38:32,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:38:32,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51705864-84690981, IP 33.143.41.3, Port 22 2025-09-14 22:38:33,032 - DEBUG - VM ctest-TestBasicPolicy-51705864-84690981 is ready for SSH connections 2025-09-14 22:38:33,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:38:33,032 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.143.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-14 22:38:33,032 - DEBUG - ping -s 56 -c 3 -W 1 33.143.41.3 2025-09-14 22:38:36,713 - DEBUG - PING 33.143.41.3 (33.143.41.3): 56 data bytes 64 bytes from 33.143.41.3: seq=0 ttl=63 time=3.066 ms 64 bytes from 33.143.41.3: seq=1 ttl=63 time=0.815 ms 64 bytes from 33.143.41.3: seq=2 ttl=63 time=0.822 ms --- 33.143.41.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.815/1.567/3.066 ms 2025-09-14 22:38:36,713 - INFO - Ping to IP 33.143.41.3 from VM ctest-TestBasicPolicy-51705864-80689927 passed 2025-09-14 22:38:36,904 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cfbc7957-2f99-486f-aa31-c7948aee02cb", "href": "http://10.0.0.22:8082/network-policy/cfbc7957-2f99-486f-aa31-c7948aee02cb"}} 2025-09-14 22:38:36,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-14 22:38:36,904 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.143.41.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-14 22:38:36,905 - DEBUG - ping -s 56 -c 3 -W 1 33.143.41.3 2025-09-14 22:38:40,109 - DEBUG - PING 33.143.41.3 (33.143.41.3): 56 data bytes --- 33.143.41.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-14 22:38:40,109 - WARNING - Ping to IP 33.143.41.3 from VM ctest-TestBasicPolicy-51705864-80689927 failed 2025-09-14 22:38:40,109 - INFO - Deleting VM ctest-TestBasicPolicy-51705864-84690981 2025-09-14 22:38:40,184 - INFO - Deleting VM ctest-TestBasicPolicy-51705864-80689927 2025-09-14 22:38:40,538 - INFO - Deleted policy ctest-policy-allow-all-51797794 2025-09-14 22:38:40,539 - INFO - Deleting VN ctest-vn-00875300 2025-09-14 22:38:40,575 - DEBUG - VN 739e89a0-b96a-4416-b00a-9d5f756a2f4b still in use: Unable to complete operation on network 739e89a0-b96a-4416-b00a-9d5f756a2f4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-80267d34-0fda-4d5f-acee-f1e63f0895f7'] 2025-09-14 22:38:40,575 - WARNING - Deleting VN ctest-vn-00875300 failed..Will retry 2025-09-14 22:38:42,665 - DEBUG - Response for deleting network () 2025-09-14 22:38:42,665 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/0c1d869e-d25c-429d-be4f-a1041e4ade4e 2025-09-14 22:38:42,669 - DEBUG - Response Code: 404 2025-09-14 22:38:42,669 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:42,677 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:42,734 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:42,800 - INFO - Validated that VN ctest-vn-00875300 is not found in API Server 2025-09-14 22:38:42,809 - DEBUG - VN ctest-vn-00875300 is not present in Agent 10.0.0.22 2025-09-14 22:38:42,809 - INFO - Validated that VN ctest-vn-00875300 is not in any agent 2025-09-14 22:38:42,824 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00875300 info 2025-09-14 22:38:42,824 - INFO - Deleting VN ctest-vn-40597206 2025-09-14 22:38:42,918 - DEBUG - Response for deleting network () 2025-09-14 22:38:42,919 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f7f9063f-cd82-4f76-9d92-3b5149eafa51 2025-09-14 22:38:42,924 - DEBUG - Response Code: 404 2025-09-14 22:38:42,924 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-14 22:38:42,929 - DEBUG - Requesting: http://10.0.0.22:8082/domain/de99fe32-bc6c-4187-a118-14ae521dec76 2025-09-14 22:38:42,982 - DEBUG - Requesting: http://10.0.0.22:8082/project/81213386-f784-4632-8941-2d1f64e8c01d 2025-09-14 22:38:43,046 - INFO - Validated that VN ctest-vn-40597206 is not found in API Server 2025-09-14 22:38:43,054 - DEBUG - VN ctest-vn-40597206 is not present in Agent 10.0.0.22 2025-09-14 22:38:43,054 - INFO - Validated that VN ctest-vn-40597206 is not in any agent 2025-09-14 22:38:43,065 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40597206 info 2025-09-14 22:38:43,317 - DEBUG - No XMPP flaps were noticed during the test
2025-09-14 22:38:43,317 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-14 22:38:43,317 - INFO - -------------------------------------------------------------------------------- 2025-09-14 22:38:43,952 - INFO - Deleted project: ctest-TestBasicPolicy-51705864, ID : 81213386-f784-4632-8941-2d1f64e8c01d