2026-01-28 21:35:47,653 - INFO - Domain Default found not creating 2026-01-28 21:35:47,818 - INFO - Project ctest-TestBasicPolicy-59946393 not found, creating it 2026-01-28 21:35:48,268 - INFO - Created Project:ctest-TestBasicPolicy-59946393, ID : 79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:35:49,716 - INFO - ================================================================================ 2026-01-28 21:35:49,716 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-28 21:35:49,716 - 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 21:35:49,968 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-28 21:35:49,968 - INFO - Initial checks done. Running the testcase now 2026-01-28 21:35:49,968 - INFO - 2026-01-28 21:35:50,500 - DEBUG - Response for create_network : {'network': {'id': '28dc79a3-9e74-472a-80aa-1be68a2d8fd8', 'name': 'ctest-vn-11897695', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'project_id': '79142c0bf9dc43b7b483af964230f5be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-vn-11897695'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:50,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5f760a7-d976-4885-a611-1eba8addca75', 'name': '', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'network_id': '28dc79a3-9e74-472a-80aa-1be68a2d8fd8', 'ip_version': 4, 'cidr': '158.246.187.64/26', 'allocation_pools': [{'start': '158.246.187.66', 'end': '158.246.187.126'}], 'gateway_ip': '158.246.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.246.187.66', 'tags': [], 'project_id': '79142c0bf9dc43b7b483af964230f5be'}} 2026-01-28 21:35:50,647 - INFO - Created VN ctest-vn-11897695 2026-01-28 21:35:50,699 - DEBUG - VN ctest-vn-11897695 UUID is 28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:51,032 - DEBUG - Response for create_network : {'network': {'id': 'b5a2a2c0-6156-4151-b08f-d8ce90182ff3', 'name': 'ctest-vn-73308599', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'project_id': '79142c0bf9dc43b7b483af964230f5be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-vn-73308599'], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:51,225 - DEBUG - Response for create_subnet : {'subnet': {'id': '54115aeb-6e00-4e5c-8ce8-30066321dba0', 'name': '', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'network_id': 'b5a2a2c0-6156-4151-b08f-d8ce90182ff3', 'ip_version': 4, 'cidr': '140.212.104.0/26', 'allocation_pools': [{'start': '140.212.104.2', 'end': '140.212.104.62'}], 'gateway_ip': '140.212.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.212.104.2', 'tags': [], 'project_id': '79142c0bf9dc43b7b483af964230f5be'}} 2026-01-28 21:35:51,244 - INFO - Created VN ctest-vn-73308599 2026-01-28 21:35:51,299 - DEBUG - VN ctest-vn-73308599 UUID is b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:51,406 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695, 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-59946393:ctest-vn-73308599, 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 21:35:51,699 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28dc79a3-9e74-472a-80aa-1be68a2d8fd8', 'name': 'ctest-vn-11897695', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'project_id': '79142c0bf9dc43b7b483af964230f5be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e5f760a7-d976-4885-a611-1eba8addca75'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-vn-11897695'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-policy-allow-all-14558506']], 'subnet_ipam': [{'subnet_cidr': '158.246.187.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:51,923 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5a2a2c0-6156-4151-b08f-d8ce90182ff3', 'name': 'ctest-vn-73308599', 'tenant_id': '79142c0bf9dc43b7b483af964230f5be', 'project_id': '79142c0bf9dc43b7b483af964230f5be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54115aeb-6e00-4e5c-8ce8-30066321dba0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-vn-73308599'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-policy-allow-all-14558506']], 'subnet_ipam': [{'subnet_cidr': '140.212.104.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-28 21:35:52,083 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:35:52,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:35:52,406 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:35:52,417 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:35:52,484 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,493 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,500 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:35:52,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:35:52,510 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d75fd11e-94c9-47a2-82e2-2e1abf074cd1 2026-01-28 21:35:52,516 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:35:52,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,524 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:35:52,536 - INFO - Verified VN network id 11 for VN 28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,536 - INFO - Verifications in API Server for VN ctest-vn-11897695 passed 2026-01-28 21:35:52,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,543 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:35:52,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:35:52,555 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d75fd11e-94c9-47a2-82e2-2e1abf074cd1 2026-01-28 21:35:52,564 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59946393', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2944362000038512426', 'uuid-lslong': '9271253459870257112'}, 'enable': 'true', 'created': '2026-01-28T21:35:50', 'last-modified': '2026-01-28T21:35:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884576'} 2026-01-28 21:35:52,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-28 21:35:52,569 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11897695 passed 2026-01-28 21:35:52,569 - DEBUG - ====Verifying policy data for ctest-vn-11897695 in API_Server ====== 2026-01-28 21:35:52,569 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:35:52,573 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:35:52,583 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:35:52,651 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/28dc79a3-9e74-472a-80aa-1be68a2d8fd8 2026-01-28 21:35:52,660 - DEBUG - ==>Verifying data for policy with id: 9f64716d-5dcc-43b7-90a9-be6687be078e, fqn: ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-policy-allow-all-14558506'] 2026-01-28 21:35:52,660 - INFO - VN ctest-vn-11897695 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:35:52,660 - DEBUG - Verifying the vn in opserver 2026-01-28 21:35:52,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695 virtual network link through opserver 10.0.0.38 2026-01-28 21:35:52,660 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 21:35:52,956 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 21:35:53,011 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695?flat'} 2026-01-28 21:35:53,011 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695 is found in opserver 2026-01-28 21:35:53,020 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:35:53,023 - DEBUG - VRF ids for VN ctest-vn-11897695: {} 2026-01-28 21:35:53,023 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:35:53,028 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:35:53,037 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:35:53,103 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,122 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:35:53,128 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:35:53,133 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0db5261-db9c-4c77-b336-7edba51060e3 2026-01-28 21:35:53,138 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:35:53,138 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,145 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:35:53,156 - INFO - Verified VN network id 12 for VN b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,156 - INFO - Verifications in API Server for VN ctest-vn-73308599 passed 2026-01-28 21:35:53,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,164 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:35:53,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:35:53,174 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e0db5261-db9c-4c77-b336-7edba51060e3 2026-01-28 21:35:53,184 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-73308599', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59946393', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13088202414242546001', 'uuid-lslong': '12722625854037307379'}, 'enable': 'true', 'created': '2026-01-28T21:35:51', 'last-modified': '2026-01-28T21:35:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.276506'} 2026-01-28 21:35:53,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-28 21:35:53,190 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73308599 passed 2026-01-28 21:35:53,190 - DEBUG - ====Verifying policy data for ctest-vn-73308599 in API_Server ====== 2026-01-28 21:35:53,190 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:35:53,195 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:35:53,204 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:35:53,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b5a2a2c0-6156-4151-b08f-d8ce90182ff3 2026-01-28 21:35:53,280 - DEBUG - ==>Verifying data for policy with id: 9f64716d-5dcc-43b7-90a9-be6687be078e, fqn: ['default-domain', 'ctest-TestBasicPolicy-59946393', 'ctest-policy-allow-all-14558506'] 2026-01-28 21:35:53,280 - INFO - VN ctest-vn-73308599 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-28 21:35:53,280 - DEBUG - Verifying the vn in opserver 2026-01-28 21:35:53,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-73308599 virtual network link through opserver 10.0.0.38 2026-01-28 21:35:53,280 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-28 21:35:53,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-73308599', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-73308599?flat'} 2026-01-28 21:35:53,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-73308599 is found in opserver 2026-01-28 21:35:53,296 - DEBUG - Do not have enough data to verify VN in agent 2026-01-28 21:35:53,300 - DEBUG - VRF ids for VN ctest-vn-73308599: {} 2026-01-28 21:35:53,355 - DEBUG - Services list from nova: [, , ] 2026-01-28 21:35:54,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5106-1) 2026-01-28 21:35:55,609 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5106-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5106-1) 2026-01-28 21:35:55,609 - INFO - Waiting for VM ctest-TestBasicPolicy-59946393-43798806 to be up.. 2026-01-28 21:35:55,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-28 21:36:00,766 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:36:00,766 - INFO - VM name : ctest-TestBasicPolicy-59946393-43798806 2026-01-28 21:36:00,846 - DEBUG - VM ctest-TestBasicPolicy-59946393-43798806 ID is 97d59f56-c764-4b60-b2e4-ac5ac4ff0476 2026-01-28 21:36:00,865 - DEBUG - VM ctest-TestBasicPolicy-59946393-43798806 launched on Node cn-jenkins-deploy-platform-ansible-os-5106-1 2026-01-28 21:36:00,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/97d59f56-c764-4b60-b2e4-ac5ac4ff0476 2026-01-28 21:36:00,948 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/659bdfa3-fbf4-470e-82e3-109370bda561 2026-01-28 21:36:04,199 - 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 1014ms') 2026-01-28 21:36:04,199 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59946393-43798806 failed! 2026-01-28 21:36:04,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59946393:ctest-vn-11897695 is 158.246.187.65 and allocation pool is NOT set 2026-01-28 21:36:06,316 - 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.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.733/3.072/1.339 ms') 2026-01-28 21:36:06,316 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59946393-43798806 passed 2026-01-28 21:36:06,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:36:06,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59946393-43798806, IP 158.246.187.67, Port 22 2026-01-28 21:36:06,623 - DEBUG - VM ctest-TestBasicPolicy-59946393-43798806 is ready for SSH connections 2026-01-28 21:36:06,623 - INFO - Waiting for VM ctest-TestBasicPolicy-59946393-72331213 to be up.. 2026-01-28 21:36:06,696 - DEBUG - VM is in ACTIVE state now 2026-01-28 21:36:06,697 - INFO - VM name : ctest-TestBasicPolicy-59946393-72331213 2026-01-28 21:36:06,763 - DEBUG - VM ctest-TestBasicPolicy-59946393-72331213 ID is 9d838b0b-1eb2-4247-abe0-f43fc8f55577 2026-01-28 21:36:06,764 - DEBUG - VM ctest-TestBasicPolicy-59946393-72331213 launched on Node cn-jenkins-deploy-platform-ansible-os-5106-1 2026-01-28 21:36:06,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d838b0b-1eb2-4247-abe0-f43fc8f55577 2026-01-28 21:36:06,852 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5403abb2-f1c1-4e7d-8df4-5d2f00be2281 2026-01-28 21:36:08,093 - 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=2.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.711/2.942/1.231 ms') 2026-01-28 21:36:08,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59946393-72331213 passed 2026-01-28 21:36:08,240 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:36:08,240 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59946393-72331213, IP 140.212.104.3, Port 22 2026-01-28 21:36:08,395 - DEBUG - VM ctest-TestBasicPolicy-59946393-72331213 is ready for SSH connections 2026-01-28 21:36:08,395 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:36:08,395 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.212.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-28 21:36:08,395 - DEBUG - ping -s 56 -c 3 -W 1 140.212.104.3 2026-01-28 21:36:12,094 - DEBUG - PING 140.212.104.3 (140.212.104.3): 56 data bytes 64 bytes from 140.212.104.3: seq=0 ttl=63 time=4.925 ms 64 bytes from 140.212.104.3: seq=1 ttl=63 time=1.382 ms 64 bytes from 140.212.104.3: seq=2 ttl=63 time=1.330 ms --- 140.212.104.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.330/2.545/4.925 ms 2026-01-28 21:36:12,094 - INFO - Ping to IP 140.212.104.3 from VM ctest-TestBasicPolicy-59946393-43798806 passed 2026-01-28 21:36:12,263 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9f64716d-5dcc-43b7-90a9-be6687be078e", "href": "http://10.0.0.38:8082/network-policy/9f64716d-5dcc-43b7-90a9-be6687be078e"}} 2026-01-28 21:36:12,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-28 21:36:12,263 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.212.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-28 21:36:12,264 - DEBUG - ping -s 56 -c 3 -W 1 140.212.104.3 2026-01-28 21:36:15,497 - DEBUG - PING 140.212.104.3 (140.212.104.3): 56 data bytes --- 140.212.104.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-28 21:36:15,498 - WARNING - Ping to IP 140.212.104.3 from VM ctest-TestBasicPolicy-59946393-43798806 failed 2026-01-28 21:36:15,498 - INFO - Deleting VM ctest-TestBasicPolicy-59946393-72331213 2026-01-28 21:36:15,560 - INFO - Deleting VM ctest-TestBasicPolicy-59946393-43798806 2026-01-28 21:36:15,923 - INFO - Deleted policy ctest-policy-allow-all-14558506 2026-01-28 21:36:15,923 - INFO - Deleting VN ctest-vn-73308599 2026-01-28 21:36:15,960 - DEBUG - VN b5a2a2c0-6156-4151-b08f-d8ce90182ff3 still in use: Unable to complete operation on network b5a2a2c0-6156-4151-b08f-d8ce90182ff3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bccbc434-a1c5-4070-ae94-3f042d5c4ea6'] 2026-01-28 21:36:15,960 - WARNING - Deleting VN ctest-vn-73308599 failed..Will retry 2026-01-28 21:36:18,055 - DEBUG - Response for deleting network () 2026-01-28 21:36:18,055 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3b5ff12a-418a-4a1d-8103-7329dc5bfde0 2026-01-28 21:36:18,062 - DEBUG - Response Code: 404 2026-01-28 21:36:18,065 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:36:18,070 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:36:18,125 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:36:18,195 - INFO - Validated that VN ctest-vn-73308599 is not found in API Server 2026-01-28 21:36:18,207 - DEBUG - VN ctest-vn-73308599 is not present in Agent 10.0.0.38 2026-01-28 21:36:18,207 - INFO - Validated that VN ctest-vn-73308599 is not in any agent 2026-01-28 21:36:18,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73308599 info 2026-01-28 21:36:18,219 - INFO - Deleting VN ctest-vn-11897695 2026-01-28 21:36:18,317 - DEBUG - Response for deleting network () 2026-01-28 21:36:18,317 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/44938ab8-c77c-4e8c-b94d-229fe15290a7 2026-01-28 21:36:18,322 - DEBUG - Response Code: 404 2026-01-28 21:36:18,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-28 21:36:18,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5baedca6-d545-46d8-972e-8d9bb19a5e4c 2026-01-28 21:36:18,382 - DEBUG - Requesting: http://10.0.0.38:8082/project/79142c0b-f9dc-43b7-b483-af964230f5be 2026-01-28 21:36:18,450 - INFO - Validated that VN ctest-vn-11897695 is not found in API Server 2026-01-28 21:36:18,461 - DEBUG - VN ctest-vn-11897695 is not present in Agent 10.0.0.38 2026-01-28 21:36:18,461 - INFO - Validated that VN ctest-vn-11897695 is not in any agent 2026-01-28 21:36:18,473 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11897695 info 2026-01-28 21:36:18,732 - DEBUG - No XMPP flaps were noticed during the test
2026-01-28 21:36:18,732 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-01-28 21:36:18,732 - INFO - -------------------------------------------------------------------------------- 2026-01-28 21:36:19,430 - INFO - Deleted project: ctest-TestBasicPolicy-59946393, ID : 79142c0b-f9dc-43b7-b483-af964230f5be