2025-09-16 20:07:14,837 - INFO - Domain Default found not creating 2025-09-16 20:07:14,966 - INFO - Project ctest-TestBasicPolicy-52587916 not found, creating it 2025-09-16 20:07:15,382 - INFO - Created Project:ctest-TestBasicPolicy-52587916, ID : 8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:16,744 - INFO - ================================================================================ 2025-09-16 20:07:16,744 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-16 20:07:16,744 - 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-16 20:07:16,994 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-16 20:07:16,994 - INFO - Initial checks done. Running the testcase now 2025-09-16 20:07:16,994 - INFO - 2025-09-16 20:07:17,516 - DEBUG - Response for create_network : {'network': {'id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'name': 'ctest-vn-92649095', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-92649095'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:07:17,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '4618d8de-b985-44a7-898f-9a0d78232010', 'name': '', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'network_id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'ip_version': 4, 'cidr': '179.170.203.192/26', 'allocation_pools': [{'start': '179.170.203.194', 'end': '179.170.203.254'}], 'gateway_ip': '179.170.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.170.203.194', 'tags': [], 'project_id': '8bd251977182417f9899d262c1b05f3f'}} 2025-09-16 20:07:17,707 - INFO - Created VN ctest-vn-92649095 2025-09-16 20:07:17,757 - DEBUG - VN ctest-vn-92649095 UUID is 62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:18,073 - DEBUG - Response for create_network : {'network': {'id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'name': 'ctest-vn-15628682', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-15628682'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:07:18,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a10a0d-d9cb-4337-9526-2a03e5516327', 'name': '', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'network_id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'ip_version': 4, 'cidr': '139.200.206.64/26', 'allocation_pools': [{'start': '139.200.206.66', 'end': '139.200.206.126'}], 'gateway_ip': '139.200.206.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.200.206.66', 'tags': [], 'project_id': '8bd251977182417f9899d262c1b05f3f'}} 2025-09-16 20:07:18,278 - INFO - Created VN ctest-vn-15628682 2025-09-16 20:07:18,329 - DEBUG - VN ctest-vn-15628682 UUID is cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:18,477 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095, 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-52587916:ctest-vn-15628682, 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-16 20:07:18,758 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62da4650-5b41-4a91-a165-8ee7eb4915b7', 'name': 'ctest-vn-92649095', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4618d8de-b985-44a7-898f-9a0d78232010'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-92649095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']], 'subnet_ipam': [{'subnet_cidr': '179.170.203.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:07:18,983 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cbfb9ce8-e951-4714-8b5c-db79e3ea4514', 'name': 'ctest-vn-15628682', 'tenant_id': '8bd251977182417f9899d262c1b05f3f', 'project_id': '8bd251977182417f9899d262c1b05f3f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48a10a0d-d9cb-4337-9526-2a03e5516327'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-vn-15628682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759']], 'subnet_ipam': [{'subnet_cidr': '139.200.206.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-16 20:07:19,125 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:19,420 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:19,446 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:19,459 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:19,527 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,544 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:19,550 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:19,557 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/71d5da18-786b-47c2-8982-18986b805dff 2025-09-16 20:07:19,562 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 20:07:19,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,570 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:19,581 - INFO - Verified VN network id 12 for VN 62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,581 - INFO - Verifications in API Server for VN ctest-vn-92649095 passed 2025-09-16 20:07:19,581 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,588 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:19,594 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:19,599 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/71d5da18-786b-47c2-8982-18986b805dff 2025-09-16 20:07:19,609 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52587916', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7123083071582194321', 'uuid-lslong': '11629858739490198967'}, 'enable': 'true', 'created': '2025-09-16T20:07:17', 'last-modified': '2025-09-16T20:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.869557'} 2025-09-16 20:07:19,615 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-16 20:07:19,615 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92649095 passed 2025-09-16 20:07:19,615 - DEBUG - ====Verifying policy data for ctest-vn-92649095 in API_Server ====== 2025-09-16 20:07:19,615 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:19,619 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:19,628 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:19,694 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/62da4650-5b41-4a91-a165-8ee7eb4915b7 2025-09-16 20:07:19,702 - DEBUG - ==>Verifying data for policy with id: 3247059e-a387-4d26-8d66-cf2fbfafbee8, fqn: ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759'] 2025-09-16 20:07:19,702 - INFO - VN ctest-vn-92649095 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 20:07:19,702 - DEBUG - Verifying the vn in opserver 2025-09-16 20:07:19,702 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095 virtual network link through opserver 10.0.0.33 2025-09-16 20:07:19,702 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-16 20:07:19,992 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-16 20:07:20,042 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095?flat'} 2025-09-16 20:07:20,042 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095 is found in opserver 2025-09-16 20:07:20,051 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 20:07:20,055 - DEBUG - VRF ids for VN ctest-vn-92649095: {} 2025-09-16 20:07:20,055 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:20,059 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:20,068 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:20,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,143 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,150 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:20,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:20,161 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4616ecf0-e093-4ed4-bf95-86668e9214f9 2025-09-16 20:07:20,166 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 20:07:20,166 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,173 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:20,185 - INFO - Verified VN network id 13 for VN cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,185 - INFO - Verifications in API Server for VN ctest-vn-15628682 passed 2025-09-16 20:07:20,185 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:20,197 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:20,202 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/4616ecf0-e093-4ed4-bf95-86668e9214f9 2025-09-16 20:07:20,211 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52587916', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14698514333014509332', 'uuid-lslong': '10042142585690670356'}, 'enable': 'true', 'created': '2025-09-16T20:07:18', 'last-modified': '2025-09-16T20:07:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291659'} 2025-09-16 20:07:20,216 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-16 20:07:20,216 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15628682 passed 2025-09-16 20:07:20,216 - DEBUG - ====Verifying policy data for ctest-vn-15628682 in API_Server ====== 2025-09-16 20:07:20,216 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:20,220 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:20,229 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:20,296 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cbfb9ce8-e951-4714-8b5c-db79e3ea4514 2025-09-16 20:07:20,304 - DEBUG - ==>Verifying data for policy with id: 3247059e-a387-4d26-8d66-cf2fbfafbee8, fqn: ['default-domain', 'ctest-TestBasicPolicy-52587916', 'ctest-policy-allow-all-14473759'] 2025-09-16 20:07:20,304 - INFO - VN ctest-vn-15628682 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-16 20:07:20,304 - DEBUG - Verifying the vn in opserver 2025-09-16 20:07:20,304 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682 virtual network link through opserver 10.0.0.33 2025-09-16 20:07:20,304 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-16 20:07:20,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682?flat'} 2025-09-16 20:07:20,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-15628682 is found in opserver 2025-09-16 20:07:20,319 - DEBUG - Do not have enough data to verify VN in agent 2025-09-16 20:07:20,323 - DEBUG - VRF ids for VN ctest-vn-15628682: {} 2025-09-16 20:07:20,378 - DEBUG - Services list from nova: [, , ] 2025-09-16 20:07:21,343 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:07:22,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4125-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4125-1) 2025-09-16 20:07:22,435 - INFO - Waiting for VM ctest-TestBasicPolicy-52587916-72454581 to be up.. 2025-09-16 20:07:22,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 20:07:27,571 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:07:27,572 - INFO - VM name : ctest-TestBasicPolicy-52587916-72454581 2025-09-16 20:07:27,642 - DEBUG - VM ctest-TestBasicPolicy-52587916-72454581 ID is 088e938b-75e6-43d7-be5b-173b2a859ffe 2025-09-16 20:07:27,660 - DEBUG - VM ctest-TestBasicPolicy-52587916-72454581 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:07:27,723 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/088e938b-75e6-43d7-be5b-173b2a859ffe 2025-09-16 20:07:27,730 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0249260f-1fbe-4256-8e42-bca75f6b3f21 2025-09-16 20:07:30,981 - 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 1023ms') 2025-09-16 20:07:30,981 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52587916-72454581 failed! 2025-09-16 20:07:31,033 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52587916:ctest-vn-92649095 is 179.170.203.193 and allocation pool is NOT set 2025-09-16 20:07:33,095 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.384 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.384/1.539/2.694/1.155 ms') 2025-09-16 20:07:33,095 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52587916-72454581 passed 2025-09-16 20:07:33,241 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:07:33,241 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52587916-72454581, IP 179.170.203.195, Port 22 2025-09-16 20:07:33,396 - DEBUG - VM ctest-TestBasicPolicy-52587916-72454581 is ready for SSH connections 2025-09-16 20:07:33,396 - INFO - Waiting for VM ctest-TestBasicPolicy-52587916-27341879 to be up.. 2025-09-16 20:07:33,463 - DEBUG - VM is in ACTIVE state now 2025-09-16 20:07:33,463 - INFO - VM name : ctest-TestBasicPolicy-52587916-27341879 2025-09-16 20:07:33,530 - DEBUG - VM ctest-TestBasicPolicy-52587916-27341879 ID is af2496ca-bc74-46a8-8570-32d9337fbc51 2025-09-16 20:07:33,531 - DEBUG - VM ctest-TestBasicPolicy-52587916-27341879 launched on Node cn-jenkins-deploy-platform-ansible-os-4125-1 2025-09-16 20:07:33,598 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/af2496ca-bc74-46a8-8570-32d9337fbc51 2025-09-16 20:07:33,605 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/08fb5a1b-0e62-4f81-b0b9-180373e815c1 2025-09-16 20:07:34,841 - 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=3.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.356 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.356/1.728/3.101/1.372 ms') 2025-09-16 20:07:34,841 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52587916-27341879 passed 2025-09-16 20:07:34,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:07:34,989 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52587916-27341879, IP 139.200.206.67, Port 22 2025-09-16 20:07:35,145 - DEBUG - VM ctest-TestBasicPolicy-52587916-27341879 is ready for SSH connections 2025-09-16 20:07:35,145 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:07:35,145 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.200.206.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:07:35,145 - DEBUG - ping -s 56 -c 3 -W 1 139.200.206.67 2025-09-16 20:07:38,835 - DEBUG - PING 139.200.206.67 (139.200.206.67): 56 data bytes 64 bytes from 139.200.206.67: seq=0 ttl=63 time=3.269 ms 64 bytes from 139.200.206.67: seq=1 ttl=63 time=0.743 ms 64 bytes from 139.200.206.67: seq=2 ttl=63 time=0.725 ms --- 139.200.206.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.725/1.579/3.269 ms 2025-09-16 20:07:38,835 - INFO - Ping to IP 139.200.206.67 from VM ctest-TestBasicPolicy-52587916-72454581 passed 2025-09-16 20:07:39,005 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3247059e-a387-4d26-8d66-cf2fbfafbee8", "href": "http://10.0.0.33:8082/network-policy/3247059e-a387-4d26-8d66-cf2fbfafbee8"}} 2025-09-16 20:07:39,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 20:07:39,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.200.206.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-16 20:07:39,005 - DEBUG - ping -s 56 -c 3 -W 1 139.200.206.67 2025-09-16 20:07:42,215 - DEBUG - PING 139.200.206.67 (139.200.206.67): 56 data bytes --- 139.200.206.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-16 20:07:42,215 - WARNING - Ping to IP 139.200.206.67 from VM ctest-TestBasicPolicy-52587916-72454581 failed 2025-09-16 20:07:42,215 - INFO - Deleting VM ctest-TestBasicPolicy-52587916-27341879 2025-09-16 20:07:42,287 - INFO - Deleting VM ctest-TestBasicPolicy-52587916-72454581 2025-09-16 20:07:42,616 - INFO - Deleted policy ctest-policy-allow-all-14473759 2025-09-16 20:07:42,616 - INFO - Deleting VN ctest-vn-15628682 2025-09-16 20:07:42,647 - DEBUG - VN cbfb9ce8-e951-4714-8b5c-db79e3ea4514 still in use: Unable to complete operation on network cbfb9ce8-e951-4714-8b5c-db79e3ea4514. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4cd81018-cc11-4f20-8aca-cdcc797cd96a'] 2025-09-16 20:07:42,647 - WARNING - Deleting VN ctest-vn-15628682 failed..Will retry 2025-09-16 20:07:44,752 - DEBUG - Response for deleting network () 2025-09-16 20:07:44,752 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a1b57d7c-d6d6-4cb7-bb8c-e2990b2893e5 2025-09-16 20:07:44,756 - DEBUG - Response Code: 404 2025-09-16 20:07:44,756 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:44,767 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:44,822 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:44,887 - INFO - Validated that VN ctest-vn-15628682 is not found in API Server 2025-09-16 20:07:44,895 - DEBUG - VN ctest-vn-15628682 is not present in Agent 10.0.0.33 2025-09-16 20:07:44,895 - INFO - Validated that VN ctest-vn-15628682 is not in any agent 2025-09-16 20:07:44,906 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15628682 info 2025-09-16 20:07:44,906 - INFO - Deleting VN ctest-vn-92649095 2025-09-16 20:07:45,000 - DEBUG - Response for deleting network () 2025-09-16 20:07:45,000 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9845fd08-53d3-4bf9-bbbf-d849e2434b41 2025-09-16 20:07:45,006 - DEBUG - Response Code: 404 2025-09-16 20:07:45,006 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-16 20:07:45,011 - DEBUG - Requesting: http://10.0.0.33:8082/domain/f5c0d8e9-14de-4a9e-8b84-889659aa246a 2025-09-16 20:07:45,061 - DEBUG - Requesting: http://10.0.0.33:8082/project/8bd25197-7182-417f-9899-d262c1b05f3f 2025-09-16 20:07:45,129 - INFO - Validated that VN ctest-vn-92649095 is not found in API Server 2025-09-16 20:07:45,138 - DEBUG - VN ctest-vn-92649095 is not present in Agent 10.0.0.33 2025-09-16 20:07:45,138 - INFO - Validated that VN ctest-vn-92649095 is not in any agent 2025-09-16 20:07:45,149 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92649095 info 2025-09-16 20:07:45,401 - DEBUG - No XMPP flaps were noticed during the test 2025-09-16 20:07:45,401 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-16 20:07:45,401 - INFO - -------------------------------------------------------------------------------- 2025-09-16 20:07:46,060 - INFO - Deleted project: ctest-TestBasicPolicy-52587916, ID : 8bd25197-7182-417f-9899-d262c1b05f3f