2025-06-09 02:08:18,496 - INFO - Domain Default found not creating 2025-06-09 02:08:18,645 - INFO - Project ctest-TestBasicPolicy-85737741 not found, creating it 2025-06-09 02:08:19,091 - INFO - Created Project:ctest-TestBasicPolicy-85737741, ID : c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:20,574 - INFO - ================================================================================ 2025-06-09 02:08:20,574 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-09 02:08:20,574 - 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-06-09 02:08:20,834 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.18': '0'}} with 2025-06-09 02:08:20,834 - INFO - Initial checks done. Running the testcase now 2025-06-09 02:08:20,834 - INFO - 2025-06-09 02:08:21,374 - DEBUG - Response for create_network : {'network': {'id': '99592733-0594-4cc8-85c0-7c17c970273c', 'name': 'ctest-vn-50523660', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'project_id': 'c55a20b889a340bf802fcf147802fbfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-vn-50523660'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:08:21,598 - DEBUG - Response for create_subnet : {'subnet': {'id': '19916b60-27af-40f1-a84c-df65d09dda4c', 'name': '', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'network_id': '99592733-0594-4cc8-85c0-7c17c970273c', 'ip_version': 4, 'cidr': '53.240.165.0/26', 'allocation_pools': [{'start': '53.240.165.2', 'end': '53.240.165.62'}], 'gateway_ip': '53.240.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.240.165.2', 'tags': [], 'project_id': 'c55a20b889a340bf802fcf147802fbfa'}} 2025-06-09 02:08:21,617 - INFO - Created VN ctest-vn-50523660 2025-06-09 02:08:21,671 - DEBUG - VN ctest-vn-50523660 UUID is 99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:21,962 - DEBUG - Response for create_network : {'network': {'id': 'b6fa8a7a-c42b-4271-bd29-00674c6855c1', 'name': 'ctest-vn-63515219', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'project_id': 'c55a20b889a340bf802fcf147802fbfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-vn-63515219'], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:08:22,176 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ce0bcaf3-8b8a-49c3-bb6d-1dfdf48bb55f', 'name': '', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'network_id': 'b6fa8a7a-c42b-4271-bd29-00674c6855c1', 'ip_version': 4, 'cidr': '59.68.191.64/26', 'allocation_pools': [{'start': '59.68.191.66', 'end': '59.68.191.126'}], 'gateway_ip': '59.68.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.68.191.66', 'tags': [], 'project_id': 'c55a20b889a340bf802fcf147802fbfa'}} 2025-06-09 02:08:22,196 - INFO - Created VN ctest-vn-63515219 2025-06-09 02:08:22,251 - DEBUG - VN ctest-vn-63515219 UUID is b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:22,407 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660, 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-85737741:ctest-vn-63515219, 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-06-09 02:08:22,714 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99592733-0594-4cc8-85c0-7c17c970273c', 'name': 'ctest-vn-50523660', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'project_id': 'c55a20b889a340bf802fcf147802fbfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['19916b60-27af-40f1-a84c-df65d09dda4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-vn-50523660'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-policy-allow-all-03561775']], 'subnet_ipam': [{'subnet_cidr': '53.240.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:08:23,006 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6fa8a7a-c42b-4271-bd29-00674c6855c1', 'name': 'ctest-vn-63515219', 'tenant_id': 'c55a20b889a340bf802fcf147802fbfa', 'project_id': 'c55a20b889a340bf802fcf147802fbfa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ce0bcaf3-8b8a-49c3-bb6d-1dfdf48bb55f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-vn-63515219'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-policy-allow-all-03561775']], 'subnet_ipam': [{'subnet_cidr': '59.68.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-09 02:08:23,155 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:23,458 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:23,488 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:23,503 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:23,590 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,602 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,613 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:23,621 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:23,637 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0ee32d8a-0bd9-4d3e-a5f8-bb03eeab3284 2025-06-09 02:08:23,644 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:08:23,645 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,656 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:23,676 - INFO - Verified VN network id 8 for VN 99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,676 - INFO - Verifications in API Server for VN ctest-vn-50523660 passed 2025-06-09 02:08:23,676 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,690 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:23,702 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:23,711 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0ee32d8a-0bd9-4d3e-a5f8-bb03eeab3284 2025-06-09 02:08:23,727 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85737741', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11049906260820643016', 'uuid-lslong': '9637839644178523964'}, 'enable': 'true', 'created': '2025-06-09T02:08:21', 'last-modified': '2025-06-09T02:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.031303'} 2025-06-09 02:08:23,736 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-09 02:08:23,737 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50523660 passed 2025-06-09 02:08:23,737 - DEBUG - ====Verifying policy data for ctest-vn-50523660 in API_Server ====== 2025-06-09 02:08:23,737 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:23,746 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:23,760 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:23,837 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/99592733-0594-4cc8-85c0-7c17c970273c 2025-06-09 02:08:23,847 - DEBUG - ==>Verifying data for policy with id: 13140245-cf4d-4b29-9403-8ce15bfb7d83, fqn: ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-policy-allow-all-03561775'] 2025-06-09 02:08:23,847 - INFO - VN ctest-vn-50523660 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:08:23,847 - DEBUG - Verifying the vn in opserver 2025-06-09 02:08:23,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660 virtual network link through opserver 10.0.0.130 2025-06-09 02:08:23,847 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-09 02:08:24,136 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-09 02:08:24,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660?flat'} 2025-06-09 02:08:24,192 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660 is found in opserver 2025-06-09 02:08:24,203 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:08:24,209 - DEBUG - VRF ids for VN ctest-vn-50523660: {} 2025-06-09 02:08:24,209 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:24,215 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:24,227 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:24,297 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,311 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,322 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:24,331 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:24,339 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d6a335b3-af89-4faf-921f-d291793845ea 2025-06-09 02:08:24,346 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:08:24,346 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,357 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:24,375 - INFO - Verified VN network id 9 for VN b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,375 - INFO - Verifications in API Server for VN ctest-vn-63515219 passed 2025-06-09 02:08:24,375 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,388 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:24,397 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:24,405 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/d6a335b3-af89-4faf-921f-d291793845ea 2025-06-09 02:08:24,419 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-63515219', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85737741', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13185003118962360945', 'uuid-lslong': '13630426190877054401'}, 'enable': 'true', 'created': '2025-06-09T02:08:21', 'last-modified': '2025-06-09T02:08:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.487215'} 2025-06-09 02:08:24,425 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-09 02:08:24,425 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63515219 passed 2025-06-09 02:08:24,426 - DEBUG - ====Verifying policy data for ctest-vn-63515219 in API_Server ====== 2025-06-09 02:08:24,426 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:24,432 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:24,447 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:24,524 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/b6fa8a7a-c42b-4271-bd29-00674c6855c1 2025-06-09 02:08:24,535 - DEBUG - ==>Verifying data for policy with id: 13140245-cf4d-4b29-9403-8ce15bfb7d83, fqn: ['default-domain', 'ctest-TestBasicPolicy-85737741', 'ctest-policy-allow-all-03561775'] 2025-06-09 02:08:24,535 - INFO - VN ctest-vn-63515219 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-09 02:08:24,535 - DEBUG - Verifying the vn in opserver 2025-06-09 02:08:24,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-63515219 virtual network link through opserver 10.0.0.130 2025-06-09 02:08:24,535 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-06-09 02:08:24,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-63515219', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-63515219?flat'} 2025-06-09 02:08:24,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-63515219 is found in opserver 2025-06-09 02:08:24,558 - DEBUG - Do not have enough data to verify VN in agent 2025-06-09 02:08:24,564 - DEBUG - VRF ids for VN ctest-vn-63515219: {} 2025-06-09 02:08:24,622 - DEBUG - Services list from nova: [, , ] 2025-06-09 02:08:25,641 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3419-1) 2025-06-09 02:08:26,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3419-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3419-1) 2025-06-09 02:08:26,880 - INFO - Waiting for VM ctest-TestBasicPolicy-85737741-62880222 to be up.. 2025-06-09 02:08:26,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-09 02:08:32,041 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:08:32,041 - INFO - VM name : ctest-TestBasicPolicy-85737741-62880222 2025-06-09 02:08:32,114 - DEBUG - VM ctest-TestBasicPolicy-85737741-62880222 ID is 1d61cfc6-fa6b-4916-9ce0-2b9d9e2e4527 2025-06-09 02:08:32,135 - DEBUG - VM ctest-TestBasicPolicy-85737741-62880222 launched on Node cn-jenkins-deploy-platform-ansible-os-3419-1 2025-06-09 02:08:32,216 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/1d61cfc6-fa6b-4916-9ce0-2b9d9e2e4527 2025-06-09 02:08:32,227 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a5c5eb31-0634-42d4-b0ad-c05bf7f2f5b4 2025-06-09 02:08:35,431 - 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 1006ms') 2025-06-09 02:08:35,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85737741-62880222 failed! 2025-06-09 02:08:35,487 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-85737741:ctest-vn-50523660 is 53.240.165.1 and allocation pool is NOT set 2025-06-09 02:08:37,547 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/1.540/2.624/1.084 ms') 2025-06-09 02:08:37,547 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-85737741-62880222 passed 2025-06-09 02:08:37,699 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:08:37,700 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85737741-62880222, IP 53.240.165.3, Port 22 2025-06-09 02:08:37,855 - DEBUG - VM ctest-TestBasicPolicy-85737741-62880222 is ready for SSH connections 2025-06-09 02:08:37,855 - INFO - Waiting for VM ctest-TestBasicPolicy-85737741-57870922 to be up.. 2025-06-09 02:08:37,930 - DEBUG - VM is in ACTIVE state now 2025-06-09 02:08:37,930 - INFO - VM name : ctest-TestBasicPolicy-85737741-57870922 2025-06-09 02:08:38,009 - DEBUG - VM ctest-TestBasicPolicy-85737741-57870922 ID is c2596962-3461-46fb-bd95-7fd3f382a509 2025-06-09 02:08:38,009 - DEBUG - VM ctest-TestBasicPolicy-85737741-57870922 launched on Node cn-jenkins-deploy-platform-ansible-os-3419-1 2025-06-09 02:08:38,082 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/c2596962-3461-46fb-bd95-7fd3f382a509 2025-06-09 02:08:38,090 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/02ed1522-6fc3-42ad-9b9d-37a23ae7313d 2025-06-09 02:08:39,327 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.872 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.872/2.000/3.129/1.128 ms') 2025-06-09 02:08:39,327 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-85737741-57870922 passed 2025-06-09 02:08:39,479 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:08:39,480 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-85737741-57870922, IP 59.68.191.67, Port 22 2025-06-09 02:08:39,635 - DEBUG - VM ctest-TestBasicPolicy-85737741-57870922 is ready for SSH connections 2025-06-09 02:08:39,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:08:39,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.68.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-09 02:08:39,635 - DEBUG - ping -s 56 -c 3 -W 1 59.68.191.67 2025-06-09 02:08:43,737 - DEBUG - PING 59.68.191.67 (59.68.191.67): 56 data bytes 64 bytes from 59.68.191.67: seq=0 ttl=63 time=3.864 ms 64 bytes from 59.68.191.67: seq=1 ttl=63 time=0.974 ms 64 bytes from 59.68.191.67: seq=2 ttl=63 time=0.874 ms --- 59.68.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.874/1.904/3.864 ms 2025-06-09 02:08:43,737 - INFO - Ping to IP 59.68.191.67 from VM ctest-TestBasicPolicy-85737741-62880222 passed 2025-06-09 02:08:43,915 - DEBUG - Policy Update Response {"network-policy": {"uuid": "13140245-cf4d-4b29-9403-8ce15bfb7d83", "href": "http://10.0.0.130:8082/network-policy/13140245-cf4d-4b29-9403-8ce15bfb7d83"}} 2025-06-09 02:08:43,915 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-09 02:08:43,915 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 59.68.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-06-09 02:08:43,915 - DEBUG - ping -s 56 -c 3 -W 1 59.68.191.67 2025-06-09 02:08:47,125 - DEBUG - PING 59.68.191.67 (59.68.191.67): 56 data bytes --- 59.68.191.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-09 02:08:47,125 - WARNING - Ping to IP 59.68.191.67 from VM ctest-TestBasicPolicy-85737741-62880222 failed 2025-06-09 02:08:47,125 - INFO - Deleting VM ctest-TestBasicPolicy-85737741-57870922 2025-06-09 02:08:47,189 - INFO - Deleting VM ctest-TestBasicPolicy-85737741-62880222 2025-06-09 02:08:47,569 - INFO - Deleted policy ctest-policy-allow-all-03561775 2025-06-09 02:08:47,569 - INFO - Deleting VN ctest-vn-63515219 2025-06-09 02:08:47,606 - DEBUG - VN b6fa8a7a-c42b-4271-bd29-00674c6855c1 still in use: Unable to complete operation on network b6fa8a7a-c42b-4271-bd29-00674c6855c1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-57be5b18-36b8-4226-a699-253afb467ea5'] 2025-06-09 02:08:47,606 - WARNING - Deleting VN ctest-vn-63515219 failed..Will retry 2025-06-09 02:08:49,708 - DEBUG - Response for deleting network () 2025-06-09 02:08:49,708 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/35e91c50-21ae-4d1d-9a53-4cc7ced1949c 2025-06-09 02:08:49,714 - DEBUG - Response Code: 404 2025-06-09 02:08:49,714 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:49,720 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:49,773 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:49,846 - INFO - Validated that VN ctest-vn-63515219 is not found in API Server 2025-06-09 02:08:49,856 - DEBUG - VN ctest-vn-63515219 is not present in Agent 10.0.0.130 2025-06-09 02:08:49,856 - INFO - Validated that VN ctest-vn-63515219 is not in any agent 2025-06-09 02:08:49,874 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63515219 info 2025-06-09 02:08:49,874 - INFO - Deleting VN ctest-vn-50523660 2025-06-09 02:08:49,993 - DEBUG - Response for deleting network () 2025-06-09 02:08:49,993 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/5b072e1d-5ff3-4979-885b-6f134b884d8b 2025-06-09 02:08:50,000 - DEBUG - Response Code: 404 2025-06-09 02:08:50,000 - DEBUG - Requesting: http://10.0.0.130:8082/domains 2025-06-09 02:08:50,010 - DEBUG - Requesting: http://10.0.0.130:8082/domain/bb65f9b7-d8a4-4fd7-ac42-d08a3c9d2a22 2025-06-09 02:08:50,065 - DEBUG - Requesting: http://10.0.0.130:8082/project/c55a20b8-89a3-40bf-802f-cf147802fbfa 2025-06-09 02:08:50,141 - INFO - Validated that VN ctest-vn-50523660 is not found in API Server 2025-06-09 02:08:50,152 - DEBUG - VN ctest-vn-50523660 is not present in Agent 10.0.0.130 2025-06-09 02:08:50,152 - INFO - Validated that VN ctest-vn-50523660 is not in any agent 2025-06-09 02:08:50,167 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50523660 info 2025-06-09 02:08:50,420 - DEBUG - No XMPP flaps were noticed during the test 2025-06-09 02:08:50,420 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-09 02:08:50,421 - INFO - -------------------------------------------------------------------------------- 2025-06-09 02:08:51,081 - INFO - Deleted project: ctest-TestBasicPolicy-85737741, ID : c55a20b8-89a3-40bf-802f-cf147802fbfa