2025-10-21 09:52:50,752 - INFO - Domain Default found not creating 2025-10-21 09:52:50,876 - INFO - Project ctest-TestBasicPolicy-79702871 not found, creating it 2025-10-21 09:52:51,340 - INFO - Created Project:ctest-TestBasicPolicy-79702871, ID : 6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:52:52,660 - INFO - ================================================================================ 2025-10-21 09:52:52,661 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 09:52:52,661 - 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-10-21 09:52:52,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-21 09:52:52,916 - INFO - Initial checks done. Running the testcase now 2025-10-21 09:52:52,916 - INFO - 2025-10-21 09:52:53,426 - DEBUG - Response for create_network : {'network': {'id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'name': 'ctest-vn-66948034', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-66948034'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:53,572 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cead03ee-b485-44c6-b7ee-258c0b819f51', 'name': '', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'network_id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'ip_version': 4, 'cidr': '117.93.202.192/26', 'allocation_pools': [{'start': '117.93.202.194', 'end': '117.93.202.254'}], 'gateway_ip': '117.93.202.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.93.202.194', 'tags': [], 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba'}} 2025-10-21 09:52:53,588 - INFO - Created VN ctest-vn-66948034 2025-10-21 09:52:53,639 - DEBUG - VN ctest-vn-66948034 UUID is db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:53,945 - DEBUG - Response for create_network : {'network': {'id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'name': 'ctest-vn-29520540', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-29520540'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:54,128 - DEBUG - Response for create_subnet : {'subnet': {'id': '73f2b727-fc9e-4dd2-9b9f-3c83cb3c8f1f', 'name': '', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'network_id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'ip_version': 4, 'cidr': '28.220.218.128/26', 'allocation_pools': [{'start': '28.220.218.130', 'end': '28.220.218.190'}], 'gateway_ip': '28.220.218.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.220.218.130', 'tags': [], 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba'}} 2025-10-21 09:52:54,144 - INFO - Created VN ctest-vn-29520540 2025-10-21 09:52:54,195 - DEBUG - VN ctest-vn-29520540 UUID is d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:54,339 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034, 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-79702871:ctest-vn-29520540, 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-10-21 09:52:54,616 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'db86b179-6ce8-41b5-ace4-44459f26cdee', 'name': 'ctest-vn-66948034', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cead03ee-b485-44c6-b7ee-258c0b819f51'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-66948034'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']], 'subnet_ipam': [{'subnet_cidr': '117.93.202.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:54,817 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd095b7c3-bd7f-4323-9cf0-944bc6bcf7b9', 'name': 'ctest-vn-29520540', 'tenant_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'project_id': '6a71e412b92646ae8f8a24ba13c0eaba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['73f2b727-fc9e-4dd2-9b9f-3c83cb3c8f1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-vn-29520540'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559']], 'subnet_ipam': [{'subnet_cidr': '28.220.218.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 09:52:54,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:52:55,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:52:55,285 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:52:55,297 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:52:55,365 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,374 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,382 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:52:55,388 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:52:55,394 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d166cc87-490c-468f-949c-6ba5c1fab913 2025-10-21 09:52:55,399 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 09:52:55,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,406 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:52:55,418 - INFO - Verified VN network id 12 for VN db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,418 - INFO - Verifications in API Server for VN ctest-vn-66948034 passed 2025-10-21 09:52:55,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,425 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:52:55,430 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:52:55,435 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d166cc87-490c-468f-949c-6ba5c1fab913 2025-10-21 09:52:55,445 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79702871', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15818525876261765557', 'uuid-lslong': '12458157535027187182'}, 'enable': 'true', 'created': '2025-10-21T09:52:53', 'last-modified': '2025-10-21T09:52:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.848200'} 2025-10-21 09:52:55,450 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 09:52:55,450 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66948034 passed 2025-10-21 09:52:55,450 - DEBUG - ====Verifying policy data for ctest-vn-66948034 in API_Server ====== 2025-10-21 09:52:55,450 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:52:55,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:52:55,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:52:55,532 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/db86b179-6ce8-41b5-ace4-44459f26cdee 2025-10-21 09:52:55,540 - DEBUG - ==>Verifying data for policy with id: 27718dda-6975-40b3-bb07-5b3fc184475c, fqn: ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559'] 2025-10-21 09:52:55,540 - INFO - VN ctest-vn-66948034 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 09:52:55,541 - DEBUG - Verifying the vn in opserver 2025-10-21 09:52:55,541 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034 virtual network link through opserver 10.0.0.38 2025-10-21 09:52:55,541 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 09:52:55,826 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 09:52:55,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034?flat'} 2025-10-21 09:52:55,876 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034 is found in opserver 2025-10-21 09:52:55,884 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 09:52:55,887 - DEBUG - VRF ids for VN ctest-vn-66948034: {} 2025-10-21 09:52:55,887 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:52:55,892 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:52:55,900 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:52:55,974 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:55,985 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:55,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:52:55,999 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:52:56,006 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d410d5fc-f7d3-40a7-b829-325e9becc05d 2025-10-21 09:52:56,012 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 09:52:56,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:56,019 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:52:56,031 - INFO - Verified VN network id 13 for VN d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:56,031 - INFO - Verifications in API Server for VN ctest-vn-29520540 passed 2025-10-21 09:52:56,031 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:56,038 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:52:56,043 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:52:56,048 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d410d5fc-f7d3-40a7-b829-325e9becc05d 2025-10-21 09:52:56,057 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79702871', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15030121382744638243', 'uuid-lslong': '11308701717505046457'}, 'enable': 'true', 'created': '2025-10-21T09:52:53', 'last-modified': '2025-10-21T09:52:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.257768'} 2025-10-21 09:52:56,062 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 09:52:56,062 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29520540 passed 2025-10-21 09:52:56,062 - DEBUG - ====Verifying policy data for ctest-vn-29520540 in API_Server ====== 2025-10-21 09:52:56,062 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:52:56,066 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:52:56,076 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:52:56,147 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 2025-10-21 09:52:56,157 - DEBUG - ==>Verifying data for policy with id: 27718dda-6975-40b3-bb07-5b3fc184475c, fqn: ['default-domain', 'ctest-TestBasicPolicy-79702871', 'ctest-policy-allow-all-18714559'] 2025-10-21 09:52:56,157 - INFO - VN ctest-vn-29520540 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 09:52:56,157 - DEBUG - Verifying the vn in opserver 2025-10-21 09:52:56,157 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540 virtual network link through opserver 10.0.0.38 2025-10-21 09:52:56,158 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-21 09:52:56,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540?flat'} 2025-10-21 09:52:56,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-29520540 is found in opserver 2025-10-21 09:52:56,177 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 09:52:56,181 - DEBUG - VRF ids for VN ctest-vn-29520540: {} 2025-10-21 09:52:56,232 - DEBUG - Services list from nova: [, , ] 2025-10-21 09:52:57,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:52:58,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4391-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4391-1) 2025-10-21 09:52:58,489 - INFO - Waiting for VM ctest-TestBasicPolicy-79702871-95806376 to be up.. 2025-10-21 09:52:58,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 09:53:03,747 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:53:03,747 - INFO - VM name : ctest-TestBasicPolicy-79702871-95806376 2025-10-21 09:53:03,807 - DEBUG - VM ctest-TestBasicPolicy-79702871-95806376 ID is bcd7c2a3-f456-4597-83e4-e2ef9a2168d6 2025-10-21 09:53:03,822 - DEBUG - VM ctest-TestBasicPolicy-79702871-95806376 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:53:03,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bcd7c2a3-f456-4597-83e4-e2ef9a2168d6 2025-10-21 09:53:03,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d4c9cc3c-14e1-4290-af2b-a0acefa2e24d 2025-10-21 09:53:07,124 - 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 1011ms') 2025-10-21 09:53:07,124 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79702871-95806376 failed! 2025-10-21 09:53:07,179 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79702871:ctest-vn-66948034 is 117.93.202.193 and allocation pool is NOT set 2025-10-21 09:53:09,242 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 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 = 2.081/3.753/5.426/1.672 ms') 2025-10-21 09:53:09,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79702871-95806376 passed 2025-10-21 09:53:09,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:53:09,391 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79702871-95806376, IP 117.93.202.195, Port 22 2025-10-21 09:53:09,546 - DEBUG - VM ctest-TestBasicPolicy-79702871-95806376 is ready for SSH connections 2025-10-21 09:53:09,546 - INFO - Waiting for VM ctest-TestBasicPolicy-79702871-13471572 to be up.. 2025-10-21 09:53:09,616 - DEBUG - VM is in ACTIVE state now 2025-10-21 09:53:09,616 - INFO - VM name : ctest-TestBasicPolicy-79702871-13471572 2025-10-21 09:53:09,681 - DEBUG - VM ctest-TestBasicPolicy-79702871-13471572 ID is 14ff6d4d-5127-48f5-884d-a72b21e0ba11 2025-10-21 09:53:09,681 - DEBUG - VM ctest-TestBasicPolicy-79702871-13471572 launched on Node cn-jenkins-deploy-platform-ansible-os-4391-1 2025-10-21 09:53:09,756 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/14ff6d4d-5127-48f5-884d-a72b21e0ba11 2025-10-21 09:53:09,764 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ddbca991-533f-4f3a-8113-19b9aff93c5d 2025-10-21 09:53:10,994 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.386 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.386/1.488/2.591/1.102 ms') 2025-10-21 09:53:10,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79702871-13471572 passed 2025-10-21 09:53:11,147 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:53:11,147 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79702871-13471572, IP 28.220.218.131, Port 22 2025-10-21 09:53:11,302 - DEBUG - VM ctest-TestBasicPolicy-79702871-13471572 is ready for SSH connections 2025-10-21 09:53:11,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:53:11,303 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.220.218.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:53:11,303 - DEBUG - ping -s 56 -c 3 -W 1 28.220.218.131 2025-10-21 09:53:14,983 - DEBUG - PING 28.220.218.131 (28.220.218.131): 56 data bytes 64 bytes from 28.220.218.131: seq=0 ttl=63 time=3.805 ms 64 bytes from 28.220.218.131: seq=1 ttl=63 time=0.759 ms 64 bytes from 28.220.218.131: seq=2 ttl=63 time=0.834 ms --- 28.220.218.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.799/3.805 ms 2025-10-21 09:53:14,983 - INFO - Ping to IP 28.220.218.131 from VM ctest-TestBasicPolicy-79702871-95806376 passed 2025-10-21 09:53:15,151 - DEBUG - Policy Update Response {"network-policy": {"uuid": "27718dda-6975-40b3-bb07-5b3fc184475c", "href": "http://10.0.0.38:8082/network-policy/27718dda-6975-40b3-bb07-5b3fc184475c"}} 2025-10-21 09:53:15,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 09:53:15,151 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.220.218.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-21 09:53:15,151 - DEBUG - ping -s 56 -c 3 -W 1 28.220.218.131 2025-10-21 09:53:18,355 - DEBUG - PING 28.220.218.131 (28.220.218.131): 56 data bytes --- 28.220.218.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 09:53:18,355 - WARNING - Ping to IP 28.220.218.131 from VM ctest-TestBasicPolicy-79702871-95806376 failed 2025-10-21 09:53:18,355 - INFO - Deleting VM ctest-TestBasicPolicy-79702871-13471572 2025-10-21 09:53:18,504 - INFO - Deleting VM ctest-TestBasicPolicy-79702871-95806376 2025-10-21 09:53:18,840 - INFO - Deleted policy ctest-policy-allow-all-18714559 2025-10-21 09:53:18,840 - INFO - Deleting VN ctest-vn-29520540 2025-10-21 09:53:18,867 - DEBUG - VN d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9 still in use: Unable to complete operation on network d095b7c3-bd7f-4323-9cf0-944bc6bcf7b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c0285e54-032d-4861-8428-5e37461e81aa'] 2025-10-21 09:53:18,867 - WARNING - Deleting VN ctest-vn-29520540 failed..Will retry 2025-10-21 09:53:20,957 - DEBUG - Response for deleting network () 2025-10-21 09:53:20,957 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/31d7d817-1b9e-4a05-966c-6b3e24e6f499 2025-10-21 09:53:20,962 - DEBUG - Response Code: 404 2025-10-21 09:53:20,962 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:53:20,970 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:53:21,020 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:53:21,086 - INFO - Validated that VN ctest-vn-29520540 is not found in API Server 2025-10-21 09:53:21,094 - DEBUG - VN ctest-vn-29520540 is not present in Agent 10.0.0.38 2025-10-21 09:53:21,094 - INFO - Validated that VN ctest-vn-29520540 is not in any agent 2025-10-21 09:53:21,107 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29520540 info 2025-10-21 09:53:21,107 - INFO - Deleting VN ctest-vn-66948034 2025-10-21 09:53:21,198 - DEBUG - Response for deleting network () 2025-10-21 09:53:21,198 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b3014d89-f8eb-4a7d-ad51-77899b6d0141 2025-10-21 09:53:21,203 - DEBUG - Response Code: 404 2025-10-21 09:53:21,203 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-21 09:53:21,208 - DEBUG - Requesting: http://10.0.0.38:8082/domain/34c5693f-464c-405a-8104-1b46bd037120 2025-10-21 09:53:21,260 - DEBUG - Requesting: http://10.0.0.38:8082/project/6a71e412-b926-46ae-8f8a-24ba13c0eaba 2025-10-21 09:53:21,329 - INFO - Validated that VN ctest-vn-66948034 is not found in API Server 2025-10-21 09:53:21,337 - DEBUG - VN ctest-vn-66948034 is not present in Agent 10.0.0.38 2025-10-21 09:53:21,337 - INFO - Validated that VN ctest-vn-66948034 is not in any agent 2025-10-21 09:53:21,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66948034 info 2025-10-21 09:53:21,605 - DEBUG - No XMPP flaps were noticed during the test
2025-10-21 09:53:21,605 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-21 09:53:21,605 - INFO - -------------------------------------------------------------------------------- 2025-10-21 09:53:22,247 - INFO - Deleted project: ctest-TestBasicPolicy-79702871, ID : 6a71e412-b926-46ae-8f8a-24ba13c0eaba