2026-02-02 08:57:10,798 - INFO - Domain Default found not creating 2026-02-02 08:57:10,956 - INFO - Project ctest-TestBasicPolicy-59805969 not found, creating it 2026-02-02 08:57:11,401 - INFO - Created Project:ctest-TestBasicPolicy-59805969, ID : 28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:12,844 - INFO - ================================================================================ 2026-02-02 08:57:12,844 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 08:57:12,844 - 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 2026-02-02 08:57:13,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with 2026-02-02 08:57:13,101 - INFO - Initial checks done. Running the testcase now 2026-02-02 08:57:13,101 - INFO - 2026-02-02 08:57:13,644 - DEBUG - Response for create_network : {'network': {'id': '6c3204ee-77e4-467a-a811-57de84387387', 'name': 'ctest-vn-92779029', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'project_id': '28061efd81004c65b826697b81f74acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-vn-92779029'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 08:57:13,832 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7a787c5-1737-4440-b977-c3b989ebfbd8', 'name': '', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'network_id': '6c3204ee-77e4-467a-a811-57de84387387', 'ip_version': 4, 'cidr': '31.173.88.64/26', 'allocation_pools': [{'start': '31.173.88.66', 'end': '31.173.88.126'}], 'gateway_ip': '31.173.88.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.173.88.66', 'tags': [], 'project_id': '28061efd81004c65b826697b81f74acc'}} 2026-02-02 08:57:13,854 - INFO - Created VN ctest-vn-92779029 2026-02-02 08:57:13,904 - DEBUG - VN ctest-vn-92779029 UUID is 6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:14,211 - DEBUG - Response for create_network : {'network': {'id': '57c2c391-11f7-41a9-b96f-0e2b8332ae90', 'name': 'ctest-vn-16870444', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'project_id': '28061efd81004c65b826697b81f74acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-vn-16870444'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 08:57:14,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '67f51709-3319-44c7-94ae-0b7957d12871', 'name': '', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'network_id': '57c2c391-11f7-41a9-b96f-0e2b8332ae90', 'ip_version': 4, 'cidr': '21.139.214.0/26', 'allocation_pools': [{'start': '21.139.214.2', 'end': '21.139.214.62'}], 'gateway_ip': '21.139.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.139.214.2', 'tags': [], 'project_id': '28061efd81004c65b826697b81f74acc'}} 2026-02-02 08:57:14,373 - INFO - Created VN ctest-vn-16870444 2026-02-02 08:57:14,424 - DEBUG - VN ctest-vn-16870444 UUID is 57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:14,576 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029, 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-59805969:ctest-vn-16870444, 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] 2026-02-02 08:57:14,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c3204ee-77e4-467a-a811-57de84387387', 'name': 'ctest-vn-92779029', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'project_id': '28061efd81004c65b826697b81f74acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c7a787c5-1737-4440-b977-c3b989ebfbd8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-vn-92779029'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-policy-allow-all-46978778']], 'subnet_ipam': [{'subnet_cidr': '31.173.88.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 08:57:15,084 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '57c2c391-11f7-41a9-b96f-0e2b8332ae90', 'name': 'ctest-vn-16870444', 'tenant_id': '28061efd81004c65b826697b81f74acc', 'project_id': '28061efd81004c65b826697b81f74acc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67f51709-3319-44c7-94ae-0b7957d12871'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-vn-16870444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-policy-allow-all-46978778']], 'subnet_ipam': [{'subnet_cidr': '21.139.214.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 08:57:15,232 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:15,540 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:15,569 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:15,580 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:15,652 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,662 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,671 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:15,677 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:15,683 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c87f18c4-2105-43f8-9631-57354c3a862b 2026-02-02 08:57:15,689 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 08:57:15,689 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,696 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:15,708 - INFO - Verified VN network id 11 for VN 6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,708 - INFO - Verifications in API Server for VN ctest-vn-92779029 passed 2026-02-02 08:57:15,708 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,717 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:15,723 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:15,729 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/c87f18c4-2105-43f8-9631-57354c3a862b 2026-02-02 08:57:15,740 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59805969', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7796299327191926394', 'uuid-lslong': '12110557486188622727'}, 'enable': 'true', 'created': '2026-02-02T08:57:13', 'last-modified': '2026-02-02T08:57:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897323'} 2026-02-02 08:57:15,748 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 08:57:15,748 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92779029 passed 2026-02-02 08:57:15,748 - DEBUG - ====Verifying policy data for ctest-vn-92779029 in API_Server ====== 2026-02-02 08:57:15,749 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:15,754 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:15,765 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:15,837 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/6c3204ee-77e4-467a-a811-57de84387387 2026-02-02 08:57:15,847 - DEBUG - ==>Verifying data for policy with id: d21d9962-9df3-4d96-b63f-1aff2e655041, fqn: ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-policy-allow-all-46978778'] 2026-02-02 08:57:15,847 - INFO - VN ctest-vn-92779029 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 08:57:15,847 - DEBUG - Verifying the vn in opserver 2026-02-02 08:57:15,847 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029 virtual network link through opserver 10.0.0.129 2026-02-02 08:57:15,847 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 08:57:16,155 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 08:57:16,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029?flat'} 2026-02-02 08:57:16,214 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029 is found in opserver 2026-02-02 08:57:16,224 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 08:57:16,229 - DEBUG - VRF ids for VN ctest-vn-92779029: {} 2026-02-02 08:57:16,229 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:16,234 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:16,243 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:16,315 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,328 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,337 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:16,345 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:16,351 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3c32eb28-9d82-43b4-a012-24185c6ebcfa 2026-02-02 08:57:16,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 08:57:16,359 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,367 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:16,382 - INFO - Verified VN network id 12 for VN 57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,382 - INFO - Verifications in API Server for VN ctest-vn-16870444 passed 2026-02-02 08:57:16,382 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,390 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:16,397 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:16,404 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/3c32eb28-9d82-43b4-a012-24185c6ebcfa 2026-02-02 08:57:16,416 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-16870444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59805969', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6323831854620688809', 'uuid-lslong': '13361914199479070352'}, 'enable': 'true', 'created': '2026-02-02T08:57:14', 'last-modified': '2026-02-02T08:57:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352083'} 2026-02-02 08:57:16,423 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 08:57:16,423 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16870444 passed 2026-02-02 08:57:16,423 - DEBUG - ====Verifying policy data for ctest-vn-16870444 in API_Server ====== 2026-02-02 08:57:16,423 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:16,430 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:16,444 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:16,518 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/57c2c391-11f7-41a9-b96f-0e2b8332ae90 2026-02-02 08:57:16,530 - DEBUG - ==>Verifying data for policy with id: d21d9962-9df3-4d96-b63f-1aff2e655041, fqn: ['default-domain', 'ctest-TestBasicPolicy-59805969', 'ctest-policy-allow-all-46978778'] 2026-02-02 08:57:16,530 - INFO - VN ctest-vn-16870444 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 08:57:16,530 - DEBUG - Verifying the vn in opserver 2026-02-02 08:57:16,530 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-16870444 virtual network link through opserver 10.0.0.129 2026-02-02 08:57:16,530 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks 2026-02-02 08:57:16,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-16870444', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-16870444?flat'} 2026-02-02 08:57:16,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-16870444 is found in opserver 2026-02-02 08:57:16,553 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 08:57:16,558 - DEBUG - VRF ids for VN ctest-vn-16870444: {} 2026-02-02 08:57:16,620 - DEBUG - Services list from nova: [, , ] 2026-02-02 08:57:17,657 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5169-1) 2026-02-02 08:57:18,806 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5169-1) 2026-02-02 08:57:18,807 - INFO - Waiting for VM ctest-TestBasicPolicy-59805969-65882807 to be up.. 2026-02-02 08:57:18,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 08:57:23,948 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:57:23,948 - INFO - VM name : ctest-TestBasicPolicy-59805969-65882807 2026-02-02 08:57:24,026 - DEBUG - VM ctest-TestBasicPolicy-59805969-65882807 ID is 098ed834-22f6-4848-b599-f8d7a0997792 2026-02-02 08:57:24,045 - DEBUG - VM ctest-TestBasicPolicy-59805969-65882807 launched on Node cn-jenkins-deploy-platform-ansible-os-5169-1 2026-02-02 08:57:24,111 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/098ed834-22f6-4848-b599-f8d7a0997792 2026-02-02 08:57:24,118 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/e5933f24-4237-4dae-9edc-c36dbc84e9df 2026-02-02 08:57:27,373 - 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') 2026-02-02 08:57:27,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59805969-65882807 failed! 2026-02-02 08:57:27,428 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59805969:ctest-vn-92779029 is 31.173.88.65 and allocation pool is NOT set 2026-02-02 08:57:29,484 - 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=4.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/2.278/4.112/1.834 ms') 2026-02-02 08:57:29,484 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59805969-65882807 passed 2026-02-02 08:57:29,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:57:29,632 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59805969-65882807, IP 31.173.88.67, Port 22 2026-02-02 08:57:29,788 - DEBUG - VM ctest-TestBasicPolicy-59805969-65882807 is ready for SSH connections 2026-02-02 08:57:29,788 - INFO - Waiting for VM ctest-TestBasicPolicy-59805969-69239914 to be up.. 2026-02-02 08:57:29,858 - DEBUG - VM is in ACTIVE state now 2026-02-02 08:57:29,858 - INFO - VM name : ctest-TestBasicPolicy-59805969-69239914 2026-02-02 08:57:29,928 - DEBUG - VM ctest-TestBasicPolicy-59805969-69239914 ID is 612d12c1-3a55-4a67-9bec-00a7521214f5 2026-02-02 08:57:29,929 - DEBUG - VM ctest-TestBasicPolicy-59805969-69239914 launched on Node cn-jenkins-deploy-platform-ansible-os-5169-1 2026-02-02 08:57:30,012 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/612d12c1-3a55-4a67-9bec-00a7521214f5 2026-02-02 08:57:30,020 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3f17c9c3-d613-47c6-8aef-fbbb1ea2afbf 2026-02-02 08:57:31,258 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/2.053/3.722/1.669 ms') 2026-02-02 08:57:31,258 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59805969-69239914 passed 2026-02-02 08:57:31,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:57:31,408 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59805969-69239914, IP 21.139.214.3, Port 22 2026-02-02 08:57:31,568 - DEBUG - VM ctest-TestBasicPolicy-59805969-69239914 is ready for SSH connections 2026-02-02 08:57:31,568 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:57:31,568 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.139.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-02 08:57:31,568 - DEBUG - ping -s 56 -c 3 -W 1 21.139.214.3 2026-02-02 08:57:35,562 - DEBUG - PING 21.139.214.3 (21.139.214.3): 56 data bytes 64 bytes from 21.139.214.3: seq=0 ttl=63 time=3.197 ms 64 bytes from 21.139.214.3: seq=1 ttl=63 time=0.735 ms 64 bytes from 21.139.214.3: seq=2 ttl=63 time=0.908 ms --- 21.139.214.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.735/1.613/3.197 ms 2026-02-02 08:57:35,562 - INFO - Ping to IP 21.139.214.3 from VM ctest-TestBasicPolicy-59805969-65882807 passed 2026-02-02 08:57:35,740 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d21d9962-9df3-4d96-b63f-1aff2e655041", "href": "http://10.0.0.129:8082/network-policy/d21d9962-9df3-4d96-b63f-1aff2e655041"}} 2026-02-02 08:57:35,740 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 08:57:35,740 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.139.214.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2026-02-02 08:57:35,740 - DEBUG - ping -s 56 -c 3 -W 1 21.139.214.3 2026-02-02 08:57:38,947 - DEBUG - PING 21.139.214.3 (21.139.214.3): 56 data bytes --- 21.139.214.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 08:57:38,947 - WARNING - Ping to IP 21.139.214.3 from VM ctest-TestBasicPolicy-59805969-65882807 failed 2026-02-02 08:57:38,947 - INFO - Deleting VM ctest-TestBasicPolicy-59805969-69239914 2026-02-02 08:57:39,121 - INFO - Deleting VM ctest-TestBasicPolicy-59805969-65882807 2026-02-02 08:57:39,502 - INFO - Deleted policy ctest-policy-allow-all-46978778 2026-02-02 08:57:39,502 - INFO - Deleting VN ctest-vn-16870444 2026-02-02 08:57:39,551 - DEBUG - VN 57c2c391-11f7-41a9-b96f-0e2b8332ae90 still in use: Unable to complete operation on network 57c2c391-11f7-41a9-b96f-0e2b8332ae90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-07e61998-2f85-4087-992f-df3543feb972'] 2026-02-02 08:57:39,551 - WARNING - Deleting VN ctest-vn-16870444 failed..Will retry 2026-02-02 08:57:41,647 - DEBUG - Response for deleting network () 2026-02-02 08:57:41,647 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/f467409e-6bb6-41a2-8cfe-924d07ff8ebb 2026-02-02 08:57:41,652 - DEBUG - Response Code: 404 2026-02-02 08:57:41,652 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:41,656 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:41,710 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:41,777 - INFO - Validated that VN ctest-vn-16870444 is not found in API Server 2026-02-02 08:57:41,787 - DEBUG - VN ctest-vn-16870444 is not present in Agent 10.0.0.129 2026-02-02 08:57:41,787 - INFO - Validated that VN ctest-vn-16870444 is not in any agent 2026-02-02 08:57:41,799 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16870444 info 2026-02-02 08:57:41,799 - INFO - Deleting VN ctest-vn-92779029 2026-02-02 08:57:41,890 - DEBUG - Response for deleting network () 2026-02-02 08:57:41,890 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/402c115f-2a28-46a8-9072-c6e1dfb3cb4c 2026-02-02 08:57:41,896 - DEBUG - Response Code: 404 2026-02-02 08:57:41,896 - DEBUG - Requesting: http://10.0.0.129:8082/domains 2026-02-02 08:57:41,900 - DEBUG - Requesting: http://10.0.0.129:8082/domain/aaa9de63-b438-46cb-ab88-49aef5bedbdf 2026-02-02 08:57:41,953 - DEBUG - Requesting: http://10.0.0.129:8082/project/28061efd-8100-4c65-b826-697b81f74acc 2026-02-02 08:57:42,026 - INFO - Validated that VN ctest-vn-92779029 is not found in API Server 2026-02-02 08:57:42,034 - DEBUG - VN ctest-vn-92779029 is not present in Agent 10.0.0.129 2026-02-02 08:57:42,034 - INFO - Validated that VN ctest-vn-92779029 is not in any agent 2026-02-02 08:57:42,047 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92779029 info 2026-02-02 08:57:42,305 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 08:57:42,305 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-02-02 08:57:42,305 - INFO - -------------------------------------------------------------------------------- 2026-02-02 08:57:43,062 - INFO - Deleted project: ctest-TestBasicPolicy-59805969, ID : 28061efd-8100-4c65-b826-697b81f74acc