2025-10-09 14:36:44,785 - INFO - Domain Default found not creating 2025-10-09 14:36:44,915 - INFO - Project ctest-TestBasicPolicy-15399754 not found, creating it 2025-10-09 14:36:45,334 - INFO - Created Project:ctest-TestBasicPolicy-15399754, ID : 7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:36:46,680 - INFO - ================================================================================ 2025-10-09 14:36:46,680 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 14:36:46,680 - 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-09 14:36:46,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-09 14:36:46,933 - INFO - Initial checks done. Running the testcase now 2025-10-09 14:36:46,933 - INFO - 2025-10-09 14:36:47,464 - DEBUG - Response for create_network : {'network': {'id': '925bd791-ab2e-454b-9a3a-eeedb81f7617', 'name': 'ctest-vn-58939617', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'project_id': '7739e12f6787492eac9ebb1e1d401763', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-vn-58939617'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:47,658 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd79b3a17-5230-4926-b072-9310947fbc35', 'name': '', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'network_id': '925bd791-ab2e-454b-9a3a-eeedb81f7617', 'ip_version': 4, 'cidr': '7.173.162.128/26', 'allocation_pools': [{'start': '7.173.162.130', 'end': '7.173.162.190'}], 'gateway_ip': '7.173.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.173.162.130', 'tags': [], 'project_id': '7739e12f6787492eac9ebb1e1d401763'}} 2025-10-09 14:36:47,677 - INFO - Created VN ctest-vn-58939617 2025-10-09 14:36:47,728 - DEBUG - VN ctest-vn-58939617 UUID is 925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:48,029 - DEBUG - Response for create_network : {'network': {'id': 'd348fa8f-b017-4656-9080-ccc606226f81', 'name': 'ctest-vn-73803825', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'project_id': '7739e12f6787492eac9ebb1e1d401763', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-vn-73803825'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:48,174 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ceeaa144-5adf-4eed-9bed-2375abd65ab4', 'name': '', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'network_id': 'd348fa8f-b017-4656-9080-ccc606226f81', 'ip_version': 4, 'cidr': '100.31.251.0/26', 'allocation_pools': [{'start': '100.31.251.2', 'end': '100.31.251.62'}], 'gateway_ip': '100.31.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.31.251.2', 'tags': [], 'project_id': '7739e12f6787492eac9ebb1e1d401763'}} 2025-10-09 14:36:48,191 - INFO - Created VN ctest-vn-73803825 2025-10-09 14:36:48,248 - DEBUG - VN ctest-vn-73803825 UUID is d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:48,363 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617, 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-15399754:ctest-vn-73803825, 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-09 14:36:48,657 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '925bd791-ab2e-454b-9a3a-eeedb81f7617', 'name': 'ctest-vn-58939617', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'project_id': '7739e12f6787492eac9ebb1e1d401763', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d79b3a17-5230-4926-b072-9310947fbc35'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-vn-58939617'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-policy-allow-all-94709715']], 'subnet_ipam': [{'subnet_cidr': '7.173.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:48,875 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd348fa8f-b017-4656-9080-ccc606226f81', 'name': 'ctest-vn-73803825', 'tenant_id': '7739e12f6787492eac9ebb1e1d401763', 'project_id': '7739e12f6787492eac9ebb1e1d401763', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ceeaa144-5adf-4eed-9bed-2375abd65ab4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-vn-73803825'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-policy-allow-all-94709715']], 'subnet_ipam': [{'subnet_cidr': '100.31.251.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 14:36:49,048 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:36:49,337 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:36:49,363 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:36:49,374 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:36:49,443 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,452 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,460 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:36:49,466 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:36:49,471 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/dbc361e7-4181-4dc3-8bb8-b5a0870a7d92 2025-10-09 14:36:49,476 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:36:49,476 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,484 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:36:49,495 - INFO - Verified VN network id 12 for VN 925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,495 - INFO - Verifications in API Server for VN ctest-vn-58939617 passed 2025-10-09 14:36:49,495 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,502 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:36:49,508 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:36:49,513 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/dbc361e7-4181-4dc3-8bb8-b5a0870a7d92 2025-10-09 14:36:49,523 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15399754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10546259973060314443', 'uuid-lslong': '11113457735253849623'}, 'enable': 'true', 'created': '2025-10-09T14:36:47', 'last-modified': '2025-10-09T14:36:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895837'} 2025-10-09 14:36:49,528 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 14:36:49,529 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58939617 passed 2025-10-09 14:36:49,529 - DEBUG - ====Verifying policy data for ctest-vn-58939617 in API_Server ====== 2025-10-09 14:36:49,529 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:36:49,534 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:36:49,544 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:36:49,614 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/925bd791-ab2e-454b-9a3a-eeedb81f7617 2025-10-09 14:36:49,623 - DEBUG - ==>Verifying data for policy with id: 52487d0f-8cdb-4905-9c8d-d493e1fc1007, fqn: ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-policy-allow-all-94709715'] 2025-10-09 14:36:49,623 - INFO - VN ctest-vn-58939617 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:36:49,623 - DEBUG - Verifying the vn in opserver 2025-10-09 14:36:49,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617 virtual network link through opserver 10.0.0.65 2025-10-09 14:36:49,623 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-09 14:36:49,914 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-09 14:36:49,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617?flat'} 2025-10-09 14:36:49,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617 is found in opserver 2025-10-09 14:36:49,977 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:36:49,981 - DEBUG - VRF ids for VN ctest-vn-58939617: {} 2025-10-09 14:36:49,981 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:36:49,986 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:36:49,995 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:36:50,064 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,074 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,081 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:36:50,087 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:36:50,093 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/accbabe6-17c1-4a20-afa3-b385c3ec42dc 2025-10-09 14:36:50,098 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:36:50,098 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,107 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:36:50,118 - INFO - Verified VN network id 13 for VN d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,118 - INFO - Verifications in API Server for VN ctest-vn-73803825 passed 2025-10-09 14:36:50,118 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,126 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:36:50,132 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:36:50,137 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/accbabe6-17c1-4a20-afa3-b385c3ec42dc 2025-10-09 14:36:50,147 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-73803825', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-15399754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15224694035367544406', 'uuid-lslong': '10412547489359097729'}, 'enable': 'true', 'created': '2025-10-09T14:36:48', 'last-modified': '2025-10-09T14:36:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288241'} 2025-10-09 14:36:50,152 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 14:36:50,152 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73803825 passed 2025-10-09 14:36:50,152 - DEBUG - ====Verifying policy data for ctest-vn-73803825 in API_Server ====== 2025-10-09 14:36:50,152 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:36:50,157 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:36:50,167 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:36:50,239 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/d348fa8f-b017-4656-9080-ccc606226f81 2025-10-09 14:36:50,250 - DEBUG - ==>Verifying data for policy with id: 52487d0f-8cdb-4905-9c8d-d493e1fc1007, fqn: ['default-domain', 'ctest-TestBasicPolicy-15399754', 'ctest-policy-allow-all-94709715'] 2025-10-09 14:36:50,250 - INFO - VN ctest-vn-73803825 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 14:36:50,250 - DEBUG - Verifying the vn in opserver 2025-10-09 14:36:50,250 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-73803825 virtual network link through opserver 10.0.0.65 2025-10-09 14:36:50,250 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-09 14:36:50,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-73803825', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-73803825?flat'} 2025-10-09 14:36:50,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-73803825 is found in opserver 2025-10-09 14:36:50,270 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 14:36:50,276 - DEBUG - VRF ids for VN ctest-vn-73803825: {} 2025-10-09 14:36:50,328 - DEBUG - Services list from nova: [, , ] 2025-10-09 14:36:51,314 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:36:52,393 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4263-1) 2025-10-09 14:36:52,393 - INFO - Waiting for VM ctest-TestBasicPolicy-15399754-40659272 to be up.. 2025-10-09 14:36:52,466 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 14:36:57,535 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:36:57,535 - INFO - VM name : ctest-TestBasicPolicy-15399754-40659272 2025-10-09 14:36:57,601 - DEBUG - VM ctest-TestBasicPolicy-15399754-40659272 ID is f4df8935-1f95-4560-b781-2f18546e02df 2025-10-09 14:36:57,618 - DEBUG - VM ctest-TestBasicPolicy-15399754-40659272 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:36:57,686 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/f4df8935-1f95-4560-b781-2f18546e02df 2025-10-09 14:36:57,695 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/fb9d9e0d-7e68-4850-bb23-5f97426b500e 2025-10-09 14:37:00,943 - 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 1019ms') 2025-10-09 14:37:00,943 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15399754-40659272 failed! 2025-10-09 14:37:01,000 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-15399754:ctest-vn-58939617 is 7.173.162.129 and allocation pool is NOT set 2025-10-09 14:37:03,064 - 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=2.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.425 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.425/1.568/2.711/1.143 ms') 2025-10-09 14:37:03,064 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-15399754-40659272 passed 2025-10-09 14:37:03,212 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:37:03,212 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15399754-40659272, IP 7.173.162.131, Port 22 2025-10-09 14:37:03,371 - DEBUG - VM ctest-TestBasicPolicy-15399754-40659272 is ready for SSH connections 2025-10-09 14:37:03,371 - INFO - Waiting for VM ctest-TestBasicPolicy-15399754-81966657 to be up.. 2025-10-09 14:37:03,442 - DEBUG - VM is in ACTIVE state now 2025-10-09 14:37:03,442 - INFO - VM name : ctest-TestBasicPolicy-15399754-81966657 2025-10-09 14:37:03,511 - DEBUG - VM ctest-TestBasicPolicy-15399754-81966657 ID is 8df867bf-de58-4255-9ca4-1aae89cf9867 2025-10-09 14:37:03,511 - DEBUG - VM ctest-TestBasicPolicy-15399754-81966657 launched on Node cn-jenkins-deploy-platform-ansible-os-4263-1 2025-10-09 14:37:03,579 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/8df867bf-de58-4255-9ca4-1aae89cf9867 2025-10-09 14:37:03,586 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/95f81467-e9cf-4af0-822f-6221b41682c1 2025-10-09 14:37:04,814 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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 = 0.436/1.606/2.776/1.170 ms') 2025-10-09 14:37:04,814 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-15399754-81966657 passed 2025-10-09 14:37:04,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:37:04,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-15399754-81966657, IP 100.31.251.3, Port 22 2025-10-09 14:37:05,119 - DEBUG - VM ctest-TestBasicPolicy-15399754-81966657 is ready for SSH connections 2025-10-09 14:37:05,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:37:05,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.31.251.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:37:05,120 - DEBUG - ping -s 56 -c 3 -W 1 100.31.251.3 2025-10-09 14:37:08,802 - DEBUG - PING 100.31.251.3 (100.31.251.3): 56 data bytes 64 bytes from 100.31.251.3: seq=0 ttl=63 time=3.830 ms 64 bytes from 100.31.251.3: seq=1 ttl=63 time=1.017 ms 64 bytes from 100.31.251.3: seq=2 ttl=63 time=0.764 ms --- 100.31.251.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.764/1.870/3.830 ms 2025-10-09 14:37:08,802 - INFO - Ping to IP 100.31.251.3 from VM ctest-TestBasicPolicy-15399754-40659272 passed 2025-10-09 14:37:08,976 - DEBUG - Policy Update Response {"network-policy": {"uuid": "52487d0f-8cdb-4905-9c8d-d493e1fc1007", "href": "http://10.0.0.65:8082/network-policy/52487d0f-8cdb-4905-9c8d-d493e1fc1007"}} 2025-10-09 14:37:08,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 14:37:08,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.31.251.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-09 14:37:08,976 - DEBUG - ping -s 56 -c 3 -W 1 100.31.251.3 2025-10-09 14:37:12,186 - DEBUG - PING 100.31.251.3 (100.31.251.3): 56 data bytes --- 100.31.251.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 14:37:12,186 - WARNING - Ping to IP 100.31.251.3 from VM ctest-TestBasicPolicy-15399754-40659272 failed 2025-10-09 14:37:12,186 - INFO - Deleting VM ctest-TestBasicPolicy-15399754-81966657 2025-10-09 14:37:12,252 - INFO - Deleting VM ctest-TestBasicPolicy-15399754-40659272 2025-10-09 14:37:12,600 - INFO - Deleted policy ctest-policy-allow-all-94709715 2025-10-09 14:37:12,600 - INFO - Deleting VN ctest-vn-73803825 2025-10-09 14:37:12,633 - DEBUG - VN d348fa8f-b017-4656-9080-ccc606226f81 still in use: Unable to complete operation on network d348fa8f-b017-4656-9080-ccc606226f81. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5695c7a0-b823-461b-8c54-79dedb4bf980'] 2025-10-09 14:37:12,634 - WARNING - Deleting VN ctest-vn-73803825 failed..Will retry 2025-10-09 14:37:14,732 - DEBUG - Response for deleting network () 2025-10-09 14:37:14,732 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/ab077574-8d29-41b4-bccd-8b19912de683 2025-10-09 14:37:14,738 - DEBUG - Response Code: 404 2025-10-09 14:37:14,739 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:37:14,744 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:37:14,797 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:37:14,867 - INFO - Validated that VN ctest-vn-73803825 is not found in API Server 2025-10-09 14:37:14,877 - DEBUG - VN ctest-vn-73803825 is not present in Agent 10.0.0.65 2025-10-09 14:37:14,877 - INFO - Validated that VN ctest-vn-73803825 is not in any agent 2025-10-09 14:37:14,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73803825 info 2025-10-09 14:37:14,889 - INFO - Deleting VN ctest-vn-58939617 2025-10-09 14:37:14,986 - DEBUG - Response for deleting network () 2025-10-09 14:37:14,987 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/55b81e91-6dc3-4ad9-813b-9f31153f5a96 2025-10-09 14:37:14,994 - DEBUG - Response Code: 404 2025-10-09 14:37:14,994 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-09 14:37:14,999 - DEBUG - Requesting: http://10.0.0.65:8082/domain/196a0794-311a-49e8-ae7d-8cb35758b0a2 2025-10-09 14:37:15,052 - DEBUG - Requesting: http://10.0.0.65:8082/project/7739e12f-6787-492e-ac9e-bb1e1d401763 2025-10-09 14:37:15,120 - INFO - Validated that VN ctest-vn-58939617 is not found in API Server 2025-10-09 14:37:15,130 - DEBUG - VN ctest-vn-58939617 is not present in Agent 10.0.0.65 2025-10-09 14:37:15,130 - INFO - Validated that VN ctest-vn-58939617 is not in any agent 2025-10-09 14:37:15,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58939617 info 2025-10-09 14:37:15,396 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 14:37:15,397 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 14:37:15,397 - INFO - -------------------------------------------------------------------------------- 2025-10-09 14:37:16,068 - INFO - Deleted project: ctest-TestBasicPolicy-15399754, ID : 7739e12f-6787-492e-ac9e-bb1e1d401763