2025-02-10 12:16:28,708 - INFO - Domain Default found not creating 2025-02-10 12:16:28,930 - INFO - Project ctest-TestBasicPolicy-73386921 not found, creating it 2025-02-10 12:16:29,375 - INFO - Created Project:ctest-TestBasicPolicy-73386921, ID : 31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:30,748 - INFO - ================================================================================ 2025-02-10 12:16:30,748 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 12:16:30,748 - 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-02-10 12:16:31,003 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.6': '0'}} with 2025-02-10 12:16:31,003 - INFO - Initial checks done. Running the testcase now 2025-02-10 12:16:31,003 - INFO - 2025-02-10 12:16:31,530 - DEBUG - Response for create_network : {'network': {'id': '16a51bc0-a90f-4a8e-8974-1a6c4e3635f2', 'name': 'ctest-vn-15604851', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'project_id': '31a4e65959d74701b8a833e871f2b493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-vn-15604851'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 12:16:31,715 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dc91a10-6e72-4e31-b1cf-175ed0c7f947', 'name': '', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'network_id': '16a51bc0-a90f-4a8e-8974-1a6c4e3635f2', 'ip_version': 4, 'cidr': '163.15.49.0/26', 'allocation_pools': [{'start': '163.15.49.2', 'end': '163.15.49.62'}], 'gateway_ip': '163.15.49.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.15.49.2', 'tags': [], 'project_id': '31a4e65959d74701b8a833e871f2b493'}} 2025-02-10 12:16:31,733 - INFO - Created VN ctest-vn-15604851 2025-02-10 12:16:31,785 - DEBUG - VN ctest-vn-15604851 UUID is 16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:32,100 - DEBUG - Response for create_network : {'network': {'id': '1a1220fe-eda3-47f8-bcc7-e64712bd788c', 'name': 'ctest-vn-92678701', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'project_id': '31a4e65959d74701b8a833e871f2b493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-vn-92678701'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 12:16:32,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bef1805-bf34-4c17-87dd-23f213420655', 'name': '', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'network_id': '1a1220fe-eda3-47f8-bcc7-e64712bd788c', 'ip_version': 4, 'cidr': '37.212.115.0/26', 'allocation_pools': [{'start': '37.212.115.2', 'end': '37.212.115.62'}], 'gateway_ip': '37.212.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.212.115.2', 'tags': [], 'project_id': '31a4e65959d74701b8a833e871f2b493'}} 2025-02-10 12:16:32,327 - INFO - Created VN ctest-vn-92678701 2025-02-10 12:16:32,377 - DEBUG - VN ctest-vn-92678701 UUID is 1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:32,529 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851, 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-73386921:ctest-vn-92678701, 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-02-10 12:16:32,820 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16a51bc0-a90f-4a8e-8974-1a6c4e3635f2', 'name': 'ctest-vn-15604851', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'project_id': '31a4e65959d74701b8a833e871f2b493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dc91a10-6e72-4e31-b1cf-175ed0c7f947'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-vn-15604851'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-policy-allow-all-87115764']], 'subnet_ipam': [{'subnet_cidr': '163.15.49.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 12:16:33,061 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1a1220fe-eda3-47f8-bcc7-e64712bd788c', 'name': 'ctest-vn-92678701', 'tenant_id': '31a4e65959d74701b8a833e871f2b493', 'project_id': '31a4e65959d74701b8a833e871f2b493', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bef1805-bf34-4c17-87dd-23f213420655'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-vn-92678701'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-policy-allow-all-87115764']], 'subnet_ipam': [{'subnet_cidr': '37.212.115.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 12:16:33,221 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:33,518 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:33,544 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:33,558 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:33,629 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,640 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,649 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:33,656 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:33,662 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b4a61bd1-d72c-4f4c-925b-4cf6b2458158 2025-02-10 12:16:33,668 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 12:16:33,669 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,677 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:33,690 - INFO - Verified VN network id 9 for VN 16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,690 - INFO - Verifications in API Server for VN ctest-vn-15604851 passed 2025-02-10 12:16:33,690 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,700 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:33,707 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:33,714 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b4a61bd1-d72c-4f4c-925b-4cf6b2458158 2025-02-10 12:16:33,725 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73386921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1631740954275695246', 'uuid-lslong': '9904570532965529074'}, 'enable': 'true', 'created': '2025-02-10T12:16:31', 'last-modified': '2025-02-10T12:16:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930401'} 2025-02-10 12:16:33,731 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 12:16:33,731 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15604851 passed 2025-02-10 12:16:33,732 - DEBUG - ====Verifying policy data for ctest-vn-15604851 in API_Server ====== 2025-02-10 12:16:33,732 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:33,737 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:33,747 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:33,819 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/16a51bc0-a90f-4a8e-8974-1a6c4e3635f2 2025-02-10 12:16:33,830 - DEBUG - ==>Verifying data for policy with id: 0cfa9589-0960-4ade-a475-e16d1b0dd084, fqn: ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-policy-allow-all-87115764'] 2025-02-10 12:16:33,830 - INFO - VN ctest-vn-15604851 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 12:16:33,830 - DEBUG - Verifying the vn in opserver 2025-02-10 12:16:33,830 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851 virtual network link through opserver 10.0.0.41 2025-02-10 12:16:33,830 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 12:16:34,126 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 12:16:34,182 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851?flat'} 2025-02-10 12:16:34,182 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851 is found in opserver 2025-02-10 12:16:34,194 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 12:16:34,199 - DEBUG - VRF ids for VN ctest-vn-15604851: {} 2025-02-10 12:16:34,199 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:34,205 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:34,217 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:34,289 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,301 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,310 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:34,317 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:34,324 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/42664d5c-28fe-468a-aa35-c5e3eb0cfb83 2025-02-10 12:16:34,330 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 12:16:34,330 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,339 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:34,352 - INFO - Verified VN network id 10 for VN 1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,352 - INFO - Verifications in API Server for VN ctest-vn-92678701 passed 2025-02-10 12:16:34,352 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,362 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:34,368 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:34,375 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/42664d5c-28fe-468a-aa35-c5e3eb0cfb83 2025-02-10 12:16:34,386 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-92678701', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73386921', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1878600273847601144', 'uuid-lslong': '13603094392427346060'}, 'enable': 'true', 'created': '2025-02-10T12:16:32', 'last-modified': '2025-02-10T12:16:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357074'} 2025-02-10 12:16:34,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 12:16:34,392 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92678701 passed 2025-02-10 12:16:34,393 - DEBUG - ====Verifying policy data for ctest-vn-92678701 in API_Server ====== 2025-02-10 12:16:34,393 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:34,398 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:34,410 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:34,486 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1a1220fe-eda3-47f8-bcc7-e64712bd788c 2025-02-10 12:16:34,503 - DEBUG - ==>Verifying data for policy with id: 0cfa9589-0960-4ade-a475-e16d1b0dd084, fqn: ['default-domain', 'ctest-TestBasicPolicy-73386921', 'ctest-policy-allow-all-87115764'] 2025-02-10 12:16:34,503 - INFO - VN ctest-vn-92678701 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 12:16:34,503 - DEBUG - Verifying the vn in opserver 2025-02-10 12:16:34,503 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-92678701 virtual network link through opserver 10.0.0.41 2025-02-10 12:16:34,503 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-02-10 12:16:34,515 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-92678701', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-92678701?flat'} 2025-02-10 12:16:34,515 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-92678701 is found in opserver 2025-02-10 12:16:34,525 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 12:16:34,530 - DEBUG - VRF ids for VN ctest-vn-92678701: {} 2025-02-10 12:16:34,586 - DEBUG - Services list from nova: [, , ] 2025-02-10 12:16:35,562 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1) 2025-02-10 12:16:36,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2712-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2712-1) 2025-02-10 12:16:36,839 - INFO - Waiting for VM ctest-TestBasicPolicy-73386921-60317067 to be up.. 2025-02-10 12:16:36,920 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 12:16:41,998 - DEBUG - VM is in ACTIVE state now 2025-02-10 12:16:41,998 - INFO - VM name : ctest-TestBasicPolicy-73386921-60317067 2025-02-10 12:16:42,078 - DEBUG - VM ctest-TestBasicPolicy-73386921-60317067 ID is f1739309-1707-40f9-87a5-a2eaad9d3f9c 2025-02-10 12:16:42,096 - DEBUG - VM ctest-TestBasicPolicy-73386921-60317067 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1 2025-02-10 12:16:42,167 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/f1739309-1707-40f9-87a5-a2eaad9d3f9c 2025-02-10 12:16:42,176 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/1c471199-6f66-491a-afc6-0212703d4046 2025-02-10 12:16:45,434 - 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-02-10 12:16:45,434 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73386921-60317067 failed! 2025-02-10 12:16:45,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73386921:ctest-vn-15604851 is 163.15.49.1 and allocation pool is NOT set 2025-02-10 12:16:47,553 - 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=3.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 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.547/2.065/3.584/1.518 ms') 2025-02-10 12:16:47,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73386921-60317067 passed 2025-02-10 12:16:47,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 12:16:47,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73386921-60317067, IP 163.15.49.3, Port 22 2025-02-10 12:16:47,869 - DEBUG - VM ctest-TestBasicPolicy-73386921-60317067 is ready for SSH connections 2025-02-10 12:16:47,869 - INFO - Waiting for VM ctest-TestBasicPolicy-73386921-19024755 to be up.. 2025-02-10 12:16:47,944 - DEBUG - VM is in ACTIVE state now 2025-02-10 12:16:47,944 - INFO - VM name : ctest-TestBasicPolicy-73386921-19024755 2025-02-10 12:16:48,030 - DEBUG - VM ctest-TestBasicPolicy-73386921-19024755 ID is c18bddcc-6836-4979-8b42-de4013a3ed84 2025-02-10 12:16:48,030 - DEBUG - VM ctest-TestBasicPolicy-73386921-19024755 launched on Node cn-jenkins-deploy-platform-ansible-os-2712-1 2025-02-10 12:16:48,111 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/c18bddcc-6836-4979-8b42-de4013a3ed84 2025-02-10 12:16:48,119 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/745fbb8f-0af8-4afe-9f94-0e45b2285bd9 2025-02-10 12:16:49,351 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/1.618/2.876/1.258 ms') 2025-02-10 12:16:49,351 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73386921-19024755 passed 2025-02-10 12:16:49,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 12:16:49,501 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73386921-19024755, IP 37.212.115.3, Port 22 2025-02-10 12:16:49,677 - DEBUG - VM ctest-TestBasicPolicy-73386921-19024755 is ready for SSH connections 2025-02-10 12:16:49,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 12:16:49,677 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.212.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-02-10 12:16:49,677 - DEBUG - ping -s 56 -c 3 -W 1 37.212.115.3 2025-02-10 12:16:53,372 - DEBUG - PING 37.212.115.3 (37.212.115.3): 56 data bytes 64 bytes from 37.212.115.3: seq=0 ttl=63 time=3.226 ms 64 bytes from 37.212.115.3: seq=1 ttl=63 time=0.953 ms 64 bytes from 37.212.115.3: seq=2 ttl=63 time=0.790 ms --- 37.212.115.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.790/1.656/3.226 ms 2025-02-10 12:16:53,372 - INFO - Ping to IP 37.212.115.3 from VM ctest-TestBasicPolicy-73386921-60317067 passed 2025-02-10 12:16:53,553 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0cfa9589-0960-4ade-a475-e16d1b0dd084", "href": "http://10.0.0.41:8082/network-policy/0cfa9589-0960-4ade-a475-e16d1b0dd084"}} 2025-02-10 12:16:53,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 12:16:53,553 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.212.115.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-02-10 12:16:53,553 - DEBUG - ping -s 56 -c 3 -W 1 37.212.115.3 2025-02-10 12:16:56,761 - DEBUG - PING 37.212.115.3 (37.212.115.3): 56 data bytes --- 37.212.115.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-10 12:16:56,762 - WARNING - Ping to IP 37.212.115.3 from VM ctest-TestBasicPolicy-73386921-60317067 failed 2025-02-10 12:16:56,762 - INFO - Deleting VM ctest-TestBasicPolicy-73386921-19024755 2025-02-10 12:16:56,826 - INFO - Deleting VM ctest-TestBasicPolicy-73386921-60317067 2025-02-10 12:16:57,165 - INFO - Deleted policy ctest-policy-allow-all-87115764 2025-02-10 12:16:57,166 - INFO - Deleting VN ctest-vn-92678701 2025-02-10 12:16:57,202 - DEBUG - VN 1a1220fe-eda3-47f8-bcc7-e64712bd788c still in use: Unable to complete operation on network 1a1220fe-eda3-47f8-bcc7-e64712bd788c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b880c8a-a8b1-4c80-b423-247ae557e0cd'] 2025-02-10 12:16:57,202 - WARNING - Deleting VN ctest-vn-92678701 failed..Will retry 2025-02-10 12:16:59,309 - DEBUG - Response for deleting network () 2025-02-10 12:16:59,309 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/04e6d4a4-eb73-44f0-b8f8-2698f53379c7 2025-02-10 12:16:59,316 - DEBUG - Response Code: 404 2025-02-10 12:16:59,317 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:59,323 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:59,375 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:59,451 - INFO - Validated that VN ctest-vn-92678701 is not found in API Server 2025-02-10 12:16:59,464 - DEBUG - VN ctest-vn-92678701 is not present in Agent 10.0.0.41 2025-02-10 12:16:59,464 - INFO - Validated that VN ctest-vn-92678701 is not in any agent 2025-02-10 12:16:59,480 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92678701 info 2025-02-10 12:16:59,480 - INFO - Deleting VN ctest-vn-15604851 2025-02-10 12:16:59,583 - DEBUG - Response for deleting network () 2025-02-10 12:16:59,583 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b05e3650-62d6-4015-99a2-b021a338b4b3 2025-02-10 12:16:59,591 - DEBUG - Response Code: 404 2025-02-10 12:16:59,591 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-02-10 12:16:59,596 - DEBUG - Requesting: http://10.0.0.41:8082/domain/f832c244-4dd8-406d-a3af-97e9812ad834 2025-02-10 12:16:59,650 - DEBUG - Requesting: http://10.0.0.41:8082/project/31a4e659-59d7-4701-b8a8-33e871f2b493 2025-02-10 12:16:59,782 - INFO - Validated that VN ctest-vn-15604851 is not found in API Server 2025-02-10 12:16:59,793 - DEBUG - VN ctest-vn-15604851 is not present in Agent 10.0.0.41 2025-02-10 12:16:59,793 - INFO - Validated that VN ctest-vn-15604851 is not in any agent 2025-02-10 12:16:59,807 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15604851 info 2025-02-10 12:17:00,063 - DEBUG - No XMPP flaps were noticed during the test 2025-02-10 12:17:00,063 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-10 12:17:00,063 - INFO - -------------------------------------------------------------------------------- 2025-02-10 12:17:00,720 - INFO - Deleted project: ctest-TestBasicPolicy-73386921, ID : 31a4e659-59d7-4701-b8a8-33e871f2b493