2026-05-29 12:57:06,849 - INFO - Domain Default found not creating 2026-05-29 12:57:07,007 - INFO - Project ctest-TestBasicPolicy-21578355 not found, creating it 2026-05-29 12:57:07,452 - INFO - Created Project:ctest-TestBasicPolicy-21578355, ID : 099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:08,954 - INFO - ================================================================================ 2026-05-29 12:57:08,954 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-29 12:57:08,954 - 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-05-29 12:57:09,212 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-29 12:57:09,212 - INFO - Initial checks done. Running the testcase now 2026-05-29 12:57:09,213 - INFO - 2026-05-29 12:57:09,771 - DEBUG - Response for create_network : {'network': {'id': '3695783d-cb36-4b84-851d-c8bd89338b32', 'name': 'ctest-vn-67469314', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-vn-67469314'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:57:09,958 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a509a0-ec90-4769-b61a-c935495d7537', 'name': '', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'network_id': '3695783d-cb36-4b84-851d-c8bd89338b32', 'ip_version': 4, 'cidr': '181.191.63.0/26', 'allocation_pools': [{'start': '181.191.63.2', 'end': '181.191.63.62'}], 'gateway_ip': '181.191.63.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.191.63.2', 'tags': [], 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc'}} 2026-05-29 12:57:09,975 - INFO - Created VN ctest-vn-67469314 2026-05-29 12:57:10,027 - DEBUG - VN ctest-vn-67469314 UUID is 3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:10,351 - DEBUG - Response for create_network : {'network': {'id': 'fe805fad-a61e-4508-afd8-4dbf4b00eaa1', 'name': 'ctest-vn-66958150', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-vn-66958150'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:57:10,579 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f8d5da67-41f6-4a8a-a66c-b58c655403e2', 'name': '', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'network_id': 'fe805fad-a61e-4508-afd8-4dbf4b00eaa1', 'ip_version': 4, 'cidr': '87.182.101.64/26', 'allocation_pools': [{'start': '87.182.101.66', 'end': '87.182.101.126'}], 'gateway_ip': '87.182.101.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.182.101.66', 'tags': [], 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc'}} 2026-05-29 12:57:10,599 - INFO - Created VN ctest-vn-66958150 2026-05-29 12:57:10,651 - DEBUG - VN ctest-vn-66958150 UUID is fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:10,799 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314, 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-21578355:ctest-vn-66958150, 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-05-29 12:57:11,089 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3695783d-cb36-4b84-851d-c8bd89338b32', 'name': 'ctest-vn-67469314', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9a509a0-ec90-4769-b61a-c935495d7537'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-vn-67469314'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-policy-allow-all-12237022']], 'subnet_ipam': [{'subnet_cidr': '181.191.63.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:57:11,318 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fe805fad-a61e-4508-afd8-4dbf4b00eaa1', 'name': 'ctest-vn-66958150', 'tenant_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'project_id': '099cec8ccdaa43d6995ee9cb5f4ddadc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f8d5da67-41f6-4a8a-a66c-b58c655403e2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-vn-66958150'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-policy-allow-all-12237022']], 'subnet_ipam': [{'subnet_cidr': '87.182.101.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:57:11,487 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:11,798 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:11,832 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:11,845 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:11,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:11,932 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:11,940 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:11,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:11,954 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/33fa8948-b01d-4267-abc0-e23f19804c3d 2026-05-29 12:57:11,960 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 12:57:11,960 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:11,970 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:11,984 - INFO - Verified VN network id 11 for VN 3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:11,985 - INFO - Verifications in API Server for VN ctest-vn-67469314 passed 2026-05-29 12:57:11,985 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:11,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:12,005 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:12,013 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/33fa8948-b01d-4267-abc0-e23f19804c3d 2026-05-29 12:57:12,027 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21578355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3933182056375667588', 'uuid-lslong': '9592043497745255218'}, 'enable': 'true', 'created': '2026-05-29T12:57:09', 'last-modified': '2026-05-29T12:57:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.956358'} 2026-05-29 12:57:12,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 12:57:12,033 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67469314 passed 2026-05-29 12:57:12,033 - DEBUG - ====Verifying policy data for ctest-vn-67469314 in API_Server ====== 2026-05-29 12:57:12,033 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:12,039 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:12,051 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:12,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3695783d-cb36-4b84-851d-c8bd89338b32 2026-05-29 12:57:12,131 - DEBUG - ==>Verifying data for policy with id: b739278e-a789-4850-8f7f-119ecd399edb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-policy-allow-all-12237022'] 2026-05-29 12:57:12,131 - INFO - VN ctest-vn-67469314 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 12:57:12,131 - DEBUG - Verifying the vn in opserver 2026-05-29 12:57:12,131 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314 virtual network link through opserver 10.0.0.50 2026-05-29 12:57:12,131 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 12:57:12,427 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 12:57:12,488 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314?flat'} 2026-05-29 12:57:12,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314 is found in opserver 2026-05-29 12:57:12,498 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 12:57:12,502 - DEBUG - VRF ids for VN ctest-vn-67469314: {} 2026-05-29 12:57:12,502 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:12,507 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:12,517 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:12,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,612 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:12,618 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:12,625 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/53e91b5b-54a9-42e1-a730-eaae8507e31f 2026-05-29 12:57:12,632 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 12:57:12,632 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:12,658 - INFO - Verified VN network id 12 for VN fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,658 - INFO - Verifications in API Server for VN ctest-vn-66958150 passed 2026-05-29 12:57:12,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,668 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:12,676 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:12,684 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/53e91b5b-54a9-42e1-a730-eaae8507e31f 2026-05-29 12:57:12,699 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-66958150', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21578355', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18338762882073642248', 'uuid-lslong': '12670963035599334049'}, 'enable': 'true', 'created': '2026-05-29T12:57:10', 'last-modified': '2026-05-29T12:57:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.401254'} 2026-05-29 12:57:12,705 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 12:57:12,705 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66958150 passed 2026-05-29 12:57:12,705 - DEBUG - ====Verifying policy data for ctest-vn-66958150 in API_Server ====== 2026-05-29 12:57:12,705 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:12,710 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:12,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:12,789 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fe805fad-a61e-4508-afd8-4dbf4b00eaa1 2026-05-29 12:57:12,798 - DEBUG - ==>Verifying data for policy with id: b739278e-a789-4850-8f7f-119ecd399edb, fqn: ['default-domain', 'ctest-TestBasicPolicy-21578355', 'ctest-policy-allow-all-12237022'] 2026-05-29 12:57:12,798 - INFO - VN ctest-vn-66958150 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 12:57:12,798 - DEBUG - Verifying the vn in opserver 2026-05-29 12:57:12,799 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-66958150 virtual network link through opserver 10.0.0.50 2026-05-29 12:57:12,799 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-29 12:57:12,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-66958150', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-66958150?flat'} 2026-05-29 12:57:12,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-66958150 is found in opserver 2026-05-29 12:57:12,817 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 12:57:12,822 - DEBUG - VRF ids for VN ctest-vn-66958150: {} 2026-05-29 12:57:12,882 - DEBUG - Services list from nova: [, , ] 2026-05-29 12:57:13,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5849-1) 2026-05-29 12:57:15,042 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5849-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5849-1) 2026-05-29 12:57:15,042 - INFO - Waiting for VM ctest-TestBasicPolicy-21578355-37356454 to be up.. 2026-05-29 12:57:15,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 12:57:20,223 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:57:20,223 - INFO - VM name : ctest-TestBasicPolicy-21578355-37356454 2026-05-29 12:57:20,301 - DEBUG - VM ctest-TestBasicPolicy-21578355-37356454 ID is 45c8e56f-5d09-4d6b-982b-71bda98e524d 2026-05-29 12:57:20,320 - DEBUG - VM ctest-TestBasicPolicy-21578355-37356454 launched on Node cn-jenkins-deploy-platform-ansible-os-5849-1 2026-05-29 12:57:20,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/45c8e56f-5d09-4d6b-982b-71bda98e524d 2026-05-29 12:57:20,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6d38a276-4c78-4d3d-b4f1-d5b6ff7c6955 2026-05-29 12:57:23,662 - 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 1026ms') 2026-05-29 12:57:23,662 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21578355-37356454 failed! 2026-05-29 12:57:23,715 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21578355:ctest-vn-67469314 is 181.191.63.1 and allocation pool is NOT set 2026-05-29 12:57:25,783 - 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=8.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/4.482/8.551/4.068 ms') 2026-05-29 12:57:25,783 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21578355-37356454 passed 2026-05-29 12:57:25,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:57:25,931 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21578355-37356454, IP 181.191.63.3, Port 22 2026-05-29 12:57:26,083 - DEBUG - VM ctest-TestBasicPolicy-21578355-37356454 is ready for SSH connections 2026-05-29 12:57:26,083 - INFO - Waiting for VM ctest-TestBasicPolicy-21578355-52728187 to be up.. 2026-05-29 12:57:26,160 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:57:26,160 - INFO - VM name : ctest-TestBasicPolicy-21578355-52728187 2026-05-29 12:57:26,235 - DEBUG - VM ctest-TestBasicPolicy-21578355-52728187 ID is 6422cda0-61a5-42cb-9545-39da0aa42640 2026-05-29 12:57:26,235 - DEBUG - VM ctest-TestBasicPolicy-21578355-52728187 launched on Node cn-jenkins-deploy-platform-ansible-os-5849-1 2026-05-29 12:57:26,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6422cda0-61a5-42cb-9545-39da0aa42640 2026-05-29 12:57:26,322 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c9d81f9c-02d4-44e4-b395-ead6dbc29182 2026-05-29 12:57:27,559 - 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=3.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.862 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.862/2.390/3.919/1.528 ms') 2026-05-29 12:57:27,559 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21578355-52728187 passed 2026-05-29 12:57:27,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:57:27,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21578355-52728187, IP 87.182.101.67, Port 22 2026-05-29 12:57:27,875 - DEBUG - VM ctest-TestBasicPolicy-21578355-52728187 is ready for SSH connections 2026-05-29 12:57:27,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:57:27,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.182.101.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 12:57:27,875 - DEBUG - ping -s 56 -c 3 -W 1 87.182.101.67 2026-05-29 12:57:31,901 - DEBUG - PING 87.182.101.67 (87.182.101.67): 56 data bytes 64 bytes from 87.182.101.67: seq=0 ttl=63 time=3.341 ms 64 bytes from 87.182.101.67: seq=1 ttl=63 time=1.019 ms 64 bytes from 87.182.101.67: seq=2 ttl=63 time=0.766 ms --- 87.182.101.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.766/1.708/3.341 ms 2026-05-29 12:57:31,901 - INFO - Ping to IP 87.182.101.67 from VM ctest-TestBasicPolicy-21578355-37356454 passed 2026-05-29 12:57:32,075 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b739278e-a789-4850-8f7f-119ecd399edb", "href": "http://10.0.0.50:8082/network-policy/b739278e-a789-4850-8f7f-119ecd399edb"}} 2026-05-29 12:57:32,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:57:32,075 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.182.101.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-29 12:57:32,075 - DEBUG - ping -s 56 -c 3 -W 1 87.182.101.67 2026-05-29 12:57:35,285 - DEBUG - PING 87.182.101.67 (87.182.101.67): 56 data bytes --- 87.182.101.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-29 12:57:35,285 - WARNING - Ping to IP 87.182.101.67 from VM ctest-TestBasicPolicy-21578355-37356454 failed 2026-05-29 12:57:35,285 - INFO - Deleting VM ctest-TestBasicPolicy-21578355-52728187 2026-05-29 12:57:35,359 - INFO - Deleting VM ctest-TestBasicPolicy-21578355-37356454 2026-05-29 12:57:35,729 - INFO - Deleted policy ctest-policy-allow-all-12237022 2026-05-29 12:57:35,729 - INFO - Deleting VN ctest-vn-66958150 2026-05-29 12:57:35,767 - DEBUG - VN fe805fad-a61e-4508-afd8-4dbf4b00eaa1 still in use: Unable to complete operation on network fe805fad-a61e-4508-afd8-4dbf4b00eaa1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5438b85e-74f7-4ffb-a988-a32f554bea17'] 2026-05-29 12:57:35,767 - WARNING - Deleting VN ctest-vn-66958150 failed..Will retry 2026-05-29 12:57:37,869 - DEBUG - Response for deleting network () 2026-05-29 12:57:37,869 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8892f610-68fc-4f18-8233-a4cc4ff76b83 2026-05-29 12:57:37,877 - DEBUG - Response Code: 404 2026-05-29 12:57:37,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:37,882 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:37,937 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:38,008 - INFO - Validated that VN ctest-vn-66958150 is not found in API Server 2026-05-29 12:57:38,018 - DEBUG - VN ctest-vn-66958150 is not present in Agent 10.0.0.50 2026-05-29 12:57:38,018 - INFO - Validated that VN ctest-vn-66958150 is not in any agent 2026-05-29 12:57:38,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66958150 info 2026-05-29 12:57:38,034 - INFO - Deleting VN ctest-vn-67469314 2026-05-29 12:57:38,141 - DEBUG - Response for deleting network () 2026-05-29 12:57:38,141 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/613bd210-0e66-41cf-a75f-5e2649594a80 2026-05-29 12:57:38,148 - DEBUG - Response Code: 404 2026-05-29 12:57:38,148 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-29 12:57:38,153 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34a5ab6b-810b-4978-88bd-37e1c12509ed 2026-05-29 12:57:38,208 - DEBUG - Requesting: http://10.0.0.50:8082/project/099cec8c-cdaa-43d6-995e-e9cb5f4ddadc 2026-05-29 12:57:38,283 - INFO - Validated that VN ctest-vn-67469314 is not found in API Server 2026-05-29 12:57:38,292 - DEBUG - VN ctest-vn-67469314 is not present in Agent 10.0.0.50 2026-05-29 12:57:38,292 - INFO - Validated that VN ctest-vn-67469314 is not in any agent 2026-05-29 12:57:38,308 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67469314 info 2026-05-29 12:57:38,561 - DEBUG - No XMPP flaps were noticed during the test 2026-05-29 12:57:38,561 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-05-29 12:57:38,561 - INFO - -------------------------------------------------------------------------------- 2026-05-29 12:57:39,256 - INFO - Deleted project: ctest-TestBasicPolicy-21578355, ID : 099cec8c-cdaa-43d6-995e-e9cb5f4ddadc