2025-09-01 17:24:42,806 - INFO - Domain Default found not creating 2025-09-01 17:24:42,937 - INFO - Project ctest-TestBasicPolicy-80677158 not found, creating it 2025-09-01 17:24:43,365 - INFO - Created Project:ctest-TestBasicPolicy-80677158, ID : 1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:24:44,683 - INFO - ================================================================================ 2025-09-01 17:24:44,683 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-01 17:24:44,683 - 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 2025-09-01 17:24:44,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-01 17:24:44,942 - INFO - Initial checks done. Running the testcase now 2025-09-01 17:24:44,942 - INFO - 2025-09-01 17:24:45,459 - DEBUG - Response for create_network : {'network': {'id': '3862bed1-2b84-40a2-a7ea-1585f86ad813', 'name': 'ctest-vn-39764625', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-vn-39764625'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:45,632 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b4734887-d6ba-4050-8a68-e350bd9bb75a', 'name': '', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'network_id': '3862bed1-2b84-40a2-a7ea-1585f86ad813', 'ip_version': 4, 'cidr': '163.140.111.64/26', 'allocation_pools': [{'start': '163.140.111.66', 'end': '163.140.111.126'}], 'gateway_ip': '163.140.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.140.111.66', 'tags': [], 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d'}} 2025-09-01 17:24:45,650 - INFO - Created VN ctest-vn-39764625 2025-09-01 17:24:45,701 - DEBUG - VN ctest-vn-39764625 UUID is 3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:46,009 - DEBUG - Response for create_network : {'network': {'id': 'a83f88bc-f80d-4752-89a0-3b3be3f6afe0', 'name': 'ctest-vn-72477637', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-vn-72477637'], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:46,196 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b3ee86f-1f4c-4191-833d-ecf7b920ebd9', 'name': '', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'network_id': 'a83f88bc-f80d-4752-89a0-3b3be3f6afe0', 'ip_version': 4, 'cidr': '46.243.183.128/26', 'allocation_pools': [{'start': '46.243.183.130', 'end': '46.243.183.190'}], 'gateway_ip': '46.243.183.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.243.183.130', 'tags': [], 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d'}} 2025-09-01 17:24:46,212 - INFO - Created VN ctest-vn-72477637 2025-09-01 17:24:46,261 - DEBUG - VN ctest-vn-72477637 UUID is a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:46,405 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625, 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-80677158:ctest-vn-72477637, 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] 2025-09-01 17:24:46,703 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3862bed1-2b84-40a2-a7ea-1585f86ad813', 'name': 'ctest-vn-39764625', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b4734887-d6ba-4050-8a68-e350bd9bb75a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-vn-39764625'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-policy-allow-all-85126081']], 'subnet_ipam': [{'subnet_cidr': '163.140.111.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:46,955 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a83f88bc-f80d-4752-89a0-3b3be3f6afe0', 'name': 'ctest-vn-72477637', 'tenant_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'project_id': '1026fd3c90d14ad4bcabf4664acfe21d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b3ee86f-1f4c-4191-833d-ecf7b920ebd9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-vn-72477637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-policy-allow-all-85126081']], 'subnet_ipam': [{'subnet_cidr': '46.243.183.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-01 17:24:47,097 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:24:47,390 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:24:47,414 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:24:47,424 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:24:47,490 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,499 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,506 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:24:47,512 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:24:47,517 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ef7371ea-8692-424c-ad2a-aa40ee0658aa 2025-09-01 17:24:47,521 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-01 17:24:47,522 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,529 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:24:47,539 - INFO - Verified VN network id 11 for VN 3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,540 - INFO - Verifications in API Server for VN ctest-vn-39764625 passed 2025-09-01 17:24:47,540 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,547 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:24:47,552 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:24:47,557 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ef7371ea-8692-424c-ad2a-aa40ee0658aa 2025-09-01 17:24:47,566 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80677158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4063019619429138594', 'uuid-lslong': '12099507014026844179'}, 'enable': 'true', 'created': '2025-09-01T17:24:45', 'last-modified': '2025-09-01T17:24:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.894928'} 2025-09-01 17:24:47,570 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-01 17:24:47,570 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39764625 passed 2025-09-01 17:24:47,570 - DEBUG - ====Verifying policy data for ctest-vn-39764625 in API_Server ====== 2025-09-01 17:24:47,571 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:24:47,574 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:24:47,582 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:24:47,646 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3862bed1-2b84-40a2-a7ea-1585f86ad813 2025-09-01 17:24:47,654 - DEBUG - ==>Verifying data for policy with id: 6d091dfb-43ca-44cc-bcbc-acc3eba2488e, fqn: ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-policy-allow-all-85126081'] 2025-09-01 17:24:47,654 - INFO - VN ctest-vn-39764625 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-01 17:24:47,654 - DEBUG - Verifying the vn in opserver 2025-09-01 17:24:47,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625 virtual network link through opserver 10.0.0.254 2025-09-01 17:24:47,654 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 17:24:47,940 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 17:24:47,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625?flat'} 2025-09-01 17:24:47,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625 is found in opserver 2025-09-01 17:24:47,999 - DEBUG - Do not have enough data to verify VN in agent 2025-09-01 17:24:48,003 - DEBUG - VRF ids for VN ctest-vn-39764625: {} 2025-09-01 17:24:48,003 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:24:48,009 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:24:48,019 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:24:48,090 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,099 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,106 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:24:48,112 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:24:48,118 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb714a09-78aa-4ebd-aae4-767c624a5df5 2025-09-01 17:24:48,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-01 17:24:48,123 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,129 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:24:48,139 - INFO - Verified VN network id 12 for VN a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,139 - INFO - Verifications in API Server for VN ctest-vn-72477637 passed 2025-09-01 17:24:48,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,145 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:24:48,150 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:24:48,154 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/eb714a09-78aa-4ebd-aae4-767c624a5df5 2025-09-01 17:24:48,163 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-72477637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80677158', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12123559067101513554', 'uuid-lslong': '9916991507883536352'}, 'enable': 'true', 'created': '2025-09-01T17:24:45', 'last-modified': '2025-09-01T17:24:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.272221'} 2025-09-01 17:24:48,167 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-01 17:24:48,167 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72477637 passed 2025-09-01 17:24:48,167 - DEBUG - ====Verifying policy data for ctest-vn-72477637 in API_Server ====== 2025-09-01 17:24:48,167 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:24:48,172 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:24:48,180 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:24:48,249 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/a83f88bc-f80d-4752-89a0-3b3be3f6afe0 2025-09-01 17:24:48,258 - DEBUG - ==>Verifying data for policy with id: 6d091dfb-43ca-44cc-bcbc-acc3eba2488e, fqn: ['default-domain', 'ctest-TestBasicPolicy-80677158', 'ctest-policy-allow-all-85126081'] 2025-09-01 17:24:48,258 - INFO - VN ctest-vn-72477637 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-01 17:24:48,258 - DEBUG - Verifying the vn in opserver 2025-09-01 17:24:48,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-72477637 virtual network link through opserver 10.0.0.254 2025-09-01 17:24:48,258 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-01 17:24:48,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-72477637', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-72477637?flat'} 2025-09-01 17:24:48,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-72477637 is found in opserver 2025-09-01 17:24:48,275 - DEBUG - Do not have enough data to verify VN in agent 2025-09-01 17:24:48,279 - DEBUG - VRF ids for VN ctest-vn-72477637: {} 2025-09-01 17:24:48,329 - DEBUG - Services list from nova: [, , ] 2025-09-01 17:24:49,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:24:50,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3998-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3998-1) 2025-09-01 17:24:50,345 - INFO - Waiting for VM ctest-TestBasicPolicy-80677158-92313897 to be up.. 2025-09-01 17:24:50,409 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-01 17:24:55,473 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:24:55,474 - INFO - VM name : ctest-TestBasicPolicy-80677158-92313897 2025-09-01 17:24:55,539 - DEBUG - VM ctest-TestBasicPolicy-80677158-92313897 ID is 8faee467-08b4-4cd3-b274-d7eae8378461 2025-09-01 17:24:55,560 - DEBUG - VM ctest-TestBasicPolicy-80677158-92313897 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:24:55,628 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8faee467-08b4-4cd3-b274-d7eae8378461 2025-09-01 17:24:55,637 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e29239b5-5372-4569-bf31-ff64743ee5fa 2025-09-01 17:24:58,870 - 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 1007ms') 2025-09-01 17:24:58,870 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80677158-92313897 failed! 2025-09-01 17:24:58,925 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80677158:ctest-vn-39764625 is 163.140.111.65 and allocation pool is NOT set 2025-09-01 17:25:00,982 - 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=2.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.409/1.527/2.645/1.118 ms') 2025-09-01 17:25:00,982 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80677158-92313897 passed 2025-09-01 17:25:01,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:25:01,134 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80677158-92313897, IP 163.140.111.67, Port 22 2025-09-01 17:25:01,285 - DEBUG - VM ctest-TestBasicPolicy-80677158-92313897 is ready for SSH connections 2025-09-01 17:25:01,286 - INFO - Waiting for VM ctest-TestBasicPolicy-80677158-09458893 to be up.. 2025-09-01 17:25:01,353 - DEBUG - VM is in ACTIVE state now 2025-09-01 17:25:01,353 - INFO - VM name : ctest-TestBasicPolicy-80677158-09458893 2025-09-01 17:25:01,419 - DEBUG - VM ctest-TestBasicPolicy-80677158-09458893 ID is cbffce2d-6fb8-4d28-afb9-117e0333e805 2025-09-01 17:25:01,419 - DEBUG - VM ctest-TestBasicPolicy-80677158-09458893 launched on Node cn-jenkins-deploy-platform-ansible-os-3998-1 2025-09-01 17:25:01,485 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cbffce2d-6fb8-4d28-afb9-117e0333e805 2025-09-01 17:25:01,493 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1d7dd7d1-4a97-4418-9343-90cf9c4cadf7 2025-09-01 17:25:02,725 - 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=2.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.666/2.983/1.316 ms') 2025-09-01 17:25:02,725 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80677158-09458893 passed 2025-09-01 17:25:02,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:25:02,878 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80677158-09458893, IP 46.243.183.131, Port 22 2025-09-01 17:25:03,033 - DEBUG - VM ctest-TestBasicPolicy-80677158-09458893 is ready for SSH connections 2025-09-01 17:25:03,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:25:03,033 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.243.183.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:25:03,034 - DEBUG - ping -s 56 -c 3 -W 1 46.243.183.131 2025-09-01 17:25:06,749 - DEBUG - PING 46.243.183.131 (46.243.183.131): 56 data bytes 64 bytes from 46.243.183.131: seq=0 ttl=63 time=3.200 ms 64 bytes from 46.243.183.131: seq=1 ttl=63 time=0.826 ms 64 bytes from 46.243.183.131: seq=2 ttl=63 time=0.994 ms --- 46.243.183.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.673/3.200 ms 2025-09-01 17:25:06,749 - INFO - Ping to IP 46.243.183.131 from VM ctest-TestBasicPolicy-80677158-92313897 passed 2025-09-01 17:25:06,917 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6d091dfb-43ca-44cc-bcbc-acc3eba2488e", "href": "http://10.0.0.254:8082/network-policy/6d091dfb-43ca-44cc-bcbc-acc3eba2488e"}} 2025-09-01 17:25:06,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-01 17:25:06,917 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.243.183.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-01 17:25:06,917 - DEBUG - ping -s 56 -c 3 -W 1 46.243.183.131 2025-09-01 17:25:10,110 - DEBUG - PING 46.243.183.131 (46.243.183.131): 56 data bytes 64 bytes from 46.243.183.131: seq=0 ttl=63 time=1.215 ms --- 46.243.183.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.215/1.215/1.215 ms 2025-09-01 17:25:10,110 - WARNING - Ping to IP 46.243.183.131 from VM ctest-TestBasicPolicy-80677158-92313897 failed 2025-09-01 17:25:10,110 - INFO - Deleting VM ctest-TestBasicPolicy-80677158-09458893 2025-09-01 17:25:10,177 - INFO - Deleting VM ctest-TestBasicPolicy-80677158-92313897 2025-09-01 17:25:10,508 - INFO - Deleted policy ctest-policy-allow-all-85126081 2025-09-01 17:25:10,508 - INFO - Deleting VN ctest-vn-72477637 2025-09-01 17:25:10,541 - DEBUG - VN a83f88bc-f80d-4752-89a0-3b3be3f6afe0 still in use: Unable to complete operation on network a83f88bc-f80d-4752-89a0-3b3be3f6afe0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ec7a7ee-e3a3-442b-8619-a1cdbdd39df0'] 2025-09-01 17:25:10,541 - WARNING - Deleting VN ctest-vn-72477637 failed..Will retry 2025-09-01 17:25:12,626 - DEBUG - Response for deleting network () 2025-09-01 17:25:12,626 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9b8131ef-2d2d-4946-8f9e-b6d4d984eb1a 2025-09-01 17:25:12,631 - DEBUG - Response Code: 404 2025-09-01 17:25:12,631 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:25:12,636 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:25:12,691 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:25:12,756 - INFO - Validated that VN ctest-vn-72477637 is not found in API Server 2025-09-01 17:25:12,764 - DEBUG - VN ctest-vn-72477637 is not present in Agent 10.0.0.254 2025-09-01 17:25:12,764 - INFO - Validated that VN ctest-vn-72477637 is not in any agent 2025-09-01 17:25:12,776 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72477637 info 2025-09-01 17:25:12,776 - INFO - Deleting VN ctest-vn-39764625 2025-09-01 17:25:12,856 - DEBUG - Response for deleting network () 2025-09-01 17:25:12,857 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ce7a5a53-97f2-4210-b5f7-7a71cf4fab79 2025-09-01 17:25:12,863 - DEBUG - Response Code: 404 2025-09-01 17:25:12,863 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-01 17:25:12,867 - DEBUG - Requesting: http://10.0.0.254:8082/domain/d6560e76-09d1-41e6-a069-a36c86054403 2025-09-01 17:25:12,917 - DEBUG - Requesting: http://10.0.0.254:8082/project/1026fd3c-90d1-4ad4-bcab-f4664acfe21d 2025-09-01 17:25:12,989 - INFO - Validated that VN ctest-vn-39764625 is not found in API Server 2025-09-01 17:25:12,996 - DEBUG - VN ctest-vn-39764625 is not present in Agent 10.0.0.254 2025-09-01 17:25:12,996 - INFO - Validated that VN ctest-vn-39764625 is not in any agent 2025-09-01 17:25:13,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39764625 info 2025-09-01 17:25:13,261 - DEBUG - No XMPP flaps were noticed during the test
2025-09-01 17:25:13,262 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-01 17:25:13,262 - INFO - -------------------------------------------------------------------------------- 2025-09-01 17:25:13,878 - INFO - Deleted project: ctest-TestBasicPolicy-80677158, ID : 1026fd3c-90d1-4ad4-bcab-f4664acfe21d