2026-06-23 08:02:40,985 - INFO - Domain Default found not creating 2026-06-23 08:02:41,142 - INFO - Project ctest-TestBasicPolicy-76732022 not found, creating it 2026-06-23 08:02:41,587 - INFO - Created Project:ctest-TestBasicPolicy-76732022, ID : 0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:02:43,066 - INFO - ================================================================================ 2026-06-23 08:02:43,066 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-23 08:02:43,066 - 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-06-23 08:02:43,333 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-06-23 08:02:43,333 - INFO - Initial checks done. Running the testcase now 2026-06-23 08:02:43,333 - INFO - 2026-06-23 08:02:43,895 - DEBUG - Response for create_network : {'network': {'id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'name': 'ctest-vn-16752254', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-16752254'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 08:02:44,106 - DEBUG - Response for create_subnet : {'subnet': {'id': '697efc46-6daf-4434-ae45-22270ed12b1d', 'name': '', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'network_id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'ip_version': 4, 'cidr': '17.42.49.128/26', 'allocation_pools': [{'start': '17.42.49.130', 'end': '17.42.49.190'}], 'gateway_ip': '17.42.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.42.49.130', 'tags': [], 'project_id': '0b212ed873f64761a17d9af587261da2'}} 2026-06-23 08:02:44,122 - INFO - Created VN ctest-vn-16752254 2026-06-23 08:02:44,172 - DEBUG - VN ctest-vn-16752254 UUID is b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:44,483 - DEBUG - Response for create_network : {'network': {'id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'name': 'ctest-vn-67783325', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-67783325'], 'port_security_enabled': True, 'description': ''}} 2026-06-23 08:02:44,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcb13412-ebd5-452e-ba36-01a8f20bef51', 'name': '', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'network_id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'ip_version': 4, 'cidr': '88.52.83.128/26', 'allocation_pools': [{'start': '88.52.83.130', 'end': '88.52.83.190'}], 'gateway_ip': '88.52.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.52.83.130', 'tags': [], 'project_id': '0b212ed873f64761a17d9af587261da2'}} 2026-06-23 08:02:44,698 - INFO - Created VN ctest-vn-67783325 2026-06-23 08:02:44,748 - DEBUG - VN ctest-vn-67783325 UUID is 743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:44,888 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254, 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-76732022:ctest-vn-67783325, 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-06-23 08:02:45,172 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3c25696-2b3c-4e6a-9fc0-e003d0340c16', 'name': 'ctest-vn-16752254', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['697efc46-6daf-4434-ae45-22270ed12b1d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-16752254'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']], 'subnet_ipam': [{'subnet_cidr': '17.42.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 08:02:45,396 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '743a3ca3-ce55-44dd-83b0-13cd962204c7', 'name': 'ctest-vn-67783325', 'tenant_id': '0b212ed873f64761a17d9af587261da2', 'project_id': '0b212ed873f64761a17d9af587261da2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcb13412-ebd5-452e-ba36-01a8f20bef51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-vn-67783325'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457']], 'subnet_ipam': [{'subnet_cidr': '88.52.83.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-23 08:02:45,556 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:02:45,874 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:02:45,898 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:02:45,909 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:02:45,976 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:45,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:45,993 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:02:45,999 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:02:46,004 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ccbf4e4b-3b18-4a27-a29e-1c35ae2eb427 2026-06-23 08:02:46,008 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 08:02:46,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:46,014 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:02:46,027 - INFO - Verified VN network id 10 for VN b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:46,027 - INFO - Verifications in API Server for VN ctest-vn-16752254 passed 2026-06-23 08:02:46,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:46,035 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:02:46,041 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:02:46,047 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ccbf4e4b-3b18-4a27-a29e-1c35ae2eb427 2026-06-23 08:02:46,059 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76732022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12953010681241423466', 'uuid-lslong': '11511446954541583382'}, 'enable': 'true', 'created': '2026-06-23T08:02:43', 'last-modified': '2026-06-23T08:02:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907799'} 2026-06-23 08:02:46,064 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-23 08:02:46,064 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16752254 passed 2026-06-23 08:02:46,064 - DEBUG - ====Verifying policy data for ctest-vn-16752254 in API_Server ====== 2026-06-23 08:02:46,064 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:02:46,069 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:02:46,080 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:02:46,153 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/b3c25696-2b3c-4e6a-9fc0-e003d0340c16 2026-06-23 08:02:46,161 - DEBUG - ==>Verifying data for policy with id: 8cba7026-7934-45df-8aab-ca21fb192346, fqn: ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457'] 2026-06-23 08:02:46,161 - INFO - VN ctest-vn-16752254 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 08:02:46,161 - DEBUG - Verifying the vn in opserver 2026-06-23 08:02:46,161 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254 virtual network link through opserver 10.0.0.50 2026-06-23 08:02:46,161 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 08:02:46,481 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 08:02:46,534 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254?flat'} 2026-06-23 08:02:46,534 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-16752254 is found in opserver 2026-06-23 08:02:46,542 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 08:02:46,546 - DEBUG - VRF ids for VN ctest-vn-16752254: {} 2026-06-23 08:02:46,546 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:02:46,553 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:02:46,567 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:02:46,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,658 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,669 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:02:46,675 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:02:46,681 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1e3ea8eb-6e93-4669-889d-7337e6f95e97 2026-06-23 08:02:46,686 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 08:02:46,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:02:46,706 - INFO - Verified VN network id 11 for VN 743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,706 - INFO - Verifications in API Server for VN ctest-vn-67783325 passed 2026-06-23 08:02:46,706 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,713 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:02:46,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:02:46,724 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1e3ea8eb-6e93-4669-889d-7337e6f95e97 2026-06-23 08:02:46,736 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76732022', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8375073131287889117', 'uuid-lslong': '9489106188577670343'}, 'enable': 'true', 'created': '2026-06-23T08:02:44', 'last-modified': '2026-06-23T08:02:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361640'} 2026-06-23 08:02:46,742 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-23 08:02:46,742 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67783325 passed 2026-06-23 08:02:46,742 - DEBUG - ====Verifying policy data for ctest-vn-67783325 in API_Server ====== 2026-06-23 08:02:46,742 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:02:46,747 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:02:46,756 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:02:46,823 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/743a3ca3-ce55-44dd-83b0-13cd962204c7 2026-06-23 08:02:46,830 - DEBUG - ==>Verifying data for policy with id: 8cba7026-7934-45df-8aab-ca21fb192346, fqn: ['default-domain', 'ctest-TestBasicPolicy-76732022', 'ctest-policy-allow-all-99784457'] 2026-06-23 08:02:46,830 - INFO - VN ctest-vn-67783325 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-23 08:02:46,830 - DEBUG - Verifying the vn in opserver 2026-06-23 08:02:46,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325 virtual network link through opserver 10.0.0.50 2026-06-23 08:02:46,830 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-23 08:02:46,838 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325?flat'} 2026-06-23 08:02:46,838 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325 is found in opserver 2026-06-23 08:02:46,846 - DEBUG - Do not have enough data to verify VN in agent 2026-06-23 08:02:46,850 - DEBUG - VRF ids for VN ctest-vn-67783325: {} 2026-06-23 08:02:46,906 - DEBUG - Services list from nova: [, , ] 2026-06-23 08:02:48,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6024-1) 2026-06-23 08:02:49,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6024-1) 2026-06-23 08:02:49,050 - INFO - Waiting for VM ctest-TestBasicPolicy-76732022-48588303 to be up.. 2026-06-23 08:02:49,093 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:02:54,168 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:02:59,236 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:03:04,303 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:03:09,389 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:03:14,456 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:03:19,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-23 08:03:24,603 - DEBUG - VM is in ACTIVE state now 2026-06-23 08:03:24,603 - INFO - VM name : ctest-TestBasicPolicy-76732022-48588303 2026-06-23 08:03:24,684 - DEBUG - VM ctest-TestBasicPolicy-76732022-48588303 ID is ef0c9fa8-4829-4cdf-970e-6e613bb9b0ce 2026-06-23 08:03:24,702 - DEBUG - VM ctest-TestBasicPolicy-76732022-48588303 launched on Node cn-jenkins-deploy-platform-ansible-os-6024-1 2026-06-23 08:03:24,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ef0c9fa8-4829-4cdf-970e-6e613bb9b0ce 2026-06-23 08:03:24,782 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ebb64ca8-ec9d-4abc-a4e4-c09ad69eb171 2026-06-23 08:03:27,992 - 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=2 ttl=63 time=7.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 7.415/7.415/7.415/0.000 ms') 2026-06-23 08:03:27,992 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76732022-48588303 passed 2026-06-23 08:03:28,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 08:03:28,140 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76732022-48588303, IP 17.42.49.131, Port 22 2026-06-23 08:03:28,299 - DEBUG - VM ctest-TestBasicPolicy-76732022-48588303 is ready for SSH connections 2026-06-23 08:03:28,299 - INFO - Waiting for VM ctest-TestBasicPolicy-76732022-62470139 to be up.. 2026-06-23 08:03:28,363 - DEBUG - VM is in ACTIVE state now 2026-06-23 08:03:28,363 - INFO - VM name : ctest-TestBasicPolicy-76732022-62470139 2026-06-23 08:03:28,432 - DEBUG - VM ctest-TestBasicPolicy-76732022-62470139 ID is 6a13061c-1b1d-4178-a4fa-594ac4533d9c 2026-06-23 08:03:28,433 - DEBUG - VM ctest-TestBasicPolicy-76732022-62470139 launched on Node cn-jenkins-deploy-platform-ansible-os-6024-1 2026-06-23 08:03:28,502 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6a13061c-1b1d-4178-a4fa-594ac4533d9c 2026-06-23 08:03:28,509 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8ffea27a-3240-4419-9d91-1b2738def26c 2026-06-23 08:03:31,766 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1031ms') 2026-06-23 08:03:31,766 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76732022-62470139 failed! 2026-06-23 08:03:31,824 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76732022:ctest-vn-67783325 is 88.52.83.129 and allocation pool is NOT set 2026-06-23 08:03:33,889 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.481 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.481/2.088/3.695/1.607 ms') 2026-06-23 08:03:33,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76732022-62470139 passed 2026-06-23 08:03:34,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 08:03:34,036 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76732022-62470139, IP 88.52.83.131, Port 22 2026-06-23 08:03:34,192 - DEBUG - VM ctest-TestBasicPolicy-76732022-62470139 is ready for SSH connections 2026-06-23 08:03:34,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 08:03:34,192 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.52.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 08:03:34,192 - DEBUG - ping -s 56 -c 3 -W 1 88.52.83.131 2026-06-23 08:03:38,116 - DEBUG - PING 88.52.83.131 (88.52.83.131): 56 data bytes 64 bytes from 88.52.83.131: seq=0 ttl=63 time=4.256 ms 64 bytes from 88.52.83.131: seq=1 ttl=63 time=1.516 ms 64 bytes from 88.52.83.131: seq=2 ttl=63 time=1.010 ms --- 88.52.83.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/2.260/4.256 ms 2026-06-23 08:03:38,116 - INFO - Ping to IP 88.52.83.131 from VM ctest-TestBasicPolicy-76732022-48588303 passed 2026-06-23 08:03:38,292 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8cba7026-7934-45df-8aab-ca21fb192346", "href": "http://10.0.0.50:8082/network-policy/8cba7026-7934-45df-8aab-ca21fb192346"}} 2026-06-23 08:03:38,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-23 08:03:38,292 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.52.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-23 08:03:38,292 - DEBUG - ping -s 56 -c 3 -W 1 88.52.83.131 2026-06-23 08:03:41,419 - DEBUG - PING 88.52.83.131 (88.52.83.131): 56 data bytes 64 bytes from 88.52.83.131: seq=0 ttl=63 time=1.297 ms --- 88.52.83.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.297/1.297/1.297 ms 2026-06-23 08:03:41,419 - WARNING - Ping to IP 88.52.83.131 from VM ctest-TestBasicPolicy-76732022-48588303 failed 2026-06-23 08:03:41,419 - INFO - Deleting VM ctest-TestBasicPolicy-76732022-62470139 2026-06-23 08:03:41,498 - INFO - Deleting VM ctest-TestBasicPolicy-76732022-48588303 2026-06-23 08:03:41,812 - INFO - Deleted policy ctest-policy-allow-all-99784457 2026-06-23 08:03:41,812 - INFO - Deleting VN ctest-vn-67783325 2026-06-23 08:03:41,840 - DEBUG - VN 743a3ca3-ce55-44dd-83b0-13cd962204c7 still in use: Unable to complete operation on network 743a3ca3-ce55-44dd-83b0-13cd962204c7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7693c3d0-ac3b-48df-aac7-114565199e3f'] 2026-06-23 08:03:41,840 - WARNING - Deleting VN ctest-vn-67783325 failed..Will retry 2026-06-23 08:03:43,946 - DEBUG - Response for deleting network () 2026-06-23 08:03:43,946 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f6a3283f-c407-429c-8130-69d62bf9ec3d 2026-06-23 08:03:43,952 - DEBUG - Response Code: 404 2026-06-23 08:03:43,952 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:03:43,958 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:03:44,014 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:03:44,078 - INFO - Validated that VN ctest-vn-67783325 is not found in API Server 2026-06-23 08:03:44,087 - DEBUG - VN ctest-vn-67783325 is not present in Agent 10.0.0.50 2026-06-23 08:03:44,087 - INFO - Validated that VN ctest-vn-67783325 is not in any agent 2026-06-23 08:03:44,099 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-67783325 info 2026-06-23 08:03:44,099 - INFO - Deleting VN ctest-vn-16752254 2026-06-23 08:03:44,195 - DEBUG - Response for deleting network () 2026-06-23 08:03:44,196 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0478d4ec-d120-4f3f-b060-0eb50b5f2cea 2026-06-23 08:03:44,201 - DEBUG - Response Code: 404 2026-06-23 08:03:44,201 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-23 08:03:44,205 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2dea4797-9d0d-46a1-8587-58691df6f7a4 2026-06-23 08:03:44,259 - DEBUG - Requesting: http://10.0.0.50:8082/project/0b212ed8-73f6-4761-a17d-9af587261da2 2026-06-23 08:03:44,328 - INFO - Validated that VN ctest-vn-16752254 is not found in API Server 2026-06-23 08:03:44,337 - DEBUG - VN ctest-vn-16752254 is not present in Agent 10.0.0.50 2026-06-23 08:03:44,337 - INFO - Validated that VN ctest-vn-16752254 is not in any agent 2026-06-23 08:03:44,350 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16752254 info 2026-06-23 08:03:44,606 - DEBUG - No XMPP flaps were noticed during the test
2026-06-23 08:03:44,606 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:01]
2026-06-23 08:03:44,607 - INFO - -------------------------------------------------------------------------------- 2026-06-23 08:03:45,317 - INFO - Deleted project: ctest-TestBasicPolicy-76732022, ID : 0b212ed8-73f6-4761-a17d-9af587261da2