2025-10-27 17:33:45,672 - INFO - Domain Default found not creating 2025-10-27 17:33:45,832 - INFO - Project ctest-TestBasicPolicy-53824678 not found, creating it 2025-10-27 17:33:46,280 - INFO - Created Project:ctest-TestBasicPolicy-53824678, ID : 062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:33:47,684 - INFO - ================================================================================ 2025-10-27 17:33:47,684 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-27 17:33:47,684 - 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-27 17:33:47,943 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-10-27 17:33:47,943 - INFO - Initial checks done. Running the testcase now 2025-10-27 17:33:47,944 - INFO - 2025-10-27 17:33:48,489 - DEBUG - Response for create_network : {'network': {'id': '9ed72831-46c1-43ff-9cfa-f7643b3cf95a', 'name': 'ctest-vn-56686222', 'tenant_id': '062aa155472c42a28abf928decd10043', 'project_id': '062aa155472c42a28abf928decd10043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-vn-56686222'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:33:48,705 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cec88309-5e29-4ac6-8b21-65e30f84eaec', 'name': '', 'tenant_id': '062aa155472c42a28abf928decd10043', 'network_id': '9ed72831-46c1-43ff-9cfa-f7643b3cf95a', 'ip_version': 4, 'cidr': '4.86.218.192/26', 'allocation_pools': [{'start': '4.86.218.194', 'end': '4.86.218.254'}], 'gateway_ip': '4.86.218.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.86.218.194', 'tags': [], 'project_id': '062aa155472c42a28abf928decd10043'}} 2025-10-27 17:33:48,725 - INFO - Created VN ctest-vn-56686222 2025-10-27 17:33:48,777 - DEBUG - VN ctest-vn-56686222 UUID is 9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:49,063 - DEBUG - Response for create_network : {'network': {'id': '3faaa083-d02d-4d88-af3b-c482e5995cbf', 'name': 'ctest-vn-06555956', 'tenant_id': '062aa155472c42a28abf928decd10043', 'project_id': '062aa155472c42a28abf928decd10043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-vn-06555956'], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:33:49,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '3465175b-449a-4201-9d3a-58b125c02385', 'name': '', 'tenant_id': '062aa155472c42a28abf928decd10043', 'network_id': '3faaa083-d02d-4d88-af3b-c482e5995cbf', 'ip_version': 4, 'cidr': '182.208.172.64/26', 'allocation_pools': [{'start': '182.208.172.66', 'end': '182.208.172.126'}], 'gateway_ip': '182.208.172.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.208.172.66', 'tags': [], 'project_id': '062aa155472c42a28abf928decd10043'}} 2025-10-27 17:33:49,286 - INFO - Created VN ctest-vn-06555956 2025-10-27 17:33:49,341 - DEBUG - VN ctest-vn-06555956 UUID is 3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:49,493 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222, 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-53824678:ctest-vn-06555956, 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-27 17:33:49,780 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ed72831-46c1-43ff-9cfa-f7643b3cf95a', 'name': 'ctest-vn-56686222', 'tenant_id': '062aa155472c42a28abf928decd10043', 'project_id': '062aa155472c42a28abf928decd10043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cec88309-5e29-4ac6-8b21-65e30f84eaec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-vn-56686222'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-policy-allow-all-33086621']], 'subnet_ipam': [{'subnet_cidr': '4.86.218.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:33:50,001 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3faaa083-d02d-4d88-af3b-c482e5995cbf', 'name': 'ctest-vn-06555956', 'tenant_id': '062aa155472c42a28abf928decd10043', 'project_id': '062aa155472c42a28abf928decd10043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3465175b-449a-4201-9d3a-58b125c02385'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-vn-06555956'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-policy-allow-all-33086621']], 'subnet_ipam': [{'subnet_cidr': '182.208.172.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-27 17:33:50,165 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:33:50,463 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:33:50,492 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:33:50,507 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:33:50,580 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,591 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,601 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:33:50,609 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:33:50,618 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e7d6a9d3-c1a3-40f7-8cea-54732a30f9dc 2025-10-27 17:33:50,625 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 17:33:50,626 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,636 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:33:50,651 - INFO - Verified VN network id 11 for VN 9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,652 - INFO - Verifications in API Server for VN ctest-vn-56686222 passed 2025-10-27 17:33:50,652 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,662 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:33:50,669 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:33:50,675 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/e7d6a9d3-c1a3-40f7-8cea-54732a30f9dc 2025-10-27 17:33:50,688 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53824678', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11445661170090984447', 'uuid-lslong': '11311625423957064026'}, 'enable': 'true', 'created': '2025-10-27T17:33:48', 'last-modified': '2025-10-27T17:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.931564'} 2025-10-27 17:33:50,694 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-27 17:33:50,694 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56686222 passed 2025-10-27 17:33:50,694 - DEBUG - ====Verifying policy data for ctest-vn-56686222 in API_Server ====== 2025-10-27 17:33:50,694 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:33:50,699 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:33:50,710 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:33:50,779 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9ed72831-46c1-43ff-9cfa-f7643b3cf95a 2025-10-27 17:33:50,788 - DEBUG - ==>Verifying data for policy with id: 80bf23a5-7bb7-41b2-8d3e-2042be2af24e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-policy-allow-all-33086621'] 2025-10-27 17:33:50,788 - INFO - VN ctest-vn-56686222 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 17:33:50,788 - DEBUG - Verifying the vn in opserver 2025-10-27 17:33:50,788 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222 virtual network link through opserver 10.0.0.242 2025-10-27 17:33:50,789 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 17:33:51,090 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 17:33:51,151 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222?flat'} 2025-10-27 17:33:51,151 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222 is found in opserver 2025-10-27 17:33:51,162 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 17:33:51,167 - DEBUG - VRF ids for VN ctest-vn-56686222: {} 2025-10-27 17:33:51,167 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:33:51,172 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:33:51,185 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:33:51,253 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,263 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,272 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:33:51,280 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:33:51,287 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/780eb8f2-b7cf-4d82-be2a-f0268843cb0e 2025-10-27 17:33:51,294 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 17:33:51,294 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,303 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:33:51,317 - INFO - Verified VN network id 12 for VN 3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,317 - INFO - Verifications in API Server for VN ctest-vn-06555956 passed 2025-10-27 17:33:51,317 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,326 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:33:51,333 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:33:51,339 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/780eb8f2-b7cf-4d82-be2a-f0268843cb0e 2025-10-27 17:33:51,350 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-06555956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53824678', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4587655658424061320', 'uuid-lslong': '12626902046740143295'}, 'enable': 'true', 'created': '2025-10-27T17:33:49', 'last-modified': '2025-10-27T17:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366595'} 2025-10-27 17:33:51,356 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-27 17:33:51,356 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06555956 passed 2025-10-27 17:33:51,356 - DEBUG - ====Verifying policy data for ctest-vn-06555956 in API_Server ====== 2025-10-27 17:33:51,356 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:33:51,362 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:33:51,372 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:33:51,441 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3faaa083-d02d-4d88-af3b-c482e5995cbf 2025-10-27 17:33:51,450 - DEBUG - ==>Verifying data for policy with id: 80bf23a5-7bb7-41b2-8d3e-2042be2af24e, fqn: ['default-domain', 'ctest-TestBasicPolicy-53824678', 'ctest-policy-allow-all-33086621'] 2025-10-27 17:33:51,450 - INFO - VN ctest-vn-06555956 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-27 17:33:51,450 - DEBUG - Verifying the vn in opserver 2025-10-27 17:33:51,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-06555956 virtual network link through opserver 10.0.0.242 2025-10-27 17:33:51,451 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-27 17:33:51,460 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-06555956', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-06555956?flat'} 2025-10-27 17:33:51,460 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-06555956 is found in opserver 2025-10-27 17:33:51,469 - DEBUG - Do not have enough data to verify VN in agent 2025-10-27 17:33:51,475 - DEBUG - VRF ids for VN ctest-vn-06555956: {} 2025-10-27 17:33:51,532 - DEBUG - Services list from nova: [, , ] 2025-10-27 17:33:52,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4509-1) 2025-10-27 17:33:53,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4509-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4509-1) 2025-10-27 17:33:53,691 - INFO - Waiting for VM ctest-TestBasicPolicy-53824678-02622560 to be up.. 2025-10-27 17:33:53,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-27 17:33:58,861 - DEBUG - VM is in ACTIVE state now 2025-10-27 17:33:58,861 - INFO - VM name : ctest-TestBasicPolicy-53824678-02622560 2025-10-27 17:33:58,939 - DEBUG - VM ctest-TestBasicPolicy-53824678-02622560 ID is b4cd87c1-f4b8-4c9c-9683-a148aa57f410 2025-10-27 17:33:58,963 - DEBUG - VM ctest-TestBasicPolicy-53824678-02622560 launched on Node cn-jenkins-deploy-platform-ansible-os-4509-1 2025-10-27 17:33:59,053 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b4cd87c1-f4b8-4c9c-9683-a148aa57f410 2025-10-27 17:33:59,063 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/79ee7f1c-c051-402a-a569-5b9a51b47ff3 2025-10-27 17:34:02,335 - 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 1030ms') 2025-10-27 17:34:02,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53824678-02622560 failed! 2025-10-27 17:34:02,389 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53824678:ctest-vn-56686222 is 4.86.218.193 and allocation pool is NOT set 2025-10-27 17:34:04,448 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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.618/6.555/10.493/3.937 ms') 2025-10-27 17:34:04,449 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53824678-02622560 passed 2025-10-27 17:34:04,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:34:04,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53824678-02622560, IP 4.86.218.195, Port 22 2025-10-27 17:34:04,764 - DEBUG - VM ctest-TestBasicPolicy-53824678-02622560 is ready for SSH connections 2025-10-27 17:34:04,765 - INFO - Waiting for VM ctest-TestBasicPolicy-53824678-72726198 to be up.. 2025-10-27 17:34:04,855 - DEBUG - VM is in ACTIVE state now 2025-10-27 17:34:04,856 - INFO - VM name : ctest-TestBasicPolicy-53824678-72726198 2025-10-27 17:34:04,931 - DEBUG - VM ctest-TestBasicPolicy-53824678-72726198 ID is 649b7221-476c-48c9-a3ad-4c06dfde7374 2025-10-27 17:34:04,931 - DEBUG - VM ctest-TestBasicPolicy-53824678-72726198 launched on Node cn-jenkins-deploy-platform-ansible-os-4509-1 2025-10-27 17:34:05,013 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/649b7221-476c-48c9-a3ad-4c06dfde7374 2025-10-27 17:34:05,023 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/befe3f57-7ee6-4948-90d3-fffffdbc3727 2025-10-27 17:34:06,274 - 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=4.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.26 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 = 2.256/3.262/4.268/1.006 ms') 2025-10-27 17:34:06,274 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53824678-72726198 passed 2025-10-27 17:34:06,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:34:06,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53824678-72726198, IP 182.208.172.67, Port 22 2025-10-27 17:34:06,584 - DEBUG - VM ctest-TestBasicPolicy-53824678-72726198 is ready for SSH connections 2025-10-27 17:34:06,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:34:06,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.208.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 17:34:06,584 - DEBUG - ping -s 56 -c 3 -W 1 182.208.172.67 2025-10-27 17:34:10,639 - DEBUG - PING 182.208.172.67 (182.208.172.67): 56 data bytes 64 bytes from 182.208.172.67: seq=0 ttl=63 time=3.501 ms 64 bytes from 182.208.172.67: seq=1 ttl=63 time=0.875 ms 64 bytes from 182.208.172.67: seq=2 ttl=63 time=1.029 ms --- 182.208.172.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.801/3.501 ms 2025-10-27 17:34:10,639 - INFO - Ping to IP 182.208.172.67 from VM ctest-TestBasicPolicy-53824678-02622560 passed 2025-10-27 17:34:10,817 - DEBUG - Policy Update Response {"network-policy": {"uuid": "80bf23a5-7bb7-41b2-8d3e-2042be2af24e", "href": "http://10.0.0.242:8082/network-policy/80bf23a5-7bb7-41b2-8d3e-2042be2af24e"}} 2025-10-27 17:34:10,817 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-27 17:34:10,817 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 182.208.172.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-27 17:34:10,817 - DEBUG - ping -s 56 -c 3 -W 1 182.208.172.67 2025-10-27 17:34:14,039 - DEBUG - PING 182.208.172.67 (182.208.172.67): 56 data bytes --- 182.208.172.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-27 17:34:14,039 - WARNING - Ping to IP 182.208.172.67 from VM ctest-TestBasicPolicy-53824678-02622560 failed 2025-10-27 17:34:14,039 - INFO - Deleting VM ctest-TestBasicPolicy-53824678-72726198 2025-10-27 17:34:14,109 - INFO - Deleting VM ctest-TestBasicPolicy-53824678-02622560 2025-10-27 17:34:14,506 - INFO - Deleted policy ctest-policy-allow-all-33086621 2025-10-27 17:34:14,506 - INFO - Deleting VN ctest-vn-06555956 2025-10-27 17:34:14,551 - DEBUG - VN 3faaa083-d02d-4d88-af3b-c482e5995cbf still in use: Unable to complete operation on network 3faaa083-d02d-4d88-af3b-c482e5995cbf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8012f54d-97e0-43ca-b810-a649c255d3ff'] 2025-10-27 17:34:14,551 - WARNING - Deleting VN ctest-vn-06555956 failed..Will retry 2025-10-27 17:34:16,685 - DEBUG - Response for deleting network () 2025-10-27 17:34:16,685 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d63bc995-1174-41b2-9988-c8efcffe0202 2025-10-27 17:34:16,694 - DEBUG - Response Code: 404 2025-10-27 17:34:16,695 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:34:16,700 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:34:16,754 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:34:16,822 - INFO - Validated that VN ctest-vn-06555956 is not found in API Server 2025-10-27 17:34:16,834 - DEBUG - VN ctest-vn-06555956 is not present in Agent 10.0.0.242 2025-10-27 17:34:16,834 - INFO - Validated that VN ctest-vn-06555956 is not in any agent 2025-10-27 17:34:16,849 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06555956 info 2025-10-27 17:34:16,850 - INFO - Deleting VN ctest-vn-56686222 2025-10-27 17:34:16,946 - DEBUG - Response for deleting network () 2025-10-27 17:34:16,946 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/4da683e0-ab3e-4ad7-a29a-bf7bf0184827 2025-10-27 17:34:16,951 - DEBUG - Response Code: 404 2025-10-27 17:34:16,952 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-27 17:34:16,965 - DEBUG - Requesting: http://10.0.0.242:8082/domain/167d275d-3df2-4c7f-a0a2-56eb1d84e002 2025-10-27 17:34:17,019 - DEBUG - Requesting: http://10.0.0.242:8082/project/062aa155-472c-42a2-8abf-928decd10043 2025-10-27 17:34:17,098 - INFO - Validated that VN ctest-vn-56686222 is not found in API Server 2025-10-27 17:34:17,109 - DEBUG - VN ctest-vn-56686222 is not present in Agent 10.0.0.242 2025-10-27 17:34:17,109 - INFO - Validated that VN ctest-vn-56686222 is not in any agent 2025-10-27 17:34:17,123 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56686222 info 2025-10-27 17:34:17,380 - DEBUG - No XMPP flaps were noticed during the test 2025-10-27 17:34:17,380 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-10-27 17:34:17,380 - INFO - -------------------------------------------------------------------------------- 2025-10-27 17:34:18,053 - INFO - Deleted project: ctest-TestBasicPolicy-53824678, ID : 062aa155-472c-42a2-8abf-928decd10043