2025-01-07 11:53:14,701 - INFO - Domain Default found not creating 2025-01-07 11:53:14,862 - INFO - Project ctest-TestBasicPolicy-66515756 not found, creating it 2025-01-07 11:53:15,331 - INFO - Created Project:ctest-TestBasicPolicy-66515756, ID : fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:16,828 - INFO - ================================================================================ 2025-01-07 11:53:16,828 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-07 11:53:16,828 - 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-01-07 11:53:17,083 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.12': '0'}} with 2025-01-07 11:53:17,083 - INFO - Initial checks done. Running the testcase now 2025-01-07 11:53:17,083 - INFO - 2025-01-07 11:53:17,785 - DEBUG - Response for create_network : {'network': {'id': '58a77faf-d61f-48c6-b2c9-03200acdae4f', 'name': 'ctest-vn-53769498', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'project_id': 'fa1902c88e8b4232936df409b2974235', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-vn-53769498'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:53:17,978 - DEBUG - Response for create_subnet : {'subnet': {'id': '65589b6e-2897-4ff1-b406-464d21926f7c', 'name': '', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'network_id': '58a77faf-d61f-48c6-b2c9-03200acdae4f', 'ip_version': 4, 'cidr': '101.41.178.192/26', 'allocation_pools': [{'start': '101.41.178.194', 'end': '101.41.178.254'}], 'gateway_ip': '101.41.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.41.178.194', 'tags': [], 'project_id': 'fa1902c88e8b4232936df409b2974235'}} 2025-01-07 11:53:17,998 - INFO - Created VN ctest-vn-53769498 2025-01-07 11:53:18,050 - DEBUG - VN ctest-vn-53769498 UUID is 58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:18,342 - DEBUG - Response for create_network : {'network': {'id': '030dcf32-b05b-4433-aefb-c8c0be375b26', 'name': 'ctest-vn-59448620', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'project_id': 'fa1902c88e8b4232936df409b2974235', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-vn-59448620'], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:53:18,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '0207088c-575b-40b0-88b3-975a6685f4da', 'name': '', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'network_id': '030dcf32-b05b-4433-aefb-c8c0be375b26', 'ip_version': 4, 'cidr': '48.157.42.0/26', 'allocation_pools': [{'start': '48.157.42.2', 'end': '48.157.42.62'}], 'gateway_ip': '48.157.42.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.157.42.2', 'tags': [], 'project_id': 'fa1902c88e8b4232936df409b2974235'}} 2025-01-07 11:53:18,581 - INFO - Created VN ctest-vn-59448620 2025-01-07 11:53:18,634 - DEBUG - VN ctest-vn-59448620 UUID is 030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:18,751 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498, 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-66515756:ctest-vn-59448620, 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-01-07 11:53:19,095 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58a77faf-d61f-48c6-b2c9-03200acdae4f', 'name': 'ctest-vn-53769498', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'project_id': 'fa1902c88e8b4232936df409b2974235', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['65589b6e-2897-4ff1-b406-464d21926f7c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-vn-53769498'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-policy-allow-all-92286090']], 'subnet_ipam': [{'subnet_cidr': '101.41.178.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:53:19,324 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '030dcf32-b05b-4433-aefb-c8c0be375b26', 'name': 'ctest-vn-59448620', 'tenant_id': 'fa1902c88e8b4232936df409b2974235', 'project_id': 'fa1902c88e8b4232936df409b2974235', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0207088c-575b-40b0-88b3-975a6685f4da'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-vn-59448620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-policy-allow-all-92286090']], 'subnet_ipam': [{'subnet_cidr': '48.157.42.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-07 11:53:19,458 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:19,774 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:19,807 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:19,821 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:19,895 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:19,907 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:19,921 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:19,930 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:19,939 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/5ac4a371-7342-4d03-b981-df028ab59124 2025-01-07 11:53:19,947 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:53:19,947 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:19,958 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:19,976 - INFO - Verified VN network id 8 for VN 58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:19,976 - INFO - Verifications in API Server for VN ctest-vn-53769498 passed 2025-01-07 11:53:19,976 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:19,987 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:19,995 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:20,003 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/5ac4a371-7342-4d03-b981-df028ab59124 2025-01-07 11:53:20,015 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66515756', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6388214989636716742', 'uuid-lslong': '12882831645225102927'}, 'enable': 'true', 'created': '2025-01-07T11:53:17', 'last-modified': '2025-01-07T11:53:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.952644'} 2025-01-07 11:53:20,022 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-07 11:53:20,022 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53769498 passed 2025-01-07 11:53:20,022 - DEBUG - ====Verifying policy data for ctest-vn-53769498 in API_Server ====== 2025-01-07 11:53:20,023 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:20,029 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:20,043 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:20,124 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/58a77faf-d61f-48c6-b2c9-03200acdae4f 2025-01-07 11:53:20,135 - DEBUG - ==>Verifying data for policy with id: 64133cab-9733-4ab1-b768-b29171efe82a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-policy-allow-all-92286090'] 2025-01-07 11:53:20,135 - INFO - VN ctest-vn-53769498 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:53:20,135 - DEBUG - Verifying the vn in opserver 2025-01-07 11:53:20,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498 virtual network link through opserver 10.0.0.31 2025-01-07 11:53:20,136 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 11:53:20,439 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 11:53:20,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498?flat'} 2025-01-07 11:53:20,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498 is found in opserver 2025-01-07 11:53:20,513 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:53:20,519 - DEBUG - VRF ids for VN ctest-vn-53769498: {} 2025-01-07 11:53:20,519 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:20,525 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:20,536 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:20,609 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,625 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,636 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:20,644 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:20,651 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/bc9acc37-bc88-4aec-9a9d-05cb0e4e4658 2025-01-07 11:53:20,658 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:53:20,658 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,668 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:20,683 - INFO - Verified VN network id 9 for VN 030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,683 - INFO - Verifications in API Server for VN ctest-vn-59448620 passed 2025-01-07 11:53:20,683 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,694 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:20,702 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:20,710 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/bc9acc37-bc88-4aec-9a9d-05cb0e4e4658 2025-01-07 11:53:20,725 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-59448620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66515756', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '220059773425108019', 'uuid-lslong': '12608892311904410406'}, 'enable': 'true', 'created': '2025-01-07T11:53:18', 'last-modified': '2025-01-07T11:53:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.424541'} 2025-01-07 11:53:20,733 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-07 11:53:20,733 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59448620 passed 2025-01-07 11:53:20,734 - DEBUG - ====Verifying policy data for ctest-vn-59448620 in API_Server ====== 2025-01-07 11:53:20,734 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:20,740 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:20,755 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:20,831 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/030dcf32-b05b-4433-aefb-c8c0be375b26 2025-01-07 11:53:20,841 - DEBUG - ==>Verifying data for policy with id: 64133cab-9733-4ab1-b768-b29171efe82a, fqn: ['default-domain', 'ctest-TestBasicPolicy-66515756', 'ctest-policy-allow-all-92286090'] 2025-01-07 11:53:20,841 - INFO - VN ctest-vn-59448620 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-07 11:53:20,841 - DEBUG - Verifying the vn in opserver 2025-01-07 11:53:20,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-59448620 virtual network link through opserver 10.0.0.31 2025-01-07 11:53:20,841 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-01-07 11:53:20,851 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-59448620', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-59448620?flat'} 2025-01-07 11:53:20,851 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-59448620 is found in opserver 2025-01-07 11:53:20,862 - DEBUG - Do not have enough data to verify VN in agent 2025-01-07 11:53:20,867 - DEBUG - VRF ids for VN ctest-vn-59448620: {} 2025-01-07 11:53:20,933 - DEBUG - Services list from nova: [, , ] 2025-01-07 11:53:21,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2549-1) 2025-01-07 11:53:23,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2549-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2549-1) 2025-01-07 11:53:23,252 - INFO - Waiting for VM ctest-TestBasicPolicy-66515756-25478014 to be up.. 2025-01-07 11:53:23,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-07 11:53:28,445 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:53:28,445 - INFO - VM name : ctest-TestBasicPolicy-66515756-25478014 2025-01-07 11:53:28,529 - DEBUG - VM ctest-TestBasicPolicy-66515756-25478014 ID is 5e92debf-8b50-4a01-a768-ba1e2d43ae2d 2025-01-07 11:53:28,551 - DEBUG - VM ctest-TestBasicPolicy-66515756-25478014 launched on Node cn-jenkins-deploy-platform-ansible-os-2549-1 2025-01-07 11:53:28,625 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/5e92debf-8b50-4a01-a768-ba1e2d43ae2d 2025-01-07 11:53:28,634 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/fdc4b19d-61b2-41f0-af6b-21286eed95f1 2025-01-07 11:53:31,896 - 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-01-07 11:53:31,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66515756-25478014 failed! 2025-01-07 11:53:31,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66515756:ctest-vn-53769498 is 101.41.178.193 and allocation pool is NOT set 2025-01-07 11:53:34,019 - 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=6.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.86 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.858/4.772/6.686/1.914 ms') 2025-01-07 11:53:34,019 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66515756-25478014 passed 2025-01-07 11:53:34,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:53:34,171 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66515756-25478014, IP 101.41.178.195, Port 22 2025-01-07 11:53:34,340 - DEBUG - VM ctest-TestBasicPolicy-66515756-25478014 is ready for SSH connections 2025-01-07 11:53:34,340 - INFO - Waiting for VM ctest-TestBasicPolicy-66515756-41296620 to be up.. 2025-01-07 11:53:34,440 - DEBUG - VM is in ACTIVE state now 2025-01-07 11:53:34,440 - INFO - VM name : ctest-TestBasicPolicy-66515756-41296620 2025-01-07 11:53:34,527 - DEBUG - VM ctest-TestBasicPolicy-66515756-41296620 ID is fdf3de6b-822e-4c56-beb1-9906e3bba007 2025-01-07 11:53:34,527 - DEBUG - VM ctest-TestBasicPolicy-66515756-41296620 launched on Node cn-jenkins-deploy-platform-ansible-os-2549-1 2025-01-07 11:53:34,610 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/fdf3de6b-822e-4c56-beb1-9906e3bba007 2025-01-07 11:53:34,621 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/6b37f651-64dc-47d4-b60e-293ed33a1087 2025-01-07 11:53:35,861 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.720/3.029/1.308 ms') 2025-01-07 11:53:35,861 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66515756-41296620 passed 2025-01-07 11:53:36,014 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:53:36,014 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66515756-41296620, IP 48.157.42.3, Port 22 2025-01-07 11:53:36,169 - DEBUG - VM ctest-TestBasicPolicy-66515756-41296620 is ready for SSH connections 2025-01-07 11:53:36,169 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:53:36,169 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.157.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 11:53:36,169 - DEBUG - ping -s 56 -c 3 -W 1 48.157.42.3 2025-01-07 11:53:40,171 - DEBUG - PING 48.157.42.3 (48.157.42.3): 56 data bytes 64 bytes from 48.157.42.3: seq=0 ttl=63 time=3.417 ms 64 bytes from 48.157.42.3: seq=1 ttl=63 time=0.928 ms 64 bytes from 48.157.42.3: seq=2 ttl=63 time=0.966 ms --- 48.157.42.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.770/3.417 ms 2025-01-07 11:53:40,171 - INFO - Ping to IP 48.157.42.3 from VM ctest-TestBasicPolicy-66515756-25478014 passed 2025-01-07 11:53:40,358 - DEBUG - Policy Update Response {"network-policy": {"uuid": "64133cab-9733-4ab1-b768-b29171efe82a", "href": "http://10.0.0.31:8082/network-policy/64133cab-9733-4ab1-b768-b29171efe82a"}} 2025-01-07 11:53:40,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-07 11:53:40,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.157.42.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-01-07 11:53:40,358 - DEBUG - ping -s 56 -c 3 -W 1 48.157.42.3 2025-01-07 11:53:43,565 - DEBUG - PING 48.157.42.3 (48.157.42.3): 56 data bytes 64 bytes from 48.157.42.3: seq=0 ttl=63 time=1.459 ms --- 48.157.42.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.459/1.459/1.459 ms 2025-01-07 11:53:43,565 - WARNING - Ping to IP 48.157.42.3 from VM ctest-TestBasicPolicy-66515756-25478014 failed 2025-01-07 11:53:43,565 - INFO - Deleting VM ctest-TestBasicPolicy-66515756-41296620 2025-01-07 11:53:43,646 - INFO - Deleting VM ctest-TestBasicPolicy-66515756-25478014 2025-01-07 11:53:44,543 - INFO - Deleted policy ctest-policy-allow-all-92286090 2025-01-07 11:53:44,543 - INFO - Deleting VN ctest-vn-59448620 2025-01-07 11:53:44,656 - DEBUG - Response for deleting network () 2025-01-07 11:53:44,656 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/0db60fb2-a2ab-48e2-ade0-77b31ac9ab53 2025-01-07 11:53:44,662 - DEBUG - Response Code: 404 2025-01-07 11:53:44,662 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:44,672 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:44,729 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:44,804 - INFO - Validated that VN ctest-vn-59448620 is not found in API Server 2025-01-07 11:53:44,816 - DEBUG - VN ctest-vn-59448620 is not present in Agent 10.0.0.31 2025-01-07 11:53:44,816 - INFO - Validated that VN ctest-vn-59448620 is not in any agent 2025-01-07 11:53:44,839 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-59448620 info 2025-01-07 11:53:44,839 - INFO - Deleting VN ctest-vn-53769498 2025-01-07 11:53:44,962 - DEBUG - Response for deleting network () 2025-01-07 11:53:44,962 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/ccae24db-61e3-43a4-8f1d-e95303533493 2025-01-07 11:53:44,972 - DEBUG - Response Code: 404 2025-01-07 11:53:44,972 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-01-07 11:53:44,981 - DEBUG - Requesting: http://10.0.0.31:8082/domain/2125db19-bf62-471b-812e-f004288868be 2025-01-07 11:53:45,036 - DEBUG - Requesting: http://10.0.0.31:8082/project/fa1902c8-8e8b-4232-936d-f409b2974235 2025-01-07 11:53:45,112 - INFO - Validated that VN ctest-vn-53769498 is not found in API Server 2025-01-07 11:53:45,124 - DEBUG - VN ctest-vn-53769498 is not present in Agent 10.0.0.31 2025-01-07 11:53:45,124 - INFO - Validated that VN ctest-vn-53769498 is not in any agent 2025-01-07 11:53:45,142 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53769498 info 2025-01-07 11:53:45,396 - DEBUG - No XMPP flaps were noticed during the test 2025-01-07 11:53:45,396 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-01-07 11:53:45,396 - INFO - -------------------------------------------------------------------------------- 2025-01-07 11:53:46,062 - INFO - Deleted project: ctest-TestBasicPolicy-66515756, ID : fa1902c8-8e8b-4232-936d-f409b2974235