2026-02-02 19:48:57,129 - INFO - Domain Default found not creating 2026-02-02 19:48:57,287 - INFO - Project ctest-TestBasicPolicy-25409648 not found, creating it 2026-02-02 19:48:57,725 - INFO - Created Project:ctest-TestBasicPolicy-25409648, ID : faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:48:59,106 - INFO - ================================================================================ 2026-02-02 19:48:59,106 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 19:48:59,106 - 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-02 19:48:59,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-02-02 19:48:59,356 - INFO - Initial checks done. Running the testcase now 2026-02-02 19:48:59,356 - INFO - 2026-02-02 19:48:59,916 - DEBUG - Response for create_network : {'network': {'id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'name': 'ctest-vn-38913413', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-38913413'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:49:00,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '8686d3b5-87e7-4d45-ab8f-62ff26ae0807', 'name': '', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'network_id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'ip_version': 4, 'cidr': '15.92.24.64/26', 'allocation_pools': [{'start': '15.92.24.66', 'end': '15.92.24.126'}], 'gateway_ip': '15.92.24.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.92.24.66', 'tags': [], 'project_id': 'faffa1909c1e49e283254a25d1c85e90'}} 2026-02-02 19:49:00,110 - INFO - Created VN ctest-vn-38913413 2026-02-02 19:49:00,160 - DEBUG - VN ctest-vn-38913413 UUID is cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:00,466 - DEBUG - Response for create_network : {'network': {'id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'name': 'ctest-vn-37362578', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-37362578'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:49:00,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4faf1ea-8d69-44f5-9f31-057142097cb8', 'name': '', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'network_id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'ip_version': 4, 'cidr': '99.8.59.192/26', 'allocation_pools': [{'start': '99.8.59.194', 'end': '99.8.59.254'}], 'gateway_ip': '99.8.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.8.59.194', 'tags': [], 'project_id': 'faffa1909c1e49e283254a25d1c85e90'}} 2026-02-02 19:49:00,647 - INFO - Created VN ctest-vn-37362578 2026-02-02 19:49:00,696 - DEBUG - VN ctest-vn-37362578 UUID is 34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:00,848 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413, 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-25409648:ctest-vn-37362578, 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-02 19:49:01,140 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cc157f78-6d43-48bd-bc6b-acad53a75c63', 'name': 'ctest-vn-38913413', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8686d3b5-87e7-4d45-ab8f-62ff26ae0807'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-38913413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']], 'subnet_ipam': [{'subnet_cidr': '15.92.24.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:49:01,359 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34649fd9-b72e-4d90-b0df-8ef4a43ae95f', 'name': 'ctest-vn-37362578', 'tenant_id': 'faffa1909c1e49e283254a25d1c85e90', 'project_id': 'faffa1909c1e49e283254a25d1c85e90', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4faf1ea-8d69-44f5-9f31-057142097cb8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-vn-37362578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326']], 'subnet_ipam': [{'subnet_cidr': '99.8.59.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 19:49:01,500 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:01,795 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:01,825 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:01,835 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:01,905 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:01,915 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:01,924 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:01,930 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:01,936 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0d5ee58a-7ed9-435a-ba56-de9ce4824970 2026-02-02 19:49:01,941 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 19:49:01,941 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:01,949 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:01,962 - INFO - Verified VN network id 11 for VN cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:01,962 - INFO - Verifications in API Server for VN ctest-vn-38913413 passed 2026-02-02 19:49:01,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:01,971 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:01,976 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:01,981 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0d5ee58a-7ed9-435a-ba56-de9ce4824970 2026-02-02 19:49:01,991 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25409648', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14705800313454151869', 'uuid-lslong': '13577135362071288931'}, 'enable': 'true', 'created': '2026-02-02T19:48:59', 'last-modified': '2026-02-02T19:49:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876239'} 2026-02-02 19:49:01,996 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 19:49:01,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38913413 passed 2026-02-02 19:49:01,996 - DEBUG - ====Verifying policy data for ctest-vn-38913413 in API_Server ====== 2026-02-02 19:49:01,996 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:02,000 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:02,011 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:02,079 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/cc157f78-6d43-48bd-bc6b-acad53a75c63 2026-02-02 19:49:02,088 - DEBUG - ==>Verifying data for policy with id: b10d1854-b991-4633-aa16-0084daec55bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326'] 2026-02-02 19:49:02,088 - INFO - VN ctest-vn-38913413 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 19:49:02,089 - DEBUG - Verifying the vn in opserver 2026-02-02 19:49:02,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413 virtual network link through opserver 10.0.0.33 2026-02-02 19:49:02,089 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-02 19:49:02,383 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-02 19:49:02,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413?flat'} 2026-02-02 19:49:02,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413 is found in opserver 2026-02-02 19:49:02,457 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 19:49:02,461 - DEBUG - VRF ids for VN ctest-vn-38913413: {} 2026-02-02 19:49:02,461 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:02,466 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:02,475 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:02,541 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,551 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,559 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:02,565 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:02,570 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d9da98a3-e124-435f-be1e-f9020039fcd6 2026-02-02 19:49:02,576 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 19:49:02,576 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,583 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:02,593 - INFO - Verified VN network id 12 for VN 34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,593 - INFO - Verifications in API Server for VN ctest-vn-37362578 passed 2026-02-02 19:49:02,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,601 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:02,606 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:02,612 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d9da98a3-e124-435f-be1e-f9020039fcd6 2026-02-02 19:49:02,622 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25409648', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3775318145073302928', 'uuid-lslong': '12745062651860281695'}, 'enable': 'true', 'created': '2026-02-02T19:49:00', 'last-modified': '2026-02-02T19:49:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.284950'} 2026-02-02 19:49:02,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 19:49:02,627 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37362578 passed 2026-02-02 19:49:02,627 - DEBUG - ====Verifying policy data for ctest-vn-37362578 in API_Server ====== 2026-02-02 19:49:02,627 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:02,632 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:02,643 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:02,710 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/34649fd9-b72e-4d90-b0df-8ef4a43ae95f 2026-02-02 19:49:02,718 - DEBUG - ==>Verifying data for policy with id: b10d1854-b991-4633-aa16-0084daec55bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-25409648', 'ctest-policy-allow-all-10152326'] 2026-02-02 19:49:02,718 - INFO - VN ctest-vn-37362578 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 19:49:02,718 - DEBUG - Verifying the vn in opserver 2026-02-02 19:49:02,718 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578 virtual network link through opserver 10.0.0.33 2026-02-02 19:49:02,718 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-02-02 19:49:02,726 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578?flat'} 2026-02-02 19:49:02,726 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-37362578 is found in opserver 2026-02-02 19:49:02,735 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 19:49:02,739 - DEBUG - VRF ids for VN ctest-vn-37362578: {} 2026-02-02 19:49:02,792 - DEBUG - Services list from nova: [, , ] 2026-02-02 19:49:03,773 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5177-1) 2026-02-02 19:49:04,816 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5177-1) 2026-02-02 19:49:04,816 - INFO - Waiting for VM ctest-TestBasicPolicy-25409648-29962230 to be up.. 2026-02-02 19:49:04,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 19:49:09,969 - DEBUG - VM is in ACTIVE state now 2026-02-02 19:49:09,969 - INFO - VM name : ctest-TestBasicPolicy-25409648-29962230 2026-02-02 19:49:10,037 - DEBUG - VM ctest-TestBasicPolicy-25409648-29962230 ID is 0933887b-dabf-41c7-abbc-a83cad40c63e 2026-02-02 19:49:10,055 - DEBUG - VM ctest-TestBasicPolicy-25409648-29962230 launched on Node cn-jenkins-deploy-platform-ansible-os-5177-1 2026-02-02 19:49:10,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0933887b-dabf-41c7-abbc-a83cad40c63e 2026-02-02 19:49:10,130 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7b9cab20-f731-4d0a-9bfc-6efd28c7ccde 2026-02-02 19:49:13,370 - 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 1015ms') 2026-02-02 19:49:13,371 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25409648-29962230 failed! 2026-02-02 19:49:13,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25409648:ctest-vn-38913413 is 15.92.24.65 and allocation pool is NOT set 2026-02-02 19:49:15,480 - 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=4.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.483 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.483/2.630/4.778/2.147 ms') 2026-02-02 19:49:15,480 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25409648-29962230 passed 2026-02-02 19:49:15,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:49:15,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25409648-29962230, IP 15.92.24.67, Port 22 2026-02-02 19:49:15,784 - DEBUG - VM ctest-TestBasicPolicy-25409648-29962230 is ready for SSH connections 2026-02-02 19:49:15,784 - INFO - Waiting for VM ctest-TestBasicPolicy-25409648-91888077 to be up.. 2026-02-02 19:49:15,856 - DEBUG - VM is in ACTIVE state now 2026-02-02 19:49:15,856 - INFO - VM name : ctest-TestBasicPolicy-25409648-91888077 2026-02-02 19:49:15,921 - DEBUG - VM ctest-TestBasicPolicy-25409648-91888077 ID is 20a6db53-a5d3-4b20-8768-b65ac49cdde8 2026-02-02 19:49:15,921 - DEBUG - VM ctest-TestBasicPolicy-25409648-91888077 launched on Node cn-jenkins-deploy-platform-ansible-os-5177-1 2026-02-02 19:49:15,987 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/20a6db53-a5d3-4b20-8768-b65ac49cdde8 2026-02-02 19:49:15,995 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cdc80373-32df-4fca-9a20-9648d5081987 2026-02-02 19:49:17,227 - 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=5.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.27 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 = 1.273/3.151/5.029/1.878 ms') 2026-02-02 19:49:17,227 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25409648-91888077 passed 2026-02-02 19:49:17,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:49:17,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25409648-91888077, IP 99.8.59.195, Port 22 2026-02-02 19:49:17,524 - DEBUG - VM ctest-TestBasicPolicy-25409648-91888077 is ready for SSH connections 2026-02-02 19:49:17,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:49:17,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.8.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-02 19:49:17,524 - DEBUG - ping -s 56 -c 3 -W 1 99.8.59.195 2026-02-02 19:49:21,206 - DEBUG - PING 99.8.59.195 (99.8.59.195): 56 data bytes 64 bytes from 99.8.59.195: seq=0 ttl=63 time=3.667 ms 64 bytes from 99.8.59.195: seq=1 ttl=63 time=1.028 ms 64 bytes from 99.8.59.195: seq=2 ttl=63 time=0.788 ms --- 99.8.59.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.788/1.827/3.667 ms 2026-02-02 19:49:21,207 - INFO - Ping to IP 99.8.59.195 from VM ctest-TestBasicPolicy-25409648-29962230 passed 2026-02-02 19:49:21,384 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b10d1854-b991-4633-aa16-0084daec55bf", "href": "http://10.0.0.33:8082/network-policy/b10d1854-b991-4633-aa16-0084daec55bf"}} 2026-02-02 19:49:21,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 19:49:21,384 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.8.59.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-02-02 19:49:21,384 - DEBUG - ping -s 56 -c 3 -W 1 99.8.59.195 2026-02-02 19:49:24,586 - DEBUG - PING 99.8.59.195 (99.8.59.195): 56 data bytes --- 99.8.59.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 19:49:24,586 - WARNING - Ping to IP 99.8.59.195 from VM ctest-TestBasicPolicy-25409648-29962230 failed 2026-02-02 19:49:24,586 - INFO - Deleting VM ctest-TestBasicPolicy-25409648-91888077 2026-02-02 19:49:24,656 - INFO - Deleting VM ctest-TestBasicPolicy-25409648-29962230 2026-02-02 19:49:24,999 - INFO - Deleted policy ctest-policy-allow-all-10152326 2026-02-02 19:49:25,000 - INFO - Deleting VN ctest-vn-37362578 2026-02-02 19:49:25,035 - DEBUG - VN 34649fd9-b72e-4d90-b0df-8ef4a43ae95f still in use: Unable to complete operation on network 34649fd9-b72e-4d90-b0df-8ef4a43ae95f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c49320bc-d201-479e-911a-cb1e84eedbf3'] 2026-02-02 19:49:25,035 - WARNING - Deleting VN ctest-vn-37362578 failed..Will retry 2026-02-02 19:49:27,126 - DEBUG - Response for deleting network () 2026-02-02 19:49:27,126 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c7e6c2c0-3337-4bff-9f78-82fcf985ff62 2026-02-02 19:49:27,131 - DEBUG - Response Code: 404 2026-02-02 19:49:27,131 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:27,137 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:27,189 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:27,262 - INFO - Validated that VN ctest-vn-37362578 is not found in API Server 2026-02-02 19:49:27,270 - DEBUG - VN ctest-vn-37362578 is not present in Agent 10.0.0.33 2026-02-02 19:49:27,270 - INFO - Validated that VN ctest-vn-37362578 is not in any agent 2026-02-02 19:49:27,282 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37362578 info 2026-02-02 19:49:27,282 - INFO - Deleting VN ctest-vn-38913413 2026-02-02 19:49:27,380 - DEBUG - Response for deleting network () 2026-02-02 19:49:27,380 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/eccada84-b192-4280-af40-30d88b306b62 2026-02-02 19:49:27,388 - DEBUG - Response Code: 404 2026-02-02 19:49:27,389 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-02-02 19:49:27,393 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1f306c58-41d9-464a-bcdb-65e99ba89d24 2026-02-02 19:49:27,445 - DEBUG - Requesting: http://10.0.0.33:8082/project/faffa190-9c1e-49e2-8325-4a25d1c85e90 2026-02-02 19:49:27,514 - INFO - Validated that VN ctest-vn-38913413 is not found in API Server 2026-02-02 19:49:27,523 - DEBUG - VN ctest-vn-38913413 is not present in Agent 10.0.0.33 2026-02-02 19:49:27,524 - INFO - Validated that VN ctest-vn-38913413 is not in any agent 2026-02-02 19:49:27,535 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38913413 info 2026-02-02 19:49:27,784 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 19:49:27,784 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2026-02-02 19:49:27,784 - INFO - -------------------------------------------------------------------------------- 2026-02-02 19:49:28,476 - INFO - Deleted project: ctest-TestBasicPolicy-25409648, ID : faffa190-9c1e-49e2-8325-4a25d1c85e90