2026-05-13 18:53:13,021 - INFO - Domain Default found not creating 2026-05-13 18:53:13,208 - INFO - Project ctest-TestBasicPolicy-64688999 not found, creating it 2026-05-13 18:53:13,694 - INFO - Created Project:ctest-TestBasicPolicy-64688999, ID : ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:15,184 - INFO - ================================================================================ 2026-05-13 18:53:15,184 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-13 18:53:15,184 - 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-05-13 18:53:15,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-05-13 18:53:15,449 - INFO - Initial checks done. Running the testcase now 2026-05-13 18:53:15,449 - INFO - 2026-05-13 18:53:16,005 - DEBUG - Response for create_network : {'network': {'id': '982a79b3-b871-47cb-a595-e38fd74e9c36', 'name': 'ctest-vn-23346191', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'project_id': 'ab32f997de374947984f49449c007c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-vn-23346191'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:53:16,219 - DEBUG - Response for create_subnet : {'subnet': {'id': '297f11e6-0794-4b09-abad-6c1cc7a48ffc', 'name': '', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'network_id': '982a79b3-b871-47cb-a595-e38fd74e9c36', 'ip_version': 4, 'cidr': '146.75.12.192/26', 'allocation_pools': [{'start': '146.75.12.194', 'end': '146.75.12.254'}], 'gateway_ip': '146.75.12.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.75.12.194', 'tags': [], 'project_id': 'ab32f997de374947984f49449c007c46'}} 2026-05-13 18:53:16,237 - INFO - Created VN ctest-vn-23346191 2026-05-13 18:53:16,290 - DEBUG - VN ctest-vn-23346191 UUID is 982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:16,609 - DEBUG - Response for create_network : {'network': {'id': '866660e0-9b86-4bb0-abe8-a6f530e422f6', 'name': 'ctest-vn-20237941', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'project_id': 'ab32f997de374947984f49449c007c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-vn-20237941'], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:53:16,829 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1744604-556a-4d24-af1e-037f7dd76a3d', 'name': '', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'network_id': '866660e0-9b86-4bb0-abe8-a6f530e422f6', 'ip_version': 4, 'cidr': '152.38.135.64/26', 'allocation_pools': [{'start': '152.38.135.66', 'end': '152.38.135.126'}], 'gateway_ip': '152.38.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.38.135.66', 'tags': [], 'project_id': 'ab32f997de374947984f49449c007c46'}} 2026-05-13 18:53:16,848 - INFO - Created VN ctest-vn-20237941 2026-05-13 18:53:16,902 - DEBUG - VN ctest-vn-20237941 UUID is 866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:17,054 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191, 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-64688999:ctest-vn-20237941, 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-05-13 18:53:17,337 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '982a79b3-b871-47cb-a595-e38fd74e9c36', 'name': 'ctest-vn-23346191', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'project_id': 'ab32f997de374947984f49449c007c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['297f11e6-0794-4b09-abad-6c1cc7a48ffc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-vn-23346191'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-policy-allow-all-62612755']], 'subnet_ipam': [{'subnet_cidr': '146.75.12.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:53:17,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '866660e0-9b86-4bb0-abe8-a6f530e422f6', 'name': 'ctest-vn-20237941', 'tenant_id': 'ab32f997de374947984f49449c007c46', 'project_id': 'ab32f997de374947984f49449c007c46', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b1744604-556a-4d24-af1e-037f7dd76a3d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-vn-20237941'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-policy-allow-all-62612755']], 'subnet_ipam': [{'subnet_cidr': '152.38.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-13 18:53:17,742 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:18,039 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:18,079 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:18,091 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:18,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,195 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:18,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:18,208 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22d64b40-9658-4fe0-a6f0-de9b2d1db49a 2026-05-13 18:53:18,214 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-13 18:53:18,214 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,224 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:18,237 - INFO - Verified VN network id 10 for VN 982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,237 - INFO - Verifications in API Server for VN ctest-vn-23346191 passed 2026-05-13 18:53:18,237 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,246 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:18,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:18,258 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22d64b40-9658-4fe0-a6f0-de9b2d1db49a 2026-05-13 18:53:18,271 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64688999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10964710055587432395', 'uuid-lslong': '11931692994720078902'}, 'enable': 'true', 'created': '2026-05-13T18:53:15', 'last-modified': '2026-05-13T18:53:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954752'} 2026-05-13 18:53:18,277 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-13 18:53:18,277 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23346191 passed 2026-05-13 18:53:18,277 - DEBUG - ====Verifying policy data for ctest-vn-23346191 in API_Server ====== 2026-05-13 18:53:18,277 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:18,283 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:18,294 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:18,366 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/982a79b3-b871-47cb-a595-e38fd74e9c36 2026-05-13 18:53:18,375 - DEBUG - ==>Verifying data for policy with id: d9db0724-9750-4687-a674-9bb12a09fa1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-policy-allow-all-62612755'] 2026-05-13 18:53:18,375 - INFO - VN ctest-vn-23346191 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-13 18:53:18,375 - DEBUG - Verifying the vn in opserver 2026-05-13 18:53:18,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191 virtual network link through opserver 10.0.0.38 2026-05-13 18:53:18,375 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-13 18:53:18,669 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-13 18:53:18,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191?flat'} 2026-05-13 18:53:18,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191 is found in opserver 2026-05-13 18:53:18,752 - DEBUG - Do not have enough data to verify VN in agent 2026-05-13 18:53:18,756 - DEBUG - VRF ids for VN ctest-vn-23346191: {} 2026-05-13 18:53:18,756 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:18,761 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:18,773 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:18,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:18,859 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:18,871 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:18,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:18,886 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/749e0fe5-3134-419c-81cd-0f48116a7995 2026-05-13 18:53:18,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-13 18:53:18,893 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:18,901 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:18,915 - INFO - Verified VN network id 11 for VN 866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:18,915 - INFO - Verifications in API Server for VN ctest-vn-20237941 passed 2026-05-13 18:53:18,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:18,924 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:18,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:18,937 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/749e0fe5-3134-419c-81cd-0f48116a7995 2026-05-13 18:53:18,950 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-20237941', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64688999', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9684534566505040816', 'uuid-lslong': '12387334347100005110'}, 'enable': 'true', 'created': '2026-05-13T18:53:16', 'last-modified': '2026-05-13T18:53:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.402379'} 2026-05-13 18:53:18,958 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-13 18:53:18,958 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20237941 passed 2026-05-13 18:53:18,958 - DEBUG - ====Verifying policy data for ctest-vn-20237941 in API_Server ====== 2026-05-13 18:53:18,958 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:18,963 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:18,975 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:19,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/866660e0-9b86-4bb0-abe8-a6f530e422f6 2026-05-13 18:53:19,052 - DEBUG - ==>Verifying data for policy with id: d9db0724-9750-4687-a674-9bb12a09fa1c, fqn: ['default-domain', 'ctest-TestBasicPolicy-64688999', 'ctest-policy-allow-all-62612755'] 2026-05-13 18:53:19,052 - INFO - VN ctest-vn-20237941 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-13 18:53:19,052 - DEBUG - Verifying the vn in opserver 2026-05-13 18:53:19,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-20237941 virtual network link through opserver 10.0.0.38 2026-05-13 18:53:19,052 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-05-13 18:53:19,062 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-20237941', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-20237941?flat'} 2026-05-13 18:53:19,062 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-20237941 is found in opserver 2026-05-13 18:53:19,073 - DEBUG - Do not have enough data to verify VN in agent 2026-05-13 18:53:19,078 - DEBUG - VRF ids for VN ctest-vn-20237941: {} 2026-05-13 18:53:19,150 - DEBUG - Services list from nova: [, , ] 2026-05-13 18:53:20,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5775-1) 2026-05-13 18:53:21,420 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5775-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5775-1) 2026-05-13 18:53:21,420 - INFO - Waiting for VM ctest-TestBasicPolicy-64688999-57723659 to be up.. 2026-05-13 18:53:21,518 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-13 18:53:26,608 - DEBUG - VM is in ACTIVE state now 2026-05-13 18:53:26,608 - INFO - VM name : ctest-TestBasicPolicy-64688999-57723659 2026-05-13 18:53:26,693 - DEBUG - VM ctest-TestBasicPolicy-64688999-57723659 ID is be406deb-8c4d-49ef-9edd-056e597dbb41 2026-05-13 18:53:26,716 - DEBUG - VM ctest-TestBasicPolicy-64688999-57723659 launched on Node cn-jenkins-deploy-platform-ansible-os-5775-1 2026-05-13 18:53:26,810 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/be406deb-8c4d-49ef-9edd-056e597dbb41 2026-05-13 18:53:26,818 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/19fda01f-ec77-4cff-9e9f-17f4c0538997 2026-05-13 18:53:30,032 - 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-05-13 18:53:30,032 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64688999-57723659 failed! 2026-05-13 18:53:30,086 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64688999:ctest-vn-23346191 is 146.75.12.193 and allocation pool is NOT set 2026-05-13 18:53:32,143 - 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=7.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.523 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.523/3.808/7.094/3.285 ms') 2026-05-13 18:53:32,143 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64688999-57723659 passed 2026-05-13 18:53:32,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:53:32,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64688999-57723659, IP 146.75.12.195, Port 22 2026-05-13 18:53:32,445 - DEBUG - VM ctest-TestBasicPolicy-64688999-57723659 is ready for SSH connections 2026-05-13 18:53:32,446 - INFO - Waiting for VM ctest-TestBasicPolicy-64688999-75430107 to be up.. 2026-05-13 18:53:32,528 - DEBUG - VM is in ACTIVE state now 2026-05-13 18:53:32,528 - INFO - VM name : ctest-TestBasicPolicy-64688999-75430107 2026-05-13 18:53:32,611 - DEBUG - VM ctest-TestBasicPolicy-64688999-75430107 ID is ba850da5-e24a-4302-8df8-43240d30e819 2026-05-13 18:53:32,611 - DEBUG - VM ctest-TestBasicPolicy-64688999-75430107 launched on Node cn-jenkins-deploy-platform-ansible-os-5775-1 2026-05-13 18:53:32,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ba850da5-e24a-4302-8df8-43240d30e819 2026-05-13 18:53:32,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2020b486-05b1-4a32-8c4f-76485bed53f5 2026-05-13 18:53:33,939 - 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=6.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.958 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.958/3.487/6.017/2.529 ms') 2026-05-13 18:53:33,939 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64688999-75430107 passed 2026-05-13 18:53:34,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:53:34,086 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64688999-75430107, IP 152.38.135.67, Port 22 2026-05-13 18:53:34,257 - DEBUG - VM ctest-TestBasicPolicy-64688999-75430107 is ready for SSH connections 2026-05-13 18:53:34,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:53:34,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.38.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-13 18:53:34,257 - DEBUG - ping -s 56 -c 3 -W 1 152.38.135.67 2026-05-13 18:53:37,965 - DEBUG - PING 152.38.135.67 (152.38.135.67): 56 data bytes 64 bytes from 152.38.135.67: seq=0 ttl=63 time=4.045 ms 64 bytes from 152.38.135.67: seq=1 ttl=63 time=1.091 ms 64 bytes from 152.38.135.67: seq=2 ttl=63 time=1.317 ms --- 152.38.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/2.151/4.045 ms 2026-05-13 18:53:37,965 - INFO - Ping to IP 152.38.135.67 from VM ctest-TestBasicPolicy-64688999-57723659 passed 2026-05-13 18:53:38,146 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d9db0724-9750-4687-a674-9bb12a09fa1c", "href": "http://10.0.0.38:8082/network-policy/d9db0724-9750-4687-a674-9bb12a09fa1c"}} 2026-05-13 18:53:38,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-13 18:53:38,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.38.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-05-13 18:53:38,146 - DEBUG - ping -s 56 -c 3 -W 1 152.38.135.67 2026-05-13 18:53:41,349 - DEBUG - PING 152.38.135.67 (152.38.135.67): 56 data bytes --- 152.38.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-13 18:53:41,350 - WARNING - Ping to IP 152.38.135.67 from VM ctest-TestBasicPolicy-64688999-57723659 failed 2026-05-13 18:53:41,350 - INFO - Deleting VM ctest-TestBasicPolicy-64688999-75430107 2026-05-13 18:53:41,421 - INFO - Deleting VM ctest-TestBasicPolicy-64688999-57723659 2026-05-13 18:53:41,810 - INFO - Deleted policy ctest-policy-allow-all-62612755 2026-05-13 18:53:41,810 - INFO - Deleting VN ctest-vn-20237941 2026-05-13 18:53:41,872 - DEBUG - VN 866660e0-9b86-4bb0-abe8-a6f530e422f6 still in use: Unable to complete operation on network 866660e0-9b86-4bb0-abe8-a6f530e422f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9f09664c-cf1b-42a2-a2fb-4fa7395ef348'] 2026-05-13 18:53:41,872 - WARNING - Deleting VN ctest-vn-20237941 failed..Will retry 2026-05-13 18:53:43,966 - DEBUG - Response for deleting network () 2026-05-13 18:53:43,966 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c89d8c7-4dcd-452f-84d7-5cd93d698fa6 2026-05-13 18:53:43,973 - DEBUG - Response Code: 404 2026-05-13 18:53:43,974 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:43,980 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:44,031 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:44,098 - INFO - Validated that VN ctest-vn-20237941 is not found in API Server 2026-05-13 18:53:44,109 - DEBUG - VN ctest-vn-20237941 is not present in Agent 10.0.0.38 2026-05-13 18:53:44,109 - INFO - Validated that VN ctest-vn-20237941 is not in any agent 2026-05-13 18:53:44,122 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20237941 info 2026-05-13 18:53:44,122 - INFO - Deleting VN ctest-vn-23346191 2026-05-13 18:53:44,222 - DEBUG - Response for deleting network () 2026-05-13 18:53:44,222 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba54c94c-3505-440c-88d8-da8d17cf112e 2026-05-13 18:53:44,232 - DEBUG - Response Code: 404 2026-05-13 18:53:44,232 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-05-13 18:53:44,237 - DEBUG - Requesting: http://10.0.0.38:8082/domain/21eb59ba-cd40-4fc0-af55-261cafd71c4c 2026-05-13 18:53:44,291 - DEBUG - Requesting: http://10.0.0.38:8082/project/ab32f997-de37-4947-984f-49449c007c46 2026-05-13 18:53:44,367 - INFO - Validated that VN ctest-vn-23346191 is not found in API Server 2026-05-13 18:53:44,377 - DEBUG - VN ctest-vn-23346191 is not present in Agent 10.0.0.38 2026-05-13 18:53:44,377 - INFO - Validated that VN ctest-vn-23346191 is not in any agent 2026-05-13 18:53:44,390 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23346191 info 2026-05-13 18:53:44,643 - DEBUG - No XMPP flaps were noticed during the test 2026-05-13 18:53:44,643 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-05-13 18:53:44,643 - INFO - -------------------------------------------------------------------------------- 2026-05-13 18:53:45,328 - INFO - Deleted project: ctest-TestBasicPolicy-64688999, ID : ab32f997-de37-4947-984f-49449c007c46