2026-02-10 06:01:08,415 - INFO - Domain Default found not creating 2026-02-10 06:01:08,577 - INFO - Project ctest-TestBasicPolicy-04936487 not found, creating it 2026-02-10 06:01:09,023 - INFO - Created Project:ctest-TestBasicPolicy-04936487, ID : d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:10,484 - INFO - ================================================================================ 2026-02-10 06:01:10,484 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-10 06:01:10,484 - 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-02-10 06:01:10,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-10 06:01:10,749 - INFO - Initial checks done. Running the testcase now 2026-02-10 06:01:10,749 - INFO - 2026-02-10 06:01:11,316 - DEBUG - Response for create_network : {'network': {'id': '15d4c5fe-c57b-4240-8c4a-f6139ff80e5b', 'name': 'ctest-vn-52145745', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-vn-52145745'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 06:01:11,528 - DEBUG - Response for create_subnet : {'subnet': {'id': '3f855866-8aaa-43b0-9356-cf09f2d08cb3', 'name': '', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'network_id': '15d4c5fe-c57b-4240-8c4a-f6139ff80e5b', 'ip_version': 4, 'cidr': '105.10.207.0/26', 'allocation_pools': [{'start': '105.10.207.2', 'end': '105.10.207.62'}], 'gateway_ip': '105.10.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.10.207.2', 'tags': [], 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906'}} 2026-02-10 06:01:11,546 - INFO - Created VN ctest-vn-52145745 2026-02-10 06:01:11,597 - DEBUG - VN ctest-vn-52145745 UUID is 15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:11,907 - DEBUG - Response for create_network : {'network': {'id': 'be0910ea-ffc1-4a61-9cfc-a04ca6490e3b', 'name': 'ctest-vn-81925670', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-vn-81925670'], 'port_security_enabled': True, 'description': ''}} 2026-02-10 06:01:12,061 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2db4243-b66a-4653-9aa3-9c0ef8ca942d', 'name': '', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'network_id': 'be0910ea-ffc1-4a61-9cfc-a04ca6490e3b', 'ip_version': 4, 'cidr': '45.93.178.192/26', 'allocation_pools': [{'start': '45.93.178.194', 'end': '45.93.178.254'}], 'gateway_ip': '45.93.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.93.178.194', 'tags': [], 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906'}} 2026-02-10 06:01:12,077 - INFO - Created VN ctest-vn-81925670 2026-02-10 06:01:12,129 - DEBUG - VN ctest-vn-81925670 UUID is be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:12,277 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745, 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-04936487:ctest-vn-81925670, 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-02-10 06:01:12,555 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15d4c5fe-c57b-4240-8c4a-f6139ff80e5b', 'name': 'ctest-vn-52145745', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3f855866-8aaa-43b0-9356-cf09f2d08cb3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-vn-52145745'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-policy-allow-all-67810428']], 'subnet_ipam': [{'subnet_cidr': '105.10.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 06:01:12,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be0910ea-ffc1-4a61-9cfc-a04ca6490e3b', 'name': 'ctest-vn-81925670', 'tenant_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'project_id': 'd5172e1d6f4f48da85b5da61e64c6906', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c2db4243-b66a-4653-9aa3-9c0ef8ca942d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-vn-81925670'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-policy-allow-all-67810428']], 'subnet_ipam': [{'subnet_cidr': '45.93.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-10 06:01:12,973 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:13,277 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:13,311 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:13,329 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:13,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,417 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:13,423 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:13,429 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a357ee70-5e0c-48b0-a202-ad5a43204f0b 2026-02-10 06:01:13,434 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 06:01:13,434 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,441 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:13,451 - INFO - Verified VN network id 11 for VN 15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,451 - INFO - Verifications in API Server for VN ctest-vn-52145745 passed 2026-02-10 06:01:13,451 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,459 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:13,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:13,471 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a357ee70-5e0c-48b0-a202-ad5a43204f0b 2026-02-10 06:01:13,480 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04936487', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1573099867884700224', 'uuid-lslong': '10109162877735145051'}, 'enable': 'true', 'created': '2026-02-10T06:01:11', 'last-modified': '2026-02-10T06:01:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941228'} 2026-02-10 06:01:13,485 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-10 06:01:13,485 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52145745 passed 2026-02-10 06:01:13,485 - DEBUG - ====Verifying policy data for ctest-vn-52145745 in API_Server ====== 2026-02-10 06:01:13,485 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:13,490 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:13,500 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:13,571 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/15d4c5fe-c57b-4240-8c4a-f6139ff80e5b 2026-02-10 06:01:13,579 - DEBUG - ==>Verifying data for policy with id: 9ebb31dd-e69e-412b-8690-052f7f289490, fqn: ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-policy-allow-all-67810428'] 2026-02-10 06:01:13,579 - INFO - VN ctest-vn-52145745 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 06:01:13,579 - DEBUG - Verifying the vn in opserver 2026-02-10 06:01:13,579 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745 virtual network link through opserver 10.0.0.38 2026-02-10 06:01:13,579 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 06:01:13,870 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 06:01:13,932 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745?flat'} 2026-02-10 06:01:13,932 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745 is found in opserver 2026-02-10 06:01:13,941 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 06:01:13,945 - DEBUG - VRF ids for VN ctest-vn-52145745: {} 2026-02-10 06:01:13,945 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:13,950 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:13,960 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:14,030 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,041 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,050 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:14,057 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:14,062 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e632e2f4-3801-4f34-a471-fd2502c996d3 2026-02-10 06:01:14,068 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 06:01:14,068 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:14,087 - INFO - Verified VN network id 12 for VN be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,087 - INFO - Verifications in API Server for VN ctest-vn-81925670 passed 2026-02-10 06:01:14,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,095 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:14,100 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:14,105 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e632e2f4-3801-4f34-a471-fd2502c996d3 2026-02-10 06:01:14,114 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-81925670', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04936487', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13693494743495952993', 'uuid-lslong': '11312092615115607611'}, 'enable': 'true', 'created': '2026-02-10T06:01:11', 'last-modified': '2026-02-10T06:01:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351316'} 2026-02-10 06:01:14,120 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-10 06:01:14,120 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81925670 passed 2026-02-10 06:01:14,120 - DEBUG - ====Verifying policy data for ctest-vn-81925670 in API_Server ====== 2026-02-10 06:01:14,120 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:14,125 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:14,134 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:14,204 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/be0910ea-ffc1-4a61-9cfc-a04ca6490e3b 2026-02-10 06:01:14,214 - DEBUG - ==>Verifying data for policy with id: 9ebb31dd-e69e-412b-8690-052f7f289490, fqn: ['default-domain', 'ctest-TestBasicPolicy-04936487', 'ctest-policy-allow-all-67810428'] 2026-02-10 06:01:14,214 - INFO - VN ctest-vn-81925670 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-10 06:01:14,214 - DEBUG - Verifying the vn in opserver 2026-02-10 06:01:14,214 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-81925670 virtual network link through opserver 10.0.0.38 2026-02-10 06:01:14,214 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-10 06:01:14,223 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-81925670', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-81925670?flat'} 2026-02-10 06:01:14,223 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-81925670 is found in opserver 2026-02-10 06:01:14,234 - DEBUG - Do not have enough data to verify VN in agent 2026-02-10 06:01:14,238 - DEBUG - VRF ids for VN ctest-vn-81925670: {} 2026-02-10 06:01:14,294 - DEBUG - Services list from nova: [, , ] 2026-02-10 06:01:15,310 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5262-1) 2026-02-10 06:01:16,417 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5262-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5262-1) 2026-02-10 06:01:16,417 - INFO - Waiting for VM ctest-TestBasicPolicy-04936487-56178574 to be up.. 2026-02-10 06:01:16,490 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-10 06:01:21,568 - DEBUG - VM is in ACTIVE state now 2026-02-10 06:01:21,569 - INFO - VM name : ctest-TestBasicPolicy-04936487-56178574 2026-02-10 06:01:21,646 - DEBUG - VM ctest-TestBasicPolicy-04936487-56178574 ID is 48aed07e-475f-449b-bece-fe242b393d40 2026-02-10 06:01:21,666 - DEBUG - VM ctest-TestBasicPolicy-04936487-56178574 launched on Node cn-jenkins-deploy-platform-ansible-os-5262-1 2026-02-10 06:01:21,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/48aed07e-475f-449b-bece-fe242b393d40 2026-02-10 06:01:21,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0fe39f76-5685-4b98-8f05-c44dae72e219 2026-02-10 06:01:24,993 - 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 1010ms') 2026-02-10 06:01:24,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04936487-56178574 failed! 2026-02-10 06:01:25,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04936487:ctest-vn-52145745 is 105.10.207.1 and allocation pool is NOT set 2026-02-10 06:01:27,107 - 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=3.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.435 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.435/1.721/3.008/1.286 ms') 2026-02-10 06:01:27,107 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04936487-56178574 passed 2026-02-10 06:01:27,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 06:01:27,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04936487-56178574, IP 105.10.207.3, Port 22 2026-02-10 06:01:27,422 - DEBUG - VM ctest-TestBasicPolicy-04936487-56178574 is ready for SSH connections 2026-02-10 06:01:27,422 - INFO - Waiting for VM ctest-TestBasicPolicy-04936487-81124011 to be up.. 2026-02-10 06:01:27,493 - DEBUG - VM is in ACTIVE state now 2026-02-10 06:01:27,493 - INFO - VM name : ctest-TestBasicPolicy-04936487-81124011 2026-02-10 06:01:27,560 - DEBUG - VM ctest-TestBasicPolicy-04936487-81124011 ID is fd992eca-3aa5-4341-bf0d-320e6369d0e3 2026-02-10 06:01:27,560 - DEBUG - VM ctest-TestBasicPolicy-04936487-81124011 launched on Node cn-jenkins-deploy-platform-ansible-os-5262-1 2026-02-10 06:01:27,636 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fd992eca-3aa5-4341-bf0d-320e6369d0e3 2026-02-10 06:01:27,643 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b969fbb4-8b48-4369-b207-ebe53cec5199 2026-02-10 06:01:28,874 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.716 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.716/1.963/3.210/1.247 ms') 2026-02-10 06:01:28,874 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04936487-81124011 passed 2026-02-10 06:01:29,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 06:01:29,025 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04936487-81124011, IP 45.93.178.195, Port 22 2026-02-10 06:01:29,194 - DEBUG - VM ctest-TestBasicPolicy-04936487-81124011 is ready for SSH connections 2026-02-10 06:01:29,194 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 06:01:29,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.93.178.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 06:01:29,195 - DEBUG - ping -s 56 -c 3 -W 1 45.93.178.195 2026-02-10 06:01:33,227 - DEBUG - PING 45.93.178.195 (45.93.178.195): 56 data bytes 64 bytes from 45.93.178.195: seq=0 ttl=63 time=4.501 ms 64 bytes from 45.93.178.195: seq=1 ttl=63 time=1.640 ms 64 bytes from 45.93.178.195: seq=2 ttl=63 time=0.938 ms --- 45.93.178.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/2.359/4.501 ms 2026-02-10 06:01:33,228 - INFO - Ping to IP 45.93.178.195 from VM ctest-TestBasicPolicy-04936487-56178574 passed 2026-02-10 06:01:33,397 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9ebb31dd-e69e-412b-8690-052f7f289490", "href": "http://10.0.0.38:8082/network-policy/9ebb31dd-e69e-412b-8690-052f7f289490"}} 2026-02-10 06:01:33,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-10 06:01:33,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.93.178.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-10 06:01:33,397 - DEBUG - ping -s 56 -c 3 -W 1 45.93.178.195 2026-02-10 06:01:36,599 - DEBUG - PING 45.93.178.195 (45.93.178.195): 56 data bytes --- 45.93.178.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-10 06:01:36,599 - WARNING - Ping to IP 45.93.178.195 from VM ctest-TestBasicPolicy-04936487-56178574 failed 2026-02-10 06:01:36,599 - INFO - Deleting VM ctest-TestBasicPolicy-04936487-81124011 2026-02-10 06:01:36,663 - INFO - Deleting VM ctest-TestBasicPolicy-04936487-56178574 2026-02-10 06:01:37,045 - INFO - Deleted policy ctest-policy-allow-all-67810428 2026-02-10 06:01:37,045 - INFO - Deleting VN ctest-vn-81925670 2026-02-10 06:01:37,078 - DEBUG - VN be0910ea-ffc1-4a61-9cfc-a04ca6490e3b still in use: Unable to complete operation on network be0910ea-ffc1-4a61-9cfc-a04ca6490e3b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a5b83437-892e-4b2e-a386-be5fe19daf81'] 2026-02-10 06:01:37,078 - WARNING - Deleting VN ctest-vn-81925670 failed..Will retry 2026-02-10 06:01:39,168 - DEBUG - Response for deleting network () 2026-02-10 06:01:39,168 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e558a693-611a-4d21-b5e6-0c05aba99251 2026-02-10 06:01:39,176 - DEBUG - Response Code: 404 2026-02-10 06:01:39,176 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:39,180 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:39,234 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:39,305 - INFO - Validated that VN ctest-vn-81925670 is not found in API Server 2026-02-10 06:01:39,315 - DEBUG - VN ctest-vn-81925670 is not present in Agent 10.0.0.38 2026-02-10 06:01:39,315 - INFO - Validated that VN ctest-vn-81925670 is not in any agent 2026-02-10 06:01:39,328 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81925670 info 2026-02-10 06:01:39,328 - INFO - Deleting VN ctest-vn-52145745 2026-02-10 06:01:39,414 - DEBUG - Response for deleting network () 2026-02-10 06:01:39,414 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ea6a7ef9-6a64-48a2-8563-798aba7f431c 2026-02-10 06:01:39,418 - DEBUG - Response Code: 404 2026-02-10 06:01:39,418 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-10 06:01:39,422 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b51e8295-8a4c-467e-bc54-a2cc4d7e9027 2026-02-10 06:01:39,481 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5172e1d-6f4f-48da-85b5-da61e64c6906 2026-02-10 06:01:39,553 - INFO - Validated that VN ctest-vn-52145745 is not found in API Server 2026-02-10 06:01:39,563 - DEBUG - VN ctest-vn-52145745 is not present in Agent 10.0.0.38 2026-02-10 06:01:39,563 - INFO - Validated that VN ctest-vn-52145745 is not in any agent 2026-02-10 06:01:39,575 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52145745 info 2026-02-10 06:01:39,849 - DEBUG - No XMPP flaps were noticed during the test
2026-02-10 06:01:39,849 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-10 06:01:39,850 - INFO - -------------------------------------------------------------------------------- 2026-02-10 06:01:40,541 - INFO - Deleted project: ctest-TestBasicPolicy-04936487, ID : d5172e1d-6f4f-48da-85b5-da61e64c6906