2025-10-22 15:11:53,585 - INFO - Domain Default found not creating 2025-10-22 15:11:53,952 - INFO - Project ctest-TestBasicPolicy-58454347 not found, creating it 2025-10-22 15:11:54,598 - INFO - Created Project:ctest-TestBasicPolicy-58454347, ID : 636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:11:56,635 - INFO - ================================================================================ 2025-10-22 15:11:56,635 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-22 15:11:56,636 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-10-22 15:11:56,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with 2025-10-22 15:11:56,929 - INFO - Initial checks done. Running the testcase now 2025-10-22 15:11:56,929 - INFO - 2025-10-22 15:11:57,681 - DEBUG - Response for create_network : {'network': {'id': '2705e7b5-a456-4bd0-b9f9-bc9b2571acf5', 'name': 'ctest-vn-55260470', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'project_id': '636bfbdc58054c9785a34a660f9c8808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-vn-55260470'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:57,925 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc467a1a-7bd1-4239-8311-f889e54e4730', 'name': '', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'network_id': '2705e7b5-a456-4bd0-b9f9-bc9b2571acf5', 'ip_version': 4, 'cidr': '137.12.231.0/26', 'allocation_pools': [{'start': '137.12.231.2', 'end': '137.12.231.62'}], 'gateway_ip': '137.12.231.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.12.231.2', 'tags': [], 'project_id': '636bfbdc58054c9785a34a660f9c8808'}} 2025-10-22 15:11:57,947 - INFO - Created VN ctest-vn-55260470 2025-10-22 15:11:58,002 - DEBUG - VN ctest-vn-55260470 UUID is 2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:11:58,498 - DEBUG - Response for create_network : {'network': {'id': '6a56f2b2-0367-4255-8c71-7a4f02458935', 'name': 'ctest-vn-43990069', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'project_id': '636bfbdc58054c9785a34a660f9c8808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-vn-43990069'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:58,740 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7d17557-d7a6-4350-9267-061bc14522f0', 'name': '', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'network_id': '6a56f2b2-0367-4255-8c71-7a4f02458935', 'ip_version': 4, 'cidr': '114.110.83.192/26', 'allocation_pools': [{'start': '114.110.83.194', 'end': '114.110.83.254'}], 'gateway_ip': '114.110.83.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.110.83.194', 'tags': [], 'project_id': '636bfbdc58054c9785a34a660f9c8808'}} 2025-10-22 15:11:58,765 - INFO - Created VN ctest-vn-43990069 2025-10-22 15:11:58,821 - DEBUG - VN ctest-vn-43990069 UUID is 6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:11:58,968 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470, 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-58454347:ctest-vn-43990069, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-10-22 15:11:59,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2705e7b5-a456-4bd0-b9f9-bc9b2571acf5', 'name': 'ctest-vn-55260470', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'project_id': '636bfbdc58054c9785a34a660f9c8808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dc467a1a-7bd1-4239-8311-f889e54e4730'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-vn-55260470'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-policy-allow-all-42163713']], 'subnet_ipam': [{'subnet_cidr': '137.12.231.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:59,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a56f2b2-0367-4255-8c71-7a4f02458935', 'name': 'ctest-vn-43990069', 'tenant_id': '636bfbdc58054c9785a34a660f9c8808', 'project_id': '636bfbdc58054c9785a34a660f9c8808', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7d17557-d7a6-4350-9267-061bc14522f0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-vn-43990069'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-policy-allow-all-42163713']], 'subnet_ipam': [{'subnet_cidr': '114.110.83.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-22 15:11:59,777 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:00,102 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:00,136 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:00,153 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:00,244 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,266 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,284 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:00,298 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:00,312 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b12c327-54ed-41a4-b794-03cd38bd82c8 2025-10-22 15:12:00,323 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 15:12:00,323 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,342 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:00,365 - INFO - Verified VN network id 10 for VN 2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,365 - INFO - Verifications in API Server for VN ctest-vn-55260470 passed 2025-10-22 15:12:00,365 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,381 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:00,390 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:00,397 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/4b12c327-54ed-41a4-b794-03cd38bd82c8 2025-10-22 15:12:00,413 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58454347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2811908309694958544', 'uuid-lslong': '13400949540751781109'}, 'enable': 'true', 'created': '2025-10-22T15:11:57', 'last-modified': '2025-10-22T15:11:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.119303'} 2025-10-22 15:12:00,422 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-22 15:12:00,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55260470 passed 2025-10-22 15:12:00,423 - DEBUG - ====Verifying policy data for ctest-vn-55260470 in API_Server ====== 2025-10-22 15:12:00,423 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:00,431 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:00,446 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:00,547 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/2705e7b5-a456-4bd0-b9f9-bc9b2571acf5 2025-10-22 15:12:00,561 - DEBUG - ==>Verifying data for policy with id: 8a717b23-df66-42cf-8bfc-9c01914fd082, fqn: ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-policy-allow-all-42163713'] 2025-10-22 15:12:00,562 - INFO - VN ctest-vn-55260470 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 15:12:00,562 - DEBUG - Verifying the vn in opserver 2025-10-22 15:12:00,562 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470 virtual network link through opserver 10.0.0.141 2025-10-22 15:12:00,562 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 15:12:00,913 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 15:12:00,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470?flat'} 2025-10-22 15:12:00,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470 is found in opserver 2025-10-22 15:12:01,005 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 15:12:01,015 - DEBUG - VRF ids for VN ctest-vn-55260470: {} 2025-10-22 15:12:01,015 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:01,022 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:01,038 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:01,133 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,154 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,167 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:01,178 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:01,189 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3d997f64-367b-49e9-ad08-518f755d5194 2025-10-22 15:12:01,199 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 15:12:01,199 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,211 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:01,229 - INFO - Verified VN network id 11 for VN 6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,229 - INFO - Verifications in API Server for VN ctest-vn-43990069 passed 2025-10-22 15:12:01,229 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,243 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:01,253 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:01,262 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/3d997f64-367b-49e9-ad08-518f755d5194 2025-10-22 15:12:01,283 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-43990069', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58454347', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7662578662392676949', 'uuid-lslong': '10120004317437331765'}, 'enable': 'true', 'created': '2025-10-22T15:11:58', 'last-modified': '2025-10-22T15:11:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.722181'} 2025-10-22 15:12:01,296 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-22 15:12:01,296 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43990069 passed 2025-10-22 15:12:01,297 - DEBUG - ====Verifying policy data for ctest-vn-43990069 in API_Server ====== 2025-10-22 15:12:01,297 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:01,307 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:01,328 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:01,434 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/6a56f2b2-0367-4255-8c71-7a4f02458935 2025-10-22 15:12:01,448 - DEBUG - ==>Verifying data for policy with id: 8a717b23-df66-42cf-8bfc-9c01914fd082, fqn: ['default-domain', 'ctest-TestBasicPolicy-58454347', 'ctest-policy-allow-all-42163713'] 2025-10-22 15:12:01,448 - INFO - VN ctest-vn-43990069 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-22 15:12:01,448 - DEBUG - Verifying the vn in opserver 2025-10-22 15:12:01,448 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-43990069 virtual network link through opserver 10.0.0.141 2025-10-22 15:12:01,448 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-10-22 15:12:01,463 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-43990069', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-43990069?flat'} 2025-10-22 15:12:01,463 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-43990069 is found in opserver 2025-10-22 15:12:01,485 - DEBUG - Do not have enough data to verify VN in agent 2025-10-22 15:12:01,495 - DEBUG - VRF ids for VN ctest-vn-43990069: {} 2025-10-22 15:12:01,595 - DEBUG - Services list from nova: [, , ] 2025-10-22 15:12:02,984 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:12:04,352 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4433-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4433-1) 2025-10-22 15:12:04,352 - INFO - Waiting for VM ctest-TestBasicPolicy-58454347-70412706 to be up.. 2025-10-22 15:12:04,445 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 15:12:09,574 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:12:09,574 - INFO - VM name : ctest-TestBasicPolicy-58454347-70412706 2025-10-22 15:12:09,664 - DEBUG - VM ctest-TestBasicPolicy-58454347-70412706 ID is e38c3853-4318-414f-8f4e-b7c5f4e07f26 2025-10-22 15:12:09,688 - DEBUG - VM ctest-TestBasicPolicy-58454347-70412706 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:12:09,800 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e38c3853-4318-414f-8f4e-b7c5f4e07f26 2025-10-22 15:12:09,812 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/6d37d8bb-8b05-4860-b60c-93cddd8118d1 2025-10-22 15:12:13,097 - 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 1005ms') 2025-10-22 15:12:13,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58454347-70412706 failed! 2025-10-22 15:12:13,161 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58454347:ctest-vn-55260470 is 137.12.231.1 and allocation pool is NOT set 2025-10-22 15:12:17,263 - 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=2.88 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 2.880/2.880/2.880/0.000 ms') 2025-10-22 15:12:17,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58454347-70412706 passed 2025-10-22 15:12:17,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:12:17,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58454347-70412706, IP 137.12.231.3, Port 22 2025-10-22 15:12:17,599 - DEBUG - VM ctest-TestBasicPolicy-58454347-70412706 is ready for SSH connections 2025-10-22 15:12:17,599 - INFO - Waiting for VM ctest-TestBasicPolicy-58454347-02047040 to be up.. 2025-10-22 15:12:17,711 - DEBUG - VM is in ACTIVE state now 2025-10-22 15:12:17,711 - INFO - VM name : ctest-TestBasicPolicy-58454347-02047040 2025-10-22 15:12:17,820 - DEBUG - VM ctest-TestBasicPolicy-58454347-02047040 ID is f026989f-cef3-4446-b7fd-a586ab63c6fc 2025-10-22 15:12:17,820 - DEBUG - VM ctest-TestBasicPolicy-58454347-02047040 launched on Node cn-jenkins-deploy-platform-ansible-os-4433-1 2025-10-22 15:12:17,930 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/f026989f-cef3-4446-b7fd-a586ab63c6fc 2025-10-22 15:12:17,940 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f75b68ed-487c-4a0e-acad-4930aeb1833b 2025-10-22 15:12:19,199 - 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.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.622 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.622/3.556/6.490/2.934 ms') 2025-10-22 15:12:19,199 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58454347-02047040 passed 2025-10-22 15:12:19,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:12:19,374 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58454347-02047040, IP 114.110.83.195, Port 22 2025-10-22 15:12:19,558 - DEBUG - VM ctest-TestBasicPolicy-58454347-02047040 is ready for SSH connections 2025-10-22 15:12:19,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:12:19,558 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.110.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:12:19,558 - DEBUG - ping -s 56 -c 3 -W 1 114.110.83.195 2025-10-22 15:12:23,812 - DEBUG - PING 114.110.83.195 (114.110.83.195): 56 data bytes 64 bytes from 114.110.83.195: seq=0 ttl=63 time=3.600 ms 64 bytes from 114.110.83.195: seq=1 ttl=63 time=1.508 ms 64 bytes from 114.110.83.195: seq=2 ttl=63 time=1.583 ms --- 114.110.83.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.508/2.230/3.600 ms 2025-10-22 15:12:23,812 - INFO - Ping to IP 114.110.83.195 from VM ctest-TestBasicPolicy-58454347-70412706 passed 2025-10-22 15:12:24,041 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8a717b23-df66-42cf-8bfc-9c01914fd082", "href": "http://10.0.0.141:8082/network-policy/8a717b23-df66-42cf-8bfc-9c01914fd082"}} 2025-10-22 15:12:24,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 15:12:24,041 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 114.110.83.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-22 15:12:24,042 - DEBUG - ping -s 56 -c 3 -W 1 114.110.83.195 2025-10-22 15:12:27,325 - DEBUG - PING 114.110.83.195 (114.110.83.195): 56 data bytes --- 114.110.83.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-22 15:12:27,325 - WARNING - Ping to IP 114.110.83.195 from VM ctest-TestBasicPolicy-58454347-70412706 failed 2025-10-22 15:12:27,325 - INFO - Deleting VM ctest-TestBasicPolicy-58454347-02047040 2025-10-22 15:12:27,431 - INFO - Deleting VM ctest-TestBasicPolicy-58454347-70412706 2025-10-22 15:12:27,920 - INFO - Deleted policy ctest-policy-allow-all-42163713 2025-10-22 15:12:27,920 - INFO - Deleting VN ctest-vn-43990069 2025-10-22 15:12:27,956 - DEBUG - VN 6a56f2b2-0367-4255-8c71-7a4f02458935 still in use: Unable to complete operation on network 6a56f2b2-0367-4255-8c71-7a4f02458935. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-242168c7-dafe-4efa-b62a-9d1b4d40d7d2'] 2025-10-22 15:12:27,957 - WARNING - Deleting VN ctest-vn-43990069 failed..Will retry 2025-10-22 15:12:30,106 - DEBUG - Response for deleting network () 2025-10-22 15:12:30,106 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/25eb4226-765d-493a-84e4-b8d816006622 2025-10-22 15:12:30,116 - DEBUG - Response Code: 404 2025-10-22 15:12:30,116 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:30,127 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:30,186 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:30,262 - INFO - Validated that VN ctest-vn-43990069 is not found in API Server 2025-10-22 15:12:30,271 - DEBUG - VN ctest-vn-43990069 is not present in Agent 10.0.0.141 2025-10-22 15:12:30,271 - INFO - Validated that VN ctest-vn-43990069 is not in any agent 2025-10-22 15:12:30,287 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-43990069 info 2025-10-22 15:12:30,287 - INFO - Deleting VN ctest-vn-55260470 2025-10-22 15:12:30,390 - DEBUG - Response for deleting network () 2025-10-22 15:12:30,390 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/52b01ade-260e-467f-8382-b02db5a44280 2025-10-22 15:12:30,402 - DEBUG - Response Code: 404 2025-10-22 15:12:30,402 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-10-22 15:12:30,408 - DEBUG - Requesting: http://10.0.0.141:8082/domain/c541f812-44e9-4610-bcaa-caa2592141a4 2025-10-22 15:12:30,463 - DEBUG - Requesting: http://10.0.0.141:8082/project/636bfbdc-5805-4c97-85a3-4a660f9c8808 2025-10-22 15:12:30,538 - INFO - Validated that VN ctest-vn-55260470 is not found in API Server 2025-10-22 15:12:30,548 - DEBUG - VN ctest-vn-55260470 is not present in Agent 10.0.0.141 2025-10-22 15:12:30,548 - INFO - Validated that VN ctest-vn-55260470 is not in any agent 2025-10-22 15:12:30,565 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55260470 info 2025-10-22 15:12:30,875 - DEBUG - No XMPP flaps were noticed during the test 2025-10-22 15:12:30,876 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-10-22 15:12:30,876 - INFO - -------------------------------------------------------------------------------- 2025-10-22 15:12:31,738 - INFO - Deleted project: ctest-TestBasicPolicy-58454347, ID : 636bfbdc-5805-4c97-85a3-4a660f9c8808