2026-08-03 02:35:11,912 - INFO - Domain Default found not creating 2026-08-03 02:35:12,092 - INFO - Project ctest-TestBasicPolicy-43590353 not found, creating it 2026-08-03 02:35:12,586 - INFO - Created Project:ctest-TestBasicPolicy-43590353, ID : d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:35:14,188 - INFO - ================================================================================ 2026-08-03 02:35:14,188 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-03 02:35:14,188 - 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-08-03 02:35:14,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-08-03 02:35:14,453 - INFO - Initial checks done. Running the testcase now 2026-08-03 02:35:14,453 - INFO - 2026-08-03 02:35:15,066 - DEBUG - Response for create_network : {'network': {'id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'name': 'ctest-vn-27133399', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-27133399'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:35:15,249 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1b84ce2-c32d-40f7-9460-1143f115cfde', 'name': '', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'network_id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'ip_version': 4, 'cidr': '98.104.137.64/26', 'allocation_pools': [{'start': '98.104.137.66', 'end': '98.104.137.126'}], 'gateway_ip': '98.104.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.104.137.66', 'tags': [], 'project_id': 'd999c864e40a486cb8e1d40a16632024'}} 2026-08-03 02:35:15,267 - INFO - Created VN ctest-vn-27133399 2026-08-03 02:35:15,323 - DEBUG - VN ctest-vn-27133399 UUID is f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:15,669 - DEBUG - Response for create_network : {'network': {'id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'name': 'ctest-vn-36834630', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-36834630'], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:35:15,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a86dcf0-97bd-48dc-af8c-24b14b3aa3b6', 'name': '', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'network_id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'ip_version': 4, 'cidr': '113.189.147.192/26', 'allocation_pools': [{'start': '113.189.147.194', 'end': '113.189.147.254'}], 'gateway_ip': '113.189.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.189.147.194', 'tags': [], 'project_id': 'd999c864e40a486cb8e1d40a16632024'}} 2026-08-03 02:35:15,876 - INFO - Created VN ctest-vn-36834630 2026-08-03 02:35:15,931 - DEBUG - VN ctest-vn-36834630 UUID is 583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:16,043 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399, 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-43590353:ctest-vn-36834630, 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-08-03 02:35:16,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'name': 'ctest-vn-27133399', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1b84ce2-c32d-40f7-9460-1143f115cfde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-27133399'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']], 'subnet_ipam': [{'subnet_cidr': '98.104.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:35:16,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'name': 'ctest-vn-36834630', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a86dcf0-97bd-48dc-af8c-24b14b3aa3b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-36834630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']], 'subnet_ipam': [{'subnet_cidr': '113.189.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-03 02:35:16,763 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:35:17,092 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:35:17,131 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:35:17,145 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:35:17,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,241 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,252 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:35:17,261 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:35:17,268 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e612ad2-acd0-43e3-9b8c-a2a8561379f8 2026-08-03 02:35:17,275 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 02:35:17,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,285 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:35:17,301 - INFO - Verified VN network id 11 for VN f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,301 - INFO - Verifications in API Server for VN ctest-vn-27133399 passed 2026-08-03 02:35:17,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,312 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:35:17,319 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:35:17,329 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e612ad2-acd0-43e3-9b8c-a2a8561379f8 2026-08-03 02:35:17,341 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43590353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17373725866342959822', 'uuid-lslong': '12415539402549791048'}, 'enable': 'true', 'created': '2026-08-03T02:35:15', 'last-modified': '2026-08-03T02:35:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011322'} 2026-08-03 02:35:17,349 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-03 02:35:17,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27133399 passed 2026-08-03 02:35:17,349 - DEBUG - ====Verifying policy data for ctest-vn-27133399 in API_Server ====== 2026-08-03 02:35:17,349 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:35:17,355 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:35:17,366 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:35:17,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948 2026-08-03 02:35:17,453 - DEBUG - ==>Verifying data for policy with id: 891aaa7a-5d2f-49aa-8937-33e8e1a16bb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905'] 2026-08-03 02:35:17,453 - INFO - VN ctest-vn-27133399 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-03 02:35:17,453 - DEBUG - Verifying the vn in opserver 2026-08-03 02:35:17,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399 virtual network link through opserver 10.0.0.33 2026-08-03 02:35:17,453 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-03 02:35:17,784 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-03 02:35:17,840 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399?flat'} 2026-08-03 02:35:17,840 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399 is found in opserver 2026-08-03 02:35:17,851 - DEBUG - Do not have enough data to verify VN in agent 2026-08-03 02:35:17,856 - DEBUG - VRF ids for VN ctest-vn-27133399: {} 2026-08-03 02:35:17,856 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:35:17,862 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:35:17,874 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:35:17,959 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:17,980 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:17,992 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:35:18,001 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:35:18,011 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/44f7a17a-11ec-4627-8e62-618bd9857335 2026-08-03 02:35:18,021 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-03 02:35:18,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:18,032 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:35:18,050 - INFO - Verified VN network id 12 for VN 583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:18,051 - INFO - Verifications in API Server for VN ctest-vn-36834630 passed 2026-08-03 02:35:18,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:18,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:35:18,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:35:18,082 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/44f7a17a-11ec-4627-8e62-618bd9857335 2026-08-03 02:35:18,099 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43590353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6356697808712123628', 'uuid-lslong': '12427772322899473679'}, 'enable': 'true', 'created': '2026-08-03T02:35:15', 'last-modified': '2026-08-03T02:35:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523277'} 2026-08-03 02:35:18,105 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-03 02:35:18,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36834630 passed 2026-08-03 02:35:18,106 - DEBUG - ====Verifying policy data for ctest-vn-36834630 in API_Server ====== 2026-08-03 02:35:18,106 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:35:18,112 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:35:18,127 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:35:18,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f 2026-08-03 02:35:18,215 - DEBUG - ==>Verifying data for policy with id: 891aaa7a-5d2f-49aa-8937-33e8e1a16bb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905'] 2026-08-03 02:35:18,215 - INFO - VN ctest-vn-36834630 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-03 02:35:18,215 - DEBUG - Verifying the vn in opserver 2026-08-03 02:35:18,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630 virtual network link through opserver 10.0.0.33 2026-08-03 02:35:18,215 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-08-03 02:35:18,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630?flat'} 2026-08-03 02:35:18,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630 is found in opserver 2026-08-03 02:35:18,241 - DEBUG - Do not have enough data to verify VN in agent 2026-08-03 02:35:18,249 - DEBUG - VRF ids for VN ctest-vn-36834630: {} 2026-08-03 02:35:18,307 - DEBUG - Services list from nova: [, , ] 2026-08-03 02:35:18,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6128-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6128-30) 2026-08-03 02:35:19,239 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6128-30), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6128-30) 2026-08-03 02:35:19,239 - INFO - Waiting for VM ctest-TestBasicPolicy-43590353-54470409 to be up.. 2026-08-03 02:35:19,286 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:24,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:29,438 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:34,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:39,628 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:44,708 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:49,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-03 02:35:54,888 - DEBUG - VM is in ACTIVE state now 2026-08-03 02:35:54,888 - INFO - VM name : ctest-TestBasicPolicy-43590353-54470409 2026-08-03 02:35:54,985 - DEBUG - VM ctest-TestBasicPolicy-43590353-54470409 ID is 855357a9-19d9-4bf8-9e66-0e17ca9971f7 2026-08-03 02:35:55,014 - DEBUG - VM ctest-TestBasicPolicy-43590353-54470409 launched on Node cn-jenkins-deploy-platform-ansible-os-6128-30 2026-08-03 02:35:55,109 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/855357a9-19d9-4bf8-9e66-0e17ca9971f7 2026-08-03 02:35:55,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/3cdf504d-3d7c-4798-924e-d13668679769 2026-08-03 02:35:58,382 - 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 1008ms') 2026-08-03 02:35:58,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43590353-54470409 failed! 2026-08-03 02:35:58,439 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399 is 98.104.137.65 and allocation pool is NOT set 2026-08-03 02:36:00,500 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.560 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.560/1.498/2.436/0.938 ms') 2026-08-03 02:36:00,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43590353-54470409 passed 2026-08-03 02:36:00,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:36:00,655 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43590353-54470409, IP 98.104.137.67, Port 22 2026-08-03 02:36:00,810 - DEBUG - VM ctest-TestBasicPolicy-43590353-54470409 is ready for SSH connections 2026-08-03 02:36:00,810 - INFO - Waiting for VM ctest-TestBasicPolicy-43590353-84378541 to be up.. 2026-08-03 02:36:00,894 - DEBUG - VM is in ACTIVE state now 2026-08-03 02:36:00,894 - INFO - VM name : ctest-TestBasicPolicy-43590353-84378541 2026-08-03 02:36:00,980 - DEBUG - VM ctest-TestBasicPolicy-43590353-84378541 ID is 0abf55b0-6981-442e-839e-e02c216f2457 2026-08-03 02:36:00,980 - DEBUG - VM ctest-TestBasicPolicy-43590353-84378541 launched on Node cn-jenkins-deploy-platform-ansible-os-6128-30 2026-08-03 02:36:01,065 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/0abf55b0-6981-442e-839e-e02c216f2457 2026-08-03 02:36:01,076 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/d94b4754-ec22-4ed5-955e-cd8980f934b2 2026-08-03 02:36:04,321 - 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 1001ms') 2026-08-03 02:36:04,321 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43590353-84378541 failed! 2026-08-03 02:36:04,375 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630 is 113.189.147.193 and allocation pool is NOT set 2026-08-03 02:36:06,444 - 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=9.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.863 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.863/5.413/9.964/4.550 ms') 2026-08-03 02:36:06,444 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43590353-84378541 passed 2026-08-03 02:36:06,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:36:06,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43590353-84378541, IP 113.189.147.195, Port 22 2026-08-03 02:36:06,763 - DEBUG - VM ctest-TestBasicPolicy-43590353-84378541 is ready for SSH connections 2026-08-03 02:36:06,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:36:06,763 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.189.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-03 02:36:06,763 - DEBUG - ping -s 56 -c 3 -W 1 113.189.147.195 2026-08-03 02:36:10,710 - DEBUG - PING 113.189.147.195 (113.189.147.195): 56 data bytes 64 bytes from 113.189.147.195: seq=0 ttl=63 time=4.551 ms 64 bytes from 113.189.147.195: seq=1 ttl=63 time=1.184 ms 64 bytes from 113.189.147.195: seq=2 ttl=63 time=1.176 ms --- 113.189.147.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.176/2.303/4.551 ms 2026-08-03 02:36:10,710 - INFO - Ping to IP 113.189.147.195 from VM ctest-TestBasicPolicy-43590353-54470409 passed 2026-08-03 02:36:10,887 - DEBUG - Policy Update Response {"network-policy": {"uuid": "891aaa7a-5d2f-49aa-8937-33e8e1a16bb1", "href": "http://10.0.0.33:8082/network-policy/891aaa7a-5d2f-49aa-8937-33e8e1a16bb1"}} 2026-08-03 02:36:10,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-03 02:36:10,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.189.147.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-08-03 02:36:10,887 - DEBUG - ping -s 56 -c 3 -W 1 113.189.147.195 2026-08-03 02:36:14,022 - DEBUG - PING 113.189.147.195 (113.189.147.195): 56 data bytes 64 bytes from 113.189.147.195: seq=0 ttl=63 time=1.935 ms --- 113.189.147.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.935/1.935/1.935 ms 2026-08-03 02:36:14,022 - WARNING - Ping to IP 113.189.147.195 from VM ctest-TestBasicPolicy-43590353-54470409 failed 2026-08-03 02:36:14,022 - INFO - Deleting VM ctest-TestBasicPolicy-43590353-84378541 2026-08-03 02:36:14,100 - INFO - Deleting VM ctest-TestBasicPolicy-43590353-54470409 2026-08-03 02:36:14,486 - INFO - Deleted policy ctest-policy-allow-all-80864905 2026-08-03 02:36:14,487 - INFO - Deleting VN ctest-vn-36834630 2026-08-03 02:36:14,524 - DEBUG - VN 583786fa-50ca-44ec-ac78-51151fdab50f still in use: Unable to complete operation on network 583786fa-50ca-44ec-ac78-51151fdab50f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3f03de46-aea1-4bdf-9b4b-bab409f0ab28'] 2026-08-03 02:36:14,524 - WARNING - Deleting VN ctest-vn-36834630 failed..Will retry 2026-08-03 02:36:16,646 - DEBUG - Response for deleting network () 2026-08-03 02:36:16,646 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032 2026-08-03 02:36:16,652 - DEBUG - Response Code: 404 2026-08-03 02:36:16,652 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:36:16,671 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:36:16,726 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:36:16,805 - INFO - Validated that VN ctest-vn-36834630 is not found in API Server 2026-08-03 02:36:16,817 - DEBUG - VN ctest-vn-36834630 is not present in Agent 10.0.0.33 2026-08-03 02:36:16,817 - INFO - Validated that VN ctest-vn-36834630 is not in any agent 2026-08-03 02:36:16,840 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36834630 info 2026-08-03 02:36:16,840 - INFO - Deleting VN ctest-vn-27133399 2026-08-03 02:36:16,970 - DEBUG - Response for deleting network () 2026-08-03 02:36:16,971 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf 2026-08-03 02:36:16,979 - DEBUG - Response Code: 404 2026-08-03 02:36:16,979 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-08-03 02:36:16,985 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc 2026-08-03 02:36:17,043 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024 2026-08-03 02:36:17,130 - INFO - Validated that VN ctest-vn-27133399 is not found in API Server 2026-08-03 02:36:17,145 - DEBUG - VN ctest-vn-27133399 is not present in Agent 10.0.0.33 2026-08-03 02:36:17,145 - INFO - Validated that VN ctest-vn-27133399 is not in any agent 2026-08-03 02:36:17,164 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27133399 info 2026-08-03 02:36:17,426 - DEBUG - No XMPP flaps were noticed during the test
2026-08-03 02:36:17,426 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-08-03 02:36:17,426 - INFO - -------------------------------------------------------------------------------- 2026-08-03 02:36:18,163 - INFO - Deleted project: ctest-TestBasicPolicy-43590353, ID : d999c864-e40a-486c-b8e1-d40a16632024