2026-02-09 02:09:39,749 - INFO - Domain Default found not creating 2026-02-09 02:09:39,910 - INFO - Project ctest-TestBasicPolicy-16031842 not found, creating it 2026-02-09 02:09:40,351 - INFO - Created Project:ctest-TestBasicPolicy-16031842, ID : dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:09:41,788 - INFO - ================================================================================ 2026-02-09 02:09:41,788 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 02:09:41,789 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-02-09 02:09:42,043 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.129': '0'}} with 2026-02-09 02:09:42,043 - INFO - Initial checks done. Running the testcase now 2026-02-09 02:09:42,044 - INFO - 2026-02-09 02:09:42,584 - DEBUG - Response for create_network : {'network': {'id': 'bd4faf2e-5ae6-47ea-a283-3b783275e22c', 'name': 'ctest-vn-71092617', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-vn-71092617'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:09:42,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '24deb62c-ca78-43a8-8b22-5484caffc60e', 'name': '', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'network_id': 'bd4faf2e-5ae6-47ea-a283-3b783275e22c', 'ip_version': 4, 'cidr': '78.158.66.64/26', 'allocation_pools': [{'start': '78.158.66.66', 'end': '78.158.66.126'}], 'gateway_ip': '78.158.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.158.66.66', 'tags': [], 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9'}} 2026-02-09 02:09:42,815 - INFO - Created VN ctest-vn-71092617 2026-02-09 02:09:42,866 - DEBUG - VN ctest-vn-71092617 UUID is bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:43,175 - DEBUG - Response for create_network : {'network': {'id': '955d1dbc-2e65-454f-b234-9460cdb1d680', 'name': 'ctest-vn-02701849', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-vn-02701849'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:09:43,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '564ee12e-2977-429d-9868-8509ca031a91', 'name': '', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'network_id': '955d1dbc-2e65-454f-b234-9460cdb1d680', 'ip_version': 4, 'cidr': '33.239.38.0/26', 'allocation_pools': [{'start': '33.239.38.2', 'end': '33.239.38.62'}], 'gateway_ip': '33.239.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.239.38.2', 'tags': [], 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9'}} 2026-02-09 02:09:43,343 - INFO - Created VN ctest-vn-02701849 2026-02-09 02:09:43,394 - DEBUG - VN ctest-vn-02701849 UUID is 955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:43,538 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617, 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-16031842:ctest-vn-02701849, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-02-09 02:09:43,816 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bd4faf2e-5ae6-47ea-a283-3b783275e22c', 'name': 'ctest-vn-71092617', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24deb62c-ca78-43a8-8b22-5484caffc60e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-vn-71092617'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-policy-allow-all-90323485']], 'subnet_ipam': [{'subnet_cidr': '78.158.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:09:44,034 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '955d1dbc-2e65-454f-b234-9460cdb1d680', 'name': 'ctest-vn-02701849', 'tenant_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'project_id': 'dc68969e8fe9425487ac1ad2b1ffd5a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['564ee12e-2977-429d-9868-8509ca031a91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-vn-02701849'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-policy-allow-all-90323485']], 'subnet_ipam': [{'subnet_cidr': '33.239.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 02:09:44,194 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:09:44,489 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:09:44,519 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:09:44,533 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:09:44,610 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,621 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,632 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:09:44,640 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:09:44,648 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/e14601ad-bd61-4eca-a1df-e3a47df42596 2026-02-09 02:09:44,654 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:09:44,654 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,665 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:09:44,680 - INFO - Verified VN network id 11 for VN bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,680 - INFO - Verifications in API Server for VN ctest-vn-71092617 passed 2026-02-09 02:09:44,680 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,690 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:09:44,698 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:09:44,706 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/e14601ad-bd61-4eca-a1df-e3a47df42596 2026-02-09 02:09:44,719 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16031842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13641314409956919274', 'uuid-lslong': '11710268843522122284'}, 'enable': 'true', 'created': '2026-02-09T02:09:42', 'last-modified': '2026-02-09T02:09:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921334'} 2026-02-09 02:09:44,726 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 02:09:44,727 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71092617 passed 2026-02-09 02:09:44,727 - DEBUG - ====Verifying policy data for ctest-vn-71092617 in API_Server ====== 2026-02-09 02:09:44,727 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:09:44,733 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:09:44,745 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:09:44,818 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/bd4faf2e-5ae6-47ea-a283-3b783275e22c 2026-02-09 02:09:44,827 - DEBUG - ==>Verifying data for policy with id: 8a410454-375e-4072-8244-ee9e93f3af0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-policy-allow-all-90323485'] 2026-02-09 02:09:44,827 - INFO - VN ctest-vn-71092617 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:09:44,827 - DEBUG - Verifying the vn in opserver 2026-02-09 02:09:44,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617 virtual network link through opserver 10.0.0.240 2026-02-09 02:09:44,827 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-09 02:09:45,124 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-09 02:09:45,179 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617?flat'} 2026-02-09 02:09:45,179 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617 is found in opserver 2026-02-09 02:09:45,188 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:09:45,192 - DEBUG - VRF ids for VN ctest-vn-71092617: {} 2026-02-09 02:09:45,192 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:09:45,196 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:09:45,206 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:09:45,273 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,282 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,290 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:09:45,295 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:09:45,300 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/373eb2a2-d10c-4d0e-94e8-83f1f5fa705e 2026-02-09 02:09:45,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 02:09:45,306 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,312 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:09:45,323 - INFO - Verified VN network id 12 for VN 955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,323 - INFO - Verifications in API Server for VN ctest-vn-02701849 passed 2026-02-09 02:09:45,323 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,330 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:09:45,336 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:09:45,343 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/373eb2a2-d10c-4d0e-94e8-83f1f5fa705e 2026-02-09 02:09:45,354 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-02701849', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16031842', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10762791378554799439', 'uuid-lslong': '12841051581028882048'}, 'enable': 'true', 'created': '2026-02-09T02:09:43', 'last-modified': '2026-02-09T02:09:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.339277'} 2026-02-09 02:09:45,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 02:09:45,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02701849 passed 2026-02-09 02:09:45,359 - DEBUG - ====Verifying policy data for ctest-vn-02701849 in API_Server ====== 2026-02-09 02:09:45,359 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:09:45,365 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:09:45,378 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:09:45,446 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/955d1dbc-2e65-454f-b234-9460cdb1d680 2026-02-09 02:09:45,456 - DEBUG - ==>Verifying data for policy with id: 8a410454-375e-4072-8244-ee9e93f3af0d, fqn: ['default-domain', 'ctest-TestBasicPolicy-16031842', 'ctest-policy-allow-all-90323485'] 2026-02-09 02:09:45,456 - INFO - VN ctest-vn-02701849 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 02:09:45,456 - DEBUG - Verifying the vn in opserver 2026-02-09 02:09:45,456 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-02701849 virtual network link through opserver 10.0.0.240 2026-02-09 02:09:45,456 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks 2026-02-09 02:09:45,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-02701849', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-02701849?flat'} 2026-02-09 02:09:45,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-02701849 is found in opserver 2026-02-09 02:09:45,476 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 02:09:45,481 - DEBUG - VRF ids for VN ctest-vn-02701849: {} 2026-02-09 02:09:45,535 - DEBUG - Services list from nova: [, , ] 2026-02-09 02:09:46,516 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5237-1) 2026-02-09 02:09:47,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5237-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5237-1) 2026-02-09 02:09:47,622 - INFO - Waiting for VM ctest-TestBasicPolicy-16031842-45181447 to be up.. 2026-02-09 02:09:47,706 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 02:09:52,776 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:09:52,777 - INFO - VM name : ctest-TestBasicPolicy-16031842-45181447 2026-02-09 02:09:52,846 - DEBUG - VM ctest-TestBasicPolicy-16031842-45181447 ID is 083e2c46-a9e9-465c-9b56-778170e3a9d9 2026-02-09 02:09:52,863 - DEBUG - VM ctest-TestBasicPolicy-16031842-45181447 launched on Node cn-jenkins-deploy-platform-ansible-os-5237-1 2026-02-09 02:09:52,927 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/083e2c46-a9e9-465c-9b56-778170e3a9d9 2026-02-09 02:09:52,934 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/696c6c6a-a9a2-4305-ad29-fbe720acdb39 2026-02-09 02:09:56,184 - 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 1020ms') 2026-02-09 02:09:56,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16031842-45181447 failed! 2026-02-09 02:09:56,238 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16031842:ctest-vn-71092617 is 78.158.66.65 and allocation pool is NOT set 2026-02-09 02:09:58,294 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.529 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.529/1.555/2.581/1.026 ms') 2026-02-09 02:09:58,295 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16031842-45181447 passed 2026-02-09 02:09:58,442 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:09:58,442 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16031842-45181447, IP 78.158.66.67, Port 22 2026-02-09 02:09:58,593 - DEBUG - VM ctest-TestBasicPolicy-16031842-45181447 is ready for SSH connections 2026-02-09 02:09:58,593 - INFO - Waiting for VM ctest-TestBasicPolicy-16031842-88330689 to be up.. 2026-02-09 02:09:58,662 - DEBUG - VM is in ACTIVE state now 2026-02-09 02:09:58,662 - INFO - VM name : ctest-TestBasicPolicy-16031842-88330689 2026-02-09 02:09:58,726 - DEBUG - VM ctest-TestBasicPolicy-16031842-88330689 ID is 167b47e0-907f-4523-ae9e-0c660d84661b 2026-02-09 02:09:58,726 - DEBUG - VM ctest-TestBasicPolicy-16031842-88330689 launched on Node cn-jenkins-deploy-platform-ansible-os-5237-1 2026-02-09 02:09:58,802 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/167b47e0-907f-4523-ae9e-0c660d84661b 2026-02-09 02:09:58,810 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/32c1c00d-a2bf-46ae-bd2f-50a42feaa2f9 2026-02-09 02:10:00,051 - 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.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.500 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.500/1.597/2.694/1.097 ms') 2026-02-09 02:10:00,051 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16031842-88330689 passed 2026-02-09 02:10:00,206 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:10:00,206 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16031842-88330689, IP 33.239.38.3, Port 22 2026-02-09 02:10:00,362 - DEBUG - VM ctest-TestBasicPolicy-16031842-88330689 is ready for SSH connections 2026-02-09 02:10:00,362 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:10:00,362 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.239.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-02-09 02:10:00,362 - DEBUG - ping -s 56 -c 3 -W 1 33.239.38.3 2026-02-09 02:10:04,427 - DEBUG - PING 33.239.38.3 (33.239.38.3): 56 data bytes 64 bytes from 33.239.38.3: seq=0 ttl=63 time=3.115 ms 64 bytes from 33.239.38.3: seq=1 ttl=63 time=0.866 ms 64 bytes from 33.239.38.3: seq=2 ttl=63 time=1.086 ms --- 33.239.38.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.689/3.115 ms 2026-02-09 02:10:04,427 - INFO - Ping to IP 33.239.38.3 from VM ctest-TestBasicPolicy-16031842-45181447 passed 2026-02-09 02:10:04,602 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a410454-375e-4072-8244-ee9e93f3af0d", "href": "http://10.0.0.240:8082/network-policy/8a410454-375e-4072-8244-ee9e93f3af0d"}} 2026-02-09 02:10:04,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 02:10:04,602 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.239.38.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-02-09 02:10:04,602 - DEBUG - ping -s 56 -c 3 -W 1 33.239.38.3 2026-02-09 02:10:07,822 - DEBUG - PING 33.239.38.3 (33.239.38.3): 56 data bytes --- 33.239.38.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 02:10:07,822 - WARNING - Ping to IP 33.239.38.3 from VM ctest-TestBasicPolicy-16031842-45181447 failed 2026-02-09 02:10:07,822 - INFO - Deleting VM ctest-TestBasicPolicy-16031842-88330689 2026-02-09 02:10:07,893 - INFO - Deleting VM ctest-TestBasicPolicy-16031842-45181447 2026-02-09 02:10:08,278 - INFO - Deleted policy ctest-policy-allow-all-90323485 2026-02-09 02:10:08,279 - INFO - Deleting VN ctest-vn-02701849 2026-02-09 02:10:08,311 - DEBUG - VN 955d1dbc-2e65-454f-b234-9460cdb1d680 still in use: Unable to complete operation on network 955d1dbc-2e65-454f-b234-9460cdb1d680. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d242166d-7058-48ef-b2ac-42f9a7935e39'] 2026-02-09 02:10:08,311 - WARNING - Deleting VN ctest-vn-02701849 failed..Will retry 2026-02-09 02:10:10,414 - DEBUG - Response for deleting network () 2026-02-09 02:10:10,414 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/b07b4344-5b25-4712-b42c-ad9f47786da4 2026-02-09 02:10:10,422 - DEBUG - Response Code: 404 2026-02-09 02:10:10,422 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:10:10,427 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:10:10,479 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:10:10,545 - INFO - Validated that VN ctest-vn-02701849 is not found in API Server 2026-02-09 02:10:10,555 - DEBUG - VN ctest-vn-02701849 is not present in Agent 10.0.0.240 2026-02-09 02:10:10,555 - INFO - Validated that VN ctest-vn-02701849 is not in any agent 2026-02-09 02:10:10,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02701849 info 2026-02-09 02:10:10,571 - INFO - Deleting VN ctest-vn-71092617 2026-02-09 02:10:10,664 - DEBUG - Response for deleting network () 2026-02-09 02:10:10,664 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/aadeab92-01fa-4ad8-aa4b-b7ece1ee82ed 2026-02-09 02:10:10,672 - DEBUG - Response Code: 404 2026-02-09 02:10:10,672 - DEBUG - Requesting: http://10.0.0.240:8082/domains 2026-02-09 02:10:10,677 - DEBUG - Requesting: http://10.0.0.240:8082/domain/7470f268-9049-41c4-9352-79f6bcd272f1 2026-02-09 02:10:10,728 - DEBUG - Requesting: http://10.0.0.240:8082/project/dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9 2026-02-09 02:10:10,797 - INFO - Validated that VN ctest-vn-71092617 is not found in API Server 2026-02-09 02:10:10,806 - DEBUG - VN ctest-vn-71092617 is not present in Agent 10.0.0.240 2026-02-09 02:10:10,806 - INFO - Validated that VN ctest-vn-71092617 is not in any agent 2026-02-09 02:10:10,818 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71092617 info 2026-02-09 02:10:11,075 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 02:10:11,075 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-09 02:10:11,075 - INFO - -------------------------------------------------------------------------------- 2026-02-09 02:10:11,764 - INFO - Deleted project: ctest-TestBasicPolicy-16031842, ID : dc68969e-8fe9-4254-87ac-1ad2b1ffd5a9