2025-10-21 16:25:07,783 - INFO - Domain Default found not creating 2025-10-21 16:25:07,911 - INFO - Project ctest-TestBasicPolicy-56328184 not found, creating it 2025-10-21 16:25:08,360 - INFO - Created Project:ctest-TestBasicPolicy-56328184, ID : 65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:09,693 - INFO - ================================================================================ 2025-10-21 16:25:09,694 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-21 16:25:09,694 - 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 16:25:09,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-10-21 16:25:09,949 - INFO - Initial checks done. Running the testcase now 2025-10-21 16:25:09,949 - INFO - 2025-10-21 16:25:10,465 - DEBUG - Response for create_network : {'network': {'id': '7853e78f-2577-468b-b810-6be5dd9d4b9e', 'name': 'ctest-vn-65920429', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'project_id': '653469294c3c4d04973523ab301c4be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-vn-65920429'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:25:10,671 - DEBUG - Response for create_subnet : {'subnet': {'id': '532a5882-abf3-43df-aa68-d2e6dd07b6c0', 'name': '', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'network_id': '7853e78f-2577-468b-b810-6be5dd9d4b9e', 'ip_version': 4, 'cidr': '2.140.31.0/26', 'allocation_pools': [{'start': '2.140.31.2', 'end': '2.140.31.62'}], 'gateway_ip': '2.140.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.140.31.2', 'tags': [], 'project_id': '653469294c3c4d04973523ab301c4be1'}} 2025-10-21 16:25:10,685 - INFO - Created VN ctest-vn-65920429 2025-10-21 16:25:10,735 - DEBUG - VN ctest-vn-65920429 UUID is 7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:11,023 - DEBUG - Response for create_network : {'network': {'id': '3a1a4095-58e7-43e3-9d68-d437cf1f00fa', 'name': 'ctest-vn-90504738', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'project_id': '653469294c3c4d04973523ab301c4be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-vn-90504738'], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:25:11,171 - DEBUG - Response for create_subnet : {'subnet': {'id': '529ed128-f021-425c-a42a-6c04d7158b06', 'name': '', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'network_id': '3a1a4095-58e7-43e3-9d68-d437cf1f00fa', 'ip_version': 4, 'cidr': '9.169.119.64/26', 'allocation_pools': [{'start': '9.169.119.66', 'end': '9.169.119.126'}], 'gateway_ip': '9.169.119.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.169.119.66', 'tags': [], 'project_id': '653469294c3c4d04973523ab301c4be1'}} 2025-10-21 16:25:11,187 - INFO - Created VN ctest-vn-90504738 2025-10-21 16:25:11,243 - DEBUG - VN ctest-vn-90504738 UUID is 3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:11,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429, 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-56328184:ctest-vn-90504738, 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 16:25:11,670 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7853e78f-2577-468b-b810-6be5dd9d4b9e', 'name': 'ctest-vn-65920429', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'project_id': '653469294c3c4d04973523ab301c4be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['532a5882-abf3-43df-aa68-d2e6dd07b6c0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-vn-65920429'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-policy-allow-all-57179362']], 'subnet_ipam': [{'subnet_cidr': '2.140.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:25:11,888 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3a1a4095-58e7-43e3-9d68-d437cf1f00fa', 'name': 'ctest-vn-90504738', 'tenant_id': '653469294c3c4d04973523ab301c4be1', 'project_id': '653469294c3c4d04973523ab301c4be1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['529ed128-f021-425c-a42a-6c04d7158b06'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-vn-90504738'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-policy-allow-all-57179362']], 'subnet_ipam': [{'subnet_cidr': '9.169.119.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-21 16:25:12,051 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:12,339 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:12,363 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:12,373 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:12,444 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,454 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,461 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:12,467 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:12,472 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4d1c5f75-fc35-46a0-81a8-e370d8b2b13b 2025-10-21 16:25:12,477 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 16:25:12,477 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,483 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:12,494 - INFO - Verified VN network id 12 for VN 7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,494 - INFO - Verifications in API Server for VN ctest-vn-65920429 passed 2025-10-21 16:25:12,494 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,501 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:12,506 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:12,510 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/4d1c5f75-fc35-46a0-81a8-e370d8b2b13b 2025-10-21 16:25:12,520 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56328184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8670528309613250187', 'uuid-lslong': '13263219537615866782'}, 'enable': 'true', 'created': '2025-10-21T16:25:10', 'last-modified': '2025-10-21T16:25:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.869240'} 2025-10-21 16:25:12,525 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-21 16:25:12,525 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65920429 passed 2025-10-21 16:25:12,525 - DEBUG - ====Verifying policy data for ctest-vn-65920429 in API_Server ====== 2025-10-21 16:25:12,525 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:12,529 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:12,538 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:12,603 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/7853e78f-2577-468b-b810-6be5dd9d4b9e 2025-10-21 16:25:12,611 - DEBUG - ==>Verifying data for policy with id: 5efa50b2-153f-4ba0-9939-7bdcab4b2237, fqn: ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-policy-allow-all-57179362'] 2025-10-21 16:25:12,612 - INFO - VN ctest-vn-65920429 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 16:25:12,612 - DEBUG - Verifying the vn in opserver 2025-10-21 16:25:12,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429 virtual network link through opserver 10.0.0.242 2025-10-21 16:25:12,612 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 16:25:12,906 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 16:25:12,962 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429?flat'} 2025-10-21 16:25:12,962 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429 is found in opserver 2025-10-21 16:25:12,970 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 16:25:12,973 - DEBUG - VRF ids for VN ctest-vn-65920429: {} 2025-10-21 16:25:12,974 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:12,978 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:12,987 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:13,052 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,062 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,070 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:13,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:13,080 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a23b2617-2152-4ce4-8588-1f42ecc8944b 2025-10-21 16:25:13,085 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 16:25:13,085 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,092 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:13,102 - INFO - Verified VN network id 13 for VN 3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,102 - INFO - Verifications in API Server for VN ctest-vn-90504738 passed 2025-10-21 16:25:13,102 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,109 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:13,114 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:13,119 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a23b2617-2152-4ce4-8588-1f42ecc8944b 2025-10-21 16:25:13,127 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-90504738', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-56328184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4186729813780153315', 'uuid-lslong': '11342548997695799546'}, 'enable': 'true', 'created': '2025-10-21T16:25:10', 'last-modified': '2025-10-21T16:25:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.258149'} 2025-10-21 16:25:13,132 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-21 16:25:13,132 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90504738 passed 2025-10-21 16:25:13,132 - DEBUG - ====Verifying policy data for ctest-vn-90504738 in API_Server ====== 2025-10-21 16:25:13,132 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:13,136 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:13,144 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:13,209 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3a1a4095-58e7-43e3-9d68-d437cf1f00fa 2025-10-21 16:25:13,216 - DEBUG - ==>Verifying data for policy with id: 5efa50b2-153f-4ba0-9939-7bdcab4b2237, fqn: ['default-domain', 'ctest-TestBasicPolicy-56328184', 'ctest-policy-allow-all-57179362'] 2025-10-21 16:25:13,216 - INFO - VN ctest-vn-90504738 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-21 16:25:13,216 - DEBUG - Verifying the vn in opserver 2025-10-21 16:25:13,216 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-90504738 virtual network link through opserver 10.0.0.242 2025-10-21 16:25:13,216 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-10-21 16:25:13,224 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-90504738', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-90504738?flat'} 2025-10-21 16:25:13,224 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-90504738 is found in opserver 2025-10-21 16:25:13,232 - DEBUG - Do not have enough data to verify VN in agent 2025-10-21 16:25:13,236 - DEBUG - VRF ids for VN ctest-vn-90504738: {} 2025-10-21 16:25:13,285 - DEBUG - Services list from nova: [, , ] 2025-10-21 16:25:14,238 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:25:15,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4398-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4398-1) 2025-10-21 16:25:15,262 - INFO - Waiting for VM ctest-TestBasicPolicy-56328184-70724556 to be up.. 2025-10-21 16:25:15,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-21 16:25:20,401 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:25:20,401 - INFO - VM name : ctest-TestBasicPolicy-56328184-70724556 2025-10-21 16:25:20,465 - DEBUG - VM ctest-TestBasicPolicy-56328184-70724556 ID is f1fd9e36-7578-4993-832f-31fb8a837770 2025-10-21 16:25:20,482 - DEBUG - VM ctest-TestBasicPolicy-56328184-70724556 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:25:20,545 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f1fd9e36-7578-4993-832f-31fb8a837770 2025-10-21 16:25:20,552 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/749c372c-d536-4ad8-83eb-a3111653386f 2025-10-21 16:25:23,796 - 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 1012ms') 2025-10-21 16:25:23,796 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56328184-70724556 failed! 2025-10-21 16:25:23,847 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-56328184:ctest-vn-65920429 is 2.140.31.1 and allocation pool is NOT set 2025-10-21 16:25:25,907 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.500/2.641/1.141 ms') 2025-10-21 16:25:25,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-56328184-70724556 passed 2025-10-21 16:25:26,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:25:26,055 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56328184-70724556, IP 2.140.31.3, Port 22 2025-10-21 16:25:26,214 - DEBUG - VM ctest-TestBasicPolicy-56328184-70724556 is ready for SSH connections 2025-10-21 16:25:26,214 - INFO - Waiting for VM ctest-TestBasicPolicy-56328184-50226988 to be up.. 2025-10-21 16:25:26,276 - DEBUG - VM is in ACTIVE state now 2025-10-21 16:25:26,276 - INFO - VM name : ctest-TestBasicPolicy-56328184-50226988 2025-10-21 16:25:26,337 - DEBUG - VM ctest-TestBasicPolicy-56328184-50226988 ID is a371d20d-364b-4e06-abab-3f7da7e267d3 2025-10-21 16:25:26,337 - DEBUG - VM ctest-TestBasicPolicy-56328184-50226988 launched on Node cn-jenkins-deploy-platform-ansible-os-4398-1 2025-10-21 16:25:26,400 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/a371d20d-364b-4e06-abab-3f7da7e267d3 2025-10-21 16:25:26,406 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d4b0f0a4-abbf-458a-b3ad-b67244046931 2025-10-21 16:25:27,633 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.330 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.330/2.074/3.819/1.744 ms') 2025-10-21 16:25:27,633 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-56328184-50226988 passed 2025-10-21 16:25:27,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:25:27,779 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-56328184-50226988, IP 9.169.119.67, Port 22 2025-10-21 16:25:27,934 - DEBUG - VM ctest-TestBasicPolicy-56328184-50226988 is ready for SSH connections 2025-10-21 16:25:27,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:25:27,934 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.169.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:25:27,934 - DEBUG - ping -s 56 -c 3 -W 1 9.169.119.67 2025-10-21 16:25:31,622 - DEBUG - PING 9.169.119.67 (9.169.119.67): 56 data bytes 64 bytes from 9.169.119.67: seq=0 ttl=63 time=3.513 ms 64 bytes from 9.169.119.67: seq=1 ttl=63 time=0.770 ms 64 bytes from 9.169.119.67: seq=2 ttl=63 time=0.774 ms --- 9.169.119.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.685/3.513 ms 2025-10-21 16:25:31,622 - INFO - Ping to IP 9.169.119.67 from VM ctest-TestBasicPolicy-56328184-70724556 passed 2025-10-21 16:25:31,795 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5efa50b2-153f-4ba0-9939-7bdcab4b2237", "href": "http://10.0.0.242:8082/network-policy/5efa50b2-153f-4ba0-9939-7bdcab4b2237"}} 2025-10-21 16:25:31,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-21 16:25:31,795 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 9.169.119.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-21 16:25:31,795 - DEBUG - ping -s 56 -c 3 -W 1 9.169.119.67 2025-10-21 16:25:34,994 - DEBUG - PING 9.169.119.67 (9.169.119.67): 56 data bytes 64 bytes from 9.169.119.67: seq=0 ttl=63 time=1.660 ms --- 9.169.119.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.660/1.660/1.660 ms 2025-10-21 16:25:34,994 - WARNING - Ping to IP 9.169.119.67 from VM ctest-TestBasicPolicy-56328184-70724556 failed 2025-10-21 16:25:34,994 - INFO - Deleting VM ctest-TestBasicPolicy-56328184-50226988 2025-10-21 16:25:35,051 - INFO - Deleting VM ctest-TestBasicPolicy-56328184-70724556 2025-10-21 16:25:35,380 - INFO - Deleted policy ctest-policy-allow-all-57179362 2025-10-21 16:25:35,380 - INFO - Deleting VN ctest-vn-90504738 2025-10-21 16:25:35,412 - DEBUG - VN 3a1a4095-58e7-43e3-9d68-d437cf1f00fa still in use: Unable to complete operation on network 3a1a4095-58e7-43e3-9d68-d437cf1f00fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a01f5ba3-48ad-473b-8530-538e6002b145'] 2025-10-21 16:25:35,412 - WARNING - Deleting VN ctest-vn-90504738 failed..Will retry 2025-10-21 16:25:37,509 - DEBUG - Response for deleting network () 2025-10-21 16:25:37,509 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/7a3b8361-7a8f-4dc5-8e89-738e214c619c 2025-10-21 16:25:37,513 - DEBUG - Response Code: 404 2025-10-21 16:25:37,513 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:37,517 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:37,568 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:37,632 - INFO - Validated that VN ctest-vn-90504738 is not found in API Server 2025-10-21 16:25:37,641 - DEBUG - VN ctest-vn-90504738 is not present in Agent 10.0.0.242 2025-10-21 16:25:37,641 - INFO - Validated that VN ctest-vn-90504738 is not in any agent 2025-10-21 16:25:37,653 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90504738 info 2025-10-21 16:25:37,653 - INFO - Deleting VN ctest-vn-65920429 2025-10-21 16:25:37,735 - DEBUG - Response for deleting network () 2025-10-21 16:25:37,735 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/f0162752-eed6-44ec-a659-02a8e15387d2 2025-10-21 16:25:37,739 - DEBUG - Response Code: 404 2025-10-21 16:25:37,739 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-10-21 16:25:37,745 - DEBUG - Requesting: http://10.0.0.242:8082/domain/5b25fb75-de48-4266-bd77-d5eed82093c5 2025-10-21 16:25:37,795 - DEBUG - Requesting: http://10.0.0.242:8082/project/65346929-4c3c-4d04-9735-23ab301c4be1 2025-10-21 16:25:37,863 - INFO - Validated that VN ctest-vn-65920429 is not found in API Server 2025-10-21 16:25:37,871 - DEBUG - VN ctest-vn-65920429 is not present in Agent 10.0.0.242 2025-10-21 16:25:37,871 - INFO - Validated that VN ctest-vn-65920429 is not in any agent 2025-10-21 16:25:37,883 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65920429 info 2025-10-21 16:25:38,135 - DEBUG - No XMPP flaps were noticed during the test 2025-10-21 16:25:38,135 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-21 16:25:38,135 - INFO - -------------------------------------------------------------------------------- 2025-10-21 16:25:39,005 - INFO - Deleted project: ctest-TestBasicPolicy-56328184, ID : 65346929-4c3c-4d04-9735-23ab301c4be1