2025-08-22 12:25:23,915 - INFO - Domain Default found not creating 2025-08-22 12:25:24,043 - INFO - Project ctest-TestBasicPolicy-07596474 not found, creating it 2025-08-22 12:25:24,477 - INFO - Created Project:ctest-TestBasicPolicy-07596474, ID : 0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:25,900 - INFO - ================================================================================ 2025-08-22 12:25:25,900 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-22 12:25:25,900 - 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-22 12:25:26,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-08-22 12:25:26,157 - INFO - Initial checks done. Running the testcase now 2025-08-22 12:25:26,157 - INFO - 2025-08-22 12:25:26,683 - DEBUG - Response for create_network : {'network': {'id': 'e346f5c9-c50c-449f-a293-1312630dac00', 'name': 'ctest-vn-76414027', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'project_id': '0c77940a1cb24e66bd1aef59f9f29513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-vn-76414027'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:25:26,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '544e5a8e-1b56-4876-8891-a0289ebf8159', 'name': '', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'network_id': 'e346f5c9-c50c-449f-a293-1312630dac00', 'ip_version': 4, 'cidr': '202.130.35.128/26', 'allocation_pools': [{'start': '202.130.35.130', 'end': '202.130.35.190'}], 'gateway_ip': '202.130.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.130.35.130', 'tags': [], 'project_id': '0c77940a1cb24e66bd1aef59f9f29513'}} 2025-08-22 12:25:26,895 - INFO - Created VN ctest-vn-76414027 2025-08-22 12:25:26,948 - DEBUG - VN ctest-vn-76414027 UUID is e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:27,264 - DEBUG - Response for create_network : {'network': {'id': '5cda5ce4-3db6-4fa2-8249-c327a7ec8055', 'name': 'ctest-vn-62676974', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'project_id': '0c77940a1cb24e66bd1aef59f9f29513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-vn-62676974'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:25:27,469 - DEBUG - Response for create_subnet : {'subnet': {'id': '54bee60f-85d0-4da9-b600-ba582af4903f', 'name': '', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'network_id': '5cda5ce4-3db6-4fa2-8249-c327a7ec8055', 'ip_version': 4, 'cidr': '179.251.80.64/26', 'allocation_pools': [{'start': '179.251.80.66', 'end': '179.251.80.126'}], 'gateway_ip': '179.251.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.251.80.66', 'tags': [], 'project_id': '0c77940a1cb24e66bd1aef59f9f29513'}} 2025-08-22 12:25:27,485 - INFO - Created VN ctest-vn-62676974 2025-08-22 12:25:27,536 - DEBUG - VN ctest-vn-62676974 UUID is 5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:27,684 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027, 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-07596474:ctest-vn-62676974, 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-22 12:25:27,991 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e346f5c9-c50c-449f-a293-1312630dac00', 'name': 'ctest-vn-76414027', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'project_id': '0c77940a1cb24e66bd1aef59f9f29513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['544e5a8e-1b56-4876-8891-a0289ebf8159'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-vn-76414027'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-policy-allow-all-29684134']], 'subnet_ipam': [{'subnet_cidr': '202.130.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:25:28,281 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5cda5ce4-3db6-4fa2-8249-c327a7ec8055', 'name': 'ctest-vn-62676974', 'tenant_id': '0c77940a1cb24e66bd1aef59f9f29513', 'project_id': '0c77940a1cb24e66bd1aef59f9f29513', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['54bee60f-85d0-4da9-b600-ba582af4903f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-vn-62676974'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-policy-allow-all-29684134']], 'subnet_ipam': [{'subnet_cidr': '179.251.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-22 12:25:28,408 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:28,705 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:28,731 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:28,743 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:28,820 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:28,835 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:28,849 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:28,857 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:28,865 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1eb3d57d-3cc1-4b11-80c3-d512333a1ca7 2025-08-22 12:25:28,873 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 12:25:28,873 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:28,884 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:28,900 - INFO - Verified VN network id 11 for VN e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:28,900 - INFO - Verifications in API Server for VN ctest-vn-76414027 passed 2025-08-22 12:25:28,900 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:28,913 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:28,922 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:28,932 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1eb3d57d-3cc1-4b11-80c3-d512333a1ca7 2025-08-22 12:25:28,945 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07596474', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16377047341922534559', 'uuid-lslong': '11714728025412971520'}, 'enable': 'true', 'created': '2025-08-22T12:25:26', 'last-modified': '2025-08-22T12:25:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985659'} 2025-08-22 12:25:28,952 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-22 12:25:28,953 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76414027 passed 2025-08-22 12:25:28,953 - DEBUG - ====Verifying policy data for ctest-vn-76414027 in API_Server ====== 2025-08-22 12:25:28,953 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:28,959 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:28,970 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:29,055 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/e346f5c9-c50c-449f-a293-1312630dac00 2025-08-22 12:25:29,066 - DEBUG - ==>Verifying data for policy with id: 9c46dd04-f7dc-4041-bb5b-09908ad11296, fqn: ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-policy-allow-all-29684134'] 2025-08-22 12:25:29,066 - INFO - VN ctest-vn-76414027 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 12:25:29,067 - DEBUG - Verifying the vn in opserver 2025-08-22 12:25:29,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027 virtual network link through opserver 10.0.0.56 2025-08-22 12:25:29,067 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-08-22 12:25:29,360 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-08-22 12:25:29,408 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027?flat'} 2025-08-22 12:25:29,409 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027 is found in opserver 2025-08-22 12:25:29,422 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 12:25:29,427 - DEBUG - VRF ids for VN ctest-vn-76414027: {} 2025-08-22 12:25:29,427 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:29,433 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:29,445 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:29,526 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,540 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,551 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:29,559 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:29,566 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/7e716e59-c458-47c0-b0ec-33622eabb1a9 2025-08-22 12:25:29,573 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 12:25:29,573 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,584 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:29,598 - INFO - Verified VN network id 12 for VN 5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,598 - INFO - Verifications in API Server for VN ctest-vn-62676974 passed 2025-08-22 12:25:29,598 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,607 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:29,613 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:29,619 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/7e716e59-c458-47c0-b0ec-33622eabb1a9 2025-08-22 12:25:29,631 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-62676974', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07596474', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6690762331769950114', 'uuid-lslong': '9388249473318944853'}, 'enable': 'true', 'created': '2025-08-22T12:25:27', 'last-modified': '2025-08-22T12:25:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.425198'} 2025-08-22 12:25:29,637 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-22 12:25:29,637 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62676974 passed 2025-08-22 12:25:29,638 - DEBUG - ====Verifying policy data for ctest-vn-62676974 in API_Server ====== 2025-08-22 12:25:29,638 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:29,642 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:29,653 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:29,726 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/5cda5ce4-3db6-4fa2-8249-c327a7ec8055 2025-08-22 12:25:29,736 - DEBUG - ==>Verifying data for policy with id: 9c46dd04-f7dc-4041-bb5b-09908ad11296, fqn: ['default-domain', 'ctest-TestBasicPolicy-07596474', 'ctest-policy-allow-all-29684134'] 2025-08-22 12:25:29,736 - INFO - VN ctest-vn-62676974 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-22 12:25:29,736 - DEBUG - Verifying the vn in opserver 2025-08-22 12:25:29,736 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-62676974 virtual network link through opserver 10.0.0.56 2025-08-22 12:25:29,736 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-08-22 12:25:29,745 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-62676974', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-62676974?flat'} 2025-08-22 12:25:29,745 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-62676974 is found in opserver 2025-08-22 12:25:29,755 - DEBUG - Do not have enough data to verify VN in agent 2025-08-22 12:25:29,760 - DEBUG - VRF ids for VN ctest-vn-62676974: {} 2025-08-22 12:25:29,809 - DEBUG - Services list from nova: [, , ] 2025-08-22 12:25:30,756 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3908-1) 2025-08-22 12:25:31,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3908-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3908-1) 2025-08-22 12:25:31,900 - INFO - Waiting for VM ctest-TestBasicPolicy-07596474-53040455 to be up.. 2025-08-22 12:25:31,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 12:25:37,053 - DEBUG - VM is in ACTIVE state now 2025-08-22 12:25:37,053 - INFO - VM name : ctest-TestBasicPolicy-07596474-53040455 2025-08-22 12:25:37,126 - DEBUG - VM ctest-TestBasicPolicy-07596474-53040455 ID is 07442b7d-45ca-4969-8268-23b6be45a467 2025-08-22 12:25:37,147 - DEBUG - VM ctest-TestBasicPolicy-07596474-53040455 launched on Node cn-jenkins-deploy-platform-ansible-os-3908-1 2025-08-22 12:25:37,219 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/07442b7d-45ca-4969-8268-23b6be45a467 2025-08-22 12:25:37,228 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/354f2702-15a2-4afd-8fd5-32bf4f034d1f 2025-08-22 12:25:40,503 - 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 1020ms') 2025-08-22 12:25:40,503 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07596474-53040455 failed! 2025-08-22 12:25:40,560 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07596474:ctest-vn-76414027 is 202.130.35.129 and allocation pool is NOT set 2025-08-22 12:25:42,623 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.368 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.368/1.605/2.842/1.237 ms') 2025-08-22 12:25:42,623 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07596474-53040455 passed 2025-08-22 12:25:42,788 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:25:42,788 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07596474-53040455, IP 202.130.35.131, Port 22 2025-08-22 12:25:42,950 - DEBUG - VM ctest-TestBasicPolicy-07596474-53040455 is ready for SSH connections 2025-08-22 12:25:42,950 - INFO - Waiting for VM ctest-TestBasicPolicy-07596474-82509011 to be up.. 2025-08-22 12:25:43,021 - DEBUG - VM is in ACTIVE state now 2025-08-22 12:25:43,021 - INFO - VM name : ctest-TestBasicPolicy-07596474-82509011 2025-08-22 12:25:43,091 - DEBUG - VM ctest-TestBasicPolicy-07596474-82509011 ID is de459eb2-fe67-4de6-93c4-95aa908cbfd0 2025-08-22 12:25:43,091 - DEBUG - VM ctest-TestBasicPolicy-07596474-82509011 launched on Node cn-jenkins-deploy-platform-ansible-os-3908-1 2025-08-22 12:25:43,160 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/de459eb2-fe67-4de6-93c4-95aa908cbfd0 2025-08-22 12:25:43,168 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/eac9b25f-1c97-46a0-8b85-ba8bae8d1a36 2025-08-22 12:25:44,401 - 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.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.550 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.550/1.753/2.956/1.203 ms') 2025-08-22 12:25:44,402 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07596474-82509011 passed 2025-08-22 12:25:44,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:25:44,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07596474-82509011, IP 179.251.80.67, Port 22 2025-08-22 12:25:44,708 - DEBUG - VM ctest-TestBasicPolicy-07596474-82509011 is ready for SSH connections 2025-08-22 12:25:44,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:25:44,708 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.251.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-22 12:25:44,709 - DEBUG - ping -s 56 -c 3 -W 1 179.251.80.67 2025-08-22 12:25:48,381 - DEBUG - PING 179.251.80.67 (179.251.80.67): 56 data bytes 64 bytes from 179.251.80.67: seq=0 ttl=63 time=3.675 ms 64 bytes from 179.251.80.67: seq=1 ttl=63 time=0.789 ms 64 bytes from 179.251.80.67: seq=2 ttl=63 time=0.735 ms --- 179.251.80.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.733/3.675 ms 2025-08-22 12:25:48,382 - INFO - Ping to IP 179.251.80.67 from VM ctest-TestBasicPolicy-07596474-53040455 passed 2025-08-22 12:25:48,572 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c46dd04-f7dc-4041-bb5b-09908ad11296", "href": "http://10.0.0.56:8082/network-policy/9c46dd04-f7dc-4041-bb5b-09908ad11296"}} 2025-08-22 12:25:48,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 12:25:48,572 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 179.251.80.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-22 12:25:48,572 - DEBUG - ping -s 56 -c 3 -W 1 179.251.80.67 2025-08-22 12:25:51,771 - DEBUG - PING 179.251.80.67 (179.251.80.67): 56 data bytes 64 bytes from 179.251.80.67: seq=0 ttl=63 time=1.400 ms --- 179.251.80.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.400/1.400/1.400 ms 2025-08-22 12:25:51,771 - WARNING - Ping to IP 179.251.80.67 from VM ctest-TestBasicPolicy-07596474-53040455 failed 2025-08-22 12:25:51,771 - INFO - Deleting VM ctest-TestBasicPolicy-07596474-82509011 2025-08-22 12:25:51,831 - INFO - Deleting VM ctest-TestBasicPolicy-07596474-53040455 2025-08-22 12:25:52,198 - INFO - Deleted policy ctest-policy-allow-all-29684134 2025-08-22 12:25:52,198 - INFO - Deleting VN ctest-vn-62676974 2025-08-22 12:25:52,230 - DEBUG - VN 5cda5ce4-3db6-4fa2-8249-c327a7ec8055 still in use: Unable to complete operation on network 5cda5ce4-3db6-4fa2-8249-c327a7ec8055. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b857a077-b828-42b5-b031-622c9fc7c779'] 2025-08-22 12:25:52,231 - WARNING - Deleting VN ctest-vn-62676974 failed..Will retry 2025-08-22 12:25:54,356 - DEBUG - Response for deleting network () 2025-08-22 12:25:54,356 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/995598f8-b9fa-4810-85a6-9f0a5a77c971 2025-08-22 12:25:54,384 - DEBUG - Response Code: 404 2025-08-22 12:25:54,384 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:54,402 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:54,505 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:54,621 - INFO - Validated that VN ctest-vn-62676974 is not found in API Server 2025-08-22 12:25:54,648 - DEBUG - VN ctest-vn-62676974 is not present in Agent 10.0.0.56 2025-08-22 12:25:54,648 - INFO - Validated that VN ctest-vn-62676974 is not in any agent 2025-08-22 12:25:54,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62676974 info 2025-08-22 12:25:54,670 - INFO - Deleting VN ctest-vn-76414027 2025-08-22 12:25:54,950 - DEBUG - Response for deleting network () 2025-08-22 12:25:54,950 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9a35d5a8-3236-47a9-b7ad-92b2f0e19e72 2025-08-22 12:25:54,956 - DEBUG - Response Code: 404 2025-08-22 12:25:54,956 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-22 12:25:54,963 - DEBUG - Requesting: http://10.0.0.56:8082/domain/e29ccb50-7463-4ac0-a337-6d7d1e6cad37 2025-08-22 12:25:55,032 - DEBUG - Requesting: http://10.0.0.56:8082/project/0c77940a-1cb2-4e66-bd1a-ef59f9f29513 2025-08-22 12:25:55,121 - INFO - Validated that VN ctest-vn-76414027 is not found in API Server 2025-08-22 12:25:55,136 - DEBUG - VN ctest-vn-76414027 is not present in Agent 10.0.0.56 2025-08-22 12:25:55,136 - INFO - Validated that VN ctest-vn-76414027 is not in any agent 2025-08-22 12:25:55,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76414027 info 2025-08-22 12:25:55,413 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 12:25:55,413 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-08-22 12:25:55,413 - INFO - -------------------------------------------------------------------------------- 2025-08-22 12:25:56,075 - INFO - Deleted project: ctest-TestBasicPolicy-07596474, ID : 0c77940a-1cb2-4e66-bd1a-ef59f9f29513