2025-08-11 10:51:34,524 - INFO - Domain Default found not creating 2025-08-11 10:51:34,642 - INFO - Project ctest-TestBasicPolicy-40091876 not found, creating it 2025-08-11 10:51:35,070 - INFO - Created Project:ctest-TestBasicPolicy-40091876, ID : b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:51:36,468 - INFO - ================================================================================ 2025-08-11 10:51:36,468 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 10:51:36,468 - 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-11 10:51:36,730 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-08-11 10:51:36,730 - INFO - Initial checks done. Running the testcase now 2025-08-11 10:51:36,731 - INFO - 2025-08-11 10:51:37,276 - DEBUG - Response for create_network : {'network': {'id': '01b50760-3663-4a02-bb9d-38c58d6ca7e5', 'name': 'ctest-vn-30204606', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'project_id': 'b12252e93d88431e94a0f4b387344ef8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-vn-30204606'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:51:37,453 - DEBUG - Response for create_subnet : {'subnet': {'id': '24db4007-f464-4dd8-a44d-c5eacb409f7a', 'name': '', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'network_id': '01b50760-3663-4a02-bb9d-38c58d6ca7e5', 'ip_version': 4, 'cidr': '141.69.132.64/26', 'allocation_pools': [{'start': '141.69.132.66', 'end': '141.69.132.126'}], 'gateway_ip': '141.69.132.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.69.132.66', 'tags': [], 'project_id': 'b12252e93d88431e94a0f4b387344ef8'}} 2025-08-11 10:51:37,468 - INFO - Created VN ctest-vn-30204606 2025-08-11 10:51:37,517 - DEBUG - VN ctest-vn-30204606 UUID is 01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:37,814 - DEBUG - Response for create_network : {'network': {'id': '0df90c08-2dbf-469e-84b1-34a31ae9017b', 'name': 'ctest-vn-00833664', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'project_id': 'b12252e93d88431e94a0f4b387344ef8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-vn-00833664'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:51:38,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cfccef3a-9783-4706-95a0-920b6fa76a61', 'name': '', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'network_id': '0df90c08-2dbf-469e-84b1-34a31ae9017b', 'ip_version': 4, 'cidr': '80.122.77.192/26', 'allocation_pools': [{'start': '80.122.77.194', 'end': '80.122.77.254'}], 'gateway_ip': '80.122.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.122.77.194', 'tags': [], 'project_id': 'b12252e93d88431e94a0f4b387344ef8'}} 2025-08-11 10:51:38,021 - INFO - Created VN ctest-vn-00833664 2025-08-11 10:51:38,077 - DEBUG - VN ctest-vn-00833664 UUID is 0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:38,217 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606, 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-40091876:ctest-vn-00833664, 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-11 10:51:38,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '01b50760-3663-4a02-bb9d-38c58d6ca7e5', 'name': 'ctest-vn-30204606', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'project_id': 'b12252e93d88431e94a0f4b387344ef8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24db4007-f464-4dd8-a44d-c5eacb409f7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-vn-30204606'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-policy-allow-all-42530356']], 'subnet_ipam': [{'subnet_cidr': '141.69.132.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:51:38,707 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0df90c08-2dbf-469e-84b1-34a31ae9017b', 'name': 'ctest-vn-00833664', 'tenant_id': 'b12252e93d88431e94a0f4b387344ef8', 'project_id': 'b12252e93d88431e94a0f4b387344ef8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cfccef3a-9783-4706-95a0-920b6fa76a61'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-vn-00833664'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-policy-allow-all-42530356']], 'subnet_ipam': [{'subnet_cidr': '80.122.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 10:51:38,873 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:51:39,163 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:51:39,187 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:51:39,199 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:51:39,271 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,281 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,289 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:51:39,295 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:51:39,301 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e57207b7-5e55-4b09-aedb-eb045f8309c7 2025-08-11 10:51:39,306 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 10:51:39,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,314 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:51:39,326 - INFO - Verified VN network id 12 for VN 01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,326 - INFO - Verifications in API Server for VN ctest-vn-30204606 passed 2025-08-11 10:51:39,326 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,334 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:51:39,340 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:51:39,346 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e57207b7-5e55-4b09-aedb-eb045f8309c7 2025-08-11 10:51:39,356 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40091876', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '123012674633288194', 'uuid-lslong': '13519024077568518117'}, 'enable': 'true', 'created': '2025-08-11T10:51:37', 'last-modified': '2025-08-11T10:51:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.879601'} 2025-08-11 10:51:39,361 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 10:51:39,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30204606 passed 2025-08-11 10:51:39,362 - DEBUG - ====Verifying policy data for ctest-vn-30204606 in API_Server ====== 2025-08-11 10:51:39,362 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:51:39,366 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:51:39,376 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:51:39,444 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/01b50760-3663-4a02-bb9d-38c58d6ca7e5 2025-08-11 10:51:39,452 - DEBUG - ==>Verifying data for policy with id: 54cc4d78-d6c8-487e-8def-14ba18d6a33e, fqn: ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-policy-allow-all-42530356'] 2025-08-11 10:51:39,452 - INFO - VN ctest-vn-30204606 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 10:51:39,452 - DEBUG - Verifying the vn in opserver 2025-08-11 10:51:39,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606 virtual network link through opserver 10.0.0.249 2025-08-11 10:51:39,452 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 10:51:39,738 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 10:51:39,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606?flat'} 2025-08-11 10:51:39,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606 is found in opserver 2025-08-11 10:51:39,794 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 10:51:39,798 - DEBUG - VRF ids for VN ctest-vn-30204606: {} 2025-08-11 10:51:39,798 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:51:39,803 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:51:39,813 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:51:39,884 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:39,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:39,902 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:51:39,908 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:51:39,913 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd606590-20dc-4878-9324-0752d133a4b3 2025-08-11 10:51:39,918 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 10:51:39,918 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:39,926 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:51:39,939 - INFO - Verified VN network id 13 for VN 0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:39,939 - INFO - Verifications in API Server for VN ctest-vn-00833664 passed 2025-08-11 10:51:39,939 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:39,948 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:51:39,953 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:51:39,959 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bd606590-20dc-4878-9324-0752d133a4b3 2025-08-11 10:51:39,969 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-00833664', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40091876', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1006849220960798366', 'uuid-lslong': '9561481359020065147'}, 'enable': 'true', 'created': '2025-08-11T10:51:37', 'last-modified': '2025-08-11T10:51:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.282594'} 2025-08-11 10:51:39,974 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 10:51:39,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00833664 passed 2025-08-11 10:51:39,974 - DEBUG - ====Verifying policy data for ctest-vn-00833664 in API_Server ====== 2025-08-11 10:51:39,974 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:51:39,978 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:51:39,988 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:51:40,057 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0df90c08-2dbf-469e-84b1-34a31ae9017b 2025-08-11 10:51:40,065 - DEBUG - ==>Verifying data for policy with id: 54cc4d78-d6c8-487e-8def-14ba18d6a33e, fqn: ['default-domain', 'ctest-TestBasicPolicy-40091876', 'ctest-policy-allow-all-42530356'] 2025-08-11 10:51:40,065 - INFO - VN ctest-vn-00833664 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 10:51:40,065 - DEBUG - Verifying the vn in opserver 2025-08-11 10:51:40,065 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-00833664 virtual network link through opserver 10.0.0.249 2025-08-11 10:51:40,065 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-11 10:51:40,074 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-00833664', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-00833664?flat'} 2025-08-11 10:51:40,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-00833664 is found in opserver 2025-08-11 10:51:40,083 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 10:51:40,088 - DEBUG - VRF ids for VN ctest-vn-00833664: {} 2025-08-11 10:51:40,135 - DEBUG - Services list from nova: [, , ] 2025-08-11 10:51:41,054 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:51:42,079 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3802-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3802-1) 2025-08-11 10:51:42,080 - INFO - Waiting for VM ctest-TestBasicPolicy-40091876-35515928 to be up.. 2025-08-11 10:51:42,144 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 10:51:47,215 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:51:47,216 - INFO - VM name : ctest-TestBasicPolicy-40091876-35515928 2025-08-11 10:51:47,285 - DEBUG - VM ctest-TestBasicPolicy-40091876-35515928 ID is d218b746-dd76-401a-8656-0c6d4555e56a 2025-08-11 10:51:47,308 - DEBUG - VM ctest-TestBasicPolicy-40091876-35515928 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:51:47,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/d218b746-dd76-401a-8656-0c6d4555e56a 2025-08-11 10:51:47,383 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ce1cbfe5-9f23-4cb2-9c16-32f08ce0062c 2025-08-11 10:51:50,650 - 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') 2025-08-11 10:51:50,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40091876-35515928 failed! 2025-08-11 10:51:50,705 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40091876:ctest-vn-30204606 is 141.69.132.65 and allocation pool is NOT set 2025-08-11 10:51:52,762 - 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=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.604 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 = 0.604/1.812/3.021/1.208 ms') 2025-08-11 10:51:52,763 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40091876-35515928 passed 2025-08-11 10:51:52,982 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:52,982 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40091876-35515928, IP 141.69.132.67, Port 22 2025-08-11 10:51:53,137 - DEBUG - VM ctest-TestBasicPolicy-40091876-35515928 is ready for SSH connections 2025-08-11 10:51:53,137 - INFO - Waiting for VM ctest-TestBasicPolicy-40091876-43511819 to be up.. 2025-08-11 10:51:53,276 - DEBUG - VM is in ACTIVE state now 2025-08-11 10:51:53,276 - INFO - VM name : ctest-TestBasicPolicy-40091876-43511819 2025-08-11 10:51:53,367 - DEBUG - VM ctest-TestBasicPolicy-40091876-43511819 ID is 6d5f93e2-63b2-4ec4-9754-84c81998b10d 2025-08-11 10:51:53,368 - DEBUG - VM ctest-TestBasicPolicy-40091876-43511819 launched on Node cn-jenkins-deploy-platform-ansible-os-3802-1 2025-08-11 10:51:53,456 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/6d5f93e2-63b2-4ec4-9754-84c81998b10d 2025-08-11 10:51:53,466 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/033f14ce-9d2d-40ba-baef-664dddbc20d3 2025-08-11 10:51:54,715 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 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.407/1.741/3.075/1.334 ms') 2025-08-11 10:51:54,715 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40091876-43511819 passed 2025-08-11 10:51:54,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:54,873 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40091876-43511819, IP 80.122.77.195, Port 22 2025-08-11 10:51:55,029 - DEBUG - VM ctest-TestBasicPolicy-40091876-43511819 is ready for SSH connections 2025-08-11 10:51:55,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:55,030 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.122.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:51:55,030 - DEBUG - ping -s 56 -c 3 -W 1 80.122.77.195 2025-08-11 10:51:58,708 - DEBUG - PING 80.122.77.195 (80.122.77.195): 56 data bytes 64 bytes from 80.122.77.195: seq=0 ttl=63 time=3.797 ms 64 bytes from 80.122.77.195: seq=1 ttl=63 time=0.813 ms 64 bytes from 80.122.77.195: seq=2 ttl=63 time=0.907 ms --- 80.122.77.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.839/3.797 ms 2025-08-11 10:51:58,708 - INFO - Ping to IP 80.122.77.195 from VM ctest-TestBasicPolicy-40091876-35515928 passed 2025-08-11 10:51:58,893 - DEBUG - Policy Update Response {"network-policy": {"uuid": "54cc4d78-d6c8-487e-8def-14ba18d6a33e", "href": "http://10.0.0.249:8082/network-policy/54cc4d78-d6c8-487e-8def-14ba18d6a33e"}} 2025-08-11 10:51:58,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 10:51:58,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.122.77.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-11 10:51:58,894 - DEBUG - ping -s 56 -c 3 -W 1 80.122.77.195 2025-08-11 10:52:02,087 - DEBUG - PING 80.122.77.195 (80.122.77.195): 56 data bytes 64 bytes from 80.122.77.195: seq=0 ttl=63 time=1.493 ms --- 80.122.77.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.493/1.493/1.493 ms 2025-08-11 10:52:02,087 - WARNING - Ping to IP 80.122.77.195 from VM ctest-TestBasicPolicy-40091876-35515928 failed 2025-08-11 10:52:02,087 - INFO - Deleting VM ctest-TestBasicPolicy-40091876-43511819 2025-08-11 10:52:02,153 - INFO - Deleting VM ctest-TestBasicPolicy-40091876-35515928 2025-08-11 10:52:02,546 - INFO - Deleted policy ctest-policy-allow-all-42530356 2025-08-11 10:52:02,546 - INFO - Deleting VN ctest-vn-00833664 2025-08-11 10:52:02,583 - DEBUG - VN 0df90c08-2dbf-469e-84b1-34a31ae9017b still in use: Unable to complete operation on network 0df90c08-2dbf-469e-84b1-34a31ae9017b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-500d53f6-2637-4d45-9036-15db8f130ecc'] 2025-08-11 10:52:02,583 - WARNING - Deleting VN ctest-vn-00833664 failed..Will retry 2025-08-11 10:52:04,680 - DEBUG - Response for deleting network () 2025-08-11 10:52:04,680 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a2d773db-8aa7-4e58-b0f3-f07c1cd7cc75 2025-08-11 10:52:04,690 - DEBUG - Response Code: 404 2025-08-11 10:52:04,690 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:52:04,695 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:52:04,751 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:52:04,822 - INFO - Validated that VN ctest-vn-00833664 is not found in API Server 2025-08-11 10:52:04,834 - DEBUG - VN ctest-vn-00833664 is not present in Agent 10.0.0.249 2025-08-11 10:52:04,834 - INFO - Validated that VN ctest-vn-00833664 is not in any agent 2025-08-11 10:52:04,849 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00833664 info 2025-08-11 10:52:04,849 - INFO - Deleting VN ctest-vn-30204606 2025-08-11 10:52:04,953 - DEBUG - Response for deleting network () 2025-08-11 10:52:04,953 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8acfe91e-4d3b-4ae3-a162-4ba33d95297a 2025-08-11 10:52:04,960 - DEBUG - Response Code: 404 2025-08-11 10:52:04,960 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-11 10:52:04,966 - DEBUG - Requesting: http://10.0.0.249:8082/domain/2b35dbf8-2e90-4696-a23c-75b3c0f12a8c 2025-08-11 10:52:05,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/b12252e9-3d88-431e-94a0-f4b387344ef8 2025-08-11 10:52:05,090 - INFO - Validated that VN ctest-vn-30204606 is not found in API Server 2025-08-11 10:52:05,103 - DEBUG - VN ctest-vn-30204606 is not present in Agent 10.0.0.249 2025-08-11 10:52:05,103 - INFO - Validated that VN ctest-vn-30204606 is not in any agent 2025-08-11 10:52:05,120 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30204606 info 2025-08-11 10:52:05,375 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 10:52:05,375 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 10:52:05,375 - INFO - -------------------------------------------------------------------------------- 2025-08-11 10:52:06,024 - INFO - Deleted project: ctest-TestBasicPolicy-40091876, ID : b12252e9-3d88-431e-94a0-f4b387344ef8