2026-11-24 19:03:30,278 - INFO - Domain Default found not creating 2026-11-24 19:03:30,434 - INFO - Project ctest-TestBasicPolicy-13025918 not found, creating it 2026-11-24 19:03:30,916 - INFO - Created Project:ctest-TestBasicPolicy-13025918, ID : c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:03:32,540 - INFO - ================================================================================ 2026-11-24 19:03:32,540 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-24 19:03:32,540 - 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-11-24 19:03:32,800 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.29': '0'}} with 2026-11-24 19:03:32,800 - INFO - Initial checks done. Running the testcase now 2026-11-24 19:03:32,800 - INFO - 2026-11-24 19:03:33,391 - DEBUG - Response for create_network : {'network': {'id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'name': 'ctest-vn-50929605', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-50929605'], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:03:33,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '007c5cdb-2693-46e9-94ec-9bd4fea875e9', 'name': '', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'network_id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'ip_version': 4, 'cidr': '41.148.208.128/26', 'allocation_pools': [{'start': '41.148.208.130', 'end': '41.148.208.190'}], 'gateway_ip': '41.148.208.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.148.208.130', 'tags': [], 'project_id': 'c77b0fdf280240219776e2e3dccb2293'}} 2026-11-24 19:03:33,592 - INFO - Created VN ctest-vn-50929605 2026-11-24 19:03:33,642 - DEBUG - VN ctest-vn-50929605 UUID is 54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:33,947 - DEBUG - Response for create_network : {'network': {'id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'name': 'ctest-vn-35286010', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-35286010'], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:03:34,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c531c53-7f11-40df-a445-53b1b35f1a7a', 'name': '', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'network_id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'ip_version': 4, 'cidr': '175.12.182.192/26', 'allocation_pools': [{'start': '175.12.182.194', 'end': '175.12.182.254'}], 'gateway_ip': '175.12.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.12.182.194', 'tags': [], 'project_id': 'c77b0fdf280240219776e2e3dccb2293'}} 2026-11-24 19:03:34,138 - INFO - Created VN ctest-vn-35286010 2026-11-24 19:03:34,190 - DEBUG - VN ctest-vn-35286010 UUID is 1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:34,338 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605, 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-13025918:ctest-vn-35286010, 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-11-24 19:03:34,614 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '54812d9f-45dc-4ab5-8781-3ed178a1cca4', 'name': 'ctest-vn-50929605', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['007c5cdb-2693-46e9-94ec-9bd4fea875e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-50929605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']], 'subnet_ipam': [{'subnet_cidr': '41.148.208.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:03:34,832 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c91e595-c0d3-4fd9-b930-c46158c6e311', 'name': 'ctest-vn-35286010', 'tenant_id': 'c77b0fdf280240219776e2e3dccb2293', 'project_id': 'c77b0fdf280240219776e2e3dccb2293', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3c531c53-7f11-40df-a445-53b1b35f1a7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-vn-35286010'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520']], 'subnet_ipam': [{'subnet_cidr': '175.12.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-24 19:03:34,998 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:03:35,362 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:03:35,394 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:03:35,405 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:03:35,476 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,487 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,499 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:03:35,506 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:03:35,512 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ec873c81-ef8d-47d2-8be6-cd0f3922932f 2026-11-24 19:03:35,519 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-24 19:03:35,519 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,526 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:03:35,537 - INFO - Verified VN network id 12 for VN 54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,537 - INFO - Verifications in API Server for VN ctest-vn-50929605 passed 2026-11-24 19:03:35,537 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,544 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:03:35,549 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:03:35,555 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/ec873c81-ef8d-47d2-8be6-cd0f3922932f 2026-11-24 19:03:35,567 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13025918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6089198333276736181', 'uuid-lslong': '9764154536508902564'}, 'enable': 'true', 'created': '2026-11-24T19:03:33', 'last-modified': '2026-11-24T19:03:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971497'} 2026-11-24 19:03:35,574 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-24 19:03:35,574 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50929605 passed 2026-11-24 19:03:35,574 - DEBUG - ====Verifying policy data for ctest-vn-50929605 in API_Server ====== 2026-11-24 19:03:35,574 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:03:35,578 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:03:35,588 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:03:35,655 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/54812d9f-45dc-4ab5-8781-3ed178a1cca4 2026-11-24 19:03:35,663 - DEBUG - ==>Verifying data for policy with id: ee730f05-8f36-4052-a49c-de078a2cefbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520'] 2026-11-24 19:03:35,663 - INFO - VN ctest-vn-50929605 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-24 19:03:35,663 - DEBUG - Verifying the vn in opserver 2026-11-24 19:03:35,663 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605 virtual network link through opserver 10.0.0.161 2026-11-24 19:03:35,663 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-24 19:03:36,024 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-24 19:03:36,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605?flat'} 2026-11-24 19:03:36,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605 is found in opserver 2026-11-24 19:03:36,083 - DEBUG - Do not have enough data to verify VN in agent 2026-11-24 19:03:36,088 - DEBUG - VRF ids for VN ctest-vn-50929605: {} 2026-11-24 19:03:36,088 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:03:36,094 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:03:36,103 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:03:36,175 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,187 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,197 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:03:36,203 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:03:36,208 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/7e034087-d67a-4084-94ab-bf56f0ff0e90 2026-11-24 19:03:36,214 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-24 19:03:36,214 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,224 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:03:36,239 - INFO - Verified VN network id 13 for VN 1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,239 - INFO - Verifications in API Server for VN ctest-vn-35286010 passed 2026-11-24 19:03:36,239 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,249 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:03:36,256 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:03:36,262 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/7e034087-d67a-4084-94ab-bf56f0ff0e90 2026-11-24 19:03:36,272 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13025918', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2058678936032989145', 'uuid-lslong': '13344381618279080721'}, 'enable': 'true', 'created': '2026-11-24T19:03:33', 'last-modified': '2026-11-24T19:03:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.459569'} 2026-11-24 19:03:36,278 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-24 19:03:36,278 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35286010 passed 2026-11-24 19:03:36,278 - DEBUG - ====Verifying policy data for ctest-vn-35286010 in API_Server ====== 2026-11-24 19:03:36,278 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:03:36,283 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:03:36,294 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:03:36,362 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/1c91e595-c0d3-4fd9-b930-c46158c6e311 2026-11-24 19:03:36,372 - DEBUG - ==>Verifying data for policy with id: ee730f05-8f36-4052-a49c-de078a2cefbf, fqn: ['default-domain', 'ctest-TestBasicPolicy-13025918', 'ctest-policy-allow-all-49513520'] 2026-11-24 19:03:36,372 - INFO - VN ctest-vn-35286010 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-24 19:03:36,373 - DEBUG - Verifying the vn in opserver 2026-11-24 19:03:36,373 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010 virtual network link through opserver 10.0.0.161 2026-11-24 19:03:36,373 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-11-24 19:03:36,384 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010?flat'} 2026-11-24 19:03:36,384 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010 is found in opserver 2026-11-24 19:03:36,398 - DEBUG - Do not have enough data to verify VN in agent 2026-11-24 19:03:36,403 - DEBUG - VRF ids for VN ctest-vn-35286010: {} 2026-11-24 19:03:36,451 - DEBUG - Services list from nova: [, , ] 2026-11-24 19:03:36,875 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6514-1) 2026-11-24 19:03:37,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6514-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6514-1) 2026-11-24 19:03:37,251 - INFO - Waiting for VM ctest-TestBasicPolicy-13025918-35601028 to be up.. 2026-11-24 19:03:37,294 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:03:42,363 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:03:47,433 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:03:52,499 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:03:57,565 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:04:02,633 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:04:07,701 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-24 19:04:12,775 - DEBUG - VM is in ACTIVE state now 2026-11-24 19:04:12,775 - INFO - VM name : ctest-TestBasicPolicy-13025918-35601028 2026-11-24 19:04:12,848 - DEBUG - VM ctest-TestBasicPolicy-13025918-35601028 ID is fef7b7ed-97ed-4e97-b7b9-8d3917457c43 2026-11-24 19:04:12,865 - DEBUG - VM ctest-TestBasicPolicy-13025918-35601028 launched on Node cn-jenkins-deploy-platform-ansible-os-6514-1 2026-11-24 19:04:12,938 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/fef7b7ed-97ed-4e97-b7b9-8d3917457c43 2026-11-24 19:04:12,944 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/4dad4e6f-22e0-422a-a048-a4ffba1b626e 2026-11-24 19:04:16,200 - 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 1030ms') 2026-11-24 19:04:16,200 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13025918-35601028 failed! 2026-11-24 19:04:16,254 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-50929605 is 41.148.208.129 and allocation pool is NOT set 2026-11-24 19:04:18,311 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.303 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.303/5.172/10.042/4.869 ms') 2026-11-24 19:04:18,311 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13025918-35601028 passed 2026-11-24 19:04:18,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:04:18,458 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13025918-35601028, IP 41.148.208.131, Port 22 2026-11-24 19:04:18,627 - DEBUG - VM ctest-TestBasicPolicy-13025918-35601028 is ready for SSH connections 2026-11-24 19:04:18,627 - INFO - Waiting for VM ctest-TestBasicPolicy-13025918-73636391 to be up.. 2026-11-24 19:04:18,694 - DEBUG - VM is in ACTIVE state now 2026-11-24 19:04:18,695 - INFO - VM name : ctest-TestBasicPolicy-13025918-73636391 2026-11-24 19:04:18,757 - DEBUG - VM ctest-TestBasicPolicy-13025918-73636391 ID is a45cf956-c3da-4ad2-81e5-657d59f73b8c 2026-11-24 19:04:18,757 - DEBUG - VM ctest-TestBasicPolicy-13025918-73636391 launched on Node cn-jenkins-deploy-platform-ansible-os-6514-1 2026-11-24 19:04:18,821 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/a45cf956-c3da-4ad2-81e5-657d59f73b8c 2026-11-24 19:04:18,827 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c04db388-d4b2-4508-9c3e-df6b1a026975 2026-11-24 19:04:22,087 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2026-11-24 19:04:22,087 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13025918-73636391 failed! 2026-11-24 19:04:22,138 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13025918:ctest-vn-35286010 is 175.12.182.193 and allocation pool is NOT set 2026-11-24 19:04:24,196 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.380/1.867/3.355/1.487 ms') 2026-11-24 19:04:24,196 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13025918-73636391 passed 2026-11-24 19:04:24,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:04:24,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13025918-73636391, IP 175.12.182.195, Port 22 2026-11-24 19:04:24,512 - DEBUG - VM ctest-TestBasicPolicy-13025918-73636391 is ready for SSH connections 2026-11-24 19:04:24,512 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:04:24,512 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.12.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-24 19:04:24,512 - DEBUG - ping -s 56 -c 3 -W 1 175.12.182.195 2026-11-24 19:04:28,412 - DEBUG - PING 175.12.182.195 (175.12.182.195): 56 data bytes 64 bytes from 175.12.182.195: seq=0 ttl=63 time=4.375 ms 64 bytes from 175.12.182.195: seq=1 ttl=63 time=0.774 ms 64 bytes from 175.12.182.195: seq=2 ttl=63 time=0.807 ms --- 175.12.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.774/1.985/4.375 ms 2026-11-24 19:04:28,412 - INFO - Ping to IP 175.12.182.195 from VM ctest-TestBasicPolicy-13025918-35601028 passed 2026-11-24 19:04:28,586 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ee730f05-8f36-4052-a49c-de078a2cefbf", "href": "http://10.0.0.161:8082/network-policy/ee730f05-8f36-4052-a49c-de078a2cefbf"}} 2026-11-24 19:04:28,586 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-24 19:04:28,586 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.12.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-11-24 19:04:28,586 - DEBUG - ping -s 56 -c 3 -W 1 175.12.182.195 2026-11-24 19:04:31,718 - DEBUG - PING 175.12.182.195 (175.12.182.195): 56 data bytes 64 bytes from 175.12.182.195: seq=0 ttl=63 time=1.214 ms --- 175.12.182.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.214/1.214/1.214 ms 2026-11-24 19:04:31,718 - WARNING - Ping to IP 175.12.182.195 from VM ctest-TestBasicPolicy-13025918-35601028 failed 2026-11-24 19:04:31,718 - INFO - Deleting VM ctest-TestBasicPolicy-13025918-73636391 2026-11-24 19:04:31,782 - INFO - Deleting VM ctest-TestBasicPolicy-13025918-35601028 2026-11-24 19:04:32,107 - INFO - Deleted policy ctest-policy-allow-all-49513520 2026-11-24 19:04:32,107 - INFO - Deleting VN ctest-vn-35286010 2026-11-24 19:04:32,132 - DEBUG - VN 1c91e595-c0d3-4fd9-b930-c46158c6e311 still in use: Unable to complete operation on network 1c91e595-c0d3-4fd9-b930-c46158c6e311. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d078b90-fe00-4cf2-8264-5dc233b707cb'] 2026-11-24 19:04:32,132 - WARNING - Deleting VN ctest-vn-35286010 failed..Will retry 2026-11-24 19:04:34,168 - DEBUG - VN 1c91e595-c0d3-4fd9-b930-c46158c6e311 still in use: Unable to complete operation on network 1c91e595-c0d3-4fd9-b930-c46158c6e311. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dd48f069-516c-4f70-b80c-621d0075ff07'] 2026-11-24 19:04:34,168 - WARNING - Deleting VN ctest-vn-35286010 failed..Will retry 2026-11-24 19:04:36,250 - DEBUG - Response for deleting network () 2026-11-24 19:04:36,250 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/91733c51-094f-4a2d-8bf1-6b80a92b88f7 2026-11-24 19:04:36,255 - DEBUG - Response Code: 404 2026-11-24 19:04:36,255 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:04:36,259 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:04:36,312 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:04:36,388 - INFO - Validated that VN ctest-vn-35286010 is not found in API Server 2026-11-24 19:04:36,400 - DEBUG - VN ctest-vn-35286010 is not present in Agent 10.0.0.161 2026-11-24 19:04:36,400 - INFO - Validated that VN ctest-vn-35286010 is not in any agent 2026-11-24 19:04:36,417 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35286010 info 2026-11-24 19:04:36,418 - INFO - Deleting VN ctest-vn-50929605 2026-11-24 19:04:36,540 - DEBUG - Response for deleting network () 2026-11-24 19:04:36,540 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/c37dfe60-7621-4c53-babd-740e3436be03 2026-11-24 19:04:36,544 - DEBUG - Response Code: 404 2026-11-24 19:04:36,544 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-11-24 19:04:36,549 - DEBUG - Requesting: http://10.0.0.161:8082/domain/d0d2e718-64c7-4d4f-a618-699040af3b1b 2026-11-24 19:04:36,608 - DEBUG - Requesting: http://10.0.0.161:8082/project/c77b0fdf-2802-4021-9776-e2e3dccb2293 2026-11-24 19:04:36,684 - INFO - Validated that VN ctest-vn-50929605 is not found in API Server 2026-11-24 19:04:36,694 - DEBUG - VN ctest-vn-50929605 is not present in Agent 10.0.0.161 2026-11-24 19:04:36,694 - INFO - Validated that VN ctest-vn-50929605 is not in any agent 2026-11-24 19:04:36,710 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50929605 info 2026-11-24 19:04:36,968 - DEBUG - No XMPP flaps were noticed during the test 2026-11-24 19:04:36,968 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-11-24 19:04:36,968 - INFO - -------------------------------------------------------------------------------- 2026-11-24 19:04:37,704 - INFO - Deleted project: ctest-TestBasicPolicy-13025918, ID : c77b0fdf-2802-4021-9776-e2e3dccb2293