2025-08-21 02:09:43,163 - INFO - Domain Default found not creating 2025-08-21 02:09:43,288 - INFO - Project ctest-TestBasicPolicy-29747050 not found, creating it 2025-08-21 02:09:43,769 - INFO - Created Project:ctest-TestBasicPolicy-29747050, ID : cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:09:45,101 - INFO - ================================================================================ 2025-08-21 02:09:45,101 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-21 02:09:45,101 - 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-08-21 02:09:45,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.192': '0'}} with 2025-08-21 02:09:45,362 - INFO - Initial checks done. Running the testcase now 2025-08-21 02:09:45,362 - INFO - 2025-08-21 02:09:45,883 - DEBUG - Response for create_network : {'network': {'id': '405fc9a9-3b5e-47b4-97c0-d1dcb903afd9', 'name': 'ctest-vn-49591848', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-vn-49591848'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:46,029 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f54ccef4-2355-416e-8e42-f036f929b17b', 'name': '', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'network_id': '405fc9a9-3b5e-47b4-97c0-d1dcb903afd9', 'ip_version': 4, 'cidr': '142.123.85.0/26', 'allocation_pools': [{'start': '142.123.85.2', 'end': '142.123.85.62'}], 'gateway_ip': '142.123.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.123.85.2', 'tags': [], 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8'}} 2025-08-21 02:09:46,047 - INFO - Created VN ctest-vn-49591848 2025-08-21 02:09:46,100 - DEBUG - VN ctest-vn-49591848 UUID is 405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:46,422 - DEBUG - Response for create_network : {'network': {'id': '57fa8f36-2d17-4768-812c-83320dd7d552', 'name': 'ctest-vn-68607308', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-vn-68607308'], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:46,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c6f0ef1-1382-4edb-94d0-72375e12b6f5', 'name': '', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'network_id': '57fa8f36-2d17-4768-812c-83320dd7d552', 'ip_version': 4, 'cidr': '221.57.118.128/26', 'allocation_pools': [{'start': '221.57.118.130', 'end': '221.57.118.190'}], 'gateway_ip': '221.57.118.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.57.118.130', 'tags': [], 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8'}} 2025-08-21 02:09:46,647 - INFO - Created VN ctest-vn-68607308 2025-08-21 02:09:46,700 - DEBUG - VN ctest-vn-68607308 UUID is 57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:46,818 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848, 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-29747050:ctest-vn-68607308, 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-08-21 02:09:47,131 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '405fc9a9-3b5e-47b4-97c0-d1dcb903afd9', 'name': 'ctest-vn-49591848', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f54ccef4-2355-416e-8e42-f036f929b17b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-vn-49591848'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-policy-allow-all-70114907']], 'subnet_ipam': [{'subnet_cidr': '142.123.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:47,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57fa8f36-2d17-4768-812c-83320dd7d552', 'name': 'ctest-vn-68607308', 'tenant_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'project_id': 'cb0c5a5db8524cee98d6a382d101caf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c6f0ef1-1382-4edb-94d0-72375e12b6f5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-vn-68607308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-policy-allow-all-70114907']], 'subnet_ipam': [{'subnet_cidr': '221.57.118.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-21 02:09:47,544 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:09:47,842 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:09:47,876 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:09:47,888 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:09:47,959 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:47,974 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:47,984 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:09:47,992 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:09:48,000 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d185dca0-0ae4-48cf-b75f-06dc26d0f1bb 2025-08-21 02:09:48,007 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 02:09:48,007 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:48,019 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:09:48,033 - INFO - Verified VN network id 12 for VN 405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:48,033 - INFO - Verifications in API Server for VN ctest-vn-49591848 passed 2025-08-21 02:09:48,033 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:48,045 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:09:48,057 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:09:48,065 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/d185dca0-0ae4-48cf-b75f-06dc26d0f1bb 2025-08-21 02:09:48,076 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29747050', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4638647869897590708', 'uuid-lslong': '10934970641182601177'}, 'enable': 'true', 'created': '2025-08-21T02:09:45', 'last-modified': '2025-08-21T02:09:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.986061'} 2025-08-21 02:09:48,082 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-21 02:09:48,082 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49591848 passed 2025-08-21 02:09:48,082 - DEBUG - ====Verifying policy data for ctest-vn-49591848 in API_Server ====== 2025-08-21 02:09:48,082 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:09:48,087 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:09:48,096 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:09:48,172 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/405fc9a9-3b5e-47b4-97c0-d1dcb903afd9 2025-08-21 02:09:48,182 - DEBUG - ==>Verifying data for policy with id: 0875b445-2778-4c0c-ae6b-539d45bb4206, fqn: ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-policy-allow-all-70114907'] 2025-08-21 02:09:48,182 - INFO - VN ctest-vn-49591848 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 02:09:48,182 - DEBUG - Verifying the vn in opserver 2025-08-21 02:09:48,182 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848 virtual network link through opserver 10.0.0.23 2025-08-21 02:09:48,182 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-21 02:09:48,473 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-21 02:09:48,527 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848?flat'} 2025-08-21 02:09:48,527 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848 is found in opserver 2025-08-21 02:09:48,537 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 02:09:48,542 - DEBUG - VRF ids for VN ctest-vn-49591848: {} 2025-08-21 02:09:48,542 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:09:48,547 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:09:48,557 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:09:48,627 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,639 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,653 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:09:48,662 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:09:48,668 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1d7afd79-a2f2-43df-a357-333e64a3bb52 2025-08-21 02:09:48,675 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 02:09:48,675 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,683 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:09:48,696 - INFO - Verified VN network id 13 for VN 57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,696 - INFO - Verifications in API Server for VN ctest-vn-68607308 passed 2025-08-21 02:09:48,696 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,706 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:09:48,715 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:09:48,721 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1d7afd79-a2f2-43df-a357-333e64a3bb52 2025-08-21 02:09:48,734 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-68607308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29747050', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6339536888324900712', 'uuid-lslong': '9307958780871824722'}, 'enable': 'true', 'created': '2025-08-21T02:09:46', 'last-modified': '2025-08-21T02:09:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.384151'} 2025-08-21 02:09:48,740 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-21 02:09:48,740 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68607308 passed 2025-08-21 02:09:48,740 - DEBUG - ====Verifying policy data for ctest-vn-68607308 in API_Server ====== 2025-08-21 02:09:48,740 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:09:48,745 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:09:48,755 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:09:48,829 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/57fa8f36-2d17-4768-812c-83320dd7d552 2025-08-21 02:09:48,838 - DEBUG - ==>Verifying data for policy with id: 0875b445-2778-4c0c-ae6b-539d45bb4206, fqn: ['default-domain', 'ctest-TestBasicPolicy-29747050', 'ctest-policy-allow-all-70114907'] 2025-08-21 02:09:48,838 - INFO - VN ctest-vn-68607308 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-21 02:09:48,838 - DEBUG - Verifying the vn in opserver 2025-08-21 02:09:48,838 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-68607308 virtual network link through opserver 10.0.0.23 2025-08-21 02:09:48,838 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-21 02:09:48,848 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-68607308', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-68607308?flat'} 2025-08-21 02:09:48,848 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-68607308 is found in opserver 2025-08-21 02:09:48,857 - DEBUG - Do not have enough data to verify VN in agent 2025-08-21 02:09:48,861 - DEBUG - VRF ids for VN ctest-vn-68607308: {} 2025-08-21 02:09:48,912 - DEBUG - Services list from nova: [, , ] 2025-08-21 02:09:49,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:09:50,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3905-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3905-1) 2025-08-21 02:09:50,994 - INFO - Waiting for VM ctest-TestBasicPolicy-29747050-42755583 to be up.. 2025-08-21 02:09:51,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-21 02:09:56,154 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:09:56,154 - INFO - VM name : ctest-TestBasicPolicy-29747050-42755583 2025-08-21 02:09:56,220 - DEBUG - VM ctest-TestBasicPolicy-29747050-42755583 ID is 374ca4a0-e0b0-4846-8265-1082fe4190a9 2025-08-21 02:09:56,238 - DEBUG - VM ctest-TestBasicPolicy-29747050-42755583 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:09:56,315 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/374ca4a0-e0b0-4846-8265-1082fe4190a9 2025-08-21 02:09:56,324 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/6eab9cfd-e169-470b-b27e-fea05349f863 2025-08-21 02:09:59,649 - 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 1002ms') 2025-08-21 02:09:59,649 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29747050-42755583 failed! 2025-08-21 02:09:59,704 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29747050:ctest-vn-49591848 is 142.123.85.1 and allocation pool is NOT set 2025-08-21 02:10:01,769 - 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=4.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.549 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.549/2.572/4.596/2.023 ms') 2025-08-21 02:10:01,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29747050-42755583 passed 2025-08-21 02:10:01,924 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:10:01,924 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29747050-42755583, IP 142.123.85.3, Port 22 2025-08-21 02:10:02,083 - DEBUG - VM ctest-TestBasicPolicy-29747050-42755583 is ready for SSH connections 2025-08-21 02:10:02,083 - INFO - Waiting for VM ctest-TestBasicPolicy-29747050-49142440 to be up.. 2025-08-21 02:10:02,167 - DEBUG - VM is in ACTIVE state now 2025-08-21 02:10:02,167 - INFO - VM name : ctest-TestBasicPolicy-29747050-49142440 2025-08-21 02:10:02,241 - DEBUG - VM ctest-TestBasicPolicy-29747050-49142440 ID is ffa0c4be-29a6-46b8-aea1-ef66f3d81034 2025-08-21 02:10:02,241 - DEBUG - VM ctest-TestBasicPolicy-29747050-49142440 launched on Node cn-jenkins-deploy-platform-ansible-os-3905-1 2025-08-21 02:10:02,317 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/ffa0c4be-29a6-46b8-aea1-ef66f3d81034 2025-08-21 02:10:02,325 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/cc92ab6f-1a32-4465-b3ab-4a94607ba4b8 2025-08-21 02:10:03,587 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.390 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.390/1.514/2.638/1.124 ms') 2025-08-21 02:10:03,587 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29747050-49142440 passed 2025-08-21 02:10:03,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:10:03,740 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29747050-49142440, IP 221.57.118.131, Port 22 2025-08-21 02:10:03,903 - DEBUG - VM ctest-TestBasicPolicy-29747050-49142440 is ready for SSH connections 2025-08-21 02:10:03,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:10:03,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.57.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:10:03,903 - DEBUG - ping -s 56 -c 3 -W 1 221.57.118.131 2025-08-21 02:10:07,616 - DEBUG - PING 221.57.118.131 (221.57.118.131): 56 data bytes 64 bytes from 221.57.118.131: seq=0 ttl=63 time=3.238 ms 64 bytes from 221.57.118.131: seq=1 ttl=63 time=0.721 ms 64 bytes from 221.57.118.131: seq=2 ttl=63 time=0.705 ms --- 221.57.118.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.705/1.554/3.238 ms 2025-08-21 02:10:07,616 - INFO - Ping to IP 221.57.118.131 from VM ctest-TestBasicPolicy-29747050-42755583 passed 2025-08-21 02:10:07,795 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0875b445-2778-4c0c-ae6b-539d45bb4206", "href": "http://10.0.0.23:8082/network-policy/0875b445-2778-4c0c-ae6b-539d45bb4206"}} 2025-08-21 02:10:07,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-21 02:10:07,796 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.57.118.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-08-21 02:10:07,796 - DEBUG - ping -s 56 -c 3 -W 1 221.57.118.131 2025-08-21 02:10:10,996 - DEBUG - PING 221.57.118.131 (221.57.118.131): 56 data bytes --- 221.57.118.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-21 02:10:10,996 - WARNING - Ping to IP 221.57.118.131 from VM ctest-TestBasicPolicy-29747050-42755583 failed 2025-08-21 02:10:10,996 - INFO - Deleting VM ctest-TestBasicPolicy-29747050-49142440 2025-08-21 02:10:11,056 - INFO - Deleting VM ctest-TestBasicPolicy-29747050-42755583 2025-08-21 02:10:11,473 - INFO - Deleted policy ctest-policy-allow-all-70114907 2025-08-21 02:10:11,474 - INFO - Deleting VN ctest-vn-68607308 2025-08-21 02:10:11,513 - DEBUG - VN 57fa8f36-2d17-4768-812c-83320dd7d552 still in use: Unable to complete operation on network 57fa8f36-2d17-4768-812c-83320dd7d552. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a983bf27-17ef-4382-bdac-95c501d8ed26'] 2025-08-21 02:10:11,513 - WARNING - Deleting VN ctest-vn-68607308 failed..Will retry 2025-08-21 02:10:13,637 - DEBUG - Response for deleting network () 2025-08-21 02:10:13,637 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/12f6c14c-1194-4d96-8f73-f86814461057 2025-08-21 02:10:13,642 - DEBUG - Response Code: 404 2025-08-21 02:10:13,642 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:10:13,646 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:10:13,701 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:10:13,769 - INFO - Validated that VN ctest-vn-68607308 is not found in API Server 2025-08-21 02:10:13,778 - DEBUG - VN ctest-vn-68607308 is not present in Agent 10.0.0.23 2025-08-21 02:10:13,778 - INFO - Validated that VN ctest-vn-68607308 is not in any agent 2025-08-21 02:10:13,792 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68607308 info 2025-08-21 02:10:13,792 - INFO - Deleting VN ctest-vn-49591848 2025-08-21 02:10:13,898 - DEBUG - Response for deleting network () 2025-08-21 02:10:13,898 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/7a1558ad-9a98-448c-ae85-7c518cbe991f 2025-08-21 02:10:13,906 - DEBUG - Response Code: 404 2025-08-21 02:10:13,906 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-21 02:10:13,915 - DEBUG - Requesting: http://10.0.0.23:8082/domain/dfdbf3f6-0573-4082-8004-8e4c872ea99b 2025-08-21 02:10:13,968 - DEBUG - Requesting: http://10.0.0.23:8082/project/cb0c5a5d-b852-4cee-98d6-a382d101caf8 2025-08-21 02:10:14,062 - INFO - Validated that VN ctest-vn-49591848 is not found in API Server 2025-08-21 02:10:14,071 - DEBUG - VN ctest-vn-49591848 is not present in Agent 10.0.0.23 2025-08-21 02:10:14,071 - INFO - Validated that VN ctest-vn-49591848 is not in any agent 2025-08-21 02:10:14,084 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49591848 info 2025-08-21 02:10:14,336 - DEBUG - No XMPP flaps were noticed during the test
2025-08-21 02:10:14,336 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-21 02:10:14,336 - INFO - -------------------------------------------------------------------------------- 2025-08-21 02:10:14,989 - INFO - Deleted project: ctest-TestBasicPolicy-29747050, ID : cb0c5a5d-b852-4cee-98d6-a382d101caf8