2025-10-21 21:27:58,988 - INFO - Domain Default found not creating 2025-10-21 21:27:59,135 - INFO - Project ctest-TestBasicPolicy-92144210 not found, creating it 2025-10-21 21:27:59,570 - INFO - Created Project:ctest-TestBasicPolicy-92144210, ID : 00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:01,083 - INFO - ================================================================================ 2025-10-21 21:28:01,084 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 21:28:01,084 - 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-21 21:28:01,350 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-21 21:28:01,350 - INFO - Initial checks done. Running the testcase now 2025-10-21 21:28:01,350 - INFO - 2025-10-21 21:28:01,871 - DEBUG - Response for create_network : {'network': {'id': '2f8939be-7d96-4158-a282-635d6ba774d0', 'name': 'ctest-vn-71162272', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'project_id': '00be1f625e3d4dbf9bf783527525fb9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-vn-71162272'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:02,031 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a98bc0e-ec6d-47d7-a68c-025c94737028', 'name': '', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'network_id': '2f8939be-7d96-4158-a282-635d6ba774d0', 'ip_version': 4, 'cidr': '37.165.106.0/26', 'allocation_pools': [{'start': '37.165.106.2', 'end': '37.165.106.62'}], 'gateway_ip': '37.165.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.165.106.2', 'tags': [], 'project_id': '00be1f625e3d4dbf9bf783527525fb9e'}} 2025-10-21 21:28:02,050 - INFO - Created VN ctest-vn-71162272 2025-10-21 21:28:02,103 - DEBUG - VN ctest-vn-71162272 UUID is 2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:02,395 - DEBUG - Response for create_network : {'network': {'id': '2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca', 'name': 'ctest-vn-01703123', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'project_id': '00be1f625e3d4dbf9bf783527525fb9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-vn-01703123'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:02,567 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7b27030-d3fa-4965-8b4a-b49e740b0e7b', 'name': '', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'network_id': '2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca', 'ip_version': 4, 'cidr': '163.226.1.192/26', 'allocation_pools': [{'start': '163.226.1.194', 'end': '163.226.1.254'}], 'gateway_ip': '163.226.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.226.1.194', 'tags': [], 'project_id': '00be1f625e3d4dbf9bf783527525fb9e'}} 2025-10-21 21:28:02,584 - INFO - Created VN ctest-vn-01703123 2025-10-21 21:28:02,635 - DEBUG - VN ctest-vn-01703123 UUID is 2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:02,756 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272, 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-92144210:ctest-vn-01703123, 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-21 21:28:03,062 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2f8939be-7d96-4158-a282-635d6ba774d0', 'name': 'ctest-vn-71162272', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'project_id': '00be1f625e3d4dbf9bf783527525fb9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a98bc0e-ec6d-47d7-a68c-025c94737028'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-vn-71162272'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-policy-allow-all-64336845']], 'subnet_ipam': [{'subnet_cidr': '37.165.106.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:03,347 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca', 'name': 'ctest-vn-01703123', 'tenant_id': '00be1f625e3d4dbf9bf783527525fb9e', 'project_id': '00be1f625e3d4dbf9bf783527525fb9e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c7b27030-d3fa-4965-8b4a-b49e740b0e7b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-vn-01703123'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-policy-allow-all-64336845']], 'subnet_ipam': [{'subnet_cidr': '163.226.1.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 21:28:03,511 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:03,822 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:03,851 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:03,862 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:03,939 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:03,950 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:03,959 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:03,966 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:03,973 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/af19eb2b-6516-4dfa-9018-d876aeec992f 2025-10-21 21:28:03,978 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 21:28:03,978 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:03,986 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:03,998 - INFO - Verified VN network id 10 for VN 2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:03,998 - INFO - Verifications in API Server for VN ctest-vn-71162272 passed 2025-10-21 21:28:03,998 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:04,007 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:04,015 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:04,024 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/af19eb2b-6516-4dfa-9018-d876aeec992f 2025-10-21 21:28:04,036 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92144210', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3425332481905541464', 'uuid-lslong': '11710031234005955792'}, 'enable': 'true', 'created': '2025-10-21T21:28:01', 'last-modified': '2025-10-21T21:28:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999278'} 2025-10-21 21:28:04,041 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 21:28:04,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71162272 passed 2025-10-21 21:28:04,042 - DEBUG - ====Verifying policy data for ctest-vn-71162272 in API_Server ====== 2025-10-21 21:28:04,042 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:04,047 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:04,057 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:04,125 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2f8939be-7d96-4158-a282-635d6ba774d0 2025-10-21 21:28:04,134 - DEBUG - ==>Verifying data for policy with id: 11c15be3-55d0-426d-b4f8-b2c41f8a07db, fqn: ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-policy-allow-all-64336845'] 2025-10-21 21:28:04,134 - INFO - VN ctest-vn-71162272 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 21:28:04,134 - DEBUG - Verifying the vn in opserver 2025-10-21 21:28:04,134 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272 virtual network link through opserver 10.0.0.254 2025-10-21 21:28:04,134 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 21:28:04,433 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 21:28:04,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272?flat'} 2025-10-21 21:28:04,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272 is found in opserver 2025-10-21 21:28:04,494 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 21:28:04,498 - DEBUG - VRF ids for VN ctest-vn-71162272: {} 2025-10-21 21:28:04,498 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:04,504 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:04,514 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:04,587 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,607 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:04,614 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:04,621 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0bfdee0-63fd-4336-8024-50b3cc131c86 2025-10-21 21:28:04,627 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 21:28:04,627 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,636 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:04,660 - INFO - Verified VN network id 11 for VN 2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,660 - INFO - Verifications in API Server for VN ctest-vn-01703123 passed 2025-10-21 21:28:04,660 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,669 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:04,676 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:04,683 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/d0bfdee0-63fd-4336-8024-50b3cc131c86 2025-10-21 21:28:04,694 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-01703123', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-92144210', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3331654828057513424', 'uuid-lslong': '9364924151608890314'}, 'enable': 'true', 'created': '2025-10-21T21:28:02', 'last-modified': '2025-10-21T21:28:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371328'} 2025-10-21 21:28:04,699 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 21:28:04,699 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01703123 passed 2025-10-21 21:28:04,699 - DEBUG - ====Verifying policy data for ctest-vn-01703123 in API_Server ====== 2025-10-21 21:28:04,699 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:04,705 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:04,716 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:04,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca 2025-10-21 21:28:04,792 - DEBUG - ==>Verifying data for policy with id: 11c15be3-55d0-426d-b4f8-b2c41f8a07db, fqn: ['default-domain', 'ctest-TestBasicPolicy-92144210', 'ctest-policy-allow-all-64336845'] 2025-10-21 21:28:04,793 - INFO - VN ctest-vn-01703123 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 21:28:04,793 - DEBUG - Verifying the vn in opserver 2025-10-21 21:28:04,793 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-01703123 virtual network link through opserver 10.0.0.254 2025-10-21 21:28:04,793 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-21 21:28:04,801 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-01703123', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-01703123?flat'} 2025-10-21 21:28:04,801 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-01703123 is found in opserver 2025-10-21 21:28:04,811 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 21:28:04,815 - DEBUG - VRF ids for VN ctest-vn-01703123: {} 2025-10-21 21:28:04,872 - DEBUG - Services list from nova: [, , ] 2025-10-21 21:28:06,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:28:07,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4408-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4408-1) 2025-10-21 21:28:07,224 - INFO - Waiting for VM ctest-TestBasicPolicy-92144210-56787791 to be up.. 2025-10-21 21:28:07,308 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 21:28:12,394 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:28:12,394 - INFO - VM name : ctest-TestBasicPolicy-92144210-56787791 2025-10-21 21:28:12,485 - DEBUG - VM ctest-TestBasicPolicy-92144210-56787791 ID is ec4f6e54-207a-40e1-9387-59a7e23e98e6 2025-10-21 21:28:12,503 - DEBUG - VM ctest-TestBasicPolicy-92144210-56787791 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:28:12,583 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/ec4f6e54-207a-40e1-9387-59a7e23e98e6 2025-10-21 21:28:12,593 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fd3f931f-1650-4347-a468-bc6829d429a5 2025-10-21 21:28:15,852 - 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 1015ms') 2025-10-21 21:28:15,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92144210-56787791 failed! 2025-10-21 21:28:15,907 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-92144210:ctest-vn-71162272 is 37.165.106.1 and allocation pool is NOT set 2025-10-21 21:28:17,968 - 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=8.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.737 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.737/4.435/8.133/3.698 ms') 2025-10-21 21:28:17,968 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-92144210-56787791 passed 2025-10-21 21:28:18,123 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:18,123 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92144210-56787791, IP 37.165.106.3, Port 22 2025-10-21 21:28:18,279 - DEBUG - VM ctest-TestBasicPolicy-92144210-56787791 is ready for SSH connections 2025-10-21 21:28:18,279 - INFO - Waiting for VM ctest-TestBasicPolicy-92144210-84890980 to be up.. 2025-10-21 21:28:18,357 - DEBUG - VM is in ACTIVE state now 2025-10-21 21:28:18,357 - INFO - VM name : ctest-TestBasicPolicy-92144210-84890980 2025-10-21 21:28:18,430 - DEBUG - VM ctest-TestBasicPolicy-92144210-84890980 ID is f3da74cc-b91b-4821-9201-23d3edff9aab 2025-10-21 21:28:18,430 - DEBUG - VM ctest-TestBasicPolicy-92144210-84890980 launched on Node cn-jenkins-deploy-platform-ansible-os-4408-1 2025-10-21 21:28:18,502 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/f3da74cc-b91b-4821-9201-23d3edff9aab 2025-10-21 21:28:18,510 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/40feb27d-1686-42e5-a22f-a788eb1db0cb 2025-10-21 21:28:19,754 - 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.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.18 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.182/3.296/4.411/1.114 ms') 2025-10-21 21:28:19,754 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-92144210-84890980 passed 2025-10-21 21:28:19,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:19,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-92144210-84890980, IP 163.226.1.195, Port 22 2025-10-21 21:28:20,058 - DEBUG - VM ctest-TestBasicPolicy-92144210-84890980 is ready for SSH connections 2025-10-21 21:28:20,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:20,059 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.226.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:28:20,059 - DEBUG - ping -s 56 -c 3 -W 1 163.226.1.195 2025-10-21 21:28:23,839 - DEBUG - PING 163.226.1.195 (163.226.1.195): 56 data bytes 64 bytes from 163.226.1.195: seq=0 ttl=63 time=4.614 ms 64 bytes from 163.226.1.195: seq=1 ttl=63 time=1.769 ms 64 bytes from 163.226.1.195: seq=2 ttl=63 time=1.667 ms --- 163.226.1.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.667/2.683/4.614 ms 2025-10-21 21:28:23,839 - INFO - Ping to IP 163.226.1.195 from VM ctest-TestBasicPolicy-92144210-56787791 passed 2025-10-21 21:28:24,014 - DEBUG - Policy Update Response {"network-policy": {"uuid": "11c15be3-55d0-426d-b4f8-b2c41f8a07db", "href": "http://10.0.0.254:8082/network-policy/11c15be3-55d0-426d-b4f8-b2c41f8a07db"}} 2025-10-21 21:28:24,015 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 21:28:24,015 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.226.1.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-21 21:28:24,015 - DEBUG - ping -s 56 -c 3 -W 1 163.226.1.195 2025-10-21 21:28:27,221 - DEBUG - PING 163.226.1.195 (163.226.1.195): 56 data bytes --- 163.226.1.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-21 21:28:27,221 - WARNING - Ping to IP 163.226.1.195 from VM ctest-TestBasicPolicy-92144210-56787791 failed 2025-10-21 21:28:27,221 - INFO - Deleting VM ctest-TestBasicPolicy-92144210-84890980 2025-10-21 21:28:27,296 - INFO - Deleting VM ctest-TestBasicPolicy-92144210-56787791 2025-10-21 21:28:27,685 - INFO - Deleted policy ctest-policy-allow-all-64336845 2025-10-21 21:28:27,686 - INFO - Deleting VN ctest-vn-01703123 2025-10-21 21:28:27,731 - DEBUG - VN 2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca still in use: Unable to complete operation on network 2e3c6a6a-0c95-4dd0-81f6-e4e5fd1fd3ca. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7dfaace8-e7d9-4dbc-ae34-67598bd5d50c'] 2025-10-21 21:28:27,731 - WARNING - Deleting VN ctest-vn-01703123 failed..Will retry 2025-10-21 21:28:29,824 - DEBUG - Response for deleting network () 2025-10-21 21:28:29,825 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/85188712-cac9-4c0e-9e59-0d5fe52ef374 2025-10-21 21:28:29,833 - DEBUG - Response Code: 404 2025-10-21 21:28:29,834 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:29,839 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:29,892 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:29,962 - INFO - Validated that VN ctest-vn-01703123 is not found in API Server 2025-10-21 21:28:29,973 - DEBUG - VN ctest-vn-01703123 is not present in Agent 10.0.0.254 2025-10-21 21:28:29,973 - INFO - Validated that VN ctest-vn-01703123 is not in any agent 2025-10-21 21:28:29,988 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01703123 info 2025-10-21 21:28:29,988 - INFO - Deleting VN ctest-vn-71162272 2025-10-21 21:28:30,082 - DEBUG - Response for deleting network () 2025-10-21 21:28:30,082 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ff5ca8f5-fca3-4112-924d-7f1cf69d1453 2025-10-21 21:28:30,087 - DEBUG - Response Code: 404 2025-10-21 21:28:30,088 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-21 21:28:30,093 - DEBUG - Requesting: http://10.0.0.254:8082/domain/98eb14d4-90e8-40a6-bb66-e927fceca62e 2025-10-21 21:28:30,148 - DEBUG - Requesting: http://10.0.0.254:8082/project/00be1f62-5e3d-4dbf-9bf7-83527525fb9e 2025-10-21 21:28:30,215 - INFO - Validated that VN ctest-vn-71162272 is not found in API Server 2025-10-21 21:28:30,227 - DEBUG - VN ctest-vn-71162272 is not present in Agent 10.0.0.254 2025-10-21 21:28:30,227 - INFO - Validated that VN ctest-vn-71162272 is not in any agent 2025-10-21 21:28:30,240 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71162272 info 2025-10-21 21:28:30,496 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 21:28:30,496 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-21 21:28:30,496 - INFO - -------------------------------------------------------------------------------- 2025-10-21 21:28:31,176 - INFO - Deleted project: ctest-TestBasicPolicy-92144210, ID : 00be1f62-5e3d-4dbf-9bf7-83527525fb9e