2025-02-11 09:30:27,727 - INFO - Domain Default found not creating 2025-02-11 09:30:27,868 - INFO - Project ctest-TestBasicPolicy-20647698 not found, creating it 2025-02-11 09:30:28,338 - INFO - Created Project:ctest-TestBasicPolicy-20647698, ID : 98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:29,748 - INFO - ================================================================================ 2025-02-11 09:30:29,748 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-11 09:30:29,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-11 09:30:30,005 - DEBUG - Nothing to compare xmpp stats {'10.0.0.30': {'10.20.0.7': '0'}} with 2025-02-11 09:30:30,005 - INFO - Initial checks done. Running the testcase now 2025-02-11 09:30:30,005 - INFO - 2025-02-11 09:30:30,554 - DEBUG - Response for create_network : {'network': {'id': '53b34632-bd39-412a-984c-c6ba0dc3e38c', 'name': 'ctest-vn-40344582', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'project_id': '98f96434dbce48589c8e497bf2f0b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-vn-40344582'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:30:30,784 - DEBUG - Response for create_subnet : {'subnet': {'id': '674e9a95-a03d-41eb-aa64-29b0c3b2b715', 'name': '', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'network_id': '53b34632-bd39-412a-984c-c6ba0dc3e38c', 'ip_version': 4, 'cidr': '193.74.199.192/26', 'allocation_pools': [{'start': '193.74.199.194', 'end': '193.74.199.254'}], 'gateway_ip': '193.74.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.74.199.194', 'tags': [], 'project_id': '98f96434dbce48589c8e497bf2f0b8ae'}} 2025-02-11 09:30:30,805 - INFO - Created VN ctest-vn-40344582 2025-02-11 09:30:30,858 - DEBUG - VN ctest-vn-40344582 UUID is 53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:31,186 - DEBUG - Response for create_network : {'network': {'id': 'd299b2bf-b896-46c7-8a47-80a70d31114a', 'name': 'ctest-vn-31298377', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'project_id': '98f96434dbce48589c8e497bf2f0b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-vn-31298377'], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:30:31,408 - DEBUG - Response for create_subnet : {'subnet': {'id': '20b683cd-f751-44c3-80ce-2288f0e497a7', 'name': '', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'network_id': 'd299b2bf-b896-46c7-8a47-80a70d31114a', 'ip_version': 4, 'cidr': '216.230.34.64/26', 'allocation_pools': [{'start': '216.230.34.66', 'end': '216.230.34.126'}], 'gateway_ip': '216.230.34.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.230.34.66', 'tags': [], 'project_id': '98f96434dbce48589c8e497bf2f0b8ae'}} 2025-02-11 09:30:31,427 - INFO - Created VN ctest-vn-31298377 2025-02-11 09:30:31,478 - DEBUG - VN ctest-vn-31298377 UUID is d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:31,591 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582, 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-20647698:ctest-vn-31298377, 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-11 09:30:31,913 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53b34632-bd39-412a-984c-c6ba0dc3e38c', 'name': 'ctest-vn-40344582', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'project_id': '98f96434dbce48589c8e497bf2f0b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['674e9a95-a03d-41eb-aa64-29b0c3b2b715'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-vn-40344582'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-policy-allow-all-72001271']], 'subnet_ipam': [{'subnet_cidr': '193.74.199.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:30:32,211 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd299b2bf-b896-46c7-8a47-80a70d31114a', 'name': 'ctest-vn-31298377', 'tenant_id': '98f96434dbce48589c8e497bf2f0b8ae', 'project_id': '98f96434dbce48589c8e497bf2f0b8ae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['20b683cd-f751-44c3-80ce-2288f0e497a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-vn-31298377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-policy-allow-all-72001271']], 'subnet_ipam': [{'subnet_cidr': '216.230.34.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-11 09:30:32,350 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:32,649 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:32,678 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:32,691 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:32,772 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,785 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,795 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:32,802 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:32,809 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/29cfae35-73c0-415f-b73a-0c5763b122a4 2025-02-11 09:30:32,815 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 09:30:32,815 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,824 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:32,838 - INFO - Verified VN network id 9 for VN 53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,838 - INFO - Verifications in API Server for VN ctest-vn-40344582 passed 2025-02-11 09:30:32,838 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,848 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:32,854 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:32,861 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/29cfae35-73c0-415f-b73a-0c5763b122a4 2025-02-11 09:30:32,872 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20647698', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6031241509716181290', 'uuid-lslong': '10974364894392214412'}, 'enable': 'true', 'created': '2025-02-11T09:30:30', 'last-modified': '2025-02-11T09:30:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.008319'} 2025-02-11 09:30:32,878 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-11 09:30:32,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40344582 passed 2025-02-11 09:30:32,879 - DEBUG - ====Verifying policy data for ctest-vn-40344582 in API_Server ====== 2025-02-11 09:30:32,879 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:32,884 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:32,895 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:32,969 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/53b34632-bd39-412a-984c-c6ba0dc3e38c 2025-02-11 09:30:32,979 - DEBUG - ==>Verifying data for policy with id: 20139c6b-5577-44d7-a964-f50d0d892e33, fqn: ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-policy-allow-all-72001271'] 2025-02-11 09:30:32,979 - INFO - VN ctest-vn-40344582 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 09:30:32,979 - DEBUG - Verifying the vn in opserver 2025-02-11 09:30:32,979 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582 virtual network link through opserver 10.0.0.30 2025-02-11 09:30:32,979 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-11 09:30:33,274 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-11 09:30:33,330 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582?flat'} 2025-02-11 09:30:33,330 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582 is found in opserver 2025-02-11 09:30:33,341 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 09:30:33,347 - DEBUG - VRF ids for VN ctest-vn-40344582: {} 2025-02-11 09:30:33,347 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:33,353 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:33,366 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:33,437 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,450 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,460 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:33,468 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:33,475 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f174d611-1c86-4fd2-91e9-bd05b4e1f77d 2025-02-11 09:30:33,482 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 09:30:33,482 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,491 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:33,506 - INFO - Verified VN network id 10 for VN d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,506 - INFO - Verifications in API Server for VN ctest-vn-31298377 passed 2025-02-11 09:30:33,506 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,516 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:33,524 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:33,533 - DEBUG - Requesting: http://10.0.0.30:8082/route-target/f174d611-1c86-4fd2-91e9-bd05b4e1f77d 2025-02-11 09:30:33,547 - DEBUG - Control-node 10.0.0.30 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-31298377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20647698', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15175356955906950855', 'uuid-lslong': '9964074155549725002'}, 'enable': 'true', 'created': '2025-02-11T09:30:31', 'last-modified': '2025-02-11T09:30:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.408104'} 2025-02-11 09:30:33,554 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-11 09:30:33,554 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31298377 passed 2025-02-11 09:30:33,554 - DEBUG - ====Verifying policy data for ctest-vn-31298377 in API_Server ====== 2025-02-11 09:30:33,554 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:33,560 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:33,572 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:33,647 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-network/d299b2bf-b896-46c7-8a47-80a70d31114a 2025-02-11 09:30:33,656 - DEBUG - ==>Verifying data for policy with id: 20139c6b-5577-44d7-a964-f50d0d892e33, fqn: ['default-domain', 'ctest-TestBasicPolicy-20647698', 'ctest-policy-allow-all-72001271'] 2025-02-11 09:30:33,657 - INFO - VN ctest-vn-31298377 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-11 09:30:33,657 - DEBUG - Verifying the vn in opserver 2025-02-11 09:30:33,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-31298377 virtual network link through opserver 10.0.0.30 2025-02-11 09:30:33,657 - DEBUG - Requesting: http://10.0.0.30:8081/analytics/uves/virtual-networks 2025-02-11 09:30:33,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-31298377', 'href': 'http://10.0.0.30:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-31298377?flat'} 2025-02-11 09:30:33,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-31298377 is found in opserver 2025-02-11 09:30:33,678 - DEBUG - Do not have enough data to verify VN in agent 2025-02-11 09:30:33,683 - DEBUG - VRF ids for VN ctest-vn-31298377: {} 2025-02-11 09:30:33,737 - DEBUG - Services list from nova: [, , ] 2025-02-11 09:30:34,712 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1) 2025-02-11 09:30:35,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2718-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2718-1) 2025-02-11 09:30:35,915 - INFO - Waiting for VM ctest-TestBasicPolicy-20647698-19710736 to be up.. 2025-02-11 09:30:36,002 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-11 09:30:41,175 - DEBUG - VM is in ACTIVE state now 2025-02-11 09:30:41,175 - INFO - VM name : ctest-TestBasicPolicy-20647698-19710736 2025-02-11 09:30:41,327 - DEBUG - VM ctest-TestBasicPolicy-20647698-19710736 ID is ce05a66a-3e24-4cfe-9a09-69f07cd11422 2025-02-11 09:30:41,351 - DEBUG - VM ctest-TestBasicPolicy-20647698-19710736 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1 2025-02-11 09:30:41,455 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/ce05a66a-3e24-4cfe-9a09-69f07cd11422 2025-02-11 09:30:41,467 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/9a5851d6-6635-48b4-84ff-e08f8b5c0cf8 2025-02-11 09:30:44,724 - 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 1003ms') 2025-02-11 09:30:44,724 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20647698-19710736 failed! 2025-02-11 09:30:44,778 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20647698:ctest-vn-40344582 is 193.74.199.193 and allocation pool is NOT set 2025-02-11 09:30:46,842 - 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.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.429 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.429/1.855/3.281/1.426 ms') 2025-02-11 09:30:46,842 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20647698-19710736 passed 2025-02-11 09:30:46,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:46,990 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20647698-19710736, IP 193.74.199.195, Port 22 2025-02-11 09:30:47,156 - DEBUG - VM ctest-TestBasicPolicy-20647698-19710736 is ready for SSH connections 2025-02-11 09:30:47,156 - INFO - Waiting for VM ctest-TestBasicPolicy-20647698-74586506 to be up.. 2025-02-11 09:30:47,254 - DEBUG - VM is in ACTIVE state now 2025-02-11 09:30:47,254 - INFO - VM name : ctest-TestBasicPolicy-20647698-74586506 2025-02-11 09:30:47,330 - DEBUG - VM ctest-TestBasicPolicy-20647698-74586506 ID is ed8bdc66-5b15-4403-bf2f-3a834a50c583 2025-02-11 09:30:47,330 - DEBUG - VM ctest-TestBasicPolicy-20647698-74586506 launched on Node cn-jenkins-deploy-platform-ansible-os-2718-1 2025-02-11 09:30:47,406 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine/ed8bdc66-5b15-4403-bf2f-3a834a50c583 2025-02-11 09:30:47,414 - DEBUG - Requesting: http://10.0.0.30:8082/virtual-machine-interface/460edc98-d1a5-4fa8-bdd2-df0f79aa0b78 2025-02-11 09:30:48,648 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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.435/2.038/3.641/1.603 ms') 2025-02-11 09:30:48,649 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20647698-74586506 passed 2025-02-11 09:30:48,802 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:48,802 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20647698-74586506, IP 216.230.34.67, Port 22 2025-02-11 09:30:48,957 - DEBUG - VM ctest-TestBasicPolicy-20647698-74586506 is ready for SSH connections 2025-02-11 09:30:48,957 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:48,958 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.230.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-11 09:30:48,958 - DEBUG - ping -s 56 -c 3 -W 1 216.230.34.67 2025-02-11 09:30:52,941 - DEBUG - PING 216.230.34.67 (216.230.34.67): 56 data bytes 64 bytes from 216.230.34.67: seq=0 ttl=63 time=3.756 ms 64 bytes from 216.230.34.67: seq=1 ttl=63 time=0.842 ms 64 bytes from 216.230.34.67: seq=2 ttl=63 time=0.751 ms --- 216.230.34.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.751/1.783/3.756 ms 2025-02-11 09:30:52,942 - INFO - Ping to IP 216.230.34.67 from VM ctest-TestBasicPolicy-20647698-19710736 passed 2025-02-11 09:30:53,122 - DEBUG - Policy Update Response {"network-policy": {"uuid": "20139c6b-5577-44d7-a964-f50d0d892e33", "href": "http://10.0.0.30:8082/network-policy/20139c6b-5577-44d7-a964-f50d0d892e33"}} 2025-02-11 09:30:53,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-11 09:30:53,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.230.34.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.30, gateway password: c0ntrail123 2025-02-11 09:30:53,122 - DEBUG - ping -s 56 -c 3 -W 1 216.230.34.67 2025-02-11 09:30:56,348 - DEBUG - PING 216.230.34.67 (216.230.34.67): 56 data bytes --- 216.230.34.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-11 09:30:56,349 - WARNING - Ping to IP 216.230.34.67 from VM ctest-TestBasicPolicy-20647698-19710736 failed 2025-02-11 09:30:56,349 - INFO - Deleting VM ctest-TestBasicPolicy-20647698-74586506 2025-02-11 09:30:56,416 - INFO - Deleting VM ctest-TestBasicPolicy-20647698-19710736 2025-02-11 09:30:56,762 - INFO - Deleted policy ctest-policy-allow-all-72001271 2025-02-11 09:30:56,762 - INFO - Deleting VN ctest-vn-31298377 2025-02-11 09:30:56,801 - DEBUG - VN d299b2bf-b896-46c7-8a47-80a70d31114a still in use: Unable to complete operation on network d299b2bf-b896-46c7-8a47-80a70d31114a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c140a1b1-678f-4ae1-8d43-7e13ea9eda3f'] 2025-02-11 09:30:56,801 - WARNING - Deleting VN ctest-vn-31298377 failed..Will retry 2025-02-11 09:30:58,903 - DEBUG - Response for deleting network () 2025-02-11 09:30:58,903 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/6006d682-1233-489e-bea3-d46d1eb06465 2025-02-11 09:30:58,911 - DEBUG - Response Code: 404 2025-02-11 09:30:58,911 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:58,916 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:58,968 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:59,039 - INFO - Validated that VN ctest-vn-31298377 is not found in API Server 2025-02-11 09:30:59,049 - DEBUG - VN ctest-vn-31298377 is not present in Agent 10.0.0.30 2025-02-11 09:30:59,049 - INFO - Validated that VN ctest-vn-31298377 is not in any agent 2025-02-11 09:30:59,064 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31298377 info 2025-02-11 09:30:59,064 - INFO - Deleting VN ctest-vn-40344582 2025-02-11 09:30:59,165 - DEBUG - Response for deleting network () 2025-02-11 09:30:59,165 - DEBUG - Requesting: http://10.0.0.30:8082/routing-instance/f15c76b9-af23-4f39-be38-f53e36ba55e3 2025-02-11 09:30:59,172 - DEBUG - Response Code: 404 2025-02-11 09:30:59,172 - DEBUG - Requesting: http://10.0.0.30:8082/domains 2025-02-11 09:30:59,178 - DEBUG - Requesting: http://10.0.0.30:8082/domain/8cece4fa-a6c8-464c-b934-4fd346a41a04 2025-02-11 09:30:59,231 - DEBUG - Requesting: http://10.0.0.30:8082/project/98f96434-dbce-4858-9c8e-497bf2f0b8ae 2025-02-11 09:30:59,303 - INFO - Validated that VN ctest-vn-40344582 is not found in API Server 2025-02-11 09:30:59,314 - DEBUG - VN ctest-vn-40344582 is not present in Agent 10.0.0.30 2025-02-11 09:30:59,314 - INFO - Validated that VN ctest-vn-40344582 is not in any agent 2025-02-11 09:30:59,329 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40344582 info 2025-02-11 09:30:59,583 - DEBUG - No XMPP flaps were noticed during the test
2025-02-11 09:30:59,583 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-11 09:30:59,583 - INFO - -------------------------------------------------------------------------------- 2025-02-11 09:31:00,243 - INFO - Deleted project: ctest-TestBasicPolicy-20647698, ID : 98f96434-dbce-4858-9c8e-497bf2f0b8ae