2025-09-19 04:09:32,135 - INFO - Domain Default found not creating 2025-09-19 04:09:32,263 - INFO - Project ctest-TestBasicPolicy-26209453 not found, creating it 2025-09-19 04:09:32,716 - INFO - Created Project:ctest-TestBasicPolicy-26209453, ID : b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:09:34,047 - INFO - ================================================================================ 2025-09-19 04:09:34,047 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-19 04:09:34,047 - 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-19 04:09:34,310 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-09-19 04:09:34,310 - INFO - Initial checks done. Running the testcase now 2025-09-19 04:09:34,310 - INFO - 2025-09-19 04:09:34,813 - DEBUG - Response for create_network : {'network': {'id': '308cfd0a-b82c-4609-9204-88e0eb04934e', 'name': 'ctest-vn-04173403', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'project_id': 'b854026605e54b85a6b33f8d0bf3f984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-vn-04173403'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:09:34,989 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2e0103b-3a50-42fe-be73-d6edc9a99b1e', 'name': '', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'network_id': '308cfd0a-b82c-4609-9204-88e0eb04934e', 'ip_version': 4, 'cidr': '46.205.241.64/26', 'allocation_pools': [{'start': '46.205.241.66', 'end': '46.205.241.126'}], 'gateway_ip': '46.205.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.205.241.66', 'tags': [], 'project_id': 'b854026605e54b85a6b33f8d0bf3f984'}} 2025-09-19 04:09:35,004 - INFO - Created VN ctest-vn-04173403 2025-09-19 04:09:35,054 - DEBUG - VN ctest-vn-04173403 UUID is 308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:35,645 - DEBUG - Response for create_network : {'network': {'id': 'e2698d60-d6ad-44cb-8dc2-1f24117240f6', 'name': 'ctest-vn-20469429', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'project_id': 'b854026605e54b85a6b33f8d0bf3f984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-vn-20469429'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:09:36,037 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f147b48-953b-483b-9b1a-3cb920505ccf', 'name': '', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'network_id': 'e2698d60-d6ad-44cb-8dc2-1f24117240f6', 'ip_version': 4, 'cidr': '172.185.165.128/26', 'allocation_pools': [{'start': '172.185.165.130', 'end': '172.185.165.190'}], 'gateway_ip': '172.185.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.185.165.130', 'tags': [], 'project_id': 'b854026605e54b85a6b33f8d0bf3f984'}} 2025-09-19 04:09:36,054 - INFO - Created VN ctest-vn-20469429 2025-09-19 04:09:36,105 - DEBUG - VN ctest-vn-20469429 UUID is e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:36,253 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403, 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-26209453:ctest-vn-20469429, 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-19 04:09:36,549 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '308cfd0a-b82c-4609-9204-88e0eb04934e', 'name': 'ctest-vn-04173403', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'project_id': 'b854026605e54b85a6b33f8d0bf3f984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2e0103b-3a50-42fe-be73-d6edc9a99b1e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-vn-04173403'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-policy-allow-all-03420186']], 'subnet_ipam': [{'subnet_cidr': '46.205.241.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:09:36,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2698d60-d6ad-44cb-8dc2-1f24117240f6', 'name': 'ctest-vn-20469429', 'tenant_id': 'b854026605e54b85a6b33f8d0bf3f984', 'project_id': 'b854026605e54b85a6b33f8d0bf3f984', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f147b48-953b-483b-9b1a-3cb920505ccf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-vn-20469429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-policy-allow-all-03420186']], 'subnet_ipam': [{'subnet_cidr': '172.185.165.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-19 04:09:36,977 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:09:37,290 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:09:37,319 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:09:37,333 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:09:37,414 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,427 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,438 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:09:37,446 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:09:37,452 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/85b61710-b09b-405c-9d80-64b35f5c874c 2025-09-19 04:09:37,458 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 04:09:37,458 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,467 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:09:37,482 - INFO - Verified VN network id 10 for VN 308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,482 - INFO - Verifications in API Server for VN ctest-vn-04173403 passed 2025-09-19 04:09:37,483 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,491 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:09:37,500 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:09:37,508 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/85b61710-b09b-405c-9d80-64b35f5c874c 2025-09-19 04:09:37,522 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26209453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3498449233041442313', 'uuid-lslong': '10521685129041318734'}, 'enable': 'true', 'created': '2025-09-19T04:09:34', 'last-modified': '2025-09-19T04:09:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.993809'} 2025-09-19 04:09:37,529 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-19 04:09:37,529 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04173403 passed 2025-09-19 04:09:37,529 - DEBUG - ====Verifying policy data for ctest-vn-04173403 in API_Server ====== 2025-09-19 04:09:37,529 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:09:37,535 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:09:37,545 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:09:37,616 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/308cfd0a-b82c-4609-9204-88e0eb04934e 2025-09-19 04:09:37,624 - DEBUG - ==>Verifying data for policy with id: 7ea2ab0a-f7d2-49f4-b9c0-dc9e111f25e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-policy-allow-all-03420186'] 2025-09-19 04:09:37,625 - INFO - VN ctest-vn-04173403 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 04:09:37,625 - DEBUG - Verifying the vn in opserver 2025-09-19 04:09:37,625 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403 virtual network link through opserver 10.0.0.33 2025-09-19 04:09:37,625 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-19 04:09:37,912 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-19 04:09:37,965 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403?flat'} 2025-09-19 04:09:37,965 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403 is found in opserver 2025-09-19 04:09:37,976 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 04:09:37,981 - DEBUG - VRF ids for VN ctest-vn-04173403: {} 2025-09-19 04:09:37,982 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:09:37,987 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:09:37,999 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:09:38,075 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,087 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,098 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:09:38,105 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:09:38,113 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/08578ebe-09a8-4d8e-bf76-75e4fc6130c4 2025-09-19 04:09:38,120 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 04:09:38,120 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,129 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:09:38,142 - INFO - Verified VN network id 11 for VN e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,142 - INFO - Verifications in API Server for VN ctest-vn-20469429 passed 2025-09-19 04:09:38,142 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,151 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:09:38,159 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:09:38,168 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/08578ebe-09a8-4d8e-bf76-75e4fc6130c4 2025-09-19 04:09:38,180 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-20469429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26209453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16314726572184388811', 'uuid-lslong': '10214761144601690358'}, 'enable': 'true', 'created': '2025-09-19T04:09:35', 'last-modified': '2025-09-19T04:09:36', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422086'} 2025-09-19 04:09:38,187 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-19 04:09:38,187 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20469429 passed 2025-09-19 04:09:38,188 - DEBUG - ====Verifying policy data for ctest-vn-20469429 in API_Server ====== 2025-09-19 04:09:38,188 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:09:38,195 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:09:38,206 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:09:38,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/e2698d60-d6ad-44cb-8dc2-1f24117240f6 2025-09-19 04:09:38,286 - DEBUG - ==>Verifying data for policy with id: 7ea2ab0a-f7d2-49f4-b9c0-dc9e111f25e9, fqn: ['default-domain', 'ctest-TestBasicPolicy-26209453', 'ctest-policy-allow-all-03420186'] 2025-09-19 04:09:38,286 - INFO - VN ctest-vn-20469429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-19 04:09:38,286 - DEBUG - Verifying the vn in opserver 2025-09-19 04:09:38,286 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-20469429 virtual network link through opserver 10.0.0.33 2025-09-19 04:09:38,286 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-09-19 04:09:38,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-20469429', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-20469429?flat'} 2025-09-19 04:09:38,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-20469429 is found in opserver 2025-09-19 04:09:38,305 - DEBUG - Do not have enough data to verify VN in agent 2025-09-19 04:09:38,311 - DEBUG - VRF ids for VN ctest-vn-20469429: {} 2025-09-19 04:09:38,371 - DEBUG - Services list from nova: [, , ] 2025-09-19 04:09:39,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:09:40,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4145-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4145-1) 2025-09-19 04:09:40,739 - INFO - Waiting for VM ctest-TestBasicPolicy-26209453-64061721 to be up.. 2025-09-19 04:09:40,822 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 04:09:45,890 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:09:45,891 - INFO - VM name : ctest-TestBasicPolicy-26209453-64061721 2025-09-19 04:09:45,960 - DEBUG - VM ctest-TestBasicPolicy-26209453-64061721 ID is 7249c420-318e-4691-bb6d-42a3f92fc95c 2025-09-19 04:09:45,977 - DEBUG - VM ctest-TestBasicPolicy-26209453-64061721 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:09:46,044 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7249c420-318e-4691-bb6d-42a3f92fc95c 2025-09-19 04:09:46,052 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/06e7d252-c964-49da-8937-1f8a0abef067 2025-09-19 04:09:49,324 - 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-09-19 04:09:49,324 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26209453-64061721 failed! 2025-09-19 04:09:49,381 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26209453:ctest-vn-04173403 is 46.205.241.65 and allocation pool is NOT set 2025-09-19 04:09:51,446 - 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.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.414 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.414/1.542/2.670/1.128 ms') 2025-09-19 04:09:51,446 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26209453-64061721 passed 2025-09-19 04:09:51,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:51,602 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26209453-64061721, IP 46.205.241.67, Port 22 2025-09-19 04:09:51,761 - DEBUG - VM ctest-TestBasicPolicy-26209453-64061721 is ready for SSH connections 2025-09-19 04:09:51,761 - INFO - Waiting for VM ctest-TestBasicPolicy-26209453-97959814 to be up.. 2025-09-19 04:09:51,827 - DEBUG - VM is in ACTIVE state now 2025-09-19 04:09:51,827 - INFO - VM name : ctest-TestBasicPolicy-26209453-97959814 2025-09-19 04:09:51,895 - DEBUG - VM ctest-TestBasicPolicy-26209453-97959814 ID is 56516900-4d3b-45bf-a67e-3fcb5dc0a299 2025-09-19 04:09:51,895 - DEBUG - VM ctest-TestBasicPolicy-26209453-97959814 launched on Node cn-jenkins-deploy-platform-ansible-os-4145-1 2025-09-19 04:09:51,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/56516900-4d3b-45bf-a67e-3fcb5dc0a299 2025-09-19 04:09:51,970 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0a0f71ea-de28-4e61-9b05-246005eb0781 2025-09-19 04:09:53,200 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/1.831/3.167/1.335 ms') 2025-09-19 04:09:53,200 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26209453-97959814 passed 2025-09-19 04:09:53,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:53,350 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26209453-97959814, IP 172.185.165.131, Port 22 2025-09-19 04:09:53,505 - DEBUG - VM ctest-TestBasicPolicy-26209453-97959814 is ready for SSH connections 2025-09-19 04:09:53,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:53,506 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.185.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-19 04:09:53,506 - DEBUG - ping -s 56 -c 3 -W 1 172.185.165.131 2025-09-19 04:09:57,197 - DEBUG - PING 172.185.165.131 (172.185.165.131): 56 data bytes 64 bytes from 172.185.165.131: seq=0 ttl=63 time=3.110 ms 64 bytes from 172.185.165.131: seq=1 ttl=63 time=1.001 ms 64 bytes from 172.185.165.131: seq=2 ttl=63 time=0.826 ms --- 172.185.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.645/3.110 ms 2025-09-19 04:09:57,197 - INFO - Ping to IP 172.185.165.131 from VM ctest-TestBasicPolicy-26209453-64061721 passed 2025-09-19 04:09:57,373 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7ea2ab0a-f7d2-49f4-b9c0-dc9e111f25e9", "href": "http://10.0.0.33:8082/network-policy/7ea2ab0a-f7d2-49f4-b9c0-dc9e111f25e9"}} 2025-09-19 04:09:57,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 04:09:57,373 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.185.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-09-19 04:09:57,374 - DEBUG - ping -s 56 -c 3 -W 1 172.185.165.131 2025-09-19 04:10:00,634 - DEBUG - PING 172.185.165.131 (172.185.165.131): 56 data bytes --- 172.185.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 04:10:00,635 - WARNING - Ping to IP 172.185.165.131 from VM ctest-TestBasicPolicy-26209453-64061721 failed 2025-09-19 04:10:00,635 - INFO - Deleting VM ctest-TestBasicPolicy-26209453-97959814 2025-09-19 04:10:00,701 - INFO - Deleting VM ctest-TestBasicPolicy-26209453-64061721 2025-09-19 04:10:01,117 - INFO - Deleted policy ctest-policy-allow-all-03420186 2025-09-19 04:10:01,118 - INFO - Deleting VN ctest-vn-20469429 2025-09-19 04:10:01,156 - DEBUG - VN e2698d60-d6ad-44cb-8dc2-1f24117240f6 still in use: Unable to complete operation on network e2698d60-d6ad-44cb-8dc2-1f24117240f6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-45158003-2df9-48b2-b66b-dec7517d97d8'] 2025-09-19 04:10:01,156 - WARNING - Deleting VN ctest-vn-20469429 failed..Will retry 2025-09-19 04:10:03,258 - DEBUG - Response for deleting network () 2025-09-19 04:10:03,258 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ed3762a3-959f-47da-a5e6-f5467e31601c 2025-09-19 04:10:03,263 - DEBUG - Response Code: 404 2025-09-19 04:10:03,263 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:10:03,267 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:10:03,318 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:10:03,385 - INFO - Validated that VN ctest-vn-20469429 is not found in API Server 2025-09-19 04:10:03,394 - DEBUG - VN ctest-vn-20469429 is not present in Agent 10.0.0.33 2025-09-19 04:10:03,394 - INFO - Validated that VN ctest-vn-20469429 is not in any agent 2025-09-19 04:10:03,406 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20469429 info 2025-09-19 04:10:03,406 - INFO - Deleting VN ctest-vn-04173403 2025-09-19 04:10:03,493 - DEBUG - Response for deleting network () 2025-09-19 04:10:03,493 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1f7f94d3-b394-4b1d-8d67-6edc6c50a7c1 2025-09-19 04:10:03,500 - DEBUG - Response Code: 404 2025-09-19 04:10:03,500 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-09-19 04:10:03,506 - DEBUG - Requesting: http://10.0.0.33:8082/domain/96d7bd12-f6f6-4213-99d0-b74e6e816b9a 2025-09-19 04:10:03,562 - DEBUG - Requesting: http://10.0.0.33:8082/project/b8540266-05e5-4b85-a6b3-3f8d0bf3f984 2025-09-19 04:10:03,629 - INFO - Validated that VN ctest-vn-04173403 is not found in API Server 2025-09-19 04:10:03,638 - DEBUG - VN ctest-vn-04173403 is not present in Agent 10.0.0.33 2025-09-19 04:10:03,638 - INFO - Validated that VN ctest-vn-04173403 is not in any agent 2025-09-19 04:10:03,650 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04173403 info 2025-09-19 04:10:03,902 - DEBUG - No XMPP flaps were noticed during the test 2025-09-19 04:10:03,902 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-09-19 04:10:03,902 - INFO - -------------------------------------------------------------------------------- 2025-09-19 04:10:04,555 - INFO - Deleted project: ctest-TestBasicPolicy-26209453, ID : b8540266-05e5-4b85-a6b3-3f8d0bf3f984