2026-06-19 23:19:20,946 - INFO - Domain Default found not creating 2026-06-19 23:19:21,075 - INFO - Project ctest-TestBasicPolicy-28997268 not found, creating it 2026-06-19 23:19:21,514 - INFO - Created Project:ctest-TestBasicPolicy-28997268, ID : 3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:19:22,910 - INFO - ================================================================================ 2026-06-19 23:19:22,910 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-19 23:19:22,910 - 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-06-19 23:19:23,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-06-19 23:19:23,172 - INFO - Initial checks done. Running the testcase now 2026-06-19 23:19:23,172 - INFO - 2026-06-19 23:19:23,707 - DEBUG - Response for create_network : {'network': {'id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'name': 'ctest-vn-16638190', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-16638190'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:19:23,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '140dd1a7-95e1-43ed-ab0b-c9b9a927fa27', 'name': '', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'network_id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'ip_version': 4, 'cidr': '90.12.112.128/26', 'allocation_pools': [{'start': '90.12.112.130', 'end': '90.12.112.190'}], 'gateway_ip': '90.12.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.12.112.130', 'tags': [], 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c'}} 2026-06-19 23:19:23,857 - INFO - Created VN ctest-vn-16638190 2026-06-19 23:19:23,907 - DEBUG - VN ctest-vn-16638190 UUID is 65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:24,201 - DEBUG - Response for create_network : {'network': {'id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'name': 'ctest-vn-56744852', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-56744852'], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:19:24,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1f0eb31-5633-457a-926a-a6d6eebbf756', 'name': '', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'network_id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'ip_version': 4, 'cidr': '8.175.99.128/26', 'allocation_pools': [{'start': '8.175.99.130', 'end': '8.175.99.190'}], 'gateway_ip': '8.175.99.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.175.99.130', 'tags': [], 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c'}} 2026-06-19 23:19:24,424 - INFO - Created VN ctest-vn-56744852 2026-06-19 23:19:24,475 - DEBUG - VN ctest-vn-56744852 UUID is 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:24,615 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190, 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-28997268:ctest-vn-56744852, 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-06-19 23:19:24,892 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '65a5b245-e058-4af2-912d-bf73fbfecc1d', 'name': 'ctest-vn-16638190', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['140dd1a7-95e1-43ed-ab0b-c9b9a927fa27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-16638190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']], 'subnet_ipam': [{'subnet_cidr': '90.12.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:19:25,102 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07733fa9-b1ed-4c3f-ad02-4ec6d90c244d', 'name': 'ctest-vn-56744852', 'tenant_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'project_id': '3b60425fb649488dbd0f1c9ed4a17a5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1f0eb31-5633-457a-926a-a6d6eebbf756'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-vn-56744852'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289']], 'subnet_ipam': [{'subnet_cidr': '8.175.99.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-19 23:19:25,271 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:19:25,595 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:19:25,623 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:19:25,634 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:19:25,706 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,717 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,724 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:19:25,731 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:19:25,736 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/454503a2-af4e-43a0-b764-d7de8e61c46f 2026-06-19 23:19:25,742 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 23:19:25,742 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,749 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:19:25,760 - INFO - Verified VN network id 11 for VN 65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,761 - INFO - Verifications in API Server for VN ctest-vn-16638190 passed 2026-06-19 23:19:25,761 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,768 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:19:25,773 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:19:25,780 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/454503a2-af4e-43a0-b764-d7de8e61c46f 2026-06-19 23:19:25,789 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28997268', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7324456382174350066', 'uuid-lslong': '10461228014321454109'}, 'enable': 'true', 'created': '2026-06-19T23:19:23', 'last-modified': '2026-06-19T23:19:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918277'} 2026-06-19 23:19:25,795 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-19 23:19:25,795 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16638190 passed 2026-06-19 23:19:25,795 - DEBUG - ====Verifying policy data for ctest-vn-16638190 in API_Server ====== 2026-06-19 23:19:25,795 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:19:25,801 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:19:25,810 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:19:25,876 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/65a5b245-e058-4af2-912d-bf73fbfecc1d 2026-06-19 23:19:25,883 - DEBUG - ==>Verifying data for policy with id: f778ac43-67d4-4cd3-be49-75aabfc1b020, fqn: ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289'] 2026-06-19 23:19:25,883 - INFO - VN ctest-vn-16638190 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 23:19:25,883 - DEBUG - Verifying the vn in opserver 2026-06-19 23:19:25,883 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190 virtual network link through opserver 10.0.0.19 2026-06-19 23:19:25,883 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 23:19:26,219 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 23:19:26,263 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190?flat'} 2026-06-19 23:19:26,263 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190 is found in opserver 2026-06-19 23:19:26,270 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 23:19:26,274 - DEBUG - VRF ids for VN ctest-vn-16638190: {} 2026-06-19 23:19:26,274 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:19:26,278 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:19:26,287 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:19:26,354 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,363 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,370 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:19:26,376 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:19:26,381 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/46750b90-6bc9-471b-9d3c-2174c95ff9a3 2026-06-19 23:19:26,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 23:19:26,386 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,393 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:19:26,411 - INFO - Verified VN network id 12 for VN 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,411 - INFO - Verifications in API Server for VN ctest-vn-56744852 passed 2026-06-19 23:19:26,411 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,422 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:19:26,428 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:19:26,434 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/46750b90-6bc9-471b-9d3c-2174c95ff9a3 2026-06-19 23:19:26,445 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28997268', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '536842778654362687', 'uuid-lslong': '12466613334466896973'}, 'enable': 'true', 'created': '2026-06-19T23:19:24', 'last-modified': '2026-06-19T23:19:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.358728'} 2026-06-19 23:19:26,451 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-19 23:19:26,451 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56744852 passed 2026-06-19 23:19:26,451 - DEBUG - ====Verifying policy data for ctest-vn-56744852 in API_Server ====== 2026-06-19 23:19:26,451 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:19:26,456 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:19:26,466 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:19:26,529 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/07733fa9-b1ed-4c3f-ad02-4ec6d90c244d 2026-06-19 23:19:26,538 - DEBUG - ==>Verifying data for policy with id: f778ac43-67d4-4cd3-be49-75aabfc1b020, fqn: ['default-domain', 'ctest-TestBasicPolicy-28997268', 'ctest-policy-allow-all-08296289'] 2026-06-19 23:19:26,538 - INFO - VN ctest-vn-56744852 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-19 23:19:26,538 - DEBUG - Verifying the vn in opserver 2026-06-19 23:19:26,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852 virtual network link through opserver 10.0.0.19 2026-06-19 23:19:26,538 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-06-19 23:19:26,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852?flat'} 2026-06-19 23:19:26,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-56744852 is found in opserver 2026-06-19 23:19:26,557 - DEBUG - Do not have enough data to verify VN in agent 2026-06-19 23:19:26,561 - DEBUG - VRF ids for VN ctest-vn-56744852: {} 2026-06-19 23:19:26,609 - DEBUG - Services list from nova: [, , ] 2026-06-19 23:19:27,593 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6009-1) 2026-06-19 23:19:28,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6009-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6009-1) 2026-06-19 23:19:28,605 - INFO - Waiting for VM ctest-TestBasicPolicy-28997268-56233091 to be up.. 2026-06-19 23:19:28,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:19:33,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-19 23:19:38,789 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:19:38,789 - INFO - VM name : ctest-TestBasicPolicy-28997268-56233091 2026-06-19 23:19:38,850 - DEBUG - VM ctest-TestBasicPolicy-28997268-56233091 ID is 4495dd8d-33bf-4591-be13-a7ec00e91931 2026-06-19 23:19:38,867 - DEBUG - VM ctest-TestBasicPolicy-28997268-56233091 launched on Node cn-jenkins-deploy-platform-ansible-os-6009-1 2026-06-19 23:19:38,927 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/4495dd8d-33bf-4591-be13-a7ec00e91931 2026-06-19 23:19:38,933 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/60a66d6a-8451-4e79-be4f-53c7ce1753ba 2026-06-19 23:19:42,170 - 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 1016ms') 2026-06-19 23:19:42,170 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28997268-56233091 failed! 2026-06-19 23:19:42,223 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28997268:ctest-vn-16638190 is 90.12.112.129 and allocation pool is NOT set 2026-06-19 23:19:44,278 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 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.473/3.686/6.900/3.213 ms') 2026-06-19 23:19:44,278 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28997268-56233091 passed 2026-06-19 23:19:44,427 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:44,427 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28997268-56233091, IP 90.12.112.131, Port 22 2026-06-19 23:19:44,582 - DEBUG - VM ctest-TestBasicPolicy-28997268-56233091 is ready for SSH connections 2026-06-19 23:19:44,582 - INFO - Waiting for VM ctest-TestBasicPolicy-28997268-81062169 to be up.. 2026-06-19 23:19:44,647 - DEBUG - VM is in ACTIVE state now 2026-06-19 23:19:44,647 - INFO - VM name : ctest-TestBasicPolicy-28997268-81062169 2026-06-19 23:19:44,707 - DEBUG - VM ctest-TestBasicPolicy-28997268-81062169 ID is bec11321-b33b-406a-976e-67cdd5e767e7 2026-06-19 23:19:44,707 - DEBUG - VM ctest-TestBasicPolicy-28997268-81062169 launched on Node cn-jenkins-deploy-platform-ansible-os-6009-1 2026-06-19 23:19:44,767 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/bec11321-b33b-406a-976e-67cdd5e767e7 2026-06-19 23:19:44,774 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/00f28c66-8220-474c-af30-9b5275f36234 2026-06-19 23:19:45,998 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.741 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.741/2.604/4.468/1.863 ms') 2026-06-19 23:19:45,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28997268-81062169 passed 2026-06-19 23:19:46,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:46,151 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28997268-81062169, IP 8.175.99.131, Port 22 2026-06-19 23:19:46,210 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-19 23:19:46,297 - DEBUG - VM ctest-TestBasicPolicy-28997268-81062169 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-19 23:19:51,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:51,298 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28997268-81062169, IP 8.175.99.131, Port 22 2026-06-19 23:19:51,455 - DEBUG - VM ctest-TestBasicPolicy-28997268-81062169 is ready for SSH connections 2026-06-19 23:19:51,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:51,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.175.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 23:19:51,455 - DEBUG - ping -s 56 -c 3 -W 1 8.175.99.131 2026-06-19 23:19:55,352 - DEBUG - PING 8.175.99.131 (8.175.99.131): 56 data bytes 64 bytes from 8.175.99.131: seq=0 ttl=63 time=3.219 ms 64 bytes from 8.175.99.131: seq=1 ttl=63 time=0.907 ms 64 bytes from 8.175.99.131: seq=2 ttl=63 time=0.887 ms --- 8.175.99.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.671/3.219 ms 2026-06-19 23:19:55,352 - INFO - Ping to IP 8.175.99.131 from VM ctest-TestBasicPolicy-28997268-56233091 passed 2026-06-19 23:19:55,522 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f778ac43-67d4-4cd3-be49-75aabfc1b020", "href": "http://10.0.0.19:8082/network-policy/f778ac43-67d4-4cd3-be49-75aabfc1b020"}} 2026-06-19 23:19:55,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-19 23:19:55,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.175.99.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-19 23:19:55,523 - DEBUG - ping -s 56 -c 3 -W 1 8.175.99.131 2026-06-19 23:19:58,638 - DEBUG - PING 8.175.99.131 (8.175.99.131): 56 data bytes --- 8.175.99.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-19 23:19:58,638 - WARNING - Ping to IP 8.175.99.131 from VM ctest-TestBasicPolicy-28997268-56233091 failed 2026-06-19 23:19:58,638 - INFO - Deleting VM ctest-TestBasicPolicy-28997268-81062169 2026-06-19 23:19:58,698 - INFO - Deleting VM ctest-TestBasicPolicy-28997268-56233091 2026-06-19 23:19:58,990 - INFO - Deleted policy ctest-policy-allow-all-08296289 2026-06-19 23:19:58,990 - INFO - Deleting VN ctest-vn-56744852 2026-06-19 23:19:59,015 - DEBUG - VN 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d still in use: Unable to complete operation on network 07733fa9-b1ed-4c3f-ad02-4ec6d90c244d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-43410d80-5dfa-49ab-a388-5c5689a4587b'] 2026-06-19 23:19:59,015 - WARNING - Deleting VN ctest-vn-56744852 failed..Will retry 2026-06-19 23:20:01,099 - DEBUG - Response for deleting network () 2026-06-19 23:20:01,099 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/80f2879f-12bb-44fc-8b7e-0ef6c3b6828a 2026-06-19 23:20:01,104 - DEBUG - Response Code: 404 2026-06-19 23:20:01,104 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:20:01,109 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:20:01,160 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:20:01,231 - INFO - Validated that VN ctest-vn-56744852 is not found in API Server 2026-06-19 23:20:01,241 - DEBUG - VN ctest-vn-56744852 is not present in Agent 10.0.0.19 2026-06-19 23:20:01,241 - INFO - Validated that VN ctest-vn-56744852 is not in any agent 2026-06-19 23:20:01,253 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56744852 info 2026-06-19 23:20:01,253 - INFO - Deleting VN ctest-vn-16638190 2026-06-19 23:20:01,370 - DEBUG - Response for deleting network () 2026-06-19 23:20:01,370 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/16a80d08-1cc2-4023-ad30-db37030841e8 2026-06-19 23:20:01,376 - DEBUG - Response Code: 404 2026-06-19 23:20:01,376 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-06-19 23:20:01,380 - DEBUG - Requesting: http://10.0.0.19:8082/domain/05a38af8-62a4-48e1-a1e7-bc5423583c97 2026-06-19 23:20:01,431 - DEBUG - Requesting: http://10.0.0.19:8082/project/3b60425f-b649-488d-bd0f-1c9ed4a17a5c 2026-06-19 23:20:01,499 - INFO - Validated that VN ctest-vn-16638190 is not found in API Server 2026-06-19 23:20:01,507 - DEBUG - VN ctest-vn-16638190 is not present in Agent 10.0.0.19 2026-06-19 23:20:01,508 - INFO - Validated that VN ctest-vn-16638190 is not in any agent 2026-06-19 23:20:01,520 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16638190 info 2026-06-19 23:20:01,771 - DEBUG - No XMPP flaps were noticed during the test
2026-06-19 23:20:01,771 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-06-19 23:20:01,772 - INFO - -------------------------------------------------------------------------------- 2026-06-19 23:20:02,445 - INFO - Deleted project: ctest-TestBasicPolicy-28997268, ID : 3b60425f-b649-488d-bd0f-1c9ed4a17a5c