2026-01-28 19:50:37,577 - INFO - Domain Default found not creating 2026-01-28 19:50:37,719 - INFO - Project ctest-TestBasicPolicy-37671723 not found, creating it 2026-01-28 19:50:38,178 - INFO - Created Project:ctest-TestBasicPolicy-37671723, ID : 79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:50:39,586 - INFO - ================================================================================ 2026-01-28 19:50:39,586 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 19:50:39,586 - 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-01-28 19:50:39,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.156': {'10.20.0.17': '0'}} with 2026-01-28 19:50:39,842 - INFO - Initial checks done. Running the testcase now 2026-01-28 19:50:39,842 - INFO - 2026-01-28 19:50:40,369 - DEBUG - Response for create_network : {'network': {'id': '3643d4bd-51c6-44df-98a1-e4c9f11fc4c6', 'name': 'ctest-vn-78706000', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'project_id': '79cff2e88a01431dacab1fef36c96c79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-vn-78706000'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:50:40,535 - DEBUG - Response for create_subnet : {'subnet': {'id': '8edce6d5-470d-4c2f-8679-a31da7dfd90a', 'name': '', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'network_id': '3643d4bd-51c6-44df-98a1-e4c9f11fc4c6', 'ip_version': 4, 'cidr': '199.34.5.64/26', 'allocation_pools': [{'start': '199.34.5.66', 'end': '199.34.5.126'}], 'gateway_ip': '199.34.5.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.34.5.66', 'tags': [], 'project_id': '79cff2e88a01431dacab1fef36c96c79'}} 2026-01-28 19:50:40,550 - INFO - Created VN ctest-vn-78706000 2026-01-28 19:50:40,606 - DEBUG - VN ctest-vn-78706000 UUID is 3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:40,921 - DEBUG - Response for create_network : {'network': {'id': '62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639', 'name': 'ctest-vn-16399243', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'project_id': '79cff2e88a01431dacab1fef36c96c79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-vn-16399243'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:50:41,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c908175-8199-4c2a-8489-c319be3794d2', 'name': '', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'network_id': '62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639', 'ip_version': 4, 'cidr': '110.174.92.192/26', 'allocation_pools': [{'start': '110.174.92.194', 'end': '110.174.92.254'}], 'gateway_ip': '110.174.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.174.92.194', 'tags': [], 'project_id': '79cff2e88a01431dacab1fef36c96c79'}} 2026-01-28 19:50:41,088 - INFO - Created VN ctest-vn-16399243 2026-01-28 19:50:41,138 - DEBUG - VN ctest-vn-16399243 UUID is 62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:41,282 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000, 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-37671723:ctest-vn-16399243, 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-01-28 19:50:41,565 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3643d4bd-51c6-44df-98a1-e4c9f11fc4c6', 'name': 'ctest-vn-78706000', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'project_id': '79cff2e88a01431dacab1fef36c96c79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8edce6d5-470d-4c2f-8679-a31da7dfd90a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-vn-78706000'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-policy-allow-all-88404388']], 'subnet_ipam': [{'subnet_cidr': '199.34.5.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:50:41,785 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639', 'name': 'ctest-vn-16399243', 'tenant_id': '79cff2e88a01431dacab1fef36c96c79', 'project_id': '79cff2e88a01431dacab1fef36c96c79', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6c908175-8199-4c2a-8489-c319be3794d2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-vn-16399243'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-policy-allow-all-88404388']], 'subnet_ipam': [{'subnet_cidr': '110.174.92.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 19:50:41,938 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:50:42,233 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:50:42,259 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:50:42,270 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:50:42,357 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,366 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,373 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:50:42,379 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:50:42,385 - DEBUG - Requesting: http://10.0.0.156:8082/route-target/917632f3-f372-4150-a7fe-62b7da9fe511 2026-01-28 19:50:42,390 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 19:50:42,390 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,398 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:50:42,408 - INFO - Verified VN network id 11 for VN 3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,408 - INFO - Verifications in API Server for VN ctest-vn-78706000 passed 2026-01-28 19:50:42,408 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,415 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:50:42,420 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:50:42,426 - DEBUG - Requesting: http://10.0.0.156:8082/route-target/917632f3-f372-4150-a7fe-62b7da9fe511 2026-01-28 19:50:42,435 - DEBUG - Control-node 10.0.0.156 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37671723', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3910202811073578207', 'uuid-lslong': '10998323321000412358'}, 'enable': 'true', 'created': '2026-01-28T19:50:40', 'last-modified': '2026-01-28T19:50:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888651'} 2026-01-28 19:50:42,440 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 19:50:42,440 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78706000 passed 2026-01-28 19:50:42,440 - DEBUG - ====Verifying policy data for ctest-vn-78706000 in API_Server ====== 2026-01-28 19:50:42,441 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:50:42,445 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:50:42,454 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:50:42,522 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/3643d4bd-51c6-44df-98a1-e4c9f11fc4c6 2026-01-28 19:50:42,530 - DEBUG - ==>Verifying data for policy with id: 59f30b77-93f2-4e3b-8a80-cf29d6d846cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-policy-allow-all-88404388'] 2026-01-28 19:50:42,530 - INFO - VN ctest-vn-78706000 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 19:50:42,530 - DEBUG - Verifying the vn in opserver 2026-01-28 19:50:42,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000 virtual network link through opserver 10.0.0.156 2026-01-28 19:50:42,530 - DEBUG - Requesting: http://10.0.0.156:8081/analytics/uves/virtual-networks 2026-01-28 19:50:42,822 - DEBUG - Requesting: http://10.0.0.156:8081/analytics/uves/virtual-networks 2026-01-28 19:50:42,878 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000', 'href': 'http://10.0.0.156:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000?flat'} 2026-01-28 19:50:42,878 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000 is found in opserver 2026-01-28 19:50:42,886 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 19:50:42,890 - DEBUG - VRF ids for VN ctest-vn-78706000: {} 2026-01-28 19:50:42,890 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:50:42,897 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:50:42,907 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:50:42,974 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:42,984 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:42,992 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:50:43,000 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:50:43,006 - DEBUG - Requesting: http://10.0.0.156:8082/route-target/22959ef5-6c06-47c1-8957-90929b3e4a3d 2026-01-28 19:50:43,011 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 19:50:43,012 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:43,019 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:50:43,041 - INFO - Verified VN network id 12 for VN 62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:43,041 - INFO - Verifications in API Server for VN ctest-vn-16399243 passed 2026-01-28 19:50:43,041 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:43,052 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:50:43,059 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:50:43,064 - DEBUG - Requesting: http://10.0.0.156:8082/route-target/22959ef5-6c06-47c1-8957-90929b3e4a3d 2026-01-28 19:50:43,074 - DEBUG - Control-node 10.0.0.156 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-16399243', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37671723', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7123035175969311909', 'uuid-lslong': '13262339761629009465'}, 'enable': 'true', 'created': '2026-01-28T19:50:40', 'last-modified': '2026-01-28T19:50:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309202'} 2026-01-28 19:50:43,080 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 19:50:43,080 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16399243 passed 2026-01-28 19:50:43,080 - DEBUG - ====Verifying policy data for ctest-vn-16399243 in API_Server ====== 2026-01-28 19:50:43,080 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:50:43,085 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:50:43,095 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:50:43,162 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-network/62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 2026-01-28 19:50:43,170 - DEBUG - ==>Verifying data for policy with id: 59f30b77-93f2-4e3b-8a80-cf29d6d846cb, fqn: ['default-domain', 'ctest-TestBasicPolicy-37671723', 'ctest-policy-allow-all-88404388'] 2026-01-28 19:50:43,170 - INFO - VN ctest-vn-16399243 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 19:50:43,170 - DEBUG - Verifying the vn in opserver 2026-01-28 19:50:43,170 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-16399243 virtual network link through opserver 10.0.0.156 2026-01-28 19:50:43,170 - DEBUG - Requesting: http://10.0.0.156:8081/analytics/uves/virtual-networks 2026-01-28 19:50:43,178 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-16399243', 'href': 'http://10.0.0.156:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-16399243?flat'} 2026-01-28 19:50:43,178 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-16399243 is found in opserver 2026-01-28 19:50:43,186 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 19:50:43,190 - DEBUG - VRF ids for VN ctest-vn-16399243: {} 2026-01-28 19:50:43,247 - DEBUG - Services list from nova: [, , ] 2026-01-28 19:50:44,217 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5101-1) 2026-01-28 19:50:45,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5101-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5101-1) 2026-01-28 19:50:45,355 - INFO - Waiting for VM ctest-TestBasicPolicy-37671723-53539443 to be up.. 2026-01-28 19:50:45,427 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 19:50:50,505 - DEBUG - VM is in ACTIVE state now 2026-01-28 19:50:50,505 - INFO - VM name : ctest-TestBasicPolicy-37671723-53539443 2026-01-28 19:50:50,576 - DEBUG - VM ctest-TestBasicPolicy-37671723-53539443 ID is 6f454305-546c-4e3c-ad6f-6f33b9287b9c 2026-01-28 19:50:50,596 - DEBUG - VM ctest-TestBasicPolicy-37671723-53539443 launched on Node cn-jenkins-deploy-platform-ansible-os-5101-1 2026-01-28 19:50:50,663 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-machine/6f454305-546c-4e3c-ad6f-6f33b9287b9c 2026-01-28 19:50:50,670 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-machine-interface/11ac6b6a-db7e-4967-b981-52d1f791ed1b 2026-01-28 19:50:53,878 - 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') 2026-01-28 19:50:53,878 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37671723-53539443 failed! 2026-01-28 19:50:53,934 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37671723:ctest-vn-78706000 is 199.34.5.65 and allocation pool is NOT set 2026-01-28 19:50:55,994 - 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.52 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.80 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 = 2.803/3.160/3.518/0.357 ms') 2026-01-28 19:50:55,994 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37671723-53539443 passed 2026-01-28 19:50:56,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:50:56,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37671723-53539443, IP 199.34.5.67, Port 22 2026-01-28 19:50:56,301 - DEBUG - VM ctest-TestBasicPolicy-37671723-53539443 is ready for SSH connections 2026-01-28 19:50:56,302 - INFO - Waiting for VM ctest-TestBasicPolicy-37671723-88374168 to be up.. 2026-01-28 19:50:56,371 - DEBUG - VM is in ACTIVE state now 2026-01-28 19:50:56,371 - INFO - VM name : ctest-TestBasicPolicy-37671723-88374168 2026-01-28 19:50:56,440 - DEBUG - VM ctest-TestBasicPolicy-37671723-88374168 ID is 14df9883-e74e-45bd-a188-4fed51689820 2026-01-28 19:50:56,441 - DEBUG - VM ctest-TestBasicPolicy-37671723-88374168 launched on Node cn-jenkins-deploy-platform-ansible-os-5101-1 2026-01-28 19:50:56,506 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-machine/14df9883-e74e-45bd-a188-4fed51689820 2026-01-28 19:50:56,513 - DEBUG - Requesting: http://10.0.0.156:8082/virtual-machine-interface/d4310ed7-5d22-440b-8c55-a05362f7f853 2026-01-28 19:50:57,751 - 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.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.484/1.997/3.511/1.513 ms') 2026-01-28 19:50:57,751 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37671723-88374168 passed 2026-01-28 19:50:57,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:50:57,898 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37671723-88374168, IP 110.174.92.195, Port 22 2026-01-28 19:50:58,053 - DEBUG - VM ctest-TestBasicPolicy-37671723-88374168 is ready for SSH connections 2026-01-28 19:50:58,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:50:58,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.174.92.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.156, gateway password: c0ntrail123 2026-01-28 19:50:58,053 - DEBUG - ping -s 56 -c 3 -W 1 110.174.92.195 2026-01-28 19:51:02,050 - DEBUG - PING 110.174.92.195 (110.174.92.195): 56 data bytes 64 bytes from 110.174.92.195: seq=0 ttl=63 time=4.307 ms 64 bytes from 110.174.92.195: seq=1 ttl=63 time=0.805 ms 64 bytes from 110.174.92.195: seq=2 ttl=63 time=0.801 ms --- 110.174.92.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.801/1.971/4.307 ms 2026-01-28 19:51:02,050 - INFO - Ping to IP 110.174.92.195 from VM ctest-TestBasicPolicy-37671723-53539443 passed 2026-01-28 19:51:02,222 - DEBUG - Policy Update Response {"network-policy": {"uuid": "59f30b77-93f2-4e3b-8a80-cf29d6d846cb", "href": "http://10.0.0.156:8082/network-policy/59f30b77-93f2-4e3b-8a80-cf29d6d846cb"}} 2026-01-28 19:51:02,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 19:51:02,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.174.92.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.156, gateway password: c0ntrail123 2026-01-28 19:51:02,222 - DEBUG - ping -s 56 -c 3 -W 1 110.174.92.195 2026-01-28 19:51:05,426 - DEBUG - PING 110.174.92.195 (110.174.92.195): 56 data bytes 64 bytes from 110.174.92.195: seq=0 ttl=63 time=1.391 ms --- 110.174.92.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.391/1.391/1.391 ms 2026-01-28 19:51:05,426 - WARNING - Ping to IP 110.174.92.195 from VM ctest-TestBasicPolicy-37671723-53539443 failed 2026-01-28 19:51:05,426 - INFO - Deleting VM ctest-TestBasicPolicy-37671723-88374168 2026-01-28 19:51:05,492 - INFO - Deleting VM ctest-TestBasicPolicy-37671723-53539443 2026-01-28 19:51:05,819 - INFO - Deleted policy ctest-policy-allow-all-88404388 2026-01-28 19:51:05,820 - INFO - Deleting VN ctest-vn-16399243 2026-01-28 19:51:05,852 - DEBUG - VN 62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639 still in use: Unable to complete operation on network 62da1ac0-ca43-4ca5-b80d-4bbf0e6f9639. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b80fd4b-74fa-4754-946b-fd873d712303'] 2026-01-28 19:51:05,852 - WARNING - Deleting VN ctest-vn-16399243 failed..Will retry 2026-01-28 19:51:07,939 - DEBUG - Response for deleting network () 2026-01-28 19:51:07,939 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/f985ab85-530e-4ad5-bf31-d1c8c5525a06 2026-01-28 19:51:07,943 - DEBUG - Response Code: 404 2026-01-28 19:51:07,943 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:51:07,949 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:51:08,004 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:51:08,069 - INFO - Validated that VN ctest-vn-16399243 is not found in API Server 2026-01-28 19:51:08,078 - DEBUG - VN ctest-vn-16399243 is not present in Agent 10.0.0.156 2026-01-28 19:51:08,078 - INFO - Validated that VN ctest-vn-16399243 is not in any agent 2026-01-28 19:51:08,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16399243 info 2026-01-28 19:51:08,090 - INFO - Deleting VN ctest-vn-78706000 2026-01-28 19:51:08,181 - DEBUG - Response for deleting network () 2026-01-28 19:51:08,183 - DEBUG - Requesting: http://10.0.0.156:8082/routing-instance/2adeedc4-8d70-4f7f-aed3-b0708f5f9e36 2026-01-28 19:51:08,188 - DEBUG - Response Code: 404 2026-01-28 19:51:08,188 - DEBUG - Requesting: http://10.0.0.156:8082/domains 2026-01-28 19:51:08,192 - DEBUG - Requesting: http://10.0.0.156:8082/domain/3dd0d628-0c71-4c2c-b3e0-c94e8da421f2 2026-01-28 19:51:08,243 - DEBUG - Requesting: http://10.0.0.156:8082/project/79cff2e8-8a01-431d-acab-1fef36c96c79 2026-01-28 19:51:08,307 - INFO - Validated that VN ctest-vn-78706000 is not found in API Server 2026-01-28 19:51:08,315 - DEBUG - VN ctest-vn-78706000 is not present in Agent 10.0.0.156 2026-01-28 19:51:08,315 - INFO - Validated that VN ctest-vn-78706000 is not in any agent 2026-01-28 19:51:08,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78706000 info 2026-01-28 19:51:08,574 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 19:51:08,574 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-28 19:51:08,575 - INFO - -------------------------------------------------------------------------------- 2026-01-28 19:51:09,239 - INFO - Deleted project: ctest-TestBasicPolicy-37671723, ID : 79cff2e8-8a01-431d-acab-1fef36c96c79