2026-09-01 11:28:24,610 - INFO - Domain Default found not creating 2026-09-01 11:28:24,783 - INFO - Project ctest-TestBasicPolicy-16449720 not found, creating it 2026-09-01 11:28:25,297 - INFO - Created Project:ctest-TestBasicPolicy-16449720, ID : 2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:28:26,913 - INFO - ================================================================================ 2026-09-01 11:28:26,913 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-01 11:28:26,913 - 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-09-01 11:28:27,172 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-09-01 11:28:27,172 - INFO - Initial checks done. Running the testcase now 2026-09-01 11:28:27,172 - INFO - 2026-09-01 11:28:27,756 - DEBUG - Response for create_network : {'network': {'id': '4676f0a1-f762-4fec-b9b6-af3a761eb311', 'name': 'ctest-vn-42782299', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'project_id': '2209a15cd2d545488de07c60a77aaa30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-vn-42782299'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 11:28:27,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '47f47929-fb9e-486a-bff4-4fe2ad67352a', 'name': '', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'network_id': '4676f0a1-f762-4fec-b9b6-af3a761eb311', 'ip_version': 4, 'cidr': '182.4.201.0/26', 'allocation_pools': [{'start': '182.4.201.2', 'end': '182.4.201.62'}], 'gateway_ip': '182.4.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.4.201.2', 'tags': [], 'project_id': '2209a15cd2d545488de07c60a77aaa30'}} 2026-09-01 11:28:27,959 - INFO - Created VN ctest-vn-42782299 2026-09-01 11:28:28,011 - DEBUG - VN ctest-vn-42782299 UUID is 4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:28,321 - DEBUG - Response for create_network : {'network': {'id': '17d7fa83-8316-492b-980c-6c43084e323e', 'name': 'ctest-vn-80216587', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'project_id': '2209a15cd2d545488de07c60a77aaa30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-vn-80216587'], 'port_security_enabled': True, 'description': ''}} 2026-09-01 11:28:28,501 - DEBUG - Response for create_subnet : {'subnet': {'id': '1229bac4-3558-42fb-8b1c-113893f13bc5', 'name': '', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'network_id': '17d7fa83-8316-492b-980c-6c43084e323e', 'ip_version': 4, 'cidr': '134.57.124.64/26', 'allocation_pools': [{'start': '134.57.124.66', 'end': '134.57.124.126'}], 'gateway_ip': '134.57.124.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.57.124.66', 'tags': [], 'project_id': '2209a15cd2d545488de07c60a77aaa30'}} 2026-09-01 11:28:28,525 - INFO - Created VN ctest-vn-80216587 2026-09-01 11:28:28,579 - DEBUG - VN ctest-vn-80216587 UUID is 17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:28,690 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299, 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-16449720:ctest-vn-80216587, 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-09-01 11:28:29,004 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4676f0a1-f762-4fec-b9b6-af3a761eb311', 'name': 'ctest-vn-42782299', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'project_id': '2209a15cd2d545488de07c60a77aaa30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['47f47929-fb9e-486a-bff4-4fe2ad67352a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-vn-42782299'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-policy-allow-all-89835709']], 'subnet_ipam': [{'subnet_cidr': '182.4.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-01 11:28:29,264 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17d7fa83-8316-492b-980c-6c43084e323e', 'name': 'ctest-vn-80216587', 'tenant_id': '2209a15cd2d545488de07c60a77aaa30', 'project_id': '2209a15cd2d545488de07c60a77aaa30', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1229bac4-3558-42fb-8b1c-113893f13bc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-vn-80216587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-policy-allow-all-89835709']], 'subnet_ipam': [{'subnet_cidr': '134.57.124.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-01 11:28:29,427 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:28:29,765 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:28:29,799 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:28:29,812 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:28:29,897 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:29,912 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:29,926 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:28:29,937 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:28:29,946 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6959fa98-0eb3-4ad6-8ff2-e667e4b29c25 2026-09-01 11:28:29,954 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-01 11:28:29,954 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:29,967 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:28:29,985 - INFO - Verified VN network id 12 for VN 4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:29,985 - INFO - Verifications in API Server for VN ctest-vn-42782299 passed 2026-09-01 11:28:29,985 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:29,998 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:28:30,008 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:28:30,018 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/6959fa98-0eb3-4ad6-8ff2-e667e4b29c25 2026-09-01 11:28:30,033 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16449720', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5077510208337629164', 'uuid-lslong': '13382076008402694929'}, 'enable': 'true', 'created': '2026-09-01T11:28:27', 'last-modified': '2026-09-01T11:28:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.058417'} 2026-09-01 11:28:30,041 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-01 11:28:30,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42782299 passed 2026-09-01 11:28:30,042 - DEBUG - ====Verifying policy data for ctest-vn-42782299 in API_Server ====== 2026-09-01 11:28:30,042 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:28:30,049 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:28:30,062 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:28:30,145 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/4676f0a1-f762-4fec-b9b6-af3a761eb311 2026-09-01 11:28:30,157 - DEBUG - ==>Verifying data for policy with id: 68de4d1a-39b6-4e8b-9d77-afffdc0674bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-policy-allow-all-89835709'] 2026-09-01 11:28:30,157 - INFO - VN ctest-vn-42782299 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-01 11:28:30,158 - DEBUG - Verifying the vn in opserver 2026-09-01 11:28:30,158 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299 virtual network link through opserver 10.0.0.161 2026-09-01 11:28:30,158 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-01 11:28:30,479 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-01 11:28:30,535 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299?flat'} 2026-09-01 11:28:30,535 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-42782299 is found in opserver 2026-09-01 11:28:30,545 - DEBUG - Do not have enough data to verify VN in agent 2026-09-01 11:28:30,551 - DEBUG - VRF ids for VN ctest-vn-42782299: {} 2026-09-01 11:28:30,551 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:28:30,558 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:28:30,569 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:28:30,651 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,664 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,676 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:28:30,685 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:28:30,694 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/89974984-f929-4a02-8217-ca9adcd238c8 2026-09-01 11:28:30,702 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-01 11:28:30,702 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,713 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:28:30,729 - INFO - Verified VN network id 13 for VN 17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,729 - INFO - Verifications in API Server for VN ctest-vn-80216587 passed 2026-09-01 11:28:30,729 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,740 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:28:30,748 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:28:30,756 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/89974984-f929-4a02-8217-ca9adcd238c8 2026-09-01 11:28:30,771 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-80216587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16449720', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1718117225612069163', 'uuid-lslong': '10956251028643525182'}, 'enable': 'true', 'created': '2026-09-01T11:28:28', 'last-modified': '2026-09-01T11:28:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.539054'} 2026-09-01 11:28:30,779 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-01 11:28:30,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80216587 passed 2026-09-01 11:28:30,779 - DEBUG - ====Verifying policy data for ctest-vn-80216587 in API_Server ====== 2026-09-01 11:28:30,779 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:28:30,785 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:28:30,797 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:28:30,873 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/17d7fa83-8316-492b-980c-6c43084e323e 2026-09-01 11:28:30,883 - DEBUG - ==>Verifying data for policy with id: 68de4d1a-39b6-4e8b-9d77-afffdc0674bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-16449720', 'ctest-policy-allow-all-89835709'] 2026-09-01 11:28:30,883 - INFO - VN ctest-vn-80216587 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-01 11:28:30,884 - DEBUG - Verifying the vn in opserver 2026-09-01 11:28:30,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-80216587 virtual network link through opserver 10.0.0.161 2026-09-01 11:28:30,884 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-01 11:28:30,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-80216587', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-80216587?flat'} 2026-09-01 11:28:30,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16449720:ctest-vn-80216587 is found in opserver 2026-09-01 11:28:30,906 - DEBUG - Do not have enough data to verify VN in agent 2026-09-01 11:28:30,910 - DEBUG - VRF ids for VN ctest-vn-80216587: {} 2026-09-01 11:28:30,977 - DEBUG - Services list from nova: [, , ] 2026-09-01 11:28:31,465 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6238-1) 2026-09-01 11:28:31,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6238-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6238-1) 2026-09-01 11:28:31,900 - INFO - Waiting for VM ctest-TestBasicPolicy-16449720-19630507 to be up.. 2026-09-01 11:28:31,950 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:28:37,031 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:28:42,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:28:47,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:28:52,291 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:28:57,369 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:29:02,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:29:07,545 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-01 11:29:12,657 - DEBUG - VM is in ACTIVE state now 2026-09-01 11:29:12,657 - INFO - VM name : ctest-TestBasicPolicy-16449720-19630507 2026-09-01 11:29:12,768 - DEBUG - VM ctest-TestBasicPolicy-16449720-19630507 ID is 42f8564b-47c0-46fd-a945-93df159bba6d 2026-09-01 11:29:12,798 - DEBUG - VM ctest-TestBasicPolicy-16449720-19630507 launched on Node cn-jenkins-deploy-platform-ansible-os-6238-1 2026-09-01 11:29:12,932 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/42f8564b-47c0-46fd-a945-93df159bba6d 2026-09-01 11:29:12,949 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/af45bc69-5327-4d99-9d84-a66e788ab4d2 2026-09-01 11:29:16,210 - 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=11.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 10.969/10.969/10.969/0.000 ms') 2026-09-01 11:29:16,210 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16449720-19630507 passed 2026-09-01 11:29:16,375 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 11:29:16,375 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16449720-19630507, IP 182.4.201.3, Port 22 2026-09-01 11:29:16,549 - DEBUG - VM ctest-TestBasicPolicy-16449720-19630507 is ready for SSH connections 2026-09-01 11:29:16,549 - INFO - Waiting for VM ctest-TestBasicPolicy-16449720-99534646 to be up.. 2026-09-01 11:29:16,642 - DEBUG - VM is in ACTIVE state now 2026-09-01 11:29:16,642 - INFO - VM name : ctest-TestBasicPolicy-16449720-99534646 2026-09-01 11:29:16,726 - DEBUG - VM ctest-TestBasicPolicy-16449720-99534646 ID is edc22af1-8f3c-424c-ae86-2c0173c364fc 2026-09-01 11:29:16,726 - DEBUG - VM ctest-TestBasicPolicy-16449720-99534646 launched on Node cn-jenkins-deploy-platform-ansible-os-6238-1 2026-09-01 11:29:16,812 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/edc22af1-8f3c-424c-ae86-2c0173c364fc 2026-09-01 11:29:16,823 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/2eab3ecf-85ec-4aa6-ba2c-38189cf07185 2026-09-01 11:29:20,087 - 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=2 ttl=63 time=9.48 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1008ms\r\nrtt min/avg/max/mdev = 9.479/9.479/9.479/0.000 ms') 2026-09-01 11:29:20,087 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16449720-99534646 passed 2026-09-01 11:29:20,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 11:29:20,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16449720-99534646, IP 134.57.124.67, Port 22 2026-09-01 11:29:20,305 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-01 11:29:20,388 - DEBUG - VM ctest-TestBasicPolicy-16449720-99534646 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-01 11:29:25,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 11:29:25,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16449720-99534646, IP 134.57.124.67, Port 22 2026-09-01 11:29:25,556 - DEBUG - VM ctest-TestBasicPolicy-16449720-99534646 is ready for SSH connections 2026-09-01 11:29:25,556 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 11:29:25,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.57.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-01 11:29:25,557 - DEBUG - ping -s 56 -c 3 -W 1 134.57.124.67 2026-09-01 11:29:29,520 - DEBUG - PING 134.57.124.67 (134.57.124.67): 56 data bytes 64 bytes from 134.57.124.67: seq=0 ttl=63 time=5.202 ms 64 bytes from 134.57.124.67: seq=1 ttl=63 time=1.219 ms 64 bytes from 134.57.124.67: seq=2 ttl=63 time=1.169 ms --- 134.57.124.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.169/2.530/5.202 ms 2026-09-01 11:29:29,520 - INFO - Ping to IP 134.57.124.67 from VM ctest-TestBasicPolicy-16449720-19630507 passed 2026-09-01 11:29:29,719 - DEBUG - Policy Update Response {"network-policy": {"uuid": "68de4d1a-39b6-4e8b-9d77-afffdc0674bc", "href": "http://10.0.0.161:8082/network-policy/68de4d1a-39b6-4e8b-9d77-afffdc0674bc"}} 2026-09-01 11:29:29,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-01 11:29:29,719 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.57.124.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-01 11:29:29,719 - DEBUG - ping -s 56 -c 3 -W 1 134.57.124.67 2026-09-01 11:29:32,851 - DEBUG - PING 134.57.124.67 (134.57.124.67): 56 data bytes 64 bytes from 134.57.124.67: seq=0 ttl=63 time=2.116 ms --- 134.57.124.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.116/2.116/2.116 ms 2026-09-01 11:29:32,851 - WARNING - Ping to IP 134.57.124.67 from VM ctest-TestBasicPolicy-16449720-19630507 failed 2026-09-01 11:29:32,851 - INFO - Deleting VM ctest-TestBasicPolicy-16449720-99534646 2026-09-01 11:29:32,934 - INFO - Deleting VM ctest-TestBasicPolicy-16449720-19630507 2026-09-01 11:29:33,361 - INFO - Deleted policy ctest-policy-allow-all-89835709 2026-09-01 11:29:33,361 - INFO - Deleting VN ctest-vn-80216587 2026-09-01 11:29:33,397 - DEBUG - VN 17d7fa83-8316-492b-980c-6c43084e323e still in use: Unable to complete operation on network 17d7fa83-8316-492b-980c-6c43084e323e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a4ef2c28-c54b-4660-aca9-1d8c54cf9e57'] 2026-09-01 11:29:33,397 - WARNING - Deleting VN ctest-vn-80216587 failed..Will retry 2026-09-01 11:29:35,510 - DEBUG - Response for deleting network () 2026-09-01 11:29:35,510 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/54d48b9b-9ff1-4315-85c1-da8f91c2969c 2026-09-01 11:29:35,518 - DEBUG - Response Code: 404 2026-09-01 11:29:35,518 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:29:35,525 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:29:35,582 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:29:35,667 - INFO - Validated that VN ctest-vn-80216587 is not found in API Server 2026-09-01 11:29:35,678 - DEBUG - VN ctest-vn-80216587 is not present in Agent 10.0.0.161 2026-09-01 11:29:35,678 - INFO - Validated that VN ctest-vn-80216587 is not in any agent 2026-09-01 11:29:35,697 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-80216587 info 2026-09-01 11:29:35,697 - INFO - Deleting VN ctest-vn-42782299 2026-09-01 11:29:35,847 - DEBUG - Response for deleting network () 2026-09-01 11:29:35,847 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/688f0c65-44bf-42cb-99d2-89c37fd28823 2026-09-01 11:29:35,857 - DEBUG - Response Code: 404 2026-09-01 11:29:35,858 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-01 11:29:35,865 - DEBUG - Requesting: http://10.0.0.161:8082/domain/442e174e-83b4-4433-84ac-38bb7af9567a 2026-09-01 11:29:35,921 - DEBUG - Requesting: http://10.0.0.161:8082/project/2209a15c-d2d5-4548-8de0-7c60a77aaa30 2026-09-01 11:29:36,003 - INFO - Validated that VN ctest-vn-42782299 is not found in API Server 2026-09-01 11:29:36,015 - DEBUG - VN ctest-vn-42782299 is not present in Agent 10.0.0.161 2026-09-01 11:29:36,015 - INFO - Validated that VN ctest-vn-42782299 is not in any agent 2026-09-01 11:29:36,034 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42782299 info 2026-09-01 11:29:36,293 - DEBUG - No XMPP flaps were noticed during the test
2026-09-01 11:29:36,293 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-09-01 11:29:36,293 - INFO - -------------------------------------------------------------------------------- 2026-09-01 11:29:37,036 - INFO - Deleted project: ctest-TestBasicPolicy-16449720, ID : 2209a15c-d2d5-4548-8de0-7c60a77aaa30