2025-11-05 08:18:14,198 - INFO - Domain Default found not creating 2025-11-05 08:18:14,348 - INFO - Project ctest-TestBasicPolicy-27157721 not found, creating it 2025-11-05 08:18:14,788 - INFO - Created Project:ctest-TestBasicPolicy-27157721, ID : 03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:16,846 - INFO - ================================================================================ 2025-11-05 08:18:16,846 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 08:18:16,846 - 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-11-05 08:18:17,105 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-11-05 08:18:17,106 - INFO - Initial checks done. Running the testcase now 2025-11-05 08:18:17,106 - INFO - 2025-11-05 08:18:17,657 - DEBUG - Response for create_network : {'network': {'id': '67c32f95-b40d-40c9-9194-5c9ce85da409', 'name': 'ctest-vn-07630440', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-vn-07630440'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:17,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e7810a1-6c9e-4e46-b297-9b0d2e0d9d89', 'name': '', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'network_id': '67c32f95-b40d-40c9-9194-5c9ce85da409', 'ip_version': 4, 'cidr': '170.238.62.0/26', 'allocation_pools': [{'start': '170.238.62.2', 'end': '170.238.62.62'}], 'gateway_ip': '170.238.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.238.62.2', 'tags': [], 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9'}} 2025-11-05 08:18:17,844 - INFO - Created VN ctest-vn-07630440 2025-11-05 08:18:17,898 - DEBUG - VN ctest-vn-07630440 UUID is 67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:18,192 - DEBUG - Response for create_network : {'network': {'id': '7931a0a0-6ac5-4206-8106-108f7107ff55', 'name': 'ctest-vn-28340037', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-vn-28340037'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:18,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1734ce6-368a-4b7b-9748-2b0b173eda36', 'name': '', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'network_id': '7931a0a0-6ac5-4206-8106-108f7107ff55', 'ip_version': 4, 'cidr': '144.6.233.0/26', 'allocation_pools': [{'start': '144.6.233.2', 'end': '144.6.233.62'}], 'gateway_ip': '144.6.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.6.233.2', 'tags': [], 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9'}} 2025-11-05 08:18:18,419 - INFO - Created VN ctest-vn-28340037 2025-11-05 08:18:18,470 - DEBUG - VN ctest-vn-28340037 UUID is 7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:18,586 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440, 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-27157721:ctest-vn-28340037, 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-11-05 08:18:18,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67c32f95-b40d-40c9-9194-5c9ce85da409', 'name': 'ctest-vn-07630440', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7e7810a1-6c9e-4e46-b297-9b0d2e0d9d89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-vn-07630440'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-policy-allow-all-83664239']], 'subnet_ipam': [{'subnet_cidr': '170.238.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:19,172 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7931a0a0-6ac5-4206-8106-108f7107ff55', 'name': 'ctest-vn-28340037', 'tenant_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'project_id': '03cbd33c1f2243939b964b0b6e0eb3f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1734ce6-368a-4b7b-9748-2b0b173eda36'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-vn-28340037'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-policy-allow-all-83664239']], 'subnet_ipam': [{'subnet_cidr': '144.6.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 08:18:19,322 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:19,626 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:19,657 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:19,672 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:19,747 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,758 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,767 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:19,774 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:19,782 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7b212d28-e65c-46f2-881c-5cc713db9044 2025-11-05 08:18:19,788 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:18:19,788 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,797 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:19,812 - INFO - Verified VN network id 10 for VN 67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,812 - INFO - Verifications in API Server for VN ctest-vn-07630440 passed 2025-11-05 08:18:19,812 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,823 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:19,830 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:19,837 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/7b212d28-e65c-46f2-881c-5cc713db9044 2025-11-05 08:18:19,849 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27157721', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7476872126382555337', 'uuid-lslong': '10490111261035832329'}, 'enable': 'true', 'created': '2025-11-05T08:18:17', 'last-modified': '2025-11-05T08:18:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989014'} 2025-11-05 08:18:19,857 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 08:18:19,857 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07630440 passed 2025-11-05 08:18:19,857 - DEBUG - ====Verifying policy data for ctest-vn-07630440 in API_Server ====== 2025-11-05 08:18:19,857 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:19,862 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:19,873 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:19,948 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/67c32f95-b40d-40c9-9194-5c9ce85da409 2025-11-05 08:18:19,958 - DEBUG - ==>Verifying data for policy with id: 0723c5cc-666e-43aa-a21a-a58becd10d07, fqn: ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-policy-allow-all-83664239'] 2025-11-05 08:18:19,958 - INFO - VN ctest-vn-07630440 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:18:19,959 - DEBUG - Verifying the vn in opserver 2025-11-05 08:18:19,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440 virtual network link through opserver 10.0.0.41 2025-11-05 08:18:19,959 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-05 08:18:20,254 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-05 08:18:20,313 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440?flat'} 2025-11-05 08:18:20,313 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440 is found in opserver 2025-11-05 08:18:20,322 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:18:20,327 - DEBUG - VRF ids for VN ctest-vn-07630440: {} 2025-11-05 08:18:20,327 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:20,332 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:20,344 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:20,421 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,433 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,443 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:20,451 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:20,459 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/959e7796-5565-4885-93bc-e95cad8d088c 2025-11-05 08:18:20,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:18:20,468 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,478 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:20,494 - INFO - Verified VN network id 11 for VN 7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,494 - INFO - Verifications in API Server for VN ctest-vn-28340037 passed 2025-11-05 08:18:20,494 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,506 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:20,514 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:20,524 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/959e7796-5565-4885-93bc-e95cad8d088c 2025-11-05 08:18:20,535 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-28340037', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27157721', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8732937763294626310', 'uuid-lslong': '9297136689015684949'}, 'enable': 'true', 'created': '2025-11-05T08:18:18', 'last-modified': '2025-11-05T08:18:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.432733'} 2025-11-05 08:18:20,542 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 08:18:20,543 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28340037 passed 2025-11-05 08:18:20,543 - DEBUG - ====Verifying policy data for ctest-vn-28340037 in API_Server ====== 2025-11-05 08:18:20,543 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:20,549 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:20,560 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:20,628 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/7931a0a0-6ac5-4206-8106-108f7107ff55 2025-11-05 08:18:20,637 - DEBUG - ==>Verifying data for policy with id: 0723c5cc-666e-43aa-a21a-a58becd10d07, fqn: ['default-domain', 'ctest-TestBasicPolicy-27157721', 'ctest-policy-allow-all-83664239'] 2025-11-05 08:18:20,637 - INFO - VN ctest-vn-28340037 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 08:18:20,637 - DEBUG - Verifying the vn in opserver 2025-11-05 08:18:20,637 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-28340037 virtual network link through opserver 10.0.0.41 2025-11-05 08:18:20,637 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-11-05 08:18:20,648 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-28340037', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-28340037?flat'} 2025-11-05 08:18:20,648 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-28340037 is found in opserver 2025-11-05 08:18:20,658 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 08:18:20,664 - DEBUG - VRF ids for VN ctest-vn-28340037: {} 2025-11-05 08:18:20,748 - DEBUG - Services list from nova: [, , ] 2025-11-05 08:18:21,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:18:22,938 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4632-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4632-1) 2025-11-05 08:18:22,938 - INFO - Waiting for VM ctest-TestBasicPolicy-27157721-26797232 to be up.. 2025-11-05 08:18:23,025 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 08:18:28,129 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:28,129 - INFO - VM name : ctest-TestBasicPolicy-27157721-26797232 2025-11-05 08:18:28,208 - DEBUG - VM ctest-TestBasicPolicy-27157721-26797232 ID is 8f15f0cb-aa42-49a9-b5d3-c7f78e1924c5 2025-11-05 08:18:28,230 - DEBUG - VM ctest-TestBasicPolicy-27157721-26797232 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:18:28,303 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/8f15f0cb-aa42-49a9-b5d3-c7f78e1924c5 2025-11-05 08:18:28,318 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/77ec1013-d861-4a70-b059-20d642ca80f0 2025-11-05 08:18:31,561 - 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 1010ms') 2025-11-05 08:18:31,561 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27157721-26797232 failed! 2025-11-05 08:18:31,614 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27157721:ctest-vn-07630440 is 170.238.62.1 and allocation pool is NOT set 2025-11-05 08:18:33,681 - 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=4.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.674 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.674/2.561/4.449/1.887 ms') 2025-11-05 08:18:33,681 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27157721-26797232 passed 2025-11-05 08:18:33,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:33,830 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27157721-26797232, IP 170.238.62.3, Port 22 2025-11-05 08:18:33,985 - DEBUG - VM ctest-TestBasicPolicy-27157721-26797232 is ready for SSH connections 2025-11-05 08:18:33,985 - INFO - Waiting for VM ctest-TestBasicPolicy-27157721-87872067 to be up.. 2025-11-05 08:18:34,068 - DEBUG - VM is in ACTIVE state now 2025-11-05 08:18:34,068 - INFO - VM name : ctest-TestBasicPolicy-27157721-87872067 2025-11-05 08:18:34,164 - DEBUG - VM ctest-TestBasicPolicy-27157721-87872067 ID is 4f1013fb-19b6-4ed0-836c-2b54e1a35eba 2025-11-05 08:18:34,164 - DEBUG - VM ctest-TestBasicPolicy-27157721-87872067 launched on Node cn-jenkins-deploy-platform-ansible-os-4632-1 2025-11-05 08:18:34,245 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/4f1013fb-19b6-4ed0-836c-2b54e1a35eba 2025-11-05 08:18:34,254 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/33d36cfa-8171-4a35-917b-43a283093249 2025-11-05 08:18:35,487 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.491 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.491/1.656/2.822/1.165 ms') 2025-11-05 08:18:35,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27157721-87872067 passed 2025-11-05 08:18:35,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:35,638 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27157721-87872067, IP 144.6.233.3, Port 22 2025-11-05 08:18:35,802 - DEBUG - VM ctest-TestBasicPolicy-27157721-87872067 is ready for SSH connections 2025-11-05 08:18:35,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:35,802 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.6.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:18:35,802 - DEBUG - ping -s 56 -c 3 -W 1 144.6.233.3 2025-11-05 08:18:40,054 - DEBUG - PING 144.6.233.3 (144.6.233.3): 56 data bytes 64 bytes from 144.6.233.3: seq=0 ttl=63 time=3.786 ms 64 bytes from 144.6.233.3: seq=1 ttl=63 time=0.822 ms 64 bytes from 144.6.233.3: seq=2 ttl=63 time=0.805 ms --- 144.6.233.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.804/3.786 ms 2025-11-05 08:18:40,054 - INFO - Ping to IP 144.6.233.3 from VM ctest-TestBasicPolicy-27157721-26797232 passed 2025-11-05 08:18:40,230 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0723c5cc-666e-43aa-a21a-a58becd10d07", "href": "http://10.0.0.41:8082/network-policy/0723c5cc-666e-43aa-a21a-a58becd10d07"}} 2025-11-05 08:18:40,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 08:18:40,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.6.233.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-11-05 08:18:40,230 - DEBUG - ping -s 56 -c 3 -W 1 144.6.233.3 2025-11-05 08:18:43,449 - DEBUG - PING 144.6.233.3 (144.6.233.3): 56 data bytes --- 144.6.233.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 08:18:43,450 - WARNING - Ping to IP 144.6.233.3 from VM ctest-TestBasicPolicy-27157721-26797232 failed 2025-11-05 08:18:43,450 - INFO - Deleting VM ctest-TestBasicPolicy-27157721-87872067 2025-11-05 08:18:43,530 - INFO - Deleting VM ctest-TestBasicPolicy-27157721-26797232 2025-11-05 08:18:43,918 - INFO - Deleted policy ctest-policy-allow-all-83664239 2025-11-05 08:18:43,918 - INFO - Deleting VN ctest-vn-28340037 2025-11-05 08:18:43,953 - DEBUG - VN 7931a0a0-6ac5-4206-8106-108f7107ff55 still in use: Unable to complete operation on network 7931a0a0-6ac5-4206-8106-108f7107ff55. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7ee5ace6-007c-4986-bcd6-c4c48e26f263'] 2025-11-05 08:18:43,953 - WARNING - Deleting VN ctest-vn-28340037 failed..Will retry 2025-11-05 08:18:46,063 - DEBUG - Response for deleting network () 2025-11-05 08:18:46,063 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/624a0e42-8e29-4a33-bf2d-ed2d8a873adc 2025-11-05 08:18:46,068 - DEBUG - Response Code: 404 2025-11-05 08:18:46,068 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:46,073 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:46,127 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:46,196 - INFO - Validated that VN ctest-vn-28340037 is not found in API Server 2025-11-05 08:18:46,205 - DEBUG - VN ctest-vn-28340037 is not present in Agent 10.0.0.41 2025-11-05 08:18:46,205 - INFO - Validated that VN ctest-vn-28340037 is not in any agent 2025-11-05 08:18:46,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28340037 info 2025-11-05 08:18:46,220 - INFO - Deleting VN ctest-vn-07630440 2025-11-05 08:18:46,337 - DEBUG - Response for deleting network () 2025-11-05 08:18:46,338 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/abba1845-f33c-42d3-975a-755201a15e38 2025-11-05 08:18:46,346 - DEBUG - Response Code: 404 2025-11-05 08:18:46,346 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-11-05 08:18:46,353 - DEBUG - Requesting: http://10.0.0.41:8082/domain/9c07e536-bf63-489b-8e68-76c6514c2552 2025-11-05 08:18:46,407 - DEBUG - Requesting: http://10.0.0.41:8082/project/03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9 2025-11-05 08:18:46,477 - INFO - Validated that VN ctest-vn-07630440 is not found in API Server 2025-11-05 08:18:46,486 - DEBUG - VN ctest-vn-07630440 is not present in Agent 10.0.0.41 2025-11-05 08:18:46,486 - INFO - Validated that VN ctest-vn-07630440 is not in any agent 2025-11-05 08:18:46,499 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07630440 info 2025-11-05 08:18:46,765 - DEBUG - No XMPP flaps were noticed during the test 2025-11-05 08:18:46,765 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-11-05 08:18:46,765 - INFO - -------------------------------------------------------------------------------- 2025-11-05 08:18:47,426 - INFO - Deleted project: ctest-TestBasicPolicy-27157721, ID : 03cbd33c-1f22-4393-9b96-4b0b6e0eb3f9