2025-10-15 14:31:15,068 - INFO - Domain Default found not creating 2025-10-15 14:31:15,197 - INFO - Project ctest-TestBasicPolicy-07792832 not found, creating it 2025-10-15 14:31:15,616 - INFO - Created Project:ctest-TestBasicPolicy-07792832, ID : 9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:16,966 - INFO - ================================================================================ 2025-10-15 14:31:16,966 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-15 14:31:16,966 - 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-15 14:31:17,220 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.249': '0'}} with 2025-10-15 14:31:17,220 - INFO - Initial checks done. Running the testcase now 2025-10-15 14:31:17,220 - INFO - 2025-10-15 14:31:17,766 - DEBUG - Response for create_network : {'network': {'id': 'bf338091-96a5-4280-9eb6-d6e05d73e129', 'name': 'ctest-vn-66888005', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'project_id': '9fa03a05838a4445b4b0bb5619c91384', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-vn-66888005'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:31:17,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd56693a5-3b4a-459c-8e42-e195a0c70f33', 'name': '', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'network_id': 'bf338091-96a5-4280-9eb6-d6e05d73e129', 'ip_version': 4, 'cidr': '169.156.240.192/26', 'allocation_pools': [{'start': '169.156.240.194', 'end': '169.156.240.254'}], 'gateway_ip': '169.156.240.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.156.240.194', 'tags': [], 'project_id': '9fa03a05838a4445b4b0bb5619c91384'}} 2025-10-15 14:31:17,983 - INFO - Created VN ctest-vn-66888005 2025-10-15 14:31:18,036 - DEBUG - VN ctest-vn-66888005 UUID is bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:18,326 - DEBUG - Response for create_network : {'network': {'id': '6535d2a8-80f9-443c-856c-4a84a32b2145', 'name': 'ctest-vn-95784642', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'project_id': '9fa03a05838a4445b4b0bb5619c91384', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-vn-95784642'], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:31:18,484 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a9cffb0-1121-43d0-8aac-63e261cb7bbb', 'name': '', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'network_id': '6535d2a8-80f9-443c-856c-4a84a32b2145', 'ip_version': 4, 'cidr': '6.120.199.192/26', 'allocation_pools': [{'start': '6.120.199.194', 'end': '6.120.199.254'}], 'gateway_ip': '6.120.199.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.120.199.194', 'tags': [], 'project_id': '9fa03a05838a4445b4b0bb5619c91384'}} 2025-10-15 14:31:18,500 - INFO - Created VN ctest-vn-95784642 2025-10-15 14:31:18,551 - DEBUG - VN ctest-vn-95784642 UUID is 6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:18,699 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005, 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-07792832:ctest-vn-95784642, 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-15 14:31:18,986 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bf338091-96a5-4280-9eb6-d6e05d73e129', 'name': 'ctest-vn-66888005', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'project_id': '9fa03a05838a4445b4b0bb5619c91384', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d56693a5-3b4a-459c-8e42-e195a0c70f33'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-vn-66888005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-policy-allow-all-38923690']], 'subnet_ipam': [{'subnet_cidr': '169.156.240.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:31:19,205 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6535d2a8-80f9-443c-856c-4a84a32b2145', 'name': 'ctest-vn-95784642', 'tenant_id': '9fa03a05838a4445b4b0bb5619c91384', 'project_id': '9fa03a05838a4445b4b0bb5619c91384', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a9cffb0-1121-43d0-8aac-63e261cb7bbb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-vn-95784642'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-policy-allow-all-38923690']], 'subnet_ipam': [{'subnet_cidr': '6.120.199.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-15 14:31:19,363 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:19,654 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:19,680 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:19,691 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:19,760 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,770 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,778 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:19,784 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:19,789 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/60a7041b-f728-4483-b6bb-14699e92d614 2025-10-15 14:31:19,795 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 14:31:19,795 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,802 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:19,815 - INFO - Verified VN network id 12 for VN bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,815 - INFO - Verifications in API Server for VN ctest-vn-66888005 passed 2025-10-15 14:31:19,815 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,823 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:19,829 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:19,836 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/60a7041b-f728-4483-b6bb-14699e92d614 2025-10-15 14:31:19,847 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07792832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13777497047842505344', 'uuid-lslong': '11436564562882847017'}, 'enable': 'true', 'created': '2025-10-15T14:31:17', 'last-modified': '2025-10-15T14:31:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.884516'} 2025-10-15 14:31:19,853 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-15 14:31:19,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66888005 passed 2025-10-15 14:31:19,854 - DEBUG - ====Verifying policy data for ctest-vn-66888005 in API_Server ====== 2025-10-15 14:31:19,854 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:19,859 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:19,869 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:19,940 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/bf338091-96a5-4280-9eb6-d6e05d73e129 2025-10-15 14:31:19,950 - DEBUG - ==>Verifying data for policy with id: 8d3a22cb-4259-446d-af54-8a2b74512402, fqn: ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-policy-allow-all-38923690'] 2025-10-15 14:31:19,951 - INFO - VN ctest-vn-66888005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 14:31:19,951 - DEBUG - Verifying the vn in opserver 2025-10-15 14:31:19,951 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005 virtual network link through opserver 10.0.0.27 2025-10-15 14:31:19,951 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 14:31:20,247 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 14:31:20,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005?flat'} 2025-10-15 14:31:20,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005 is found in opserver 2025-10-15 14:31:20,306 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 14:31:20,310 - DEBUG - VRF ids for VN ctest-vn-66888005: {} 2025-10-15 14:31:20,310 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:20,315 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:20,326 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:20,399 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,411 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,421 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:20,428 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:20,436 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/baba78ae-b7ed-4174-8c60-96187dbe5fef 2025-10-15 14:31:20,443 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 14:31:20,443 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,454 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:20,467 - INFO - Verified VN network id 13 for VN 6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,467 - INFO - Verifications in API Server for VN ctest-vn-95784642 passed 2025-10-15 14:31:20,467 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,476 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:20,482 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:20,488 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/baba78ae-b7ed-4174-8c60-96187dbe5fef 2025-10-15 14:31:20,498 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-95784642', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07792832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7292966792756544572', 'uuid-lslong': '9614141238062817605'}, 'enable': 'true', 'created': '2025-10-15T14:31:18', 'last-modified': '2025-10-15T14:31:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.309660'} 2025-10-15 14:31:20,503 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-15 14:31:20,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95784642 passed 2025-10-15 14:31:20,503 - DEBUG - ====Verifying policy data for ctest-vn-95784642 in API_Server ====== 2025-10-15 14:31:20,503 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:20,509 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:20,518 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:20,589 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/6535d2a8-80f9-443c-856c-4a84a32b2145 2025-10-15 14:31:20,598 - DEBUG - ==>Verifying data for policy with id: 8d3a22cb-4259-446d-af54-8a2b74512402, fqn: ['default-domain', 'ctest-TestBasicPolicy-07792832', 'ctest-policy-allow-all-38923690'] 2025-10-15 14:31:20,598 - INFO - VN ctest-vn-95784642 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-15 14:31:20,598 - DEBUG - Verifying the vn in opserver 2025-10-15 14:31:20,598 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-95784642 virtual network link through opserver 10.0.0.27 2025-10-15 14:31:20,598 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-10-15 14:31:20,607 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-95784642', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-95784642?flat'} 2025-10-15 14:31:20,607 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-95784642 is found in opserver 2025-10-15 14:31:20,615 - DEBUG - Do not have enough data to verify VN in agent 2025-10-15 14:31:20,620 - DEBUG - VRF ids for VN ctest-vn-95784642: {} 2025-10-15 14:31:20,676 - DEBUG - Services list from nova: [, , ] 2025-10-15 14:31:21,660 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4328-1) 2025-10-15 14:31:22,748 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4328-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4328-1) 2025-10-15 14:31:22,748 - INFO - Waiting for VM ctest-TestBasicPolicy-07792832-80307370 to be up.. 2025-10-15 14:31:22,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-15 14:31:27,896 - DEBUG - VM is in ACTIVE state now 2025-10-15 14:31:27,896 - INFO - VM name : ctest-TestBasicPolicy-07792832-80307370 2025-10-15 14:31:27,969 - DEBUG - VM ctest-TestBasicPolicy-07792832-80307370 ID is 85656dc7-620b-4ddc-a382-331464680de2 2025-10-15 14:31:27,986 - DEBUG - VM ctest-TestBasicPolicy-07792832-80307370 launched on Node cn-jenkins-deploy-platform-ansible-os-4328-1 2025-10-15 14:31:28,057 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/85656dc7-620b-4ddc-a382-331464680de2 2025-10-15 14:31:28,066 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/eedc2a49-aef1-4eea-8b32-dfffa42d6c9d 2025-10-15 14:31:31,310 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2025-10-15 14:31:31,311 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07792832-80307370 failed! 2025-10-15 14:31:31,363 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07792832:ctest-vn-66888005 is 169.156.240.193 and allocation pool is NOT set 2025-10-15 14:31:33,422 - 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=6.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/3.494/6.589/3.095 ms') 2025-10-15 14:31:33,422 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07792832-80307370 passed 2025-10-15 14:31:33,571 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:31:33,571 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07792832-80307370, IP 169.156.240.195, Port 22 2025-10-15 14:31:33,723 - DEBUG - VM ctest-TestBasicPolicy-07792832-80307370 is ready for SSH connections 2025-10-15 14:31:33,723 - INFO - Waiting for VM ctest-TestBasicPolicy-07792832-22412412 to be up.. 2025-10-15 14:31:33,789 - DEBUG - VM is in ACTIVE state now 2025-10-15 14:31:33,789 - INFO - VM name : ctest-TestBasicPolicy-07792832-22412412 2025-10-15 14:31:33,854 - DEBUG - VM ctest-TestBasicPolicy-07792832-22412412 ID is a8f69ed1-2e67-4fcf-80d6-d7ce6dea105d 2025-10-15 14:31:33,854 - DEBUG - VM ctest-TestBasicPolicy-07792832-22412412 launched on Node cn-jenkins-deploy-platform-ansible-os-4328-1 2025-10-15 14:31:33,920 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/a8f69ed1-2e67-4fcf-80d6-d7ce6dea105d 2025-10-15 14:31:33,927 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/225c87c8-5ccc-4dc4-a38b-3146606141e4 2025-10-15 14:31:35,157 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.576/2.714/1.137 ms') 2025-10-15 14:31:35,157 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07792832-22412412 passed 2025-10-15 14:31:35,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:31:35,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07792832-22412412, IP 6.120.199.195, Port 22 2025-10-15 14:31:35,463 - DEBUG - VM ctest-TestBasicPolicy-07792832-22412412 is ready for SSH connections 2025-10-15 14:31:35,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:31:35,463 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.120.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 14:31:35,464 - DEBUG - ping -s 56 -c 3 -W 1 6.120.199.195 2025-10-15 14:31:39,421 - DEBUG - PING 6.120.199.195 (6.120.199.195): 56 data bytes 64 bytes from 6.120.199.195: seq=0 ttl=63 time=3.081 ms 64 bytes from 6.120.199.195: seq=1 ttl=63 time=0.756 ms 64 bytes from 6.120.199.195: seq=2 ttl=63 time=0.779 ms --- 6.120.199.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.538/3.081 ms 2025-10-15 14:31:39,422 - INFO - Ping to IP 6.120.199.195 from VM ctest-TestBasicPolicy-07792832-80307370 passed 2025-10-15 14:31:39,599 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8d3a22cb-4259-446d-af54-8a2b74512402", "href": "http://10.0.0.27:8082/network-policy/8d3a22cb-4259-446d-af54-8a2b74512402"}} 2025-10-15 14:31:39,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-15 14:31:39,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.120.199.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-15 14:31:39,599 - DEBUG - ping -s 56 -c 3 -W 1 6.120.199.195 2025-10-15 14:31:42,805 - DEBUG - PING 6.120.199.195 (6.120.199.195): 56 data bytes 64 bytes from 6.120.199.195: seq=0 ttl=63 time=1.313 ms --- 6.120.199.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.313/1.313/1.313 ms 2025-10-15 14:31:42,805 - WARNING - Ping to IP 6.120.199.195 from VM ctest-TestBasicPolicy-07792832-80307370 failed 2025-10-15 14:31:42,805 - INFO - Deleting VM ctest-TestBasicPolicy-07792832-22412412 2025-10-15 14:31:42,865 - INFO - Deleting VM ctest-TestBasicPolicy-07792832-80307370 2025-10-15 14:31:43,216 - INFO - Deleted policy ctest-policy-allow-all-38923690 2025-10-15 14:31:43,216 - INFO - Deleting VN ctest-vn-95784642 2025-10-15 14:31:43,247 - DEBUG - VN 6535d2a8-80f9-443c-856c-4a84a32b2145 still in use: Unable to complete operation on network 6535d2a8-80f9-443c-856c-4a84a32b2145. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33d3a799-e512-4923-97fa-a6727af91e94'] 2025-10-15 14:31:43,247 - WARNING - Deleting VN ctest-vn-95784642 failed..Will retry 2025-10-15 14:31:45,341 - DEBUG - Response for deleting network () 2025-10-15 14:31:45,341 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/b1a91d80-f615-481a-86f1-3e7afcc1c4a2 2025-10-15 14:31:45,345 - DEBUG - Response Code: 404 2025-10-15 14:31:45,345 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:45,350 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:45,401 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:45,470 - INFO - Validated that VN ctest-vn-95784642 is not found in API Server 2025-10-15 14:31:45,478 - DEBUG - VN ctest-vn-95784642 is not present in Agent 10.0.0.27 2025-10-15 14:31:45,479 - INFO - Validated that VN ctest-vn-95784642 is not in any agent 2025-10-15 14:31:45,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95784642 info 2025-10-15 14:31:45,490 - INFO - Deleting VN ctest-vn-66888005 2025-10-15 14:31:45,588 - DEBUG - Response for deleting network () 2025-10-15 14:31:45,588 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/06f67855-e663-4183-a5c7-7b0b999360b2 2025-10-15 14:31:45,592 - DEBUG - Response Code: 404 2025-10-15 14:31:45,593 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-10-15 14:31:45,597 - DEBUG - Requesting: http://10.0.0.27:8082/domain/d5f2d9d9-849d-45ef-8566-3a20003be141 2025-10-15 14:31:45,648 - DEBUG - Requesting: http://10.0.0.27:8082/project/9fa03a05-838a-4445-b4b0-bb5619c91384 2025-10-15 14:31:45,716 - INFO - Validated that VN ctest-vn-66888005 is not found in API Server 2025-10-15 14:31:45,724 - DEBUG - VN ctest-vn-66888005 is not present in Agent 10.0.0.27 2025-10-15 14:31:45,724 - INFO - Validated that VN ctest-vn-66888005 is not in any agent 2025-10-15 14:31:45,735 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66888005 info 2025-10-15 14:31:45,987 - DEBUG - No XMPP flaps were noticed during the test 2025-10-15 14:31:45,988 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-15 14:31:45,988 - INFO - -------------------------------------------------------------------------------- 2025-10-15 14:31:47,002 - INFO - Deleted project: ctest-TestBasicPolicy-07792832, ID : 9fa03a05-838a-4445-b4b0-bb5619c91384