2026-04-21 15:56:13,787 - INFO - Domain Default found not creating 2026-04-21 15:56:14,022 - INFO - Project ctest-TestBasicPolicy-38252566 not found, creating it 2026-04-21 15:56:14,498 - INFO - Created Project:ctest-TestBasicPolicy-38252566, ID : 49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:16,583 - INFO - ================================================================================ 2026-04-21 15:56:16,583 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-21 15:56:16,583 - 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 2026-04-21 15:56:16,844 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 15:56:16,844 - INFO - Initial checks done. Running the testcase now 2026-04-21 15:56:16,846 - INFO - 2026-04-21 15:56:17,437 - DEBUG - Response for create_network : {'network': {'id': 'ec8c84ff-80df-4917-9422-ff7decec8b23', 'name': 'ctest-vn-74924837', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-vn-74924837'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:56:17,669 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e355754f-f28c-42ff-9157-71d24e6fe490', 'name': '', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'network_id': 'ec8c84ff-80df-4917-9422-ff7decec8b23', 'ip_version': 4, 'cidr': '194.197.251.0/26', 'allocation_pools': [{'start': '194.197.251.2', 'end': '194.197.251.62'}], 'gateway_ip': '194.197.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.197.251.2', 'tags': [], 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d'}} 2026-04-21 15:56:17,691 - INFO - Created VN ctest-vn-74924837 2026-04-21 15:56:17,744 - DEBUG - VN ctest-vn-74924837 UUID is ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:18,049 - DEBUG - Response for create_network : {'network': {'id': '16239d60-0e47-4375-b7bd-3eb9afb49f0e', 'name': 'ctest-vn-57906086', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-vn-57906086'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:56:18,262 - DEBUG - Response for create_subnet : {'subnet': {'id': '26f1b842-6ada-4a08-a45d-2569511c31d5', 'name': '', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'network_id': '16239d60-0e47-4375-b7bd-3eb9afb49f0e', 'ip_version': 4, 'cidr': '222.29.248.192/26', 'allocation_pools': [{'start': '222.29.248.194', 'end': '222.29.248.254'}], 'gateway_ip': '222.29.248.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.29.248.194', 'tags': [], 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d'}} 2026-04-21 15:56:18,284 - INFO - Created VN ctest-vn-57906086 2026-04-21 15:56:18,340 - DEBUG - VN ctest-vn-57906086 UUID is 16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:18,455 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837, 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-38252566:ctest-vn-57906086, 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] 2026-04-21 15:56:18,746 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec8c84ff-80df-4917-9422-ff7decec8b23', 'name': 'ctest-vn-74924837', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e355754f-f28c-42ff-9157-71d24e6fe490'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-vn-74924837'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-policy-allow-all-52068890']], 'subnet_ipam': [{'subnet_cidr': '194.197.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:56:18,993 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16239d60-0e47-4375-b7bd-3eb9afb49f0e', 'name': 'ctest-vn-57906086', 'tenant_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'project_id': '49446bc66d6a4d76aa656b19f9ac8e7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['26f1b842-6ada-4a08-a45d-2569511c31d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-vn-57906086'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-policy-allow-all-52068890']], 'subnet_ipam': [{'subnet_cidr': '222.29.248.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 15:56:19,156 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:19,458 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:19,506 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:19,521 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:19,599 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,626 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:19,641 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:19,650 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b15ad4b-daf8-4b87-b5d1-977e2225d5ae 2026-04-21 15:56:19,657 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 15:56:19,657 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,667 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:19,683 - INFO - Verified VN network id 11 for VN ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,683 - INFO - Verifications in API Server for VN ctest-vn-74924837 passed 2026-04-21 15:56:19,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:19,702 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:19,710 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/2b15ad4b-daf8-4b87-b5d1-977e2225d5ae 2026-04-21 15:56:19,724 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38252566', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17045144922604128535', 'uuid-lslong': '10674374983132416803'}, 'enable': 'true', 'created': '2026-04-21T15:56:17', 'last-modified': '2026-04-21T15:56:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.997181'} 2026-04-21 15:56:19,732 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 15:56:19,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74924837 passed 2026-04-21 15:56:19,732 - DEBUG - ====Verifying policy data for ctest-vn-74924837 in API_Server ====== 2026-04-21 15:56:19,732 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:19,740 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:19,753 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:19,831 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec8c84ff-80df-4917-9422-ff7decec8b23 2026-04-21 15:56:19,840 - DEBUG - ==>Verifying data for policy with id: 647ebbd6-7f60-462f-bd24-81738b397c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-policy-allow-all-52068890'] 2026-04-21 15:56:19,840 - INFO - VN ctest-vn-74924837 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 15:56:19,840 - DEBUG - Verifying the vn in opserver 2026-04-21 15:56:19,840 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837 virtual network link through opserver 10.0.0.50 2026-04-21 15:56:19,840 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 15:56:20,140 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 15:56:20,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837?flat'} 2026-04-21 15:56:20,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837 is found in opserver 2026-04-21 15:56:20,228 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 15:56:20,232 - DEBUG - VRF ids for VN ctest-vn-74924837: {} 2026-04-21 15:56:20,232 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:20,239 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:20,254 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:20,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,355 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:20,363 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:20,370 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04f50b04-8896-4d8d-88f5-50a556c86e6a 2026-04-21 15:56:20,377 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 15:56:20,377 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,386 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:20,401 - INFO - Verified VN network id 12 for VN 16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,401 - INFO - Verifications in API Server for VN ctest-vn-57906086 passed 2026-04-21 15:56:20,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,412 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:20,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:20,430 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/04f50b04-8896-4d8d-88f5-50a556c86e6a 2026-04-21 15:56:20,445 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-57906086', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38252566', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1595291728901260149', 'uuid-lslong': '13239807446776848142'}, 'enable': 'true', 'created': '2026-04-21T15:56:18', 'last-modified': '2026-04-21T15:56:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.475220'} 2026-04-21 15:56:20,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 15:56:20,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57906086 passed 2026-04-21 15:56:20,452 - DEBUG - ====Verifying policy data for ctest-vn-57906086 in API_Server ====== 2026-04-21 15:56:20,452 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:20,459 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:20,471 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:20,547 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/16239d60-0e47-4375-b7bd-3eb9afb49f0e 2026-04-21 15:56:20,558 - DEBUG - ==>Verifying data for policy with id: 647ebbd6-7f60-462f-bd24-81738b397c8e, fqn: ['default-domain', 'ctest-TestBasicPolicy-38252566', 'ctest-policy-allow-all-52068890'] 2026-04-21 15:56:20,558 - INFO - VN ctest-vn-57906086 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 15:56:20,558 - DEBUG - Verifying the vn in opserver 2026-04-21 15:56:20,558 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-57906086 virtual network link through opserver 10.0.0.50 2026-04-21 15:56:20,558 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 15:56:20,569 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-57906086', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-57906086?flat'} 2026-04-21 15:56:20,569 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-57906086 is found in opserver 2026-04-21 15:56:20,582 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 15:56:20,587 - DEBUG - VRF ids for VN ctest-vn-57906086: {} 2026-04-21 15:56:20,650 - DEBUG - Services list from nova: [, , ] 2026-04-21 15:56:21,786 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:56:23,077 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5660-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5660-1) 2026-04-21 15:56:23,077 - INFO - Waiting for VM ctest-TestBasicPolicy-38252566-07467639 to be up.. 2026-04-21 15:56:23,174 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 15:56:28,265 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:56:28,265 - INFO - VM name : ctest-TestBasicPolicy-38252566-07467639 2026-04-21 15:56:28,356 - DEBUG - VM ctest-TestBasicPolicy-38252566-07467639 ID is f416b0ec-b395-49ea-8eb2-8ca6d59c8b80 2026-04-21 15:56:28,385 - DEBUG - VM ctest-TestBasicPolicy-38252566-07467639 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:56:28,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f416b0ec-b395-49ea-8eb2-8ca6d59c8b80 2026-04-21 15:56:28,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/77648c53-1124-43c1-8aa4-c95c410f2b1d 2026-04-21 15:56:31,751 - 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 1018ms') 2026-04-21 15:56:31,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38252566-07467639 failed! 2026-04-21 15:56:31,808 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38252566:ctest-vn-74924837 is 194.197.251.1 and allocation pool is NOT set 2026-04-21 15:56:33,875 - 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=8.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.93 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 = 1.928/5.017/8.107/3.089 ms') 2026-04-21 15:56:33,875 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38252566-07467639 passed 2026-04-21 15:56:34,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:56:34,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38252566-07467639, IP 194.197.251.3, Port 22 2026-04-21 15:56:34,198 - DEBUG - VM ctest-TestBasicPolicy-38252566-07467639 is ready for SSH connections 2026-04-21 15:56:34,198 - INFO - Waiting for VM ctest-TestBasicPolicy-38252566-10862539 to be up.. 2026-04-21 15:56:34,293 - DEBUG - VM is in ACTIVE state now 2026-04-21 15:56:34,293 - INFO - VM name : ctest-TestBasicPolicy-38252566-10862539 2026-04-21 15:56:34,387 - DEBUG - VM ctest-TestBasicPolicy-38252566-10862539 ID is d4fa5cc4-7e34-474a-a19f-243e2c24441b 2026-04-21 15:56:34,387 - DEBUG - VM ctest-TestBasicPolicy-38252566-10862539 launched on Node cn-jenkins-deploy-platform-ansible-os-5660-1 2026-04-21 15:56:34,488 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d4fa5cc4-7e34-474a-a19f-243e2c24441b 2026-04-21 15:56:34,499 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/60449fcc-5cd4-4123-8468-e7cb26daa838 2026-04-21 15:56:35,748 - 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=4.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.67 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 = 1.667/3.303/4.940/1.636 ms') 2026-04-21 15:56:35,748 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38252566-10862539 passed 2026-04-21 15:56:35,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:56:35,908 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38252566-10862539, IP 222.29.248.195, Port 22 2026-04-21 15:56:36,072 - DEBUG - VM ctest-TestBasicPolicy-38252566-10862539 is ready for SSH connections 2026-04-21 15:56:36,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:56:36,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.29.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 15:56:36,072 - DEBUG - ping -s 56 -c 3 -W 1 222.29.248.195 2026-04-21 15:56:40,248 - DEBUG - PING 222.29.248.195 (222.29.248.195): 56 data bytes 64 bytes from 222.29.248.195: seq=0 ttl=63 time=3.643 ms 64 bytes from 222.29.248.195: seq=1 ttl=63 time=0.938 ms 64 bytes from 222.29.248.195: seq=2 ttl=63 time=1.063 ms --- 222.29.248.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/1.881/3.643 ms 2026-04-21 15:56:40,248 - INFO - Ping to IP 222.29.248.195 from VM ctest-TestBasicPolicy-38252566-07467639 passed 2026-04-21 15:56:40,436 - DEBUG - Policy Update Response {"network-policy": {"uuid": "647ebbd6-7f60-462f-bd24-81738b397c8e", "href": "http://10.0.0.50:8082/network-policy/647ebbd6-7f60-462f-bd24-81738b397c8e"}} 2026-04-21 15:56:40,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 15:56:40,436 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.29.248.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 15:56:40,436 - DEBUG - ping -s 56 -c 3 -W 1 222.29.248.195 2026-04-21 15:56:43,650 - DEBUG - PING 222.29.248.195 (222.29.248.195): 56 data bytes --- 222.29.248.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-21 15:56:43,650 - WARNING - Ping to IP 222.29.248.195 from VM ctest-TestBasicPolicy-38252566-07467639 failed 2026-04-21 15:56:43,650 - INFO - Deleting VM ctest-TestBasicPolicy-38252566-10862539 2026-04-21 15:56:43,726 - INFO - Deleting VM ctest-TestBasicPolicy-38252566-07467639 2026-04-21 15:56:44,167 - INFO - Deleted policy ctest-policy-allow-all-52068890 2026-04-21 15:56:44,167 - INFO - Deleting VN ctest-vn-57906086 2026-04-21 15:56:44,216 - DEBUG - VN 16239d60-0e47-4375-b7bd-3eb9afb49f0e still in use: Unable to complete operation on network 16239d60-0e47-4375-b7bd-3eb9afb49f0e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-afd5858b-2c78-4c42-8951-fdc1ca18723e'] 2026-04-21 15:56:44,216 - WARNING - Deleting VN ctest-vn-57906086 failed..Will retry 2026-04-21 15:56:46,353 - DEBUG - Response for deleting network () 2026-04-21 15:56:46,353 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/73d26f54-18b7-4dbc-aedf-929cd81ee484 2026-04-21 15:56:46,360 - DEBUG - Response Code: 404 2026-04-21 15:56:46,360 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:46,367 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:46,422 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:46,498 - INFO - Validated that VN ctest-vn-57906086 is not found in API Server 2026-04-21 15:56:46,508 - DEBUG - VN ctest-vn-57906086 is not present in Agent 10.0.0.50 2026-04-21 15:56:46,508 - INFO - Validated that VN ctest-vn-57906086 is not in any agent 2026-04-21 15:56:46,523 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57906086 info 2026-04-21 15:56:46,523 - INFO - Deleting VN ctest-vn-74924837 2026-04-21 15:56:46,657 - DEBUG - Response for deleting network () 2026-04-21 15:56:46,657 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e5b57c67-9e9d-4f32-9bc3-51401928db23 2026-04-21 15:56:46,662 - DEBUG - Response Code: 404 2026-04-21 15:56:46,663 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 15:56:46,676 - DEBUG - Requesting: http://10.0.0.50:8082/domain/64a8b1d0-f638-4af0-ab1c-2a6a12ac0064 2026-04-21 15:56:46,733 - DEBUG - Requesting: http://10.0.0.50:8082/project/49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d 2026-04-21 15:56:46,812 - INFO - Validated that VN ctest-vn-74924837 is not found in API Server 2026-04-21 15:56:46,821 - DEBUG - VN ctest-vn-74924837 is not present in Agent 10.0.0.50 2026-04-21 15:56:46,821 - INFO - Validated that VN ctest-vn-74924837 is not in any agent 2026-04-21 15:56:46,834 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74924837 info 2026-04-21 15:56:47,102 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 15:56:47,102 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2026-04-21 15:56:47,102 - INFO - -------------------------------------------------------------------------------- 2026-04-21 15:56:47,837 - INFO - Deleted project: ctest-TestBasicPolicy-38252566, ID : 49446bc6-6d6a-4d76-aa65-6b19f9ac8e7d