2026-07-06 20:08:58,962 - INFO - Domain Default found not creating 2026-07-06 20:08:59,097 - INFO - Project ctest-TestBasicPolicy-71387960 not found, creating it 2026-07-06 20:08:59,558 - INFO - Created Project:ctest-TestBasicPolicy-71387960, ID : 6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:01,032 - INFO - ================================================================================ 2026-07-06 20:09:01,032 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-06 20:09:01,032 - 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-07-06 20:09:01,288 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-06 20:09:01,288 - INFO - Initial checks done. Running the testcase now 2026-07-06 20:09:01,288 - INFO - 2026-07-06 20:09:01,819 - DEBUG - Response for create_network : {'network': {'id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'name': 'ctest-vn-09221263', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-09221263'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:09:02,006 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9ce0ba5-a23d-4c05-9e91-8c1c0fec6da7', 'name': '', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'network_id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'ip_version': 4, 'cidr': '201.92.163.192/26', 'allocation_pools': [{'start': '201.92.163.194', 'end': '201.92.163.254'}], 'gateway_ip': '201.92.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.92.163.194', 'tags': [], 'project_id': '6228692d77024e4baa12f07072bbf895'}} 2026-07-06 20:09:02,020 - INFO - Created VN ctest-vn-09221263 2026-07-06 20:09:02,071 - DEBUG - VN ctest-vn-09221263 UUID is 97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:02,388 - DEBUG - Response for create_network : {'network': {'id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'name': 'ctest-vn-31736688', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-31736688'], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:09:02,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fc72420-cdbc-47ac-8e5a-ce2696867570', 'name': '', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'network_id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'ip_version': 4, 'cidr': '105.109.90.128/26', 'allocation_pools': [{'start': '105.109.90.130', 'end': '105.109.90.190'}], 'gateway_ip': '105.109.90.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.109.90.130', 'tags': [], 'project_id': '6228692d77024e4baa12f07072bbf895'}} 2026-07-06 20:09:02,610 - INFO - Created VN ctest-vn-31736688 2026-07-06 20:09:02,659 - DEBUG - VN ctest-vn-31736688 UUID is 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:02,799 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263, 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-71387960:ctest-vn-31736688, 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-07-06 20:09:03,073 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97ee0852-0282-4eb5-abef-4b4c50c79ea3', 'name': 'ctest-vn-09221263', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9ce0ba5-a23d-4c05-9e91-8c1c0fec6da7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-09221263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']], 'subnet_ipam': [{'subnet_cidr': '201.92.163.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:09:03,297 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6ea25ad7-50d7-47f5-bc8e-9a4fed47013d', 'name': 'ctest-vn-31736688', 'tenant_id': '6228692d77024e4baa12f07072bbf895', 'project_id': '6228692d77024e4baa12f07072bbf895', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4fc72420-cdbc-47ac-8e5a-ce2696867570'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-vn-31736688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070']], 'subnet_ipam': [{'subnet_cidr': '105.109.90.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-06 20:09:03,463 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:03,781 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:03,805 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:03,814 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:03,881 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:03,891 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:03,898 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:03,904 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:03,909 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a8d4845a-b3f5-495e-b4d1-d73c4647eef1 2026-07-06 20:09:03,915 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 20:09:03,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:03,922 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:03,933 - INFO - Verified VN network id 12 for VN 97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:03,933 - INFO - Verifications in API Server for VN ctest-vn-09221263 passed 2026-07-06 20:09:03,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:03,940 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:03,945 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:03,950 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a8d4845a-b3f5-495e-b4d1-d73c4647eef1 2026-07-06 20:09:03,959 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71387960', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10947696892506689205', 'uuid-lslong': '12389203891064381091'}, 'enable': 'true', 'created': '2026-07-06T20:09:01', 'last-modified': '2026-07-06T20:09:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903830'} 2026-07-06 20:09:03,963 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-06 20:09:03,964 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09221263 passed 2026-07-06 20:09:03,964 - DEBUG - ====Verifying policy data for ctest-vn-09221263 in API_Server ====== 2026-07-06 20:09:03,964 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:03,968 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:03,976 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:04,044 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/97ee0852-0282-4eb5-abef-4b4c50c79ea3 2026-07-06 20:09:04,052 - DEBUG - ==>Verifying data for policy with id: 2aea6e17-c2f3-4913-a724-0a70b8345bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070'] 2026-07-06 20:09:04,052 - INFO - VN ctest-vn-09221263 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 20:09:04,052 - DEBUG - Verifying the vn in opserver 2026-07-06 20:09:04,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263 virtual network link through opserver 10.0.0.50 2026-07-06 20:09:04,052 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-06 20:09:04,369 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-06 20:09:04,412 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263?flat'} 2026-07-06 20:09:04,412 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263 is found in opserver 2026-07-06 20:09:04,420 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 20:09:04,424 - DEBUG - VRF ids for VN ctest-vn-09221263: {} 2026-07-06 20:09:04,424 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:04,429 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:04,438 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:04,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,512 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,519 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:04,525 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:04,530 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f3429f9-6c74-446b-8dca-554e5e06deee 2026-07-06 20:09:04,535 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 20:09:04,535 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,543 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:04,556 - INFO - Verified VN network id 13 for VN 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,556 - INFO - Verifications in API Server for VN ctest-vn-31736688 passed 2026-07-06 20:09:04,556 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,565 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:04,570 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:04,575 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0f3429f9-6c74-446b-8dca-554e5e06deee 2026-07-06 20:09:04,584 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71387960', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7972034171219953653', 'uuid-lslong': '13586966793897312573'}, 'enable': 'true', 'created': '2026-07-06T20:09:02', 'last-modified': '2026-07-06T20:09:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.305867'} 2026-07-06 20:09:04,589 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-06 20:09:04,589 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31736688 passed 2026-07-06 20:09:04,589 - DEBUG - ====Verifying policy data for ctest-vn-31736688 in API_Server ====== 2026-07-06 20:09:04,589 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:04,593 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:04,604 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:04,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6ea25ad7-50d7-47f5-bc8e-9a4fed47013d 2026-07-06 20:09:04,681 - DEBUG - ==>Verifying data for policy with id: 2aea6e17-c2f3-4913-a724-0a70b8345bba, fqn: ['default-domain', 'ctest-TestBasicPolicy-71387960', 'ctest-policy-allow-all-51632070'] 2026-07-06 20:09:04,681 - INFO - VN ctest-vn-31736688 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-06 20:09:04,681 - DEBUG - Verifying the vn in opserver 2026-07-06 20:09:04,681 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688 virtual network link through opserver 10.0.0.50 2026-07-06 20:09:04,681 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-06 20:09:04,690 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688?flat'} 2026-07-06 20:09:04,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-31736688 is found in opserver 2026-07-06 20:09:04,699 - DEBUG - Do not have enough data to verify VN in agent 2026-07-06 20:09:04,703 - DEBUG - VRF ids for VN ctest-vn-31736688: {} 2026-07-06 20:09:04,751 - DEBUG - Services list from nova: [, , ] 2026-07-06 20:09:05,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6086-1) 2026-07-06 20:09:05,365 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6086-1) 2026-07-06 20:09:05,366 - INFO - Waiting for VM ctest-TestBasicPolicy-71387960-27393526 to be up.. 2026-07-06 20:09:05,396 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 20:09:10,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 20:09:15,521 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-06 20:09:20,583 - DEBUG - VM is in ACTIVE state now 2026-07-06 20:09:20,584 - INFO - VM name : ctest-TestBasicPolicy-71387960-27393526 2026-07-06 20:09:20,642 - DEBUG - VM ctest-TestBasicPolicy-71387960-27393526 ID is e23a3faa-830e-418a-9fda-99e35eb3c05c 2026-07-06 20:09:20,659 - DEBUG - VM ctest-TestBasicPolicy-71387960-27393526 launched on Node cn-jenkins-deploy-platform-ansible-os-6086-1 2026-07-06 20:09:20,722 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e23a3faa-830e-418a-9fda-99e35eb3c05c 2026-07-06 20:09:20,730 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5b04480d-24e6-4652-a137-ec8c943112e4 2026-07-06 20:09:23,984 - 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-07-06 20:09:23,985 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71387960-27393526 failed! 2026-07-06 20:09:24,035 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-71387960:ctest-vn-09221263 is 201.92.163.193 and allocation pool is NOT set 2026-07-06 20:09:26,090 - 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=2.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.356 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.356/1.662/2.969/1.306 ms') 2026-07-06 20:09:26,090 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-71387960-27393526 passed 2026-07-06 20:09:26,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:09:26,236 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71387960-27393526, IP 201.92.163.195, Port 22 2026-07-06 20:09:26,390 - DEBUG - VM ctest-TestBasicPolicy-71387960-27393526 is ready for SSH connections 2026-07-06 20:09:26,390 - INFO - Waiting for VM ctest-TestBasicPolicy-71387960-23025425 to be up.. 2026-07-06 20:09:26,452 - DEBUG - VM is in ACTIVE state now 2026-07-06 20:09:26,453 - INFO - VM name : ctest-TestBasicPolicy-71387960-23025425 2026-07-06 20:09:26,513 - DEBUG - VM ctest-TestBasicPolicy-71387960-23025425 ID is a92f9ad6-9feb-47e3-8487-9de17536cda7 2026-07-06 20:09:26,514 - DEBUG - VM ctest-TestBasicPolicy-71387960-23025425 launched on Node cn-jenkins-deploy-platform-ansible-os-6086-1 2026-07-06 20:09:26,573 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a92f9ad6-9feb-47e3-8487-9de17536cda7 2026-07-06 20:09:26,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6b7c5f64-3a79-4249-92c5-0353591414f9 2026-07-06 20:09:27,809 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 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.438/1.864/3.290/1.426 ms') 2026-07-06 20:09:27,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-71387960-23025425 passed 2026-07-06 20:09:27,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:09:27,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-71387960-23025425, IP 105.109.90.131, Port 22 2026-07-06 20:09:28,118 - DEBUG - VM ctest-TestBasicPolicy-71387960-23025425 is ready for SSH connections 2026-07-06 20:09:28,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:09:28,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.109.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-06 20:09:28,119 - DEBUG - ping -s 56 -c 3 -W 1 105.109.90.131 2026-07-06 20:09:31,969 - DEBUG - PING 105.109.90.131 (105.109.90.131): 56 data bytes 64 bytes from 105.109.90.131: seq=0 ttl=63 time=3.495 ms 64 bytes from 105.109.90.131: seq=1 ttl=63 time=0.912 ms 64 bytes from 105.109.90.131: seq=2 ttl=63 time=0.848 ms --- 105.109.90.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.751/3.495 ms 2026-07-06 20:09:31,969 - INFO - Ping to IP 105.109.90.131 from VM ctest-TestBasicPolicy-71387960-27393526 passed 2026-07-06 20:09:32,147 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2aea6e17-c2f3-4913-a724-0a70b8345bba", "href": "http://10.0.0.50:8082/network-policy/2aea6e17-c2f3-4913-a724-0a70b8345bba"}} 2026-07-06 20:09:32,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-06 20:09:32,147 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.109.90.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-06 20:09:32,147 - DEBUG - ping -s 56 -c 3 -W 1 105.109.90.131 2026-07-06 20:09:35,261 - DEBUG - PING 105.109.90.131 (105.109.90.131): 56 data bytes --- 105.109.90.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-06 20:09:35,262 - WARNING - Ping to IP 105.109.90.131 from VM ctest-TestBasicPolicy-71387960-27393526 failed 2026-07-06 20:09:35,262 - INFO - Deleting VM ctest-TestBasicPolicy-71387960-23025425 2026-07-06 20:09:35,322 - INFO - Deleting VM ctest-TestBasicPolicy-71387960-27393526 2026-07-06 20:09:35,626 - INFO - Deleted policy ctest-policy-allow-all-51632070 2026-07-06 20:09:35,626 - INFO - Deleting VN ctest-vn-31736688 2026-07-06 20:09:35,652 - DEBUG - VN 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d still in use: Unable to complete operation on network 6ea25ad7-50d7-47f5-bc8e-9a4fed47013d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-03d20161-fd4d-4dac-b5b0-dc1ab54ba4d5'] 2026-07-06 20:09:35,652 - WARNING - Deleting VN ctest-vn-31736688 failed..Will retry 2026-07-06 20:09:37,754 - DEBUG - Response for deleting network () 2026-07-06 20:09:37,754 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8c450ec2-b38e-4229-ade3-07168255461a 2026-07-06 20:09:37,761 - DEBUG - Response Code: 404 2026-07-06 20:09:37,761 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:37,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:37,817 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:37,883 - INFO - Validated that VN ctest-vn-31736688 is not found in API Server 2026-07-06 20:09:37,893 - DEBUG - VN ctest-vn-31736688 is not present in Agent 10.0.0.50 2026-07-06 20:09:37,893 - INFO - Validated that VN ctest-vn-31736688 is not in any agent 2026-07-06 20:09:37,906 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31736688 info 2026-07-06 20:09:37,906 - INFO - Deleting VN ctest-vn-09221263 2026-07-06 20:09:37,996 - DEBUG - Response for deleting network () 2026-07-06 20:09:37,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e10f0cb0-6009-487f-af71-aabea4e962b3 2026-07-06 20:09:38,003 - DEBUG - Response Code: 404 2026-07-06 20:09:38,003 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-06 20:09:38,008 - DEBUG - Requesting: http://10.0.0.50:8082/domain/281f326f-481b-4c0b-bc35-6a5c400b6c4b 2026-07-06 20:09:38,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/6228692d-7702-4e4b-aa12-f07072bbf895 2026-07-06 20:09:38,131 - INFO - Validated that VN ctest-vn-09221263 is not found in API Server 2026-07-06 20:09:38,141 - DEBUG - VN ctest-vn-09221263 is not present in Agent 10.0.0.50 2026-07-06 20:09:38,141 - INFO - Validated that VN ctest-vn-09221263 is not in any agent 2026-07-06 20:09:38,158 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09221263 info 2026-07-06 20:09:38,419 - DEBUG - No XMPP flaps were noticed during the test
2026-07-06 20:09:38,419 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37]
2026-07-06 20:09:38,419 - INFO - -------------------------------------------------------------------------------- 2026-07-06 20:09:39,102 - INFO - Deleted project: ctest-TestBasicPolicy-71387960, ID : 6228692d-7702-4e4b-aa12-f07072bbf895