2025-06-26 11:46:52,767 - INFO - Domain Default found not creating 2025-06-26 11:46:52,927 - INFO - Project ctest-TestBasicPolicy-03493431 not found, creating it 2025-06-26 11:46:53,379 - INFO - Created Project:ctest-TestBasicPolicy-03493431, ID : ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:46:54,834 - INFO - ================================================================================ 2025-06-26 11:46:54,834 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-26 11:46:54,834 - 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-06-26 11:46:55,089 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-06-26 11:46:55,089 - INFO - Initial checks done. Running the testcase now 2025-06-26 11:46:55,089 - INFO - 2025-06-26 11:46:55,656 - DEBUG - Response for create_network : {'network': {'id': '869fcdbf-1545-4ff6-bb48-5df6f29f10b7', 'name': 'ctest-vn-75101279', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'project_id': 'ae67418d23d343e193f446eb51262430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-vn-75101279'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:46:55,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '0133e6d1-71b1-4028-88d9-6086fc5545ec', 'name': '', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'network_id': '869fcdbf-1545-4ff6-bb48-5df6f29f10b7', 'ip_version': 4, 'cidr': '97.138.143.64/26', 'allocation_pools': [{'start': '97.138.143.66', 'end': '97.138.143.126'}], 'gateway_ip': '97.138.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.138.143.66', 'tags': [], 'project_id': 'ae67418d23d343e193f446eb51262430'}} 2025-06-26 11:46:55,894 - INFO - Created VN ctest-vn-75101279 2025-06-26 11:46:55,947 - DEBUG - VN ctest-vn-75101279 UUID is 869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:56,253 - DEBUG - Response for create_network : {'network': {'id': '530415ff-1bd4-4786-8162-d36b1f1368be', 'name': 'ctest-vn-19716299', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'project_id': 'ae67418d23d343e193f446eb51262430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-vn-19716299'], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:46:56,413 - DEBUG - Response for create_subnet : {'subnet': {'id': '7631130e-8591-48fc-9ef8-5eadbbe39205', 'name': '', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'network_id': '530415ff-1bd4-4786-8162-d36b1f1368be', 'ip_version': 4, 'cidr': '99.56.119.192/26', 'allocation_pools': [{'start': '99.56.119.194', 'end': '99.56.119.254'}], 'gateway_ip': '99.56.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.56.119.194', 'tags': [], 'project_id': 'ae67418d23d343e193f446eb51262430'}} 2025-06-26 11:46:56,434 - INFO - Created VN ctest-vn-19716299 2025-06-26 11:46:56,487 - DEBUG - VN ctest-vn-19716299 UUID is 530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:56,643 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279, 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-03493431:ctest-vn-19716299, 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-06-26 11:46:56,942 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '869fcdbf-1545-4ff6-bb48-5df6f29f10b7', 'name': 'ctest-vn-75101279', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'project_id': 'ae67418d23d343e193f446eb51262430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0133e6d1-71b1-4028-88d9-6086fc5545ec'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-vn-75101279'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-policy-allow-all-89453956']], 'subnet_ipam': [{'subnet_cidr': '97.138.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:46:57,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '530415ff-1bd4-4786-8162-d36b1f1368be', 'name': 'ctest-vn-19716299', 'tenant_id': 'ae67418d23d343e193f446eb51262430', 'project_id': 'ae67418d23d343e193f446eb51262430', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7631130e-8591-48fc-9ef8-5eadbbe39205'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-vn-19716299'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-policy-allow-all-89453956']], 'subnet_ipam': [{'subnet_cidr': '99.56.119.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-26 11:46:57,359 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:46:57,654 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:46:57,681 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:46:57,694 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:46:57,765 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,777 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,788 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:46:57,795 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:46:57,802 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/76a81a35-395d-4ecc-b3ce-d87e1d52192b 2025-06-26 11:46:57,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 11:46:57,809 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,821 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:46:57,838 - INFO - Verified VN network id 8 for VN 869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,838 - INFO - Verifications in API Server for VN ctest-vn-75101279 passed 2025-06-26 11:46:57,839 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,853 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:46:57,861 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:46:57,869 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/76a81a35-395d-4ecc-b3ce-d87e1d52192b 2025-06-26 11:46:57,883 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03493431', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9700698342958649334', 'uuid-lslong': '13495139598629540023'}, 'enable': 'true', 'created': '2025-06-26T11:46:55', 'last-modified': '2025-06-26T11:46:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.961019'} 2025-06-26 11:46:57,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-26 11:46:57,890 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75101279 passed 2025-06-26 11:46:57,890 - DEBUG - ====Verifying policy data for ctest-vn-75101279 in API_Server ====== 2025-06-26 11:46:57,890 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:46:57,896 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:46:57,909 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:46:57,986 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/869fcdbf-1545-4ff6-bb48-5df6f29f10b7 2025-06-26 11:46:57,997 - DEBUG - ==>Verifying data for policy with id: 3708b55b-30b6-4c42-bce7-0c6553bd15f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-policy-allow-all-89453956'] 2025-06-26 11:46:57,997 - INFO - VN ctest-vn-75101279 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 11:46:57,997 - DEBUG - Verifying the vn in opserver 2025-06-26 11:46:57,997 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279 virtual network link through opserver 10.0.0.48 2025-06-26 11:46:57,998 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-06-26 11:46:58,292 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-06-26 11:46:58,345 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279?flat'} 2025-06-26 11:46:58,345 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279 is found in opserver 2025-06-26 11:46:58,356 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 11:46:58,361 - DEBUG - VRF ids for VN ctest-vn-75101279: {} 2025-06-26 11:46:58,361 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:46:58,368 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:46:58,380 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:46:58,456 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,469 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,479 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:46:58,487 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:46:58,494 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/993c44de-843f-494a-95e5-f5c3f303a959 2025-06-26 11:46:58,502 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 11:46:58,503 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,513 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:46:58,530 - INFO - Verified VN network id 9 for VN 530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,530 - INFO - Verifications in API Server for VN ctest-vn-19716299 passed 2025-06-26 11:46:58,530 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,541 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:46:58,548 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:46:58,555 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/993c44de-843f-494a-95e5-f5c3f303a959 2025-06-26 11:46:58,566 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-19716299', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03493431', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5981930390482601862', 'uuid-lslong': '9323246635646675134'}, 'enable': 'true', 'created': '2025-06-26T11:46:56', 'last-modified': '2025-06-26T11:46:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412406'} 2025-06-26 11:46:58,572 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-26 11:46:58,573 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19716299 passed 2025-06-26 11:46:58,573 - DEBUG - ====Verifying policy data for ctest-vn-19716299 in API_Server ====== 2025-06-26 11:46:58,573 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:46:58,578 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:46:58,592 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:46:58,665 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/530415ff-1bd4-4786-8162-d36b1f1368be 2025-06-26 11:46:58,676 - DEBUG - ==>Verifying data for policy with id: 3708b55b-30b6-4c42-bce7-0c6553bd15f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-03493431', 'ctest-policy-allow-all-89453956'] 2025-06-26 11:46:58,676 - INFO - VN ctest-vn-19716299 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-26 11:46:58,676 - DEBUG - Verifying the vn in opserver 2025-06-26 11:46:58,676 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-19716299 virtual network link through opserver 10.0.0.48 2025-06-26 11:46:58,676 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-06-26 11:46:58,687 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-19716299', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-19716299?flat'} 2025-06-26 11:46:58,687 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-19716299 is found in opserver 2025-06-26 11:46:58,698 - DEBUG - Do not have enough data to verify VN in agent 2025-06-26 11:46:58,703 - DEBUG - VRF ids for VN ctest-vn-19716299: {} 2025-06-26 11:46:58,758 - DEBUG - Services list from nova: [, , ] 2025-06-26 11:46:59,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3559-1) 2025-06-26 11:47:00,969 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3559-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3559-1) 2025-06-26 11:47:00,969 - INFO - Waiting for VM ctest-TestBasicPolicy-03493431-75268492 to be up.. 2025-06-26 11:47:01,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-26 11:47:06,137 - DEBUG - VM is in ACTIVE state now 2025-06-26 11:47:06,137 - INFO - VM name : ctest-TestBasicPolicy-03493431-75268492 2025-06-26 11:47:06,222 - DEBUG - VM ctest-TestBasicPolicy-03493431-75268492 ID is b6d0cda8-643e-4ac6-9b3f-b00fa745c392 2025-06-26 11:47:06,245 - DEBUG - VM ctest-TestBasicPolicy-03493431-75268492 launched on Node cn-jenkins-deploy-platform-ansible-os-3559-1 2025-06-26 11:47:06,335 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b6d0cda8-643e-4ac6-9b3f-b00fa745c392 2025-06-26 11:47:06,347 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/dbdbffd1-55ed-4f2c-b44a-2db2bebd9aab 2025-06-26 11:47:09,573 - 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 1022ms') 2025-06-26 11:47:09,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03493431-75268492 failed! 2025-06-26 11:47:09,631 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03493431:ctest-vn-75101279 is 97.138.143.65 and allocation pool is NOT set 2025-06-26 11:47:11,688 - 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=20.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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.456/11.498/20.541/9.042 ms') 2025-06-26 11:47:11,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03493431-75268492 passed 2025-06-26 11:47:11,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:11,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03493431-75268492, IP 97.138.143.67, Port 22 2025-06-26 11:47:11,994 - DEBUG - VM ctest-TestBasicPolicy-03493431-75268492 is ready for SSH connections 2025-06-26 11:47:11,994 - INFO - Waiting for VM ctest-TestBasicPolicy-03493431-50100593 to be up.. 2025-06-26 11:47:12,070 - DEBUG - VM is in ACTIVE state now 2025-06-26 11:47:12,070 - INFO - VM name : ctest-TestBasicPolicy-03493431-50100593 2025-06-26 11:47:12,140 - DEBUG - VM ctest-TestBasicPolicy-03493431-50100593 ID is d6864327-d2da-483c-8f92-0cfe90b53b95 2025-06-26 11:47:12,140 - DEBUG - VM ctest-TestBasicPolicy-03493431-50100593 launched on Node cn-jenkins-deploy-platform-ansible-os-3559-1 2025-06-26 11:47:12,211 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/d6864327-d2da-483c-8f92-0cfe90b53b95 2025-06-26 11:47:12,219 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0fa7eb4b-10c8-4f4d-8fdf-427de8488f5e 2025-06-26 11:47:13,459 - 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=6.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.93 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 = 1.933/4.256/6.580/2.323 ms') 2025-06-26 11:47:13,460 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03493431-50100593 passed 2025-06-26 11:47:13,615 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:13,615 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03493431-50100593, IP 99.56.119.195, Port 22 2025-06-26 11:47:13,771 - DEBUG - VM ctest-TestBasicPolicy-03493431-50100593 is ready for SSH connections 2025-06-26 11:47:13,771 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:13,771 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.56.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-06-26 11:47:13,772 - DEBUG - ping -s 56 -c 3 -W 1 99.56.119.195 2025-06-26 11:47:17,798 - DEBUG - PING 99.56.119.195 (99.56.119.195): 56 data bytes 64 bytes from 99.56.119.195: seq=0 ttl=63 time=4.122 ms 64 bytes from 99.56.119.195: seq=1 ttl=63 time=1.016 ms 64 bytes from 99.56.119.195: seq=2 ttl=63 time=0.855 ms --- 99.56.119.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.855/1.997/4.122 ms 2025-06-26 11:47:17,798 - INFO - Ping to IP 99.56.119.195 from VM ctest-TestBasicPolicy-03493431-75268492 passed 2025-06-26 11:47:17,999 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3708b55b-30b6-4c42-bce7-0c6553bd15f6", "href": "http://10.0.0.48:8082/network-policy/3708b55b-30b6-4c42-bce7-0c6553bd15f6"}} 2025-06-26 11:47:17,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-26 11:47:17,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.56.119.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-06-26 11:47:17,999 - DEBUG - ping -s 56 -c 3 -W 1 99.56.119.195 2025-06-26 11:47:21,218 - DEBUG - PING 99.56.119.195 (99.56.119.195): 56 data bytes --- 99.56.119.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-26 11:47:21,219 - WARNING - Ping to IP 99.56.119.195 from VM ctest-TestBasicPolicy-03493431-75268492 failed 2025-06-26 11:47:21,219 - INFO - Deleting VM ctest-TestBasicPolicy-03493431-50100593 2025-06-26 11:47:21,282 - INFO - Deleting VM ctest-TestBasicPolicy-03493431-75268492 2025-06-26 11:47:21,659 - INFO - Deleted policy ctest-policy-allow-all-89453956 2025-06-26 11:47:21,659 - INFO - Deleting VN ctest-vn-19716299 2025-06-26 11:47:21,700 - DEBUG - VN 530415ff-1bd4-4786-8162-d36b1f1368be still in use: Unable to complete operation on network 530415ff-1bd4-4786-8162-d36b1f1368be. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-db5e083e-ec1b-46cd-929c-22494cffc717'] 2025-06-26 11:47:21,700 - WARNING - Deleting VN ctest-vn-19716299 failed..Will retry 2025-06-26 11:47:23,807 - DEBUG - Response for deleting network () 2025-06-26 11:47:23,807 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/b78d9aeb-635d-41c1-ae62-acfaf308a545 2025-06-26 11:47:23,813 - DEBUG - Response Code: 404 2025-06-26 11:47:23,813 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:47:23,819 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:47:23,877 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:47:23,964 - INFO - Validated that VN ctest-vn-19716299 is not found in API Server 2025-06-26 11:47:23,977 - DEBUG - VN ctest-vn-19716299 is not present in Agent 10.0.0.48 2025-06-26 11:47:23,977 - INFO - Validated that VN ctest-vn-19716299 is not in any agent 2025-06-26 11:47:23,995 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19716299 info 2025-06-26 11:47:23,995 - INFO - Deleting VN ctest-vn-75101279 2025-06-26 11:47:24,109 - DEBUG - Response for deleting network () 2025-06-26 11:47:24,109 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c7e42b32-9aea-4388-8c51-d12e72798f96 2025-06-26 11:47:24,114 - DEBUG - Response Code: 404 2025-06-26 11:47:24,115 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-06-26 11:47:24,125 - DEBUG - Requesting: http://10.0.0.48:8082/domain/840570f4-1a33-4641-83a9-a8e3370c44e8 2025-06-26 11:47:24,182 - DEBUG - Requesting: http://10.0.0.48:8082/project/ae67418d-23d3-43e1-93f4-46eb51262430 2025-06-26 11:47:24,260 - INFO - Validated that VN ctest-vn-75101279 is not found in API Server 2025-06-26 11:47:24,279 - DEBUG - VN ctest-vn-75101279 is not present in Agent 10.0.0.48 2025-06-26 11:47:24,279 - INFO - Validated that VN ctest-vn-75101279 is not in any agent 2025-06-26 11:47:24,295 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75101279 info 2025-06-26 11:47:24,549 - DEBUG - No XMPP flaps were noticed during the test
2025-06-26 11:47:24,549 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-26 11:47:24,549 - INFO - -------------------------------------------------------------------------------- 2025-06-26 11:47:25,267 - INFO - Deleted project: ctest-TestBasicPolicy-03493431, ID : ae67418d-23d3-43e1-93f4-46eb51262430