2025-06-17 10:01:30,118 - INFO - Domain Default found not creating 2025-06-17 10:01:30,315 - INFO - Project ctest-TestBasicPolicy-36557853 not found, creating it 2025-06-17 10:01:30,865 - INFO - Created Project:ctest-TestBasicPolicy-36557853, ID : 6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:01:32,447 - INFO - ================================================================================ 2025-06-17 10:01:32,448 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-17 10:01:32,448 - 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-17 10:01:32,718 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-06-17 10:01:32,718 - INFO - Initial checks done. Running the testcase now 2025-06-17 10:01:32,718 - INFO - 2025-06-17 10:01:33,314 - DEBUG - Response for create_network : {'network': {'id': '96fbaada-0ba4-4f88-bac0-6846575ba86c', 'name': 'ctest-vn-23421524', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'project_id': '6b142867532241e8aec5f75d6d257dad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-vn-23421524'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:01:33,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e5d9aab-037f-42da-8d20-72868f735020', 'name': '', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'network_id': '96fbaada-0ba4-4f88-bac0-6846575ba86c', 'ip_version': 4, 'cidr': '13.99.192.0/26', 'allocation_pools': [{'start': '13.99.192.2', 'end': '13.99.192.62'}], 'gateway_ip': '13.99.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '13.99.192.2', 'tags': [], 'project_id': '6b142867532241e8aec5f75d6d257dad'}} 2025-06-17 10:01:33,598 - INFO - Created VN ctest-vn-23421524 2025-06-17 10:01:33,653 - DEBUG - VN ctest-vn-23421524 UUID is 96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:34,028 - DEBUG - Response for create_network : {'network': {'id': '20ce82b5-b280-425b-afc6-1d02dfd38512', 'name': 'ctest-vn-00249427', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'project_id': '6b142867532241e8aec5f75d6d257dad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-vn-00249427'], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:01:34,274 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c509435-0dd8-45c2-a520-eca002f08037', 'name': '', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'network_id': '20ce82b5-b280-425b-afc6-1d02dfd38512', 'ip_version': 4, 'cidr': '46.68.130.0/26', 'allocation_pools': [{'start': '46.68.130.2', 'end': '46.68.130.62'}], 'gateway_ip': '46.68.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.68.130.2', 'tags': [], 'project_id': '6b142867532241e8aec5f75d6d257dad'}} 2025-06-17 10:01:34,296 - INFO - Created VN ctest-vn-00249427 2025-06-17 10:01:34,353 - DEBUG - VN ctest-vn-00249427 UUID is 20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:34,476 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524, 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-36557853:ctest-vn-00249427, 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-17 10:01:34,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96fbaada-0ba4-4f88-bac0-6846575ba86c', 'name': 'ctest-vn-23421524', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'project_id': '6b142867532241e8aec5f75d6d257dad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e5d9aab-037f-42da-8d20-72868f735020'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-vn-23421524'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-policy-allow-all-09029804']], 'subnet_ipam': [{'subnet_cidr': '13.99.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:01:35,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '20ce82b5-b280-425b-afc6-1d02dfd38512', 'name': 'ctest-vn-00249427', 'tenant_id': '6b142867532241e8aec5f75d6d257dad', 'project_id': '6b142867532241e8aec5f75d6d257dad', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c509435-0dd8-45c2-a520-eca002f08037'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-vn-00249427'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-policy-allow-all-09029804']], 'subnet_ipam': [{'subnet_cidr': '46.68.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-17 10:01:35,257 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:01:35,570 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:01:35,614 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:01:35,631 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:01:35,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:35,751 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:35,765 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:01:35,775 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:01:35,784 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc7e789a-069d-4cd3-991e-9f8369e804f5 2025-06-17 10:01:35,793 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 10:01:35,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:35,809 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:01:35,834 - INFO - Verified VN network id 9 for VN 96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:35,835 - INFO - Verifications in API Server for VN ctest-vn-23421524 passed 2025-06-17 10:01:35,835 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:35,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:01:35,859 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:01:35,870 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/dc7e789a-069d-4cd3-991e-9f8369e804f5 2025-06-17 10:01:35,888 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36557853', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10879477178318475144', 'uuid-lslong': '13456870337905666156'}, 'enable': 'true', 'created': '2025-06-17T10:01:33', 'last-modified': '2025-06-17T10:01:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.112750'} 2025-06-17 10:01:35,897 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-17 10:01:35,897 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23421524 passed 2025-06-17 10:01:35,898 - DEBUG - ====Verifying policy data for ctest-vn-23421524 in API_Server ====== 2025-06-17 10:01:35,898 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:01:35,907 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:01:35,924 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:01:36,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/96fbaada-0ba4-4f88-bac0-6846575ba86c 2025-06-17 10:01:36,021 - DEBUG - ==>Verifying data for policy with id: a1412b87-1b30-408e-a1c0-ba7859f93612, fqn: ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-policy-allow-all-09029804'] 2025-06-17 10:01:36,021 - INFO - VN ctest-vn-23421524 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 10:01:36,022 - DEBUG - Verifying the vn in opserver 2025-06-17 10:01:36,022 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524 virtual network link through opserver 10.0.0.38 2025-06-17 10:01:36,022 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-17 10:01:36,321 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-17 10:01:36,397 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524?flat'} 2025-06-17 10:01:36,397 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524 is found in opserver 2025-06-17 10:01:36,414 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 10:01:36,421 - DEBUG - VRF ids for VN ctest-vn-23421524: {} 2025-06-17 10:01:36,421 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:01:36,430 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:01:36,446 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:01:36,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:01:36,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:01:36,579 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ba0cbce-33e8-449d-bb7e-19232d356639 2025-06-17 10:01:36,588 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 10:01:36,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,601 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:01:36,621 - INFO - Verified VN network id 10 for VN 20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,621 - INFO - Verifications in API Server for VN ctest-vn-00249427 passed 2025-06-17 10:01:36,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,634 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:01:36,643 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:01:36,655 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7ba0cbce-33e8-449d-bb7e-19232d356639 2025-06-17 10:01:36,672 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-00249427', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36557853', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2363970571311530587', 'uuid-lslong': '12665842900208420114'}, 'enable': 'true', 'created': '2025-06-17T10:01:33', 'last-modified': '2025-06-17T10:01:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.602550'} 2025-06-17 10:01:36,682 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-17 10:01:36,682 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00249427 passed 2025-06-17 10:01:36,682 - DEBUG - ====Verifying policy data for ctest-vn-00249427 in API_Server ====== 2025-06-17 10:01:36,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:01:36,693 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:01:36,713 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:01:36,793 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/20ce82b5-b280-425b-afc6-1d02dfd38512 2025-06-17 10:01:36,805 - DEBUG - ==>Verifying data for policy with id: a1412b87-1b30-408e-a1c0-ba7859f93612, fqn: ['default-domain', 'ctest-TestBasicPolicy-36557853', 'ctest-policy-allow-all-09029804'] 2025-06-17 10:01:36,805 - INFO - VN ctest-vn-00249427 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-17 10:01:36,805 - DEBUG - Verifying the vn in opserver 2025-06-17 10:01:36,805 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-00249427 virtual network link through opserver 10.0.0.38 2025-06-17 10:01:36,805 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-17 10:01:36,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-00249427', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-00249427?flat'} 2025-06-17 10:01:36,819 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-00249427 is found in opserver 2025-06-17 10:01:36,834 - DEBUG - Do not have enough data to verify VN in agent 2025-06-17 10:01:36,841 - DEBUG - VRF ids for VN ctest-vn-00249427: {} 2025-06-17 10:01:36,915 - DEBUG - Services list from nova: [, , ] 2025-06-17 10:01:38,081 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3460-1) 2025-06-17 10:01:39,993 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3460-1) 2025-06-17 10:01:39,993 - INFO - Waiting for VM ctest-TestBasicPolicy-36557853-87022615 to be up.. 2025-06-17 10:01:40,234 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-17 10:01:45,347 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:01:45,347 - INFO - VM name : ctest-TestBasicPolicy-36557853-87022615 2025-06-17 10:01:45,471 - DEBUG - VM ctest-TestBasicPolicy-36557853-87022615 ID is 054751b2-cf7e-4acf-9e47-5779664e3212 2025-06-17 10:01:45,496 - DEBUG - VM ctest-TestBasicPolicy-36557853-87022615 launched on Node cn-jenkins-deploy-platform-ansible-os-3460-1 2025-06-17 10:01:45,607 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/054751b2-cf7e-4acf-9e47-5779664e3212 2025-06-17 10:01:45,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/00e8f861-162b-4fcf-b3b3-e3ae81b3eaaf 2025-06-17 10:01:48,903 - 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 1024ms') 2025-06-17 10:01:48,904 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36557853-87022615 failed! 2025-06-17 10:01:48,969 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36557853:ctest-vn-23421524 is 13.99.192.1 and allocation pool is NOT set 2025-06-17 10:01:53,036 - 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=2 ttl=63 time=3.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.126/3.126/3.126/0.000 ms') 2025-06-17 10:01:53,037 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36557853-87022615 passed 2025-06-17 10:01:53,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:53,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36557853-87022615, IP 13.99.192.3, Port 22 2025-06-17 10:01:53,372 - DEBUG - VM ctest-TestBasicPolicy-36557853-87022615 is ready for SSH connections 2025-06-17 10:01:53,372 - INFO - Waiting for VM ctest-TestBasicPolicy-36557853-75292340 to be up.. 2025-06-17 10:01:53,478 - DEBUG - VM is in ACTIVE state now 2025-06-17 10:01:53,478 - INFO - VM name : ctest-TestBasicPolicy-36557853-75292340 2025-06-17 10:01:53,590 - DEBUG - VM ctest-TestBasicPolicy-36557853-75292340 ID is 520548ee-33ca-41aa-a29e-39d9f9cb96d4 2025-06-17 10:01:53,590 - DEBUG - VM ctest-TestBasicPolicy-36557853-75292340 launched on Node cn-jenkins-deploy-platform-ansible-os-3460-1 2025-06-17 10:01:53,694 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/520548ee-33ca-41aa-a29e-39d9f9cb96d4 2025-06-17 10:01:53,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0bbfb9ee-6d1e-4667-85af-aac996906164 2025-06-17 10:01:54,967 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.579 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.579/2.097/3.615/1.518 ms') 2025-06-17 10:01:54,968 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36557853-75292340 passed 2025-06-17 10:01:55,125 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:55,126 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36557853-75292340, IP 46.68.130.3, Port 22 2025-06-17 10:01:55,304 - DEBUG - VM ctest-TestBasicPolicy-36557853-75292340 is ready for SSH connections 2025-06-17 10:01:55,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:55,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.68.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-17 10:01:55,305 - DEBUG - ping -s 56 -c 3 -W 1 46.68.130.3 2025-06-17 10:01:59,427 - DEBUG - PING 46.68.130.3 (46.68.130.3): 56 data bytes 64 bytes from 46.68.130.3: seq=0 ttl=63 time=5.394 ms 64 bytes from 46.68.130.3: seq=1 ttl=63 time=0.926 ms 64 bytes from 46.68.130.3: seq=2 ttl=63 time=0.983 ms --- 46.68.130.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.926/2.434/5.394 ms 2025-06-17 10:01:59,428 - INFO - Ping to IP 46.68.130.3 from VM ctest-TestBasicPolicy-36557853-87022615 passed 2025-06-17 10:01:59,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a1412b87-1b30-408e-a1c0-ba7859f93612", "href": "http://10.0.0.38:8082/network-policy/a1412b87-1b30-408e-a1c0-ba7859f93612"}} 2025-06-17 10:01:59,625 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-17 10:01:59,625 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 46.68.130.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-17 10:01:59,625 - DEBUG - ping -s 56 -c 3 -W 1 46.68.130.3 2025-06-17 10:02:02,849 - DEBUG - PING 46.68.130.3 (46.68.130.3): 56 data bytes 64 bytes from 46.68.130.3: seq=0 ttl=63 time=1.440 ms --- 46.68.130.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.440/1.440/1.440 ms 2025-06-17 10:02:02,849 - WARNING - Ping to IP 46.68.130.3 from VM ctest-TestBasicPolicy-36557853-87022615 failed 2025-06-17 10:02:02,849 - INFO - Deleting VM ctest-TestBasicPolicy-36557853-75292340 2025-06-17 10:02:02,937 - INFO - Deleting VM ctest-TestBasicPolicy-36557853-87022615 2025-06-17 10:02:03,408 - INFO - Deleted policy ctest-policy-allow-all-09029804 2025-06-17 10:02:03,408 - INFO - Deleting VN ctest-vn-00249427 2025-06-17 10:02:03,464 - DEBUG - VN 20ce82b5-b280-425b-afc6-1d02dfd38512 still in use: Unable to complete operation on network 20ce82b5-b280-425b-afc6-1d02dfd38512. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5166408a-7c87-4d1a-9180-85cf1cbc10b7'] 2025-06-17 10:02:03,464 - WARNING - Deleting VN ctest-vn-00249427 failed..Will retry 2025-06-17 10:02:05,611 - DEBUG - Response for deleting network () 2025-06-17 10:02:05,611 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d80a1c09-3fcb-41a4-bc3b-fcd4774947f9 2025-06-17 10:02:05,626 - DEBUG - Response Code: 404 2025-06-17 10:02:05,626 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:02:05,633 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:02:05,696 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:02:05,780 - INFO - Validated that VN ctest-vn-00249427 is not found in API Server 2025-06-17 10:02:05,795 - DEBUG - VN ctest-vn-00249427 is not present in Agent 10.0.0.38 2025-06-17 10:02:05,796 - INFO - Validated that VN ctest-vn-00249427 is not in any agent 2025-06-17 10:02:05,816 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00249427 info 2025-06-17 10:02:05,816 - INFO - Deleting VN ctest-vn-23421524 2025-06-17 10:02:05,957 - DEBUG - Response for deleting network () 2025-06-17 10:02:05,958 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e62ad4aa-d27b-462e-a838-8545fb5bfc7c 2025-06-17 10:02:05,967 - DEBUG - Response Code: 404 2025-06-17 10:02:05,968 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-17 10:02:05,974 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c2f90bdd-b8c3-4094-8599-98de64cbab3e 2025-06-17 10:02:06,033 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b142867-5322-41e8-aec5-f75d6d257dad 2025-06-17 10:02:06,113 - INFO - Validated that VN ctest-vn-23421524 is not found in API Server 2025-06-17 10:02:06,129 - DEBUG - VN ctest-vn-23421524 is not present in Agent 10.0.0.38 2025-06-17 10:02:06,129 - INFO - Validated that VN ctest-vn-23421524 is not in any agent 2025-06-17 10:02:06,150 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23421524 info 2025-06-17 10:02:06,427 - DEBUG - No XMPP flaps were noticed during the test 2025-06-17 10:02:06,427 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-06-17 10:02:06,427 - INFO - -------------------------------------------------------------------------------- 2025-06-17 10:02:07,196 - INFO - Deleted project: ctest-TestBasicPolicy-36557853, ID : 6b142867-5322-41e8-aec5-f75d6d257dad