2025-10-22 14:13:35,089 - INFO - Domain Default found not creating 2025-10-22 14:13:35,239 - INFO - Project ctest-TestBasicPolicy-47014920 not found, creating it 2025-10-22 14:13:35,673 - INFO - Created Project:ctest-TestBasicPolicy-47014920, ID : f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:13:37,088 - INFO - ================================================================================ 2025-10-22 14:13:37,089 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 14:13:37,089 - 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-10-22 14:13:37,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.25': '0'}} with 2025-10-22 14:13:37,342 - INFO - Initial checks done. Running the testcase now 2025-10-22 14:13:37,342 - INFO - 2025-10-22 14:13:37,924 - DEBUG - Response for create_network : {'network': {'id': '51c96a38-69cf-4d9b-9e43-f993fcb5b504', 'name': 'ctest-vn-51367859', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-vn-51367859'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:13:38,077 - DEBUG - Response for create_subnet : {'subnet': {'id': '596927ed-918e-469f-b5f6-0878708abd59', 'name': '', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'network_id': '51c96a38-69cf-4d9b-9e43-f993fcb5b504', 'ip_version': 4, 'cidr': '64.46.204.128/26', 'allocation_pools': [{'start': '64.46.204.130', 'end': '64.46.204.190'}], 'gateway_ip': '64.46.204.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.46.204.130', 'tags': [], 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09'}} 2025-10-22 14:13:38,095 - INFO - Created VN ctest-vn-51367859 2025-10-22 14:13:38,148 - DEBUG - VN ctest-vn-51367859 UUID is 51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:38,453 - DEBUG - Response for create_network : {'network': {'id': 'e919d66d-b2f2-459f-9919-53d861294250', 'name': 'ctest-vn-79000841', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-vn-79000841'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:13:38,612 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0309f75-7790-488c-a856-d652d8a0b06a', 'name': '', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'network_id': 'e919d66d-b2f2-459f-9919-53d861294250', 'ip_version': 4, 'cidr': '57.157.5.192/26', 'allocation_pools': [{'start': '57.157.5.194', 'end': '57.157.5.254'}], 'gateway_ip': '57.157.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.157.5.194', 'tags': [], 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09'}} 2025-10-22 14:13:38,628 - INFO - Created VN ctest-vn-79000841 2025-10-22 14:13:38,680 - DEBUG - VN ctest-vn-79000841 UUID is e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:38,832 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859, 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-47014920:ctest-vn-79000841, 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-10-22 14:13:39,128 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '51c96a38-69cf-4d9b-9e43-f993fcb5b504', 'name': 'ctest-vn-51367859', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['596927ed-918e-469f-b5f6-0878708abd59'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-vn-51367859'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-policy-allow-all-19884659']], 'subnet_ipam': [{'subnet_cidr': '64.46.204.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:13:39,370 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e919d66d-b2f2-459f-9919-53d861294250', 'name': 'ctest-vn-79000841', 'tenant_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'project_id': 'f71e1bed4bb7450c9282ec7df5800a09', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0309f75-7790-488c-a856-d652d8a0b06a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-vn-79000841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-policy-allow-all-19884659']], 'subnet_ipam': [{'subnet_cidr': '57.157.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 14:13:39,532 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:13:39,824 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:13:39,852 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:13:39,863 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:13:39,937 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:39,947 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:39,956 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:13:39,963 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:13:39,969 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2f3d90fc-9962-46f7-9768-9a68a2c351e6 2025-10-22 14:13:39,974 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:13:39,974 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:39,982 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:13:39,994 - INFO - Verified VN network id 11 for VN 51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:39,994 - INFO - Verifications in API Server for VN ctest-vn-51367859 passed 2025-10-22 14:13:39,995 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:40,004 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:13:40,011 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:13:40,017 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/2f3d90fc-9962-46f7-9768-9a68a2c351e6 2025-10-22 14:13:40,027 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47014920', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5893358377916911003', 'uuid-lslong': '11404233095427503364'}, 'enable': 'true', 'created': '2025-10-22T14:13:37', 'last-modified': '2025-10-22T14:13:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919266'} 2025-10-22 14:13:40,033 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 14:13:40,033 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51367859 passed 2025-10-22 14:13:40,033 - DEBUG - ====Verifying policy data for ctest-vn-51367859 in API_Server ====== 2025-10-22 14:13:40,033 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:13:40,038 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:13:40,048 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:13:40,121 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/51c96a38-69cf-4d9b-9e43-f993fcb5b504 2025-10-22 14:13:40,129 - DEBUG - ==>Verifying data for policy with id: 603424bf-0613-4abb-b9a2-4d3442691aed, fqn: ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-policy-allow-all-19884659'] 2025-10-22 14:13:40,129 - INFO - VN ctest-vn-51367859 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:13:40,129 - DEBUG - Verifying the vn in opserver 2025-10-22 14:13:40,130 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859 virtual network link through opserver 10.0.0.49 2025-10-22 14:13:40,130 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-22 14:13:40,424 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-22 14:13:40,477 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859?flat'} 2025-10-22 14:13:40,477 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859 is found in opserver 2025-10-22 14:13:40,486 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:13:40,491 - DEBUG - VRF ids for VN ctest-vn-51367859: {} 2025-10-22 14:13:40,491 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:13:40,495 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:13:40,505 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:13:40,571 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,582 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,590 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:13:40,597 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:13:40,604 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/94627d04-d50f-42f0-bf78-99492fad991c 2025-10-22 14:13:40,610 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:13:40,610 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,620 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:13:40,635 - INFO - Verified VN network id 12 for VN e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,635 - INFO - Verifications in API Server for VN ctest-vn-79000841 passed 2025-10-22 14:13:40,635 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,643 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:13:40,649 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:13:40,655 - DEBUG - Requesting: http://10.0.0.49:8082/route-target/94627d04-d50f-42f0-bf78-99492fad991c 2025-10-22 14:13:40,668 - DEBUG - Control-node 10.0.0.49 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-79000841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47014920', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16796692051896976799', 'uuid-lslong': '11031940951028875856'}, 'enable': 'true', 'created': '2025-10-22T14:13:38', 'last-modified': '2025-10-22T14:13:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.326872'} 2025-10-22 14:13:40,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 14:13:40,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79000841 passed 2025-10-22 14:13:40,674 - DEBUG - ====Verifying policy data for ctest-vn-79000841 in API_Server ====== 2025-10-22 14:13:40,674 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:13:40,684 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:13:40,695 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:13:40,790 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-network/e919d66d-b2f2-459f-9919-53d861294250 2025-10-22 14:13:40,801 - DEBUG - ==>Verifying data for policy with id: 603424bf-0613-4abb-b9a2-4d3442691aed, fqn: ['default-domain', 'ctest-TestBasicPolicy-47014920', 'ctest-policy-allow-all-19884659'] 2025-10-22 14:13:40,801 - INFO - VN ctest-vn-79000841 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 14:13:40,801 - DEBUG - Verifying the vn in opserver 2025-10-22 14:13:40,801 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-79000841 virtual network link through opserver 10.0.0.49 2025-10-22 14:13:40,801 - DEBUG - Requesting: http://10.0.0.49:8081/analytics/uves/virtual-networks 2025-10-22 14:13:40,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-79000841', 'href': 'http://10.0.0.49:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-79000841?flat'} 2025-10-22 14:13:40,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-79000841 is found in opserver 2025-10-22 14:13:40,822 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 14:13:40,828 - DEBUG - VRF ids for VN ctest-vn-79000841: {} 2025-10-22 14:13:40,886 - DEBUG - Services list from nova: [, , ] 2025-10-22 14:13:41,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4432-1) 2025-10-22 14:13:43,038 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4432-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4432-1) 2025-10-22 14:13:43,038 - INFO - Waiting for VM ctest-TestBasicPolicy-47014920-50171073 to be up.. 2025-10-22 14:13:43,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 14:13:48,194 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:13:48,195 - INFO - VM name : ctest-TestBasicPolicy-47014920-50171073 2025-10-22 14:13:48,266 - DEBUG - VM ctest-TestBasicPolicy-47014920-50171073 ID is 96096a31-6bb3-4735-94f3-d0e135a8b7c5 2025-10-22 14:13:48,285 - DEBUG - VM ctest-TestBasicPolicy-47014920-50171073 launched on Node cn-jenkins-deploy-platform-ansible-os-4432-1 2025-10-22 14:13:48,361 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/96096a31-6bb3-4735-94f3-d0e135a8b7c5 2025-10-22 14:13:48,370 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/24b47fef-00f2-43ff-8117-e4667c9fcd95 2025-10-22 14:13:51,632 - 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 1027ms') 2025-10-22 14:13:51,632 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47014920-50171073 failed! 2025-10-22 14:13:51,684 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-47014920:ctest-vn-51367859 is 64.46.204.129 and allocation pool is NOT set 2025-10-22 14:13:53,749 - 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.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.419 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.419/3.334/6.250/2.915 ms') 2025-10-22 14:13:53,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-47014920-50171073 passed 2025-10-22 14:13:53,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:13:53,901 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47014920-50171073, IP 64.46.204.131, Port 22 2025-10-22 14:13:54,066 - DEBUG - VM ctest-TestBasicPolicy-47014920-50171073 is ready for SSH connections 2025-10-22 14:13:54,066 - INFO - Waiting for VM ctest-TestBasicPolicy-47014920-56970470 to be up.. 2025-10-22 14:13:54,139 - DEBUG - VM is in ACTIVE state now 2025-10-22 14:13:54,139 - INFO - VM name : ctest-TestBasicPolicy-47014920-56970470 2025-10-22 14:13:54,216 - DEBUG - VM ctest-TestBasicPolicy-47014920-56970470 ID is 22becbe3-1846-49b3-9567-ed733df6255f 2025-10-22 14:13:54,216 - DEBUG - VM ctest-TestBasicPolicy-47014920-56970470 launched on Node cn-jenkins-deploy-platform-ansible-os-4432-1 2025-10-22 14:13:54,289 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/22becbe3-1846-49b3-9567-ed733df6255f 2025-10-22 14:13:54,297 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/625cdb60-50b2-4cd1-abd5-21e3336272f2 2025-10-22 14:13:55,529 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.463/2.084/3.705/1.621 ms') 2025-10-22 14:13:55,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-47014920-56970470 passed 2025-10-22 14:13:55,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:13:55,677 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-47014920-56970470, IP 57.157.5.195, Port 22 2025-10-22 14:13:55,842 - DEBUG - VM ctest-TestBasicPolicy-47014920-56970470 is ready for SSH connections 2025-10-22 14:13:55,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:13:55,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.157.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-22 14:13:55,843 - DEBUG - ping -s 56 -c 3 -W 1 57.157.5.195 2025-10-22 14:13:59,838 - DEBUG - PING 57.157.5.195 (57.157.5.195): 56 data bytes 64 bytes from 57.157.5.195: seq=0 ttl=63 time=4.317 ms 64 bytes from 57.157.5.195: seq=1 ttl=63 time=1.043 ms 64 bytes from 57.157.5.195: seq=2 ttl=63 time=0.776 ms --- 57.157.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/2.045/4.317 ms 2025-10-22 14:13:59,838 - INFO - Ping to IP 57.157.5.195 from VM ctest-TestBasicPolicy-47014920-50171073 passed 2025-10-22 14:14:00,012 - DEBUG - Policy Update Response {"network-policy": {"uuid": "603424bf-0613-4abb-b9a2-4d3442691aed", "href": "http://10.0.0.49:8082/network-policy/603424bf-0613-4abb-b9a2-4d3442691aed"}} 2025-10-22 14:14:00,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 14:14:00,012 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.157.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-10-22 14:14:00,013 - DEBUG - ping -s 56 -c 3 -W 1 57.157.5.195 2025-10-22 14:14:03,220 - DEBUG - PING 57.157.5.195 (57.157.5.195): 56 data bytes --- 57.157.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 14:14:03,221 - WARNING - Ping to IP 57.157.5.195 from VM ctest-TestBasicPolicy-47014920-50171073 failed 2025-10-22 14:14:03,221 - INFO - Deleting VM ctest-TestBasicPolicy-47014920-56970470 2025-10-22 14:14:03,289 - INFO - Deleting VM ctest-TestBasicPolicy-47014920-50171073 2025-10-22 14:14:03,658 - INFO - Deleted policy ctest-policy-allow-all-19884659 2025-10-22 14:14:03,658 - INFO - Deleting VN ctest-vn-79000841 2025-10-22 14:14:03,694 - DEBUG - VN e919d66d-b2f2-459f-9919-53d861294250 still in use: Unable to complete operation on network e919d66d-b2f2-459f-9919-53d861294250. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bdee2df6-9f7e-4a7a-939a-51104fad3745'] 2025-10-22 14:14:03,694 - WARNING - Deleting VN ctest-vn-79000841 failed..Will retry 2025-10-22 14:14:05,789 - DEBUG - Response for deleting network () 2025-10-22 14:14:05,789 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/a4c613ff-ccbd-4ee6-92ab-624fd044e2e1 2025-10-22 14:14:05,796 - DEBUG - Response Code: 404 2025-10-22 14:14:05,796 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:14:05,801 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:14:05,853 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:14:05,929 - INFO - Validated that VN ctest-vn-79000841 is not found in API Server 2025-10-22 14:14:05,938 - DEBUG - VN ctest-vn-79000841 is not present in Agent 10.0.0.49 2025-10-22 14:14:05,938 - INFO - Validated that VN ctest-vn-79000841 is not in any agent 2025-10-22 14:14:05,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79000841 info 2025-10-22 14:14:05,952 - INFO - Deleting VN ctest-vn-51367859 2025-10-22 14:14:06,063 - DEBUG - Response for deleting network () 2025-10-22 14:14:06,064 - DEBUG - Requesting: http://10.0.0.49:8082/routing-instance/707ef803-4234-43b1-8b82-11846f993d25 2025-10-22 14:14:06,068 - DEBUG - Response Code: 404 2025-10-22 14:14:06,068 - DEBUG - Requesting: http://10.0.0.49:8082/domains 2025-10-22 14:14:06,073 - DEBUG - Requesting: http://10.0.0.49:8082/domain/cb7a9fa9-9290-4e39-899a-230e0e4468c3 2025-10-22 14:14:06,126 - DEBUG - Requesting: http://10.0.0.49:8082/project/f71e1bed-4bb7-450c-9282-ec7df5800a09 2025-10-22 14:14:06,195 - INFO - Validated that VN ctest-vn-51367859 is not found in API Server 2025-10-22 14:14:06,203 - DEBUG - VN ctest-vn-51367859 is not present in Agent 10.0.0.49 2025-10-22 14:14:06,203 - INFO - Validated that VN ctest-vn-51367859 is not in any agent 2025-10-22 14:14:06,216 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51367859 info 2025-10-22 14:14:06,469 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 14:14:06,469 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-22 14:14:06,469 - INFO - -------------------------------------------------------------------------------- 2025-10-22 14:14:07,130 - INFO - Deleted project: ctest-TestBasicPolicy-47014920, ID : f71e1bed-4bb7-450c-9282-ec7df5800a09