2025-10-23 10:49:44,928 - INFO - Domain Default found not creating 2025-10-23 10:49:45,091 - INFO - Project ctest-TestBasicPolicy-79857335 not found, creating it 2025-10-23 10:49:45,785 - INFO - Created Project:ctest-TestBasicPolicy-79857335, ID : 98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:49:47,304 - INFO - ================================================================================ 2025-10-23 10:49:47,304 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 10:49:47,304 - 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-23 10:49:47,563 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 10:49:47,563 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:49:47,563 - INFO - 2025-10-23 10:49:48,122 - DEBUG - Response for create_network : {'network': {'id': 'c51246ba-5aaf-4aeb-928c-08bf9b932f88', 'name': 'ctest-vn-01518937', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'project_id': '98b4c9b31cb0468381e0e3a0b548f677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-vn-01518937'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:48,336 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f80d48e8-e64e-40e1-a075-1f7d873b6d91', 'name': '', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'network_id': 'c51246ba-5aaf-4aeb-928c-08bf9b932f88', 'ip_version': 4, 'cidr': '85.225.40.128/26', 'allocation_pools': [{'start': '85.225.40.130', 'end': '85.225.40.190'}], 'gateway_ip': '85.225.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.225.40.130', 'tags': [], 'project_id': '98b4c9b31cb0468381e0e3a0b548f677'}} 2025-10-23 10:49:48,357 - INFO - Created VN ctest-vn-01518937 2025-10-23 10:49:48,408 - DEBUG - VN ctest-vn-01518937 UUID is c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:48,689 - DEBUG - Response for create_network : {'network': {'id': 'cac689f1-9731-4c9c-a5e5-e0b71749df0a', 'name': 'ctest-vn-37592110', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'project_id': '98b4c9b31cb0468381e0e3a0b548f677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-vn-37592110'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:48,886 - DEBUG - Response for create_subnet : {'subnet': {'id': '95f1dbe7-e546-4040-bf3c-5b2d97e8e7d4', 'name': '', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'network_id': 'cac689f1-9731-4c9c-a5e5-e0b71749df0a', 'ip_version': 4, 'cidr': '54.93.62.0/26', 'allocation_pools': [{'start': '54.93.62.2', 'end': '54.93.62.62'}], 'gateway_ip': '54.93.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.93.62.2', 'tags': [], 'project_id': '98b4c9b31cb0468381e0e3a0b548f677'}} 2025-10-23 10:49:48,903 - INFO - Created VN ctest-vn-37592110 2025-10-23 10:49:48,956 - DEBUG - VN ctest-vn-37592110 UUID is cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:49,072 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937, 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-79857335:ctest-vn-37592110, 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-23 10:49:49,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c51246ba-5aaf-4aeb-928c-08bf9b932f88', 'name': 'ctest-vn-01518937', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'project_id': '98b4c9b31cb0468381e0e3a0b548f677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f80d48e8-e64e-40e1-a075-1f7d873b6d91'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-vn-01518937'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-policy-allow-all-32739292']], 'subnet_ipam': [{'subnet_cidr': '85.225.40.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:49,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cac689f1-9731-4c9c-a5e5-e0b71749df0a', 'name': 'ctest-vn-37592110', 'tenant_id': '98b4c9b31cb0468381e0e3a0b548f677', 'project_id': '98b4c9b31cb0468381e0e3a0b548f677', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95f1dbe7-e546-4040-bf3c-5b2d97e8e7d4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-vn-37592110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-policy-allow-all-32739292']], 'subnet_ipam': [{'subnet_cidr': '54.93.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:49:49,768 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:49:50,063 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:49:50,091 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:49:50,104 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:49:50,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,185 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,194 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:49:50,201 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:49:50,207 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3cbdb151-b10e-4765-902c-0dc229aff460 2025-10-23 10:49:50,213 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:49:50,213 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,222 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:49:50,237 - INFO - Verified VN network id 10 for VN c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,237 - INFO - Verifications in API Server for VN ctest-vn-01518937 passed 2025-10-23 10:49:50,237 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,246 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:49:50,253 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:49:50,261 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/3cbdb151-b10e-4765-902c-0dc229aff460 2025-10-23 10:49:50,273 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79857335', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14200490341251893995', 'uuid-lslong': '10559824845318860680'}, 'enable': 'true', 'created': '2025-10-23T10:49:48', 'last-modified': '2025-10-23T10:49:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933682'} 2025-10-23 10:49:50,279 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:49:50,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01518937 passed 2025-10-23 10:49:50,280 - DEBUG - ====Verifying policy data for ctest-vn-01518937 in API_Server ====== 2025-10-23 10:49:50,280 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:49:50,285 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:49:50,295 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:49:50,362 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/c51246ba-5aaf-4aeb-928c-08bf9b932f88 2025-10-23 10:49:50,371 - DEBUG - ==>Verifying data for policy with id: 8452ea8d-e770-41c1-88cb-4b7dadc58b8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-policy-allow-all-32739292'] 2025-10-23 10:49:50,372 - INFO - VN ctest-vn-01518937 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:49:50,372 - DEBUG - Verifying the vn in opserver 2025-10-23 10:49:50,372 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937 virtual network link through opserver 10.0.0.254 2025-10-23 10:49:50,372 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 10:49:50,670 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 10:49:50,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937?flat'} 2025-10-23 10:49:50,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937 is found in opserver 2025-10-23 10:49:50,743 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:49:50,748 - DEBUG - VRF ids for VN ctest-vn-01518937: {} 2025-10-23 10:49:50,748 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:49:50,753 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:49:50,764 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:49:50,832 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:50,842 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:50,850 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:49:50,857 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:49:50,864 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0f8d0afc-269f-46d9-af42-b36894b9ad4a 2025-10-23 10:49:50,872 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:49:50,872 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:50,880 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:49:50,895 - INFO - Verified VN network id 11 for VN cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:50,895 - INFO - Verifications in API Server for VN ctest-vn-37592110 passed 2025-10-23 10:49:50,895 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:50,904 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:49:50,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:49:50,919 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0f8d0afc-269f-46d9-af42-b36894b9ad4a 2025-10-23 10:49:50,933 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-37592110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79857335', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14611517711766867100', 'uuid-lslong': '11954207862899203850'}, 'enable': 'true', 'created': '2025-10-23T10:49:48', 'last-modified': '2025-10-23T10:49:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351540'} 2025-10-23 10:49:50,941 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:49:50,941 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37592110 passed 2025-10-23 10:49:50,941 - DEBUG - ====Verifying policy data for ctest-vn-37592110 in API_Server ====== 2025-10-23 10:49:50,941 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:49:50,947 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:49:50,959 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:49:51,034 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cac689f1-9731-4c9c-a5e5-e0b71749df0a 2025-10-23 10:49:51,046 - DEBUG - ==>Verifying data for policy with id: 8452ea8d-e770-41c1-88cb-4b7dadc58b8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-79857335', 'ctest-policy-allow-all-32739292'] 2025-10-23 10:49:51,046 - INFO - VN ctest-vn-37592110 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:49:51,046 - DEBUG - Verifying the vn in opserver 2025-10-23 10:49:51,046 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-37592110 virtual network link through opserver 10.0.0.254 2025-10-23 10:49:51,046 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 10:49:51,056 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-37592110', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-37592110?flat'} 2025-10-23 10:49:51,056 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-37592110 is found in opserver 2025-10-23 10:49:51,070 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:49:51,076 - DEBUG - VRF ids for VN ctest-vn-37592110: {} 2025-10-23 10:49:51,136 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:49:52,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:49:53,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4456-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4456-1) 2025-10-23 10:49:53,271 - INFO - Waiting for VM ctest-TestBasicPolicy-79857335-26050875 to be up.. 2025-10-23 10:49:53,356 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:49:58,428 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:49:58,428 - INFO - VM name : ctest-TestBasicPolicy-79857335-26050875 2025-10-23 10:49:58,501 - DEBUG - VM ctest-TestBasicPolicy-79857335-26050875 ID is 66f52f65-e486-426f-80d4-962c8c129cf6 2025-10-23 10:49:58,518 - DEBUG - VM ctest-TestBasicPolicy-79857335-26050875 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:49:58,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66f52f65-e486-426f-80d4-962c8c129cf6 2025-10-23 10:49:58,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6dbe0b6f-9971-46da-926b-02974a31d358 2025-10-23 10:50:01,849 - 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 1019ms') 2025-10-23 10:50:01,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79857335-26050875 failed! 2025-10-23 10:50:01,908 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-79857335:ctest-vn-01518937 is 85.225.40.129 and allocation pool is NOT set 2025-10-23 10:50:03,979 - 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=9.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.593/5.959/9.325/3.366 ms') 2025-10-23 10:50:03,979 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-79857335-26050875 passed 2025-10-23 10:50:04,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:50:04,128 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79857335-26050875, IP 85.225.40.131, Port 22 2025-10-23 10:50:04,302 - DEBUG - VM ctest-TestBasicPolicy-79857335-26050875 is ready for SSH connections 2025-10-23 10:50:04,302 - INFO - Waiting for VM ctest-TestBasicPolicy-79857335-81852990 to be up.. 2025-10-23 10:50:04,377 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:50:04,378 - INFO - VM name : ctest-TestBasicPolicy-79857335-81852990 2025-10-23 10:50:04,450 - DEBUG - VM ctest-TestBasicPolicy-79857335-81852990 ID is cd546916-61ca-43e6-b016-3b4e3a3efa00 2025-10-23 10:50:04,451 - DEBUG - VM ctest-TestBasicPolicy-79857335-81852990 launched on Node cn-jenkins-deploy-platform-ansible-os-4456-1 2025-10-23 10:50:04,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/cd546916-61ca-43e6-b016-3b4e3a3efa00 2025-10-23 10:50:04,532 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ca676f08-8f49-4ac7-9de9-70a7ec889b67 2025-10-23 10:50:05,780 - 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.457 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.457/1.707/2.958/1.250 ms') 2025-10-23 10:50:05,780 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-79857335-81852990 passed 2025-10-23 10:50:05,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:50:05,932 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-79857335-81852990, IP 54.93.62.3, Port 22 2025-10-23 10:50:06,087 - DEBUG - VM ctest-TestBasicPolicy-79857335-81852990 is ready for SSH connections 2025-10-23 10:50:06,087 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:50:06,087 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.93.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 10:50:06,087 - DEBUG - ping -s 56 -c 3 -W 1 54.93.62.3 2025-10-23 10:50:09,818 - DEBUG - PING 54.93.62.3 (54.93.62.3): 56 data bytes 64 bytes from 54.93.62.3: seq=0 ttl=63 time=3.653 ms 64 bytes from 54.93.62.3: seq=1 ttl=63 time=0.887 ms 64 bytes from 54.93.62.3: seq=2 ttl=63 time=0.834 ms --- 54.93.62.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/1.791/3.653 ms 2025-10-23 10:50:09,818 - INFO - Ping to IP 54.93.62.3 from VM ctest-TestBasicPolicy-79857335-26050875 passed 2025-10-23 10:50:09,993 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8452ea8d-e770-41c1-88cb-4b7dadc58b8b", "href": "http://10.0.0.254:8082/network-policy/8452ea8d-e770-41c1-88cb-4b7dadc58b8b"}} 2025-10-23 10:50:09,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:50:09,993 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.93.62.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 10:50:09,993 - DEBUG - ping -s 56 -c 3 -W 1 54.93.62.3 2025-10-23 10:50:13,213 - DEBUG - PING 54.93.62.3 (54.93.62.3): 56 data bytes --- 54.93.62.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:50:13,213 - WARNING - Ping to IP 54.93.62.3 from VM ctest-TestBasicPolicy-79857335-26050875 failed 2025-10-23 10:50:13,213 - INFO - Deleting VM ctest-TestBasicPolicy-79857335-81852990 2025-10-23 10:50:13,283 - INFO - Deleting VM ctest-TestBasicPolicy-79857335-26050875 2025-10-23 10:50:13,637 - INFO - Deleted policy ctest-policy-allow-all-32739292 2025-10-23 10:50:13,637 - INFO - Deleting VN ctest-vn-37592110 2025-10-23 10:50:13,672 - DEBUG - VN cac689f1-9731-4c9c-a5e5-e0b71749df0a still in use: Unable to complete operation on network cac689f1-9731-4c9c-a5e5-e0b71749df0a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-34f09c4d-1752-4727-83af-6f05785d0645'] 2025-10-23 10:50:13,672 - WARNING - Deleting VN ctest-vn-37592110 failed..Will retry 2025-10-23 10:50:15,776 - DEBUG - Response for deleting network () 2025-10-23 10:50:15,776 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/c1756a05-dfea-410a-8955-b3774de4071e 2025-10-23 10:50:15,782 - DEBUG - Response Code: 404 2025-10-23 10:50:15,782 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:50:15,790 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:50:15,845 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:50:15,915 - INFO - Validated that VN ctest-vn-37592110 is not found in API Server 2025-10-23 10:50:15,925 - DEBUG - VN ctest-vn-37592110 is not present in Agent 10.0.0.254 2025-10-23 10:50:15,926 - INFO - Validated that VN ctest-vn-37592110 is not in any agent 2025-10-23 10:50:15,938 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37592110 info 2025-10-23 10:50:15,939 - INFO - Deleting VN ctest-vn-01518937 2025-10-23 10:50:16,038 - DEBUG - Response for deleting network () 2025-10-23 10:50:16,038 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/46c2eaf5-03c5-4216-b6dc-a7027b0619b0 2025-10-23 10:50:16,043 - DEBUG - Response Code: 404 2025-10-23 10:50:16,043 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 10:50:16,048 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6f702b32-b052-4514-8443-7ef1fda85df5 2025-10-23 10:50:16,101 - DEBUG - Requesting: http://10.0.0.254:8082/project/98b4c9b3-1cb0-4683-81e0-e3a0b548f677 2025-10-23 10:50:16,174 - INFO - Validated that VN ctest-vn-01518937 is not found in API Server 2025-10-23 10:50:16,185 - DEBUG - VN ctest-vn-01518937 is not present in Agent 10.0.0.254 2025-10-23 10:50:16,185 - INFO - Validated that VN ctest-vn-01518937 is not in any agent 2025-10-23 10:50:16,200 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01518937 info 2025-10-23 10:50:16,454 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 10:50:16,454 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-23 10:50:16,454 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:50:17,129 - INFO - Deleted project: ctest-TestBasicPolicy-79857335, ID : 98b4c9b3-1cb0-4683-81e0-e3a0b548f677