2025-11-05 22:27:14,677 - INFO - Domain Default found not creating 2025-11-05 22:27:14,816 - INFO - Project ctest-TestBasicPolicy-03974041 not found, creating it 2025-11-05 22:27:15,236 - INFO - Created Project:ctest-TestBasicPolicy-03974041, ID : 020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:16,609 - INFO - ================================================================================ 2025-11-05 22:27:16,609 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 22:27:16,609 - 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-11-05 22:27:16,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-05 22:27:16,865 - INFO - Initial checks done. Running the testcase now 2025-11-05 22:27:16,865 - INFO - 2025-11-05 22:27:17,406 - DEBUG - Response for create_network : {'network': {'id': '6214ecaf-79a5-4497-89aa-f05b6f4ec887', 'name': 'ctest-vn-86161072', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'project_id': '020ee645fc3d4439b577c650bf7a85ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-vn-86161072'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:27:17,537 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e557ffd-cc50-4bf2-8471-449521d2464c', 'name': '', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'network_id': '6214ecaf-79a5-4497-89aa-f05b6f4ec887', 'ip_version': 4, 'cidr': '172.152.242.0/26', 'allocation_pools': [{'start': '172.152.242.2', 'end': '172.152.242.62'}], 'gateway_ip': '172.152.242.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.152.242.2', 'tags': [], 'project_id': '020ee645fc3d4439b577c650bf7a85ec'}} 2025-11-05 22:27:17,553 - INFO - Created VN ctest-vn-86161072 2025-11-05 22:27:17,603 - DEBUG - VN ctest-vn-86161072 UUID is 6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:17,921 - DEBUG - Response for create_network : {'network': {'id': '2eb4eee4-3737-458b-8001-0fcd7551dd83', 'name': 'ctest-vn-46533977', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'project_id': '020ee645fc3d4439b577c650bf7a85ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-vn-46533977'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:27:18,071 - DEBUG - Response for create_subnet : {'subnet': {'id': '312d4279-5f67-4a8f-b299-928ccb8f2c64', 'name': '', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'network_id': '2eb4eee4-3737-458b-8001-0fcd7551dd83', 'ip_version': 4, 'cidr': '49.31.168.64/26', 'allocation_pools': [{'start': '49.31.168.66', 'end': '49.31.168.126'}], 'gateway_ip': '49.31.168.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.31.168.66', 'tags': [], 'project_id': '020ee645fc3d4439b577c650bf7a85ec'}} 2025-11-05 22:27:18,087 - INFO - Created VN ctest-vn-46533977 2025-11-05 22:27:18,143 - DEBUG - VN ctest-vn-46533977 UUID is 2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:18,286 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072, 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-03974041:ctest-vn-46533977, 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-11-05 22:27:18,576 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6214ecaf-79a5-4497-89aa-f05b6f4ec887', 'name': 'ctest-vn-86161072', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'project_id': '020ee645fc3d4439b577c650bf7a85ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e557ffd-cc50-4bf2-8471-449521d2464c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-vn-86161072'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-policy-allow-all-93993391']], 'subnet_ipam': [{'subnet_cidr': '172.152.242.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:27:18,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2eb4eee4-3737-458b-8001-0fcd7551dd83', 'name': 'ctest-vn-46533977', 'tenant_id': '020ee645fc3d4439b577c650bf7a85ec', 'project_id': '020ee645fc3d4439b577c650bf7a85ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['312d4279-5f67-4a8f-b299-928ccb8f2c64'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-vn-46533977'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-policy-allow-all-93993391']], 'subnet_ipam': [{'subnet_cidr': '49.31.168.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 22:27:18,959 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:19,250 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:19,278 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:19,289 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:19,364 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,375 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,383 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:19,388 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:19,394 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/495f2ed4-025b-49dc-ac4f-151e11f711ba 2025-11-05 22:27:19,399 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 22:27:19,399 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,414 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:19,428 - INFO - Verified VN network id 12 for VN 6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,429 - INFO - Verifications in API Server for VN ctest-vn-86161072 passed 2025-11-05 22:27:19,429 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,437 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:19,443 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:19,448 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/495f2ed4-025b-49dc-ac4f-151e11f711ba 2025-11-05 22:27:19,458 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03974041', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7067533953655456919', 'uuid-lslong': '9920005404737063047'}, 'enable': 'true', 'created': '2025-11-05T22:27:17', 'last-modified': '2025-11-05T22:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.902718'} 2025-11-05 22:27:19,463 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 22:27:19,463 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86161072 passed 2025-11-05 22:27:19,463 - DEBUG - ====Verifying policy data for ctest-vn-86161072 in API_Server ====== 2025-11-05 22:27:19,464 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:19,468 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:19,478 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:19,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6214ecaf-79a5-4497-89aa-f05b6f4ec887 2025-11-05 22:27:19,554 - DEBUG - ==>Verifying data for policy with id: 95bcbffd-7d45-453b-8f58-61cf6b8c7755, fqn: ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-policy-allow-all-93993391'] 2025-11-05 22:27:19,555 - INFO - VN ctest-vn-86161072 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 22:27:19,555 - DEBUG - Verifying the vn in opserver 2025-11-05 22:27:19,555 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072 virtual network link through opserver 10.0.0.22 2025-11-05 22:27:19,555 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 22:27:19,847 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 22:27:19,899 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072?flat'} 2025-11-05 22:27:19,899 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072 is found in opserver 2025-11-05 22:27:19,908 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 22:27:19,911 - DEBUG - VRF ids for VN ctest-vn-86161072: {} 2025-11-05 22:27:19,911 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:19,916 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:19,926 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:19,995 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,006 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,015 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:20,021 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:20,027 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2fa586a6-5b29-4b4c-9b72-74a108e74761 2025-11-05 22:27:20,032 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 22:27:20,032 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,042 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:20,056 - INFO - Verified VN network id 13 for VN 2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,056 - INFO - Verifications in API Server for VN ctest-vn-46533977 passed 2025-11-05 22:27:20,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,065 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:20,070 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:20,076 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2fa586a6-5b29-4b4c-9b72-74a108e74761 2025-11-05 22:27:20,087 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-46533977', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03974041', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3365577485498926475', 'uuid-lslong': '9223670886942498179'}, 'enable': 'true', 'created': '2025-11-05T22:27:17', 'last-modified': '2025-11-05T22:27:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.314673'} 2025-11-05 22:27:20,092 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 22:27:20,092 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46533977 passed 2025-11-05 22:27:20,092 - DEBUG - ====Verifying policy data for ctest-vn-46533977 in API_Server ====== 2025-11-05 22:27:20,092 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:20,097 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:20,107 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:20,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2eb4eee4-3737-458b-8001-0fcd7551dd83 2025-11-05 22:27:20,183 - DEBUG - ==>Verifying data for policy with id: 95bcbffd-7d45-453b-8f58-61cf6b8c7755, fqn: ['default-domain', 'ctest-TestBasicPolicy-03974041', 'ctest-policy-allow-all-93993391'] 2025-11-05 22:27:20,183 - INFO - VN ctest-vn-46533977 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 22:27:20,183 - DEBUG - Verifying the vn in opserver 2025-11-05 22:27:20,183 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-46533977 virtual network link through opserver 10.0.0.22 2025-11-05 22:27:20,183 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-05 22:27:20,191 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-46533977', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-46533977?flat'} 2025-11-05 22:27:20,191 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-46533977 is found in opserver 2025-11-05 22:27:20,201 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 22:27:20,205 - DEBUG - VRF ids for VN ctest-vn-46533977: {} 2025-11-05 22:27:20,268 - DEBUG - Services list from nova: [, , ] 2025-11-05 22:27:21,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:27:22,435 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4657-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4657-1) 2025-11-05 22:27:22,435 - INFO - Waiting for VM ctest-TestBasicPolicy-03974041-74417930 to be up.. 2025-11-05 22:27:22,509 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 22:27:27,596 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:27:27,596 - INFO - VM name : ctest-TestBasicPolicy-03974041-74417930 2025-11-05 22:27:27,681 - DEBUG - VM ctest-TestBasicPolicy-03974041-74417930 ID is 65f282cd-0b9c-44e2-994f-e218ef53349c 2025-11-05 22:27:27,703 - DEBUG - VM ctest-TestBasicPolicy-03974041-74417930 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:27:27,794 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/65f282cd-0b9c-44e2-994f-e218ef53349c 2025-11-05 22:27:27,802 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e75ee106-1f66-4bc4-988c-1b25b7052bbe 2025-11-05 22:27:31,071 - 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 1027ms') 2025-11-05 22:27:31,071 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03974041-74417930 failed! 2025-11-05 22:27:31,127 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03974041:ctest-vn-86161072 is 172.152.242.1 and allocation pool is NOT set 2025-11-05 22:27:33,184 - 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=3.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.503 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.503/1.843/3.184/1.340 ms') 2025-11-05 22:27:33,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03974041-74417930 passed 2025-11-05 22:27:33,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:27:33,335 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03974041-74417930, IP 172.152.242.3, Port 22 2025-11-05 22:27:33,495 - DEBUG - VM ctest-TestBasicPolicy-03974041-74417930 is ready for SSH connections 2025-11-05 22:27:33,495 - INFO - Waiting for VM ctest-TestBasicPolicy-03974041-99805897 to be up.. 2025-11-05 22:27:33,566 - DEBUG - VM is in ACTIVE state now 2025-11-05 22:27:33,567 - INFO - VM name : ctest-TestBasicPolicy-03974041-99805897 2025-11-05 22:27:33,666 - DEBUG - VM ctest-TestBasicPolicy-03974041-99805897 ID is d4526e2f-8c81-4151-b875-35472c8e66b7 2025-11-05 22:27:33,666 - DEBUG - VM ctest-TestBasicPolicy-03974041-99805897 launched on Node cn-jenkins-deploy-platform-ansible-os-4657-1 2025-11-05 22:27:33,743 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d4526e2f-8c81-4151-b875-35472c8e66b7 2025-11-05 22:27:33,752 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ec9a827a-69ee-4052-9a8a-36aac43474e3 2025-11-05 22:27:34,988 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.529 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.529/1.574/2.620/1.045 ms') 2025-11-05 22:27:34,988 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03974041-99805897 passed 2025-11-05 22:27:35,135 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:27:35,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03974041-99805897, IP 49.31.168.67, Port 22 2025-11-05 22:27:35,298 - DEBUG - VM ctest-TestBasicPolicy-03974041-99805897 is ready for SSH connections 2025-11-05 22:27:35,298 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:27:35,298 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.31.168.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 22:27:35,298 - DEBUG - ping -s 56 -c 3 -W 1 49.31.168.67 2025-11-05 22:27:38,995 - DEBUG - PING 49.31.168.67 (49.31.168.67): 56 data bytes 64 bytes from 49.31.168.67: seq=0 ttl=63 time=3.432 ms 64 bytes from 49.31.168.67: seq=1 ttl=63 time=1.279 ms 64 bytes from 49.31.168.67: seq=2 ttl=63 time=1.154 ms --- 49.31.168.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/1.955/3.432 ms 2025-11-05 22:27:38,995 - INFO - Ping to IP 49.31.168.67 from VM ctest-TestBasicPolicy-03974041-74417930 passed 2025-11-05 22:27:39,170 - DEBUG - Policy Update Response {"network-policy": {"uuid": "95bcbffd-7d45-453b-8f58-61cf6b8c7755", "href": "http://10.0.0.22:8082/network-policy/95bcbffd-7d45-453b-8f58-61cf6b8c7755"}} 2025-11-05 22:27:39,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 22:27:39,171 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 49.31.168.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-05 22:27:39,171 - DEBUG - ping -s 56 -c 3 -W 1 49.31.168.67 2025-11-05 22:27:42,369 - DEBUG - PING 49.31.168.67 (49.31.168.67): 56 data bytes --- 49.31.168.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 22:27:42,370 - WARNING - Ping to IP 49.31.168.67 from VM ctest-TestBasicPolicy-03974041-74417930 failed 2025-11-05 22:27:42,370 - INFO - Deleting VM ctest-TestBasicPolicy-03974041-99805897 2025-11-05 22:27:42,434 - INFO - Deleting VM ctest-TestBasicPolicy-03974041-74417930 2025-11-05 22:27:42,779 - INFO - Deleted policy ctest-policy-allow-all-93993391 2025-11-05 22:27:42,780 - INFO - Deleting VN ctest-vn-46533977 2025-11-05 22:27:42,810 - DEBUG - VN 2eb4eee4-3737-458b-8001-0fcd7551dd83 still in use: Unable to complete operation on network 2eb4eee4-3737-458b-8001-0fcd7551dd83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-648576cb-391a-4438-b4e0-26efd55fe6f7'] 2025-11-05 22:27:42,811 - WARNING - Deleting VN ctest-vn-46533977 failed..Will retry 2025-11-05 22:27:44,900 - DEBUG - Response for deleting network () 2025-11-05 22:27:44,900 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/2930d0ff-d239-4dfd-90c4-5d652601ee40 2025-11-05 22:27:44,909 - DEBUG - Response Code: 404 2025-11-05 22:27:44,909 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:44,914 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:44,968 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:45,034 - INFO - Validated that VN ctest-vn-46533977 is not found in API Server 2025-11-05 22:27:45,043 - DEBUG - VN ctest-vn-46533977 is not present in Agent 10.0.0.22 2025-11-05 22:27:45,043 - INFO - Validated that VN ctest-vn-46533977 is not in any agent 2025-11-05 22:27:45,056 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46533977 info 2025-11-05 22:27:45,056 - INFO - Deleting VN ctest-vn-86161072 2025-11-05 22:27:45,148 - DEBUG - Response for deleting network () 2025-11-05 22:27:45,148 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5bfb7944-b5ab-4174-aa9f-d35e349aa01f 2025-11-05 22:27:45,154 - DEBUG - Response Code: 404 2025-11-05 22:27:45,155 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-05 22:27:45,159 - DEBUG - Requesting: http://10.0.0.22:8082/domain/0d1ac14d-024e-4130-80b6-4b66c89177fa 2025-11-05 22:27:45,211 - DEBUG - Requesting: http://10.0.0.22:8082/project/020ee645-fc3d-4439-b577-c650bf7a85ec 2025-11-05 22:27:45,285 - INFO - Validated that VN ctest-vn-86161072 is not found in API Server 2025-11-05 22:27:45,293 - DEBUG - VN ctest-vn-86161072 is not present in Agent 10.0.0.22 2025-11-05 22:27:45,294 - INFO - Validated that VN ctest-vn-86161072 is not in any agent 2025-11-05 22:27:45,305 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86161072 info 2025-11-05 22:27:45,560 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 22:27:45,560 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-11-05 22:27:45,560 - INFO - -------------------------------------------------------------------------------- 2025-11-05 22:27:46,213 - INFO - Deleted project: ctest-TestBasicPolicy-03974041, ID : 020ee645-fc3d-4439-b577-c650bf7a85ec