2025-08-28 02:17:31,917 - INFO - Domain Default found not creating 2025-08-28 02:17:32,038 - INFO - Project ctest-TestBasicPolicy-54290727 not found, creating it 2025-08-28 02:17:32,438 - INFO - Created Project:ctest-TestBasicPolicy-54290727, ID : 5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:17:33,735 - INFO - ================================================================================ 2025-08-28 02:17:33,735 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-28 02:17:33,735 - 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-08-28 02:17:33,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.18': '0'}} with 2025-08-28 02:17:33,992 - INFO - Initial checks done. Running the testcase now 2025-08-28 02:17:33,992 - INFO - 2025-08-28 02:17:34,487 - DEBUG - Response for create_network : {'network': {'id': '4e56f4ca-3813-45de-b9c7-29c4f09c65be', 'name': 'ctest-vn-68175816', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'project_id': '5407bc92a316460a81d692e98fc7cca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-vn-68175816'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:17:34,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd14b117e-6e8d-4e5b-b1a0-c96017ab031e', 'name': '', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'network_id': '4e56f4ca-3813-45de-b9c7-29c4f09c65be', 'ip_version': 4, 'cidr': '221.23.59.64/26', 'allocation_pools': [{'start': '221.23.59.66', 'end': '221.23.59.126'}], 'gateway_ip': '221.23.59.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.23.59.66', 'tags': [], 'project_id': '5407bc92a316460a81d692e98fc7cca3'}} 2025-08-28 02:17:34,689 - INFO - Created VN ctest-vn-68175816 2025-08-28 02:17:34,739 - DEBUG - VN ctest-vn-68175816 UUID is 4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:35,034 - DEBUG - Response for create_network : {'network': {'id': '8f82a3b4-767b-4907-aca9-b6923114f5db', 'name': 'ctest-vn-51705602', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'project_id': '5407bc92a316460a81d692e98fc7cca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-vn-51705602'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:17:35,248 - DEBUG - Response for create_subnet : {'subnet': {'id': '1edafb7a-1e12-40f6-ab40-6625cdd831df', 'name': '', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'network_id': '8f82a3b4-767b-4907-aca9-b6923114f5db', 'ip_version': 4, 'cidr': '8.250.30.64/26', 'allocation_pools': [{'start': '8.250.30.66', 'end': '8.250.30.126'}], 'gateway_ip': '8.250.30.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.250.30.66', 'tags': [], 'project_id': '5407bc92a316460a81d692e98fc7cca3'}} 2025-08-28 02:17:35,264 - INFO - Created VN ctest-vn-51705602 2025-08-28 02:17:35,315 - DEBUG - VN ctest-vn-51705602 UUID is 8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:35,455 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816, 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-54290727:ctest-vn-51705602, 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-08-28 02:17:35,735 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e56f4ca-3813-45de-b9c7-29c4f09c65be', 'name': 'ctest-vn-68175816', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'project_id': '5407bc92a316460a81d692e98fc7cca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d14b117e-6e8d-4e5b-b1a0-c96017ab031e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-vn-68175816'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-policy-allow-all-69775957']], 'subnet_ipam': [{'subnet_cidr': '221.23.59.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:17:35,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8f82a3b4-767b-4907-aca9-b6923114f5db', 'name': 'ctest-vn-51705602', 'tenant_id': '5407bc92a316460a81d692e98fc7cca3', 'project_id': '5407bc92a316460a81d692e98fc7cca3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1edafb7a-1e12-40f6-ab40-6625cdd831df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-vn-51705602'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-policy-allow-all-69775957']], 'subnet_ipam': [{'subnet_cidr': '8.250.30.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-28 02:17:36,095 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:17:36,381 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:17:36,404 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:17:36,414 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:17:36,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,491 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,498 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:17:36,503 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:17:36,508 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ceee7eb-8eac-4c75-bcd8-fa526dda9fe2 2025-08-28 02:17:36,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 02:17:36,512 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,519 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:17:36,530 - INFO - Verified VN network id 12 for VN 4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,530 - INFO - Verifications in API Server for VN ctest-vn-68175816 passed 2025-08-28 02:17:36,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,537 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:17:36,542 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:17:36,546 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ceee7eb-8eac-4c75-bcd8-fa526dda9fe2 2025-08-28 02:17:36,554 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54290727', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5644968332316853726', 'uuid-lslong': '13386714343209199038'}, 'enable': 'true', 'created': '2025-08-28T02:17:34', 'last-modified': '2025-08-28T02:17:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.838961'} 2025-08-28 02:17:36,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-28 02:17:36,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68175816 passed 2025-08-28 02:17:36,560 - DEBUG - ====Verifying policy data for ctest-vn-68175816 in API_Server ====== 2025-08-28 02:17:36,560 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:17:36,563 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:17:36,572 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:17:36,636 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4e56f4ca-3813-45de-b9c7-29c4f09c65be 2025-08-28 02:17:36,643 - DEBUG - ==>Verifying data for policy with id: 49f011b4-c236-4b22-bdb9-0b64c1c3fe07, fqn: ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-policy-allow-all-69775957'] 2025-08-28 02:17:36,643 - INFO - VN ctest-vn-68175816 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 02:17:36,643 - DEBUG - Verifying the vn in opserver 2025-08-28 02:17:36,643 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816 virtual network link through opserver 10.0.0.33 2025-08-28 02:17:36,644 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-28 02:17:36,930 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-28 02:17:36,977 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816?flat'} 2025-08-28 02:17:36,977 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816 is found in opserver 2025-08-28 02:17:36,986 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 02:17:36,990 - DEBUG - VRF ids for VN ctest-vn-68175816: {} 2025-08-28 02:17:36,990 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:17:36,995 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:17:37,004 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:17:37,070 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,079 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,086 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:17:37,091 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:17:37,096 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2274f028-f52c-40ba-bc2c-78ccb6873389 2025-08-28 02:17:37,100 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 02:17:37,100 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,108 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:17:37,121 - INFO - Verified VN network id 13 for VN 8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,121 - INFO - Verifications in API Server for VN ctest-vn-51705602 passed 2025-08-28 02:17:37,121 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,131 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:17:37,138 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:17:37,144 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/2274f028-f52c-40ba-bc2c-78ccb6873389 2025-08-28 02:17:37,154 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-51705602', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54290727', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10341007689873312007', 'uuid-lslong': '12441676184592643547'}, 'enable': 'true', 'created': '2025-08-28T02:17:35', 'last-modified': '2025-08-28T02:17:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.234227'} 2025-08-28 02:17:37,159 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-28 02:17:37,159 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51705602 passed 2025-08-28 02:17:37,159 - DEBUG - ====Verifying policy data for ctest-vn-51705602 in API_Server ====== 2025-08-28 02:17:37,159 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:17:37,163 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:17:37,172 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:17:37,242 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/8f82a3b4-767b-4907-aca9-b6923114f5db 2025-08-28 02:17:37,249 - DEBUG - ==>Verifying data for policy with id: 49f011b4-c236-4b22-bdb9-0b64c1c3fe07, fqn: ['default-domain', 'ctest-TestBasicPolicy-54290727', 'ctest-policy-allow-all-69775957'] 2025-08-28 02:17:37,249 - INFO - VN ctest-vn-51705602 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-28 02:17:37,249 - DEBUG - Verifying the vn in opserver 2025-08-28 02:17:37,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-51705602 virtual network link through opserver 10.0.0.33 2025-08-28 02:17:37,249 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-08-28 02:17:37,257 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-51705602', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-51705602?flat'} 2025-08-28 02:17:37,257 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-51705602 is found in opserver 2025-08-28 02:17:37,265 - DEBUG - Do not have enough data to verify VN in agent 2025-08-28 02:17:37,268 - DEBUG - VRF ids for VN ctest-vn-51705602: {} 2025-08-28 02:17:37,316 - DEBUG - Services list from nova: [, , ] 2025-08-28 02:17:38,253 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:17:39,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3953-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3953-1) 2025-08-28 02:17:39,320 - INFO - Waiting for VM ctest-TestBasicPolicy-54290727-98692664 to be up.. 2025-08-28 02:17:39,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 02:17:44,448 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:17:44,448 - INFO - VM name : ctest-TestBasicPolicy-54290727-98692664 2025-08-28 02:17:44,509 - DEBUG - VM ctest-TestBasicPolicy-54290727-98692664 ID is 82667ddc-0f1c-498c-93ef-b97e34d07ab6 2025-08-28 02:17:44,525 - DEBUG - VM ctest-TestBasicPolicy-54290727-98692664 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:17:44,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/82667ddc-0f1c-498c-93ef-b97e34d07ab6 2025-08-28 02:17:44,592 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/697d0f7d-7185-45c7-a290-951615d3331f 2025-08-28 02:17:47,857 - 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 1028ms') 2025-08-28 02:17:47,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54290727-98692664 failed! 2025-08-28 02:17:47,911 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54290727:ctest-vn-68175816 is 221.23.59.65 and allocation pool is NOT set 2025-08-28 02:17:49,974 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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.398/1.646/2.894/1.248 ms') 2025-08-28 02:17:49,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54290727-98692664 passed 2025-08-28 02:17:50,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:50,127 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54290727-98692664, IP 221.23.59.67, Port 22 2025-08-28 02:17:50,278 - DEBUG - VM ctest-TestBasicPolicy-54290727-98692664 is ready for SSH connections 2025-08-28 02:17:50,278 - INFO - Waiting for VM ctest-TestBasicPolicy-54290727-85595831 to be up.. 2025-08-28 02:17:50,337 - DEBUG - VM is in ACTIVE state now 2025-08-28 02:17:50,338 - INFO - VM name : ctest-TestBasicPolicy-54290727-85595831 2025-08-28 02:17:50,395 - DEBUG - VM ctest-TestBasicPolicy-54290727-85595831 ID is 4bbb65a8-bd56-4bf0-97d9-2e0ac637f41a 2025-08-28 02:17:50,395 - DEBUG - VM ctest-TestBasicPolicy-54290727-85595831 launched on Node cn-jenkins-deploy-platform-ansible-os-3953-1 2025-08-28 02:17:50,456 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/4bbb65a8-bd56-4bf0-97d9-2e0ac637f41a 2025-08-28 02:17:50,462 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/14690abf-a3e2-4814-aee9-9d3f43be5af3 2025-08-28 02:17:51,689 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.357 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.357/1.633/2.909/1.276 ms') 2025-08-28 02:17:51,689 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54290727-85595831 passed 2025-08-28 02:17:51,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:51,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54290727-85595831, IP 8.250.30.67, Port 22 2025-08-28 02:17:51,989 - DEBUG - VM ctest-TestBasicPolicy-54290727-85595831 is ready for SSH connections 2025-08-28 02:17:51,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:51,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.250.30.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-28 02:17:51,989 - DEBUG - ping -s 56 -c 3 -W 1 8.250.30.67 2025-08-28 02:17:55,655 - DEBUG - PING 8.250.30.67 (8.250.30.67): 56 data bytes 64 bytes from 8.250.30.67: seq=0 ttl=63 time=3.266 ms 64 bytes from 8.250.30.67: seq=1 ttl=63 time=0.692 ms 64 bytes from 8.250.30.67: seq=2 ttl=63 time=0.742 ms --- 8.250.30.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.692/1.566/3.266 ms 2025-08-28 02:17:55,655 - INFO - Ping to IP 8.250.30.67 from VM ctest-TestBasicPolicy-54290727-98692664 passed 2025-08-28 02:17:55,830 - DEBUG - Policy Update Response {"network-policy": {"uuid": "49f011b4-c236-4b22-bdb9-0b64c1c3fe07", "href": "http://10.0.0.33:8082/network-policy/49f011b4-c236-4b22-bdb9-0b64c1c3fe07"}} 2025-08-28 02:17:55,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 02:17:55,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.250.30.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-08-28 02:17:55,831 - DEBUG - ping -s 56 -c 3 -W 1 8.250.30.67 2025-08-28 02:17:59,020 - DEBUG - PING 8.250.30.67 (8.250.30.67): 56 data bytes 64 bytes from 8.250.30.67: seq=0 ttl=63 time=1.361 ms --- 8.250.30.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.361/1.361/1.361 ms 2025-08-28 02:17:59,021 - WARNING - Ping to IP 8.250.30.67 from VM ctest-TestBasicPolicy-54290727-98692664 failed 2025-08-28 02:17:59,021 - INFO - Deleting VM ctest-TestBasicPolicy-54290727-85595831 2025-08-28 02:17:59,082 - INFO - Deleting VM ctest-TestBasicPolicy-54290727-98692664 2025-08-28 02:17:59,394 - INFO - Deleted policy ctest-policy-allow-all-69775957 2025-08-28 02:17:59,394 - INFO - Deleting VN ctest-vn-51705602 2025-08-28 02:17:59,420 - DEBUG - VN 8f82a3b4-767b-4907-aca9-b6923114f5db still in use: Unable to complete operation on network 8f82a3b4-767b-4907-aca9-b6923114f5db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-966a859c-c84b-41cf-b500-30951cb1e6f7'] 2025-08-28 02:17:59,420 - WARNING - Deleting VN ctest-vn-51705602 failed..Will retry 2025-08-28 02:18:01,502 - DEBUG - Response for deleting network () 2025-08-28 02:18:01,502 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c342b50e-e554-4f4e-8c85-26c4127f8299 2025-08-28 02:18:01,507 - DEBUG - Response Code: 404 2025-08-28 02:18:01,507 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:18:01,510 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:18:01,562 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:18:01,630 - INFO - Validated that VN ctest-vn-51705602 is not found in API Server 2025-08-28 02:18:01,639 - DEBUG - VN ctest-vn-51705602 is not present in Agent 10.0.0.33 2025-08-28 02:18:01,639 - INFO - Validated that VN ctest-vn-51705602 is not in any agent 2025-08-28 02:18:01,651 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51705602 info 2025-08-28 02:18:01,651 - INFO - Deleting VN ctest-vn-68175816 2025-08-28 02:18:01,733 - DEBUG - Response for deleting network () 2025-08-28 02:18:01,733 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/2cbc7221-84b3-4009-8aca-f598eac9fee6 2025-08-28 02:18:01,739 - DEBUG - Response Code: 404 2025-08-28 02:18:01,739 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-08-28 02:18:01,744 - DEBUG - Requesting: http://10.0.0.33:8082/domain/d95b8d88-722e-42d6-8a8d-63dff6712391 2025-08-28 02:18:01,806 - DEBUG - Requesting: http://10.0.0.33:8082/project/5407bc92-a316-460a-81d6-92e98fc7cca3 2025-08-28 02:18:01,911 - INFO - Validated that VN ctest-vn-68175816 is not found in API Server 2025-08-28 02:18:01,919 - DEBUG - VN ctest-vn-68175816 is not present in Agent 10.0.0.33 2025-08-28 02:18:01,919 - INFO - Validated that VN ctest-vn-68175816 is not in any agent 2025-08-28 02:18:01,932 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68175816 info 2025-08-28 02:18:02,191 - DEBUG - No XMPP flaps were noticed during the test 2025-08-28 02:18:02,191 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-08-28 02:18:02,191 - INFO - -------------------------------------------------------------------------------- 2025-08-28 02:18:02,835 - INFO - Deleted project: ctest-TestBasicPolicy-54290727, ID : 5407bc92-a316-460a-81d6-92e98fc7cca3