2026-09-04 11:48:33,433 - INFO - Domain Default found not creating 2026-09-04 11:48:33,560 - INFO - Project ctest-TestBasicPolicy-20928534 not found, creating it 2026-09-04 11:48:33,991 - INFO - Created Project:ctest-TestBasicPolicy-20928534, ID : 2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:48:35,436 - INFO - ================================================================================ 2026-09-04 11:48:35,436 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-04 11:48:35,436 - 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-04 11:48:35,702 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-09-04 11:48:35,702 - INFO - Initial checks done. Running the testcase now 2026-09-04 11:48:35,702 - INFO - 2026-09-04 11:48:36,276 - DEBUG - Response for create_network : {'network': {'id': '748d6b78-fda7-4af0-a1a0-4d91d160dc66', 'name': 'ctest-vn-46913747', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'project_id': '2501bf630e7c4822bec4994f0fe24645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-vn-46913747'], 'port_security_enabled': True, 'description': ''}} 2026-09-04 11:48:36,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '67cc34a9-bf39-4bd0-9847-69e31ecf5ecb', 'name': '', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'network_id': '748d6b78-fda7-4af0-a1a0-4d91d160dc66', 'ip_version': 4, 'cidr': '122.73.83.192/26', 'allocation_pools': [{'start': '122.73.83.194', 'end': '122.73.83.254'}], 'gateway_ip': '122.73.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.73.83.194', 'tags': [], 'project_id': '2501bf630e7c4822bec4994f0fe24645'}} 2026-09-04 11:48:36,491 - INFO - Created VN ctest-vn-46913747 2026-09-04 11:48:36,548 - DEBUG - VN ctest-vn-46913747 UUID is 748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:36,859 - DEBUG - Response for create_network : {'network': {'id': 'c7d94ef4-cde8-4461-8f82-cafdd29fe9fe', 'name': 'ctest-vn-44333682', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'project_id': '2501bf630e7c4822bec4994f0fe24645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-vn-44333682'], 'port_security_enabled': True, 'description': ''}} 2026-09-04 11:48:37,029 - DEBUG - Response for create_subnet : {'subnet': {'id': '335898b6-d21e-4872-84f0-8b14764bf206', 'name': '', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'network_id': 'c7d94ef4-cde8-4461-8f82-cafdd29fe9fe', 'ip_version': 4, 'cidr': '116.51.226.128/26', 'allocation_pools': [{'start': '116.51.226.130', 'end': '116.51.226.190'}], 'gateway_ip': '116.51.226.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.51.226.130', 'tags': [], 'project_id': '2501bf630e7c4822bec4994f0fe24645'}} 2026-09-04 11:48:37,043 - INFO - Created VN ctest-vn-44333682 2026-09-04 11:48:37,092 - DEBUG - VN ctest-vn-44333682 UUID is c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:37,236 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747, 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-20928534:ctest-vn-44333682, 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-04 11:48:37,536 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '748d6b78-fda7-4af0-a1a0-4d91d160dc66', 'name': 'ctest-vn-46913747', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'project_id': '2501bf630e7c4822bec4994f0fe24645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['67cc34a9-bf39-4bd0-9847-69e31ecf5ecb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-vn-46913747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-policy-allow-all-34648215']], 'subnet_ipam': [{'subnet_cidr': '122.73.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-04 11:48:37,761 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c7d94ef4-cde8-4461-8f82-cafdd29fe9fe', 'name': 'ctest-vn-44333682', 'tenant_id': '2501bf630e7c4822bec4994f0fe24645', 'project_id': '2501bf630e7c4822bec4994f0fe24645', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['335898b6-d21e-4872-84f0-8b14764bf206'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-vn-44333682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-policy-allow-all-34648215']], 'subnet_ipam': [{'subnet_cidr': '116.51.226.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-04 11:48:37,924 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:48:38,243 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:48:38,267 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:48:38,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:48:38,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,367 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:48:38,372 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:48:38,377 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c6828588-4ec2-4374-a303-c32c533d5886 2026-09-04 11:48:38,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-04 11:48:38,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:48:38,398 - INFO - Verified VN network id 12 for VN 748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,398 - INFO - Verifications in API Server for VN ctest-vn-46913747 passed 2026-09-04 11:48:38,398 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,405 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:48:38,409 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:48:38,414 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c6828588-4ec2-4374-a303-c32c533d5886 2026-09-04 11:48:38,425 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20928534', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8398487047511689968', 'uuid-lslong': '11646393925058485350'}, 'enable': 'true', 'created': '2026-09-04T11:48:36', 'last-modified': '2026-09-04T11:48:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.909994'} 2026-09-04 11:48:38,430 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-04 11:48:38,430 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46913747 passed 2026-09-04 11:48:38,430 - DEBUG - ====Verifying policy data for ctest-vn-46913747 in API_Server ====== 2026-09-04 11:48:38,430 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:48:38,434 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:48:38,443 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:48:38,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/748d6b78-fda7-4af0-a1a0-4d91d160dc66 2026-09-04 11:48:38,523 - DEBUG - ==>Verifying data for policy with id: 86724451-635e-47a1-8343-0205e62255ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-policy-allow-all-34648215'] 2026-09-04 11:48:38,523 - INFO - VN ctest-vn-46913747 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-04 11:48:38,523 - DEBUG - Verifying the vn in opserver 2026-09-04 11:48:38,523 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747 virtual network link through opserver 10.0.0.38 2026-09-04 11:48:38,523 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-04 11:48:38,845 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-04 11:48:38,890 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747?flat'} 2026-09-04 11:48:38,890 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747 is found in opserver 2026-09-04 11:48:38,899 - DEBUG - Do not have enough data to verify VN in agent 2026-09-04 11:48:38,903 - DEBUG - VRF ids for VN ctest-vn-46913747: {} 2026-09-04 11:48:38,903 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:48:38,908 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:48:38,917 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:48:38,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,000 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,008 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:48:39,014 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:48:39,019 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b58463d-24ad-4f1f-8f8c-8dc0aa6d2ee4 2026-09-04 11:48:39,024 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-04 11:48:39,024 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,030 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:48:39,042 - INFO - Verified VN network id 13 for VN c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,042 - INFO - Verifications in API Server for VN ctest-vn-44333682 passed 2026-09-04 11:48:39,042 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,049 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:48:39,054 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:48:39,059 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9b58463d-24ad-4f1f-8f8c-8dc0aa6d2ee4 2026-09-04 11:48:39,068 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-44333682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20928534', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14400628096827409505', 'uuid-lslong': '10341050885905312254'}, 'enable': 'true', 'created': '2026-09-04T11:48:36', 'last-modified': '2026-09-04T11:48:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.325464'} 2026-09-04 11:48:39,074 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-04 11:48:39,074 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44333682 passed 2026-09-04 11:48:39,074 - DEBUG - ====Verifying policy data for ctest-vn-44333682 in API_Server ====== 2026-09-04 11:48:39,074 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:48:39,078 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:48:39,088 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:48:39,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c7d94ef4-cde8-4461-8f82-cafdd29fe9fe 2026-09-04 11:48:39,167 - DEBUG - ==>Verifying data for policy with id: 86724451-635e-47a1-8343-0205e62255ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-20928534', 'ctest-policy-allow-all-34648215'] 2026-09-04 11:48:39,167 - INFO - VN ctest-vn-44333682 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-04 11:48:39,167 - DEBUG - Verifying the vn in opserver 2026-09-04 11:48:39,167 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-44333682 virtual network link through opserver 10.0.0.38 2026-09-04 11:48:39,167 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-04 11:48:39,176 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-44333682', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-44333682?flat'} 2026-09-04 11:48:39,176 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-44333682 is found in opserver 2026-09-04 11:48:39,185 - DEBUG - Do not have enough data to verify VN in agent 2026-09-04 11:48:39,190 - DEBUG - VRF ids for VN ctest-vn-44333682: {} 2026-09-04 11:48:39,250 - DEBUG - Services list from nova: [, , ] 2026-09-04 11:48:39,636 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6254-1) 2026-09-04 11:48:39,968 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6254-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6254-1) 2026-09-04 11:48:39,968 - INFO - Waiting for VM ctest-TestBasicPolicy-20928534-97762956 to be up.. 2026-09-04 11:48:40,003 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:48:45,068 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:48:50,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:48:55,210 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:49:00,280 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:49:05,345 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:49:10,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-04 11:49:15,487 - DEBUG - VM is in ACTIVE state now 2026-09-04 11:49:15,487 - INFO - VM name : ctest-TestBasicPolicy-20928534-97762956 2026-09-04 11:49:15,548 - DEBUG - VM ctest-TestBasicPolicy-20928534-97762956 ID is 36e5b66b-1c21-40c1-85da-b1a11194c4ee 2026-09-04 11:49:15,566 - DEBUG - VM ctest-TestBasicPolicy-20928534-97762956 launched on Node cn-jenkins-deploy-platform-ansible-os-6254-1 2026-09-04 11:49:15,639 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/36e5b66b-1c21-40c1-85da-b1a11194c4ee 2026-09-04 11:49:15,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e71a9dff-9b7c-4915-89fe-65a4602244c1 2026-09-04 11:49:18,921 - 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 1030ms') 2026-09-04 11:49:18,921 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20928534-97762956 failed! 2026-09-04 11:49:18,976 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20928534:ctest-vn-46913747 is 122.73.83.193 and allocation pool is NOT set 2026-09-04 11:49:21,042 - 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=5.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.67 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 = 2.673/4.269/5.865/1.596 ms') 2026-09-04 11:49:21,042 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20928534-97762956 passed 2026-09-04 11:49:21,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 11:49:21,192 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20928534-97762956, IP 122.73.83.195, Port 22 2026-09-04 11:49:21,258 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-04 11:49:21,336 - DEBUG - VM ctest-TestBasicPolicy-20928534-97762956 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-04 11:49:26,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 11:49:26,337 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20928534-97762956, IP 122.73.83.195, Port 22 2026-09-04 11:49:26,506 - DEBUG - VM ctest-TestBasicPolicy-20928534-97762956 is ready for SSH connections 2026-09-04 11:49:26,506 - INFO - Waiting for VM ctest-TestBasicPolicy-20928534-83319911 to be up.. 2026-09-04 11:49:26,580 - DEBUG - VM is in ACTIVE state now 2026-09-04 11:49:26,580 - INFO - VM name : ctest-TestBasicPolicy-20928534-83319911 2026-09-04 11:49:26,649 - DEBUG - VM ctest-TestBasicPolicy-20928534-83319911 ID is 52804f42-ae16-4b0d-b905-0415f0f7b87f 2026-09-04 11:49:26,649 - DEBUG - VM ctest-TestBasicPolicy-20928534-83319911 launched on Node cn-jenkins-deploy-platform-ansible-os-6254-1 2026-09-04 11:49:26,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/52804f42-ae16-4b0d-b905-0415f0f7b87f 2026-09-04 11:49:26,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/05f44f7f-9a2e-4106-8be4-60e23c0d4731 2026-09-04 11:49:27,958 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.443/1.883/3.323/1.440 ms') 2026-09-04 11:49:27,958 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20928534-83319911 passed 2026-09-04 11:49:28,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 11:49:28,105 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20928534-83319911, IP 116.51.226.131, Port 22 2026-09-04 11:49:28,260 - DEBUG - VM ctest-TestBasicPolicy-20928534-83319911 is ready for SSH connections 2026-09-04 11:49:28,260 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 11:49:28,261 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.51.226.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-04 11:49:28,261 - DEBUG - ping -s 56 -c 3 -W 1 116.51.226.131 2026-09-04 11:49:32,151 - DEBUG - PING 116.51.226.131 (116.51.226.131): 56 data bytes 64 bytes from 116.51.226.131: seq=0 ttl=63 time=4.000 ms 64 bytes from 116.51.226.131: seq=1 ttl=63 time=1.123 ms 64 bytes from 116.51.226.131: seq=2 ttl=63 time=0.926 ms --- 116.51.226.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/2.016/4.000 ms 2026-09-04 11:49:32,151 - INFO - Ping to IP 116.51.226.131 from VM ctest-TestBasicPolicy-20928534-97762956 passed 2026-09-04 11:49:32,328 - DEBUG - Policy Update Response {"network-policy": {"uuid": "86724451-635e-47a1-8343-0205e62255ee", "href": "http://10.0.0.38:8082/network-policy/86724451-635e-47a1-8343-0205e62255ee"}} 2026-09-04 11:49:32,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-04 11:49:32,328 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.51.226.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-04 11:49:32,328 - DEBUG - ping -s 56 -c 3 -W 1 116.51.226.131 2026-09-04 11:49:35,457 - DEBUG - PING 116.51.226.131 (116.51.226.131): 56 data bytes 64 bytes from 116.51.226.131: seq=0 ttl=63 time=1.570 ms --- 116.51.226.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.570/1.570/1.570 ms 2026-09-04 11:49:35,458 - WARNING - Ping to IP 116.51.226.131 from VM ctest-TestBasicPolicy-20928534-97762956 failed 2026-09-04 11:49:35,458 - INFO - Deleting VM ctest-TestBasicPolicy-20928534-83319911 2026-09-04 11:49:35,516 - INFO - Deleting VM ctest-TestBasicPolicy-20928534-97762956 2026-09-04 11:49:35,841 - INFO - Deleted policy ctest-policy-allow-all-34648215 2026-09-04 11:49:35,841 - INFO - Deleting VN ctest-vn-44333682 2026-09-04 11:49:35,870 - DEBUG - VN c7d94ef4-cde8-4461-8f82-cafdd29fe9fe still in use: Unable to complete operation on network c7d94ef4-cde8-4461-8f82-cafdd29fe9fe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6bd9e099-60a1-4dd2-8377-46cc8b7c0948'] 2026-09-04 11:49:35,870 - WARNING - Deleting VN ctest-vn-44333682 failed..Will retry 2026-09-04 11:49:37,960 - DEBUG - Response for deleting network () 2026-09-04 11:49:37,960 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13c722ac-95f7-4170-8cd7-76bed4d831e9 2026-09-04 11:49:37,967 - DEBUG - Response Code: 404 2026-09-04 11:49:37,967 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:49:37,971 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:49:38,026 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:49:38,095 - INFO - Validated that VN ctest-vn-44333682 is not found in API Server 2026-09-04 11:49:38,104 - DEBUG - VN ctest-vn-44333682 is not present in Agent 10.0.0.38 2026-09-04 11:49:38,104 - INFO - Validated that VN ctest-vn-44333682 is not in any agent 2026-09-04 11:49:38,118 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44333682 info 2026-09-04 11:49:38,118 - INFO - Deleting VN ctest-vn-46913747 2026-09-04 11:49:38,211 - DEBUG - Response for deleting network () 2026-09-04 11:49:38,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7476cb35-d345-4112-a85d-6623792b0707 2026-09-04 11:49:38,218 - DEBUG - Response Code: 404 2026-09-04 11:49:38,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-04 11:49:38,224 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d792a2cb-d4da-49a8-b625-6075735d0b96 2026-09-04 11:49:38,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/2501bf63-0e7c-4822-bec4-994f0fe24645 2026-09-04 11:49:38,346 - INFO - Validated that VN ctest-vn-46913747 is not found in API Server 2026-09-04 11:49:38,355 - DEBUG - VN ctest-vn-46913747 is not present in Agent 10.0.0.38 2026-09-04 11:49:38,355 - INFO - Validated that VN ctest-vn-46913747 is not in any agent 2026-09-04 11:49:38,366 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46913747 info 2026-09-04 11:49:38,626 - DEBUG - No XMPP flaps were noticed during the test 2026-09-04 11:49:38,626 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03] 2026-09-04 11:49:38,626 - INFO - -------------------------------------------------------------------------------- 2026-09-04 11:49:39,293 - INFO - Deleted project: ctest-TestBasicPolicy-20928534, ID : 2501bf63-0e7c-4822-bec4-994f0fe24645