2026-03-19 02:25:18,019 - INFO - Domain Default found not creating 2026-03-19 02:25:18,231 - INFO - Project ctest-TestBasicPolicy-51714712 not found, creating it 2026-03-19 02:25:18,963 - INFO - Created Project:ctest-TestBasicPolicy-51714712, ID : 27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:20,742 - INFO - ================================================================================ 2026-03-19 02:25:20,742 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-19 02:25:20,743 - 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-03-19 02:25:21,002 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-03-19 02:25:21,002 - INFO - Initial checks done. Running the testcase now 2026-03-19 02:25:21,002 - INFO - 2026-03-19 02:25:21,587 - DEBUG - Response for create_network : {'network': {'id': '9da06a0b-2ed9-4653-a42c-1b09908f953e', 'name': 'ctest-vn-80932861', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'project_id': '27cab0453aab4325a762841adb966c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-vn-80932861'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:21,802 - DEBUG - Response for create_subnet : {'subnet': {'id': '4245f793-e993-4436-8127-1ceb96a8a528', 'name': '', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'network_id': '9da06a0b-2ed9-4653-a42c-1b09908f953e', 'ip_version': 4, 'cidr': '68.108.165.0/26', 'allocation_pools': [{'start': '68.108.165.2', 'end': '68.108.165.62'}], 'gateway_ip': '68.108.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.108.165.2', 'tags': [], 'project_id': '27cab0453aab4325a762841adb966c04'}} 2026-03-19 02:25:21,821 - INFO - Created VN ctest-vn-80932861 2026-03-19 02:25:21,875 - DEBUG - VN ctest-vn-80932861 UUID is 9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:22,173 - DEBUG - Response for create_network : {'network': {'id': '5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab', 'name': 'ctest-vn-67727480', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'project_id': '27cab0453aab4325a762841adb966c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-vn-67727480'], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:22,328 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bab5f0bb-12f0-4702-b365-0f7c91da0cad', 'name': '', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'network_id': '5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab', 'ip_version': 4, 'cidr': '48.159.189.128/26', 'allocation_pools': [{'start': '48.159.189.130', 'end': '48.159.189.190'}], 'gateway_ip': '48.159.189.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.159.189.130', 'tags': [], 'project_id': '27cab0453aab4325a762841adb966c04'}} 2026-03-19 02:25:22,348 - INFO - Created VN ctest-vn-67727480 2026-03-19 02:25:22,403 - DEBUG - VN ctest-vn-67727480 UUID is 5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:22,522 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861, 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-51714712:ctest-vn-67727480, 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-03-19 02:25:22,815 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9da06a0b-2ed9-4653-a42c-1b09908f953e', 'name': 'ctest-vn-80932861', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'project_id': '27cab0453aab4325a762841adb966c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4245f793-e993-4436-8127-1ceb96a8a528'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-vn-80932861'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-policy-allow-all-00177459']], 'subnet_ipam': [{'subnet_cidr': '68.108.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:23,107 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab', 'name': 'ctest-vn-67727480', 'tenant_id': '27cab0453aab4325a762841adb966c04', 'project_id': '27cab0453aab4325a762841adb966c04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bab5f0bb-12f0-4702-b365-0f7c91da0cad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-vn-67727480'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-policy-allow-all-00177459']], 'subnet_ipam': [{'subnet_cidr': '48.159.189.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-19 02:25:23,259 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:23,569 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:23,605 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:23,617 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:23,695 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,716 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:23,723 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:23,732 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/335c31bb-2c12-44e7-9d27-14ff20004b2e 2026-03-19 02:25:23,739 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:25:23,740 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,749 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:23,766 - INFO - Verified VN network id 12 for VN 9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,766 - INFO - Verifications in API Server for VN ctest-vn-80932861 passed 2026-03-19 02:25:23,766 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,777 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:23,784 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:23,791 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/335c31bb-2c12-44e7-9d27-14ff20004b2e 2026-03-19 02:25:23,803 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51714712', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11358194856491566675', 'uuid-lslong': '11829860049089434942'}, 'enable': 'true', 'created': '2026-03-19T02:25:21', 'last-modified': '2026-03-19T02:25:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011657'} 2026-03-19 02:25:23,810 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-19 02:25:23,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80932861 passed 2026-03-19 02:25:23,811 - DEBUG - ====Verifying policy data for ctest-vn-80932861 in API_Server ====== 2026-03-19 02:25:23,811 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:23,816 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:23,827 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:23,900 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9da06a0b-2ed9-4653-a42c-1b09908f953e 2026-03-19 02:25:23,911 - DEBUG - ==>Verifying data for policy with id: a968e091-36e8-4fba-912e-bafcd5f82a89, fqn: ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-policy-allow-all-00177459'] 2026-03-19 02:25:23,911 - INFO - VN ctest-vn-80932861 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:25:23,911 - DEBUG - Verifying the vn in opserver 2026-03-19 02:25:23,911 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861 virtual network link through opserver 10.0.0.50 2026-03-19 02:25:23,911 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 02:25:24,220 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 02:25:24,294 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861?flat'} 2026-03-19 02:25:24,294 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861 is found in opserver 2026-03-19 02:25:24,303 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:25:24,310 - DEBUG - VRF ids for VN ctest-vn-80932861: {} 2026-03-19 02:25:24,310 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:24,316 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:24,329 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:24,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,430 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:24,438 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:24,447 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/72e00107-126b-459c-b2cc-ec7ee5c62649 2026-03-19 02:25:24,455 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:25:24,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,466 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:24,483 - INFO - Verified VN network id 13 for VN 5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,483 - INFO - Verifications in API Server for VN ctest-vn-67727480 passed 2026-03-19 02:25:24,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,495 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:24,504 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:24,513 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/72e00107-126b-459c-b2cc-ec7ee5c62649 2026-03-19 02:25:24,528 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-67727480', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51714712', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6583210116340141467', 'uuid-lslong': '10257909475978868907'}, 'enable': 'true', 'created': '2026-03-19T02:25:22', 'last-modified': '2026-03-19T02:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.488078'} 2026-03-19 02:25:24,534 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-19 02:25:24,534 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67727480 passed 2026-03-19 02:25:24,534 - DEBUG - ====Verifying policy data for ctest-vn-67727480 in API_Server ====== 2026-03-19 02:25:24,534 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:24,540 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:24,551 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:24,627 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab 2026-03-19 02:25:24,637 - DEBUG - ==>Verifying data for policy with id: a968e091-36e8-4fba-912e-bafcd5f82a89, fqn: ['default-domain', 'ctest-TestBasicPolicy-51714712', 'ctest-policy-allow-all-00177459'] 2026-03-19 02:25:24,637 - INFO - VN ctest-vn-67727480 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-19 02:25:24,637 - DEBUG - Verifying the vn in opserver 2026-03-19 02:25:24,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-67727480 virtual network link through opserver 10.0.0.50 2026-03-19 02:25:24,637 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-19 02:25:24,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-67727480', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-67727480?flat'} 2026-03-19 02:25:24,647 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-67727480 is found in opserver 2026-03-19 02:25:24,659 - DEBUG - Do not have enough data to verify VN in agent 2026-03-19 02:25:24,664 - DEBUG - VRF ids for VN ctest-vn-67727480: {} 2026-03-19 02:25:24,731 - DEBUG - Services list from nova: [, , ] 2026-03-19 02:25:25,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5492-1) 2026-03-19 02:25:27,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5492-1) 2026-03-19 02:25:27,101 - INFO - Waiting for VM ctest-TestBasicPolicy-51714712-56365399 to be up.. 2026-03-19 02:25:27,208 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-19 02:25:32,307 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:25:32,307 - INFO - VM name : ctest-TestBasicPolicy-51714712-56365399 2026-03-19 02:25:32,389 - DEBUG - VM ctest-TestBasicPolicy-51714712-56365399 ID is 667699a2-b909-4b0e-9724-4b0e1c826fad 2026-03-19 02:25:32,414 - DEBUG - VM ctest-TestBasicPolicy-51714712-56365399 launched on Node cn-jenkins-deploy-platform-ansible-os-5492-1 2026-03-19 02:25:32,514 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/667699a2-b909-4b0e-9724-4b0e1c826fad 2026-03-19 02:25:32,523 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3399b17-1f31-49d8-bd9d-3b7b19ad6438 2026-03-19 02:25:35,773 - 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 1010ms') 2026-03-19 02:25:35,773 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51714712-56365399 failed! 2026-03-19 02:25:35,831 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51714712:ctest-vn-80932861 is 68.108.165.1 and allocation pool is NOT set 2026-03-19 02:25:37,898 - 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=12.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.092/7.486/12.881/5.394 ms') 2026-03-19 02:25:37,898 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51714712-56365399 passed 2026-03-19 02:25:38,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:38,051 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51714712-56365399, IP 68.108.165.3, Port 22 2026-03-19 02:25:38,229 - DEBUG - VM ctest-TestBasicPolicy-51714712-56365399 is ready for SSH connections 2026-03-19 02:25:38,229 - INFO - Waiting for VM ctest-TestBasicPolicy-51714712-52754193 to be up.. 2026-03-19 02:25:38,328 - DEBUG - VM is in ACTIVE state now 2026-03-19 02:25:38,328 - INFO - VM name : ctest-TestBasicPolicy-51714712-52754193 2026-03-19 02:25:38,438 - DEBUG - VM ctest-TestBasicPolicy-51714712-52754193 ID is 617abb25-912c-4e38-b03e-c2765a3204aa 2026-03-19 02:25:38,438 - DEBUG - VM ctest-TestBasicPolicy-51714712-52754193 launched on Node cn-jenkins-deploy-platform-ansible-os-5492-1 2026-03-19 02:25:38,544 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/617abb25-912c-4e38-b03e-c2765a3204aa 2026-03-19 02:25:38,555 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/3283ac73-5b4d-4c27-95b6-e9f877b46052 2026-03-19 02:25:39,803 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.18 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 = 2.176/3.907/5.638/1.731 ms') 2026-03-19 02:25:39,803 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51714712-52754193 passed 2026-03-19 02:25:39,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:39,959 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51714712-52754193, IP 48.159.189.131, Port 22 2026-03-19 02:25:40,125 - DEBUG - VM ctest-TestBasicPolicy-51714712-52754193 is ready for SSH connections 2026-03-19 02:25:40,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:40,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.159.189.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-19 02:25:40,126 - DEBUG - ping -s 56 -c 3 -W 1 48.159.189.131 2026-03-19 02:25:43,888 - DEBUG - PING 48.159.189.131 (48.159.189.131): 56 data bytes 64 bytes from 48.159.189.131: seq=0 ttl=63 time=4.157 ms 64 bytes from 48.159.189.131: seq=1 ttl=63 time=1.163 ms 64 bytes from 48.159.189.131: seq=2 ttl=63 time=1.225 ms --- 48.159.189.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/2.181/4.157 ms 2026-03-19 02:25:43,889 - INFO - Ping to IP 48.159.189.131 from VM ctest-TestBasicPolicy-51714712-56365399 passed 2026-03-19 02:25:44,079 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a968e091-36e8-4fba-912e-bafcd5f82a89", "href": "http://10.0.0.50:8082/network-policy/a968e091-36e8-4fba-912e-bafcd5f82a89"}} 2026-03-19 02:25:44,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-19 02:25:44,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.159.189.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-19 02:25:44,079 - DEBUG - ping -s 56 -c 3 -W 1 48.159.189.131 2026-03-19 02:25:47,321 - DEBUG - PING 48.159.189.131 (48.159.189.131): 56 data bytes --- 48.159.189.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-19 02:25:47,321 - WARNING - Ping to IP 48.159.189.131 from VM ctest-TestBasicPolicy-51714712-56365399 failed 2026-03-19 02:25:47,322 - INFO - Deleting VM ctest-TestBasicPolicy-51714712-52754193 2026-03-19 02:25:47,406 - INFO - Deleting VM ctest-TestBasicPolicy-51714712-56365399 2026-03-19 02:25:47,861 - INFO - Deleted policy ctest-policy-allow-all-00177459 2026-03-19 02:25:47,861 - INFO - Deleting VN ctest-vn-67727480 2026-03-19 02:25:47,908 - DEBUG - VN 5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab still in use: Unable to complete operation on network 5b5c42b8-b236-4d9b-8e5b-6a51d5d578ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-820bb74c-7fff-4b1e-92a1-c72261a044b3'] 2026-03-19 02:25:47,908 - WARNING - Deleting VN ctest-vn-67727480 failed..Will retry 2026-03-19 02:25:50,036 - DEBUG - Response for deleting network () 2026-03-19 02:25:50,036 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/24dd7d6d-07b6-4bf1-8123-12b8726bdfe8 2026-03-19 02:25:50,043 - DEBUG - Response Code: 404 2026-03-19 02:25:50,043 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:50,055 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:50,114 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:50,187 - INFO - Validated that VN ctest-vn-67727480 is not found in API Server 2026-03-19 02:25:50,198 - DEBUG - VN ctest-vn-67727480 is not present in Agent 10.0.0.50 2026-03-19 02:25:50,198 - INFO - Validated that VN ctest-vn-67727480 is not in any agent 2026-03-19 02:25:50,219 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67727480 info 2026-03-19 02:25:50,219 - INFO - Deleting VN ctest-vn-80932861 2026-03-19 02:25:50,338 - DEBUG - Response for deleting network () 2026-03-19 02:25:50,338 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/57f26c90-6c6c-4dee-9e84-687695da3c1c 2026-03-19 02:25:50,347 - DEBUG - Response Code: 404 2026-03-19 02:25:50,348 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-19 02:25:50,354 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0e38e307-e4ed-44db-8467-c997848bb41e 2026-03-19 02:25:50,417 - DEBUG - Requesting: http://10.0.0.50:8082/project/27cab045-3aab-4325-a762-841adb966c04 2026-03-19 02:25:50,501 - INFO - Validated that VN ctest-vn-80932861 is not found in API Server 2026-03-19 02:25:50,512 - DEBUG - VN ctest-vn-80932861 is not present in Agent 10.0.0.50 2026-03-19 02:25:50,512 - INFO - Validated that VN ctest-vn-80932861 is not in any agent 2026-03-19 02:25:50,530 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80932861 info 2026-03-19 02:25:50,795 - DEBUG - No XMPP flaps were noticed during the test
2026-03-19 02:25:50,795 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-19 02:25:50,795 - INFO - -------------------------------------------------------------------------------- 2026-03-19 02:25:51,572 - INFO - Deleted project: ctest-TestBasicPolicy-51714712, ID : 27cab045-3aab-4325-a762-841adb966c04