2026-02-09 20:33:51,856 - INFO - Domain Default found not creating 2026-02-09 20:33:52,000 - INFO - Project ctest-TestBasicPolicy-33481409 not found, creating it 2026-02-09 20:33:52,428 - INFO - Created Project:ctest-TestBasicPolicy-33481409, ID : bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:33:53,819 - INFO - ================================================================================ 2026-02-09 20:33:53,819 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 20:33:53,819 - 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 20:33:54,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2026-02-09 20:33:54,073 - INFO - Initial checks done. Running the testcase now 2026-02-09 20:33:54,073 - INFO - 2026-02-09 20:33:54,583 - DEBUG - Response for create_network : {'network': {'id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'name': 'ctest-vn-67629435', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-67629435'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:54,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '9607b950-e1e1-415b-b545-b87409260c2f', 'name': '', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'network_id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'ip_version': 4, 'cidr': '170.104.8.0/26', 'allocation_pools': [{'start': '170.104.8.2', 'end': '170.104.8.62'}], 'gateway_ip': '170.104.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.104.8.2', 'tags': [], 'project_id': 'bff3b76d799744d999456694e191dc18'}} 2026-02-09 20:33:54,774 - INFO - Created VN ctest-vn-67629435 2026-02-09 20:33:54,825 - DEBUG - VN ctest-vn-67629435 UUID is 16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:55,105 - DEBUG - Response for create_network : {'network': {'id': '5b0674e1-d867-44de-828e-3bec705779d2', 'name': 'ctest-vn-97103488', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-97103488'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:55,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '2105cca8-090d-4f2f-b4e6-71d2074be74b', 'name': '', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'network_id': '5b0674e1-d867-44de-828e-3bec705779d2', 'ip_version': 4, 'cidr': '76.95.182.0/26', 'allocation_pools': [{'start': '76.95.182.2', 'end': '76.95.182.62'}], 'gateway_ip': '76.95.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.95.182.2', 'tags': [], 'project_id': 'bff3b76d799744d999456694e191dc18'}} 2026-02-09 20:33:55,257 - INFO - Created VN ctest-vn-97103488 2026-02-09 20:33:55,309 - DEBUG - VN ctest-vn-97103488 UUID is 5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:55,453 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435, 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-33481409:ctest-vn-97103488, 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 20:33:55,733 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'name': 'ctest-vn-67629435', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9607b950-e1e1-415b-b545-b87409260c2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-67629435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']], 'subnet_ipam': [{'subnet_cidr': '170.104.8.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:55,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b0674e1-d867-44de-828e-3bec705779d2', 'name': 'ctest-vn-97103488', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2105cca8-090d-4f2f-b4e6-71d2074be74b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-97103488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']], 'subnet_ipam': [{'subnet_cidr': '76.95.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 20:33:56,101 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:33:56,392 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:33:56,421 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:33:56,431 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:33:56,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,505 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:33:56,519 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:33:56,524 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/dcf331b4-c166-4838-9658-070b94a2dcc8 2026-02-09 20:33:56,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 20:33:56,530 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,537 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:33:56,548 - INFO - Verified VN network id 11 for VN 16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,548 - INFO - Verifications in API Server for VN ctest-vn-67629435 passed 2026-02-09 20:33:56,548 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,555 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:33:56,561 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:33:56,566 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/dcf331b4-c166-4838-9658-070b94a2dcc8 2026-02-09 20:33:56,576 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33481409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1647757230539885467', 'uuid-lslong': '13801306808606839248'}, 'enable': 'true', 'created': '2026-02-09T20:33:54', 'last-modified': '2026-02-09T20:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.863487'} 2026-02-09 20:33:56,581 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 20:33:56,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67629435 passed 2026-02-09 20:33:56,581 - DEBUG - ====Verifying policy data for ctest-vn-67629435 in API_Server ====== 2026-02-09 20:33:56,582 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:33:56,586 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:33:56,598 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:33:56,666 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0 2026-02-09 20:33:56,674 - DEBUG - ==>Verifying data for policy with id: 13c54e60-5592-4b15-a991-7758fa4b3330, fqn: ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706'] 2026-02-09 20:33:56,674 - INFO - VN ctest-vn-67629435 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 20:33:56,674 - DEBUG - Verifying the vn in opserver 2026-02-09 20:33:56,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435 virtual network link through opserver 10.0.0.73 2026-02-09 20:33:56,674 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-09 20:33:56,961 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-09 20:33:57,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435?flat'} 2026-02-09 20:33:57,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435 is found in opserver 2026-02-09 20:33:57,025 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 20:33:57,029 - DEBUG - VRF ids for VN ctest-vn-67629435: {} 2026-02-09 20:33:57,029 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:33:57,033 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:33:57,042 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:33:57,109 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,119 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,126 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:33:57,132 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:33:57,138 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f97082ef-ba94-4c9b-8687-9fb4e00f28cd 2026-02-09 20:33:57,143 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 20:33:57,143 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,151 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:33:57,162 - INFO - Verified VN network id 12 for VN 5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,162 - INFO - Verifications in API Server for VN ctest-vn-97103488 passed 2026-02-09 20:33:57,162 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,169 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:33:57,175 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:33:57,180 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f97082ef-ba94-4c9b-8687-9fb4e00f28cd 2026-02-09 20:33:57,188 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33481409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6559058420658816222', 'uuid-lslong': '9407522558306646482'}, 'enable': 'true', 'created': '2026-02-09T20:33:55', 'last-modified': '2026-02-09T20:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260925'} 2026-02-09 20:33:57,193 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 20:33:57,193 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97103488 passed 2026-02-09 20:33:57,193 - DEBUG - ====Verifying policy data for ctest-vn-97103488 in API_Server ====== 2026-02-09 20:33:57,193 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:33:57,198 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:33:57,208 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:33:57,274 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2 2026-02-09 20:33:57,281 - DEBUG - ==>Verifying data for policy with id: 13c54e60-5592-4b15-a991-7758fa4b3330, fqn: ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706'] 2026-02-09 20:33:57,281 - INFO - VN ctest-vn-97103488 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 20:33:57,281 - DEBUG - Verifying the vn in opserver 2026-02-09 20:33:57,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488 virtual network link through opserver 10.0.0.73 2026-02-09 20:33:57,281 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-09 20:33:57,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488?flat'} 2026-02-09 20:33:57,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488 is found in opserver 2026-02-09 20:33:57,298 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 20:33:57,302 - DEBUG - VRF ids for VN ctest-vn-97103488: {} 2026-02-09 20:33:57,350 - DEBUG - Services list from nova: [, , ] 2026-02-09 20:33:58,307 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1) 2026-02-09 20:33:59,409 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5249-1) 2026-02-09 20:33:59,410 - INFO - Waiting for VM ctest-TestBasicPolicy-33481409-58835122 to be up.. 2026-02-09 20:33:59,494 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 20:34:04,575 - DEBUG - VM is in ACTIVE state now 2026-02-09 20:34:04,575 - INFO - VM name : ctest-TestBasicPolicy-33481409-58835122 2026-02-09 20:34:04,648 - DEBUG - VM ctest-TestBasicPolicy-33481409-58835122 ID is d58abd21-d7dc-4a2f-a4b1-9558258cda6c 2026-02-09 20:34:04,669 - DEBUG - VM ctest-TestBasicPolicy-33481409-58835122 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1 2026-02-09 20:34:04,735 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/d58abd21-d7dc-4a2f-a4b1-9558258cda6c 2026-02-09 20:34:04,742 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/73db8dc7-8d28-4a70-9f66-f6af0e296552 2026-02-09 20:34:07,993 - 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 1028ms') 2026-02-09 20:34:07,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33481409-58835122 failed! 2026-02-09 20:34:08,045 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435 is 170.104.8.1 and allocation pool is NOT set 2026-02-09 20:34:10,109 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.571 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.571/1.705/2.839/1.134 ms') 2026-02-09 20:34:10,109 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33481409-58835122 passed 2026-02-09 20:34:10,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:34:10,257 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33481409-58835122, IP 170.104.8.3, Port 22 2026-02-09 20:34:10,413 - DEBUG - VM ctest-TestBasicPolicy-33481409-58835122 is ready for SSH connections 2026-02-09 20:34:10,413 - INFO - Waiting for VM ctest-TestBasicPolicy-33481409-27347307 to be up.. 2026-02-09 20:34:10,480 - DEBUG - VM is in ACTIVE state now 2026-02-09 20:34:10,480 - INFO - VM name : ctest-TestBasicPolicy-33481409-27347307 2026-02-09 20:34:10,545 - DEBUG - VM ctest-TestBasicPolicy-33481409-27347307 ID is f98e8049-8c7f-4f18-ac7d-8618527f8312 2026-02-09 20:34:10,545 - DEBUG - VM ctest-TestBasicPolicy-33481409-27347307 launched on Node cn-jenkins-deploy-platform-ansible-os-5249-1 2026-02-09 20:34:10,612 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/f98e8049-8c7f-4f18-ac7d-8618527f8312 2026-02-09 20:34:10,619 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/e201e6f0-8720-4993-bd59-7411c98c48cc 2026-02-09 20:34:11,854 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.419 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.419/1.508/2.598/1.089 ms') 2026-02-09 20:34:11,854 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33481409-27347307 passed 2026-02-09 20:34:12,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:34:12,005 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33481409-27347307, IP 76.95.182.3, Port 22 2026-02-09 20:34:12,161 - DEBUG - VM ctest-TestBasicPolicy-33481409-27347307 is ready for SSH connections 2026-02-09 20:34:12,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:34:12,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.95.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-09 20:34:12,161 - DEBUG - ping -s 56 -c 3 -W 1 76.95.182.3 2026-02-09 20:34:15,833 - DEBUG - PING 76.95.182.3 (76.95.182.3): 56 data bytes 64 bytes from 76.95.182.3: seq=0 ttl=63 time=3.690 ms 64 bytes from 76.95.182.3: seq=1 ttl=63 time=0.918 ms 64 bytes from 76.95.182.3: seq=2 ttl=63 time=0.774 ms --- 76.95.182.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.794/3.690 ms 2026-02-09 20:34:15,833 - INFO - Ping to IP 76.95.182.3 from VM ctest-TestBasicPolicy-33481409-58835122 passed 2026-02-09 20:34:16,005 - DEBUG - Policy Update Response {"network-policy": {"uuid": "13c54e60-5592-4b15-a991-7758fa4b3330", "href": "http://10.0.0.73:8082/network-policy/13c54e60-5592-4b15-a991-7758fa4b3330"}} 2026-02-09 20:34:16,005 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 20:34:16,005 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.95.182.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-09 20:34:16,005 - DEBUG - ping -s 56 -c 3 -W 1 76.95.182.3 2026-02-09 20:34:19,202 - DEBUG - PING 76.95.182.3 (76.95.182.3): 56 data bytes --- 76.95.182.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 20:34:19,202 - WARNING - Ping to IP 76.95.182.3 from VM ctest-TestBasicPolicy-33481409-58835122 failed 2026-02-09 20:34:19,203 - INFO - Deleting VM ctest-TestBasicPolicy-33481409-27347307 2026-02-09 20:34:19,290 - INFO - Deleting VM ctest-TestBasicPolicy-33481409-58835122 2026-02-09 20:34:19,652 - INFO - Deleted policy ctest-policy-allow-all-43613706 2026-02-09 20:34:19,652 - INFO - Deleting VN ctest-vn-97103488 2026-02-09 20:34:19,680 - DEBUG - VN 5b0674e1-d867-44de-828e-3bec705779d2 still in use: Unable to complete operation on network 5b0674e1-d867-44de-828e-3bec705779d2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3c81f05a-6b61-4461-bc5d-5d9912401222'] 2026-02-09 20:34:19,680 - WARNING - Deleting VN ctest-vn-97103488 failed..Will retry 2026-02-09 20:34:21,783 - DEBUG - Response for deleting network () 2026-02-09 20:34:21,783 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16 2026-02-09 20:34:21,788 - DEBUG - Response Code: 404 2026-02-09 20:34:21,788 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:34:21,793 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:34:21,847 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:34:21,915 - INFO - Validated that VN ctest-vn-97103488 is not found in API Server 2026-02-09 20:34:21,923 - DEBUG - VN ctest-vn-97103488 is not present in Agent 10.0.0.73 2026-02-09 20:34:21,923 - INFO - Validated that VN ctest-vn-97103488 is not in any agent 2026-02-09 20:34:21,935 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97103488 info 2026-02-09 20:34:21,935 - INFO - Deleting VN ctest-vn-67629435 2026-02-09 20:34:22,057 - DEBUG - Response for deleting network () 2026-02-09 20:34:22,057 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55 2026-02-09 20:34:22,065 - DEBUG - Response Code: 404 2026-02-09 20:34:22,066 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-09 20:34:22,070 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b 2026-02-09 20:34:22,121 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18 2026-02-09 20:34:22,186 - INFO - Validated that VN ctest-vn-67629435 is not found in API Server 2026-02-09 20:34:22,194 - DEBUG - VN ctest-vn-67629435 is not present in Agent 10.0.0.73 2026-02-09 20:34:22,194 - INFO - Validated that VN ctest-vn-67629435 is not in any agent 2026-02-09 20:34:22,206 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67629435 info 2026-02-09 20:34:22,457 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 20:34:22,457 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-09 20:34:22,457 - INFO - -------------------------------------------------------------------------------- 2026-02-09 20:34:23,130 - INFO - Deleted project: ctest-TestBasicPolicy-33481409, ID : bff3b76d-7997-44d9-9945-6694e191dc18