2026-07-30 11:47:53,742 - INFO - Domain Default found not creating 2026-07-30 11:47:53,915 - INFO - Project ctest-TestBasicPolicy-14634674 not found, creating it 2026-07-30 11:47:54,423 - INFO - Created Project:ctest-TestBasicPolicy-14634674, ID : 971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:47:56,056 - INFO - ================================================================================ 2026-07-30 11:47:56,057 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-30 11:47:56,057 - 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-07-30 11:47:56,327 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-07-30 11:47:56,327 - INFO - Initial checks done. Running the testcase now 2026-07-30 11:47:56,327 - INFO - 2026-07-30 11:47:56,905 - DEBUG - Response for create_network : {'network': {'id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'name': 'ctest-vn-39695949', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-39695949'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:47:57,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '376b51a6-a8d8-4f28-9ff9-36f25ba39b72', 'name': '', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'network_id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'ip_version': 4, 'cidr': '31.139.198.128/26', 'allocation_pools': [{'start': '31.139.198.130', 'end': '31.139.198.190'}], 'gateway_ip': '31.139.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.139.198.130', 'tags': [], 'project_id': '971219e7210a4acaa1af965f66e1607d'}} 2026-07-30 11:47:57,113 - INFO - Created VN ctest-vn-39695949 2026-07-30 11:47:57,166 - DEBUG - VN ctest-vn-39695949 UUID is c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:57,471 - DEBUG - Response for create_network : {'network': {'id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'name': 'ctest-vn-38581155', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-38581155'], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:47:57,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca6eb7bd-be20-4a18-9a6c-af154d7bdd0d', 'name': '', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'network_id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'ip_version': 4, 'cidr': '68.198.188.0/26', 'allocation_pools': [{'start': '68.198.188.2', 'end': '68.198.188.62'}], 'gateway_ip': '68.198.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.198.188.2', 'tags': [], 'project_id': '971219e7210a4acaa1af965f66e1607d'}} 2026-07-30 11:47:57,706 - INFO - Created VN ctest-vn-38581155 2026-07-30 11:47:57,758 - DEBUG - VN ctest-vn-38581155 UUID is 9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:57,914 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949, 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-14634674:ctest-vn-38581155, 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-07-30 11:47:58,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c5295a1e-3cda-44f7-afb5-0cff00fb0fdb', 'name': 'ctest-vn-39695949', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['376b51a6-a8d8-4f28-9ff9-36f25ba39b72'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-39695949'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']], 'subnet_ipam': [{'subnet_cidr': '31.139.198.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:47:58,499 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ab5dc84-68fa-4046-a057-0acf5c8148db', 'name': 'ctest-vn-38581155', 'tenant_id': '971219e7210a4acaa1af965f66e1607d', 'project_id': '971219e7210a4acaa1af965f66e1607d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ca6eb7bd-be20-4a18-9a6c-af154d7bdd0d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-vn-38581155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657']], 'subnet_ipam': [{'subnet_cidr': '68.198.188.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-30 11:47:58,637 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:47:58,992 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:47:59,022 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:47:59,038 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:47:59,119 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,134 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,145 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:47:59,154 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:47:59,162 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/f809326c-395f-4fe3-b75c-2b7dc1180bbf 2026-07-30 11:47:59,171 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 11:47:59,171 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,183 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:47:59,199 - INFO - Verified VN network id 11 for VN c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,199 - INFO - Verifications in API Server for VN ctest-vn-39695949 passed 2026-07-30 11:47:59,199 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,210 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:47:59,218 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:47:59,226 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/f809326c-395f-4fe3-b75c-2b7dc1180bbf 2026-07-30 11:47:59,240 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14634674', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14206985585433396471', 'uuid-lslong': '12661040216794664923'}, 'enable': 'true', 'created': '2026-07-30T11:47:56', 'last-modified': '2026-07-30T11:47:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017714'} 2026-07-30 11:47:59,247 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-30 11:47:59,247 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39695949 passed 2026-07-30 11:47:59,247 - DEBUG - ====Verifying policy data for ctest-vn-39695949 in API_Server ====== 2026-07-30 11:47:59,247 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:47:59,253 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:47:59,264 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:47:59,342 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/c5295a1e-3cda-44f7-afb5-0cff00fb0fdb 2026-07-30 11:47:59,351 - DEBUG - ==>Verifying data for policy with id: cd871d61-15fe-4792-b051-dcaf1eaafb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657'] 2026-07-30 11:47:59,351 - INFO - VN ctest-vn-39695949 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 11:47:59,351 - DEBUG - Verifying the vn in opserver 2026-07-30 11:47:59,351 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949 virtual network link through opserver 10.0.0.177 2026-07-30 11:47:59,352 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-07-30 11:47:59,676 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-07-30 11:47:59,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949?flat'} 2026-07-30 11:47:59,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949 is found in opserver 2026-07-30 11:47:59,746 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 11:47:59,751 - DEBUG - VRF ids for VN ctest-vn-39695949: {} 2026-07-30 11:47:59,751 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:47:59,758 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:47:59,769 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:47:59,845 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:59,857 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:59,867 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:47:59,875 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:47:59,882 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/febed15e-4549-454f-b44d-44a12f39bd8c 2026-07-30 11:47:59,890 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 11:47:59,890 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:59,902 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:47:59,919 - INFO - Verified VN network id 12 for VN 9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:59,919 - INFO - Verifications in API Server for VN ctest-vn-38581155 passed 2026-07-30 11:47:59,919 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:47:59,931 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:47:59,939 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:47:59,947 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/febed15e-4549-454f-b44d-44a12f39bd8c 2026-07-30 11:47:59,962 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-14634674', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11148058913880555590', 'uuid-lslong': '11553715254768781531'}, 'enable': 'true', 'created': '2026-07-30T11:47:57', 'last-modified': '2026-07-30T11:47:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.491465'} 2026-07-30 11:47:59,970 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-30 11:47:59,970 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38581155 passed 2026-07-30 11:47:59,970 - DEBUG - ====Verifying policy data for ctest-vn-38581155 in API_Server ====== 2026-07-30 11:47:59,970 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:47:59,978 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:47:59,992 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:48:00,084 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9ab5dc84-68fa-4046-a057-0acf5c8148db 2026-07-30 11:48:00,097 - DEBUG - ==>Verifying data for policy with id: cd871d61-15fe-4792-b051-dcaf1eaafb7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-14634674', 'ctest-policy-allow-all-74077657'] 2026-07-30 11:48:00,097 - INFO - VN ctest-vn-38581155 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-30 11:48:00,097 - DEBUG - Verifying the vn in opserver 2026-07-30 11:48:00,097 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155 virtual network link through opserver 10.0.0.177 2026-07-30 11:48:00,097 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-07-30 11:48:00,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155?flat'} 2026-07-30 11:48:00,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155 is found in opserver 2026-07-30 11:48:00,123 - DEBUG - Do not have enough data to verify VN in agent 2026-07-30 11:48:00,129 - DEBUG - VRF ids for VN ctest-vn-38581155: {} 2026-07-30 11:48:00,199 - DEBUG - Services list from nova: [, , ] 2026-07-30 11:48:00,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6123-1) 2026-07-30 11:48:01,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6123-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6123-1) 2026-07-30 11:48:01,359 - INFO - Waiting for VM ctest-TestBasicPolicy-14634674-65547877 to be up.. 2026-07-30 11:48:01,420 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:06,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:11,582 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:16,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:21,735 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:26,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:31,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-30 11:48:36,987 - DEBUG - VM is in ACTIVE state now 2026-07-30 11:48:36,987 - INFO - VM name : ctest-TestBasicPolicy-14634674-65547877 2026-07-30 11:48:37,070 - DEBUG - VM ctest-TestBasicPolicy-14634674-65547877 ID is 00468011-7dd4-416d-8998-a1af1ed78d63 2026-07-30 11:48:37,089 - DEBUG - VM ctest-TestBasicPolicy-14634674-65547877 launched on Node cn-jenkins-deploy-platform-ansible-os-6123-1 2026-07-30 11:48:37,167 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/00468011-7dd4-416d-8998-a1af1ed78d63 2026-07-30 11:48:37,176 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/8fd97d93-b41a-46fd-8905-84fefd6ea42f 2026-07-30 11:48:40,431 - 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 1001ms') 2026-07-30 11:48:40,431 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14634674-65547877 failed! 2026-07-30 11:48:40,486 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-39695949 is 31.139.198.129 and allocation pool is NOT set 2026-07-30 11:48:42,549 - 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=8.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.612 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.612/4.688/8.765/4.076 ms') 2026-07-30 11:48:42,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-14634674-65547877 passed 2026-07-30 11:48:42,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:48:42,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14634674-65547877, IP 31.139.198.131, Port 22 2026-07-30 11:48:42,866 - DEBUG - VM ctest-TestBasicPolicy-14634674-65547877 is ready for SSH connections 2026-07-30 11:48:42,866 - INFO - Waiting for VM ctest-TestBasicPolicy-14634674-78013568 to be up.. 2026-07-30 11:48:42,949 - DEBUG - VM is in ACTIVE state now 2026-07-30 11:48:42,949 - INFO - VM name : ctest-TestBasicPolicy-14634674-78013568 2026-07-30 11:48:43,039 - DEBUG - VM ctest-TestBasicPolicy-14634674-78013568 ID is 6eac21e5-0512-4cca-9e03-7a4d46267929 2026-07-30 11:48:43,039 - DEBUG - VM ctest-TestBasicPolicy-14634674-78013568 launched on Node cn-jenkins-deploy-platform-ansible-os-6123-1 2026-07-30 11:48:43,126 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/6eac21e5-0512-4cca-9e03-7a4d46267929 2026-07-30 11:48:43,137 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/a7e73a7c-d3cf-45d6-b080-d666b4458b6d 2026-07-30 11:48:46,424 - 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 1032ms') 2026-07-30 11:48:46,424 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14634674-78013568 failed! 2026-07-30 11:48:46,478 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-14634674:ctest-vn-38581155 is 68.198.188.1 and allocation pool is NOT set 2026-07-30 11:48:48,543 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.689 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.689/1.992/3.296/1.303 ms') 2026-07-30 11:48:48,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-14634674-78013568 passed 2026-07-30 11:48:48,698 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:48:48,699 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-14634674-78013568, IP 68.198.188.3, Port 22 2026-07-30 11:48:48,866 - DEBUG - VM ctest-TestBasicPolicy-14634674-78013568 is ready for SSH connections 2026-07-30 11:48:48,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:48:48,866 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.198.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-07-30 11:48:48,866 - DEBUG - ping -s 56 -c 3 -W 1 68.198.188.3 2026-07-30 11:48:52,848 - DEBUG - PING 68.198.188.3 (68.198.188.3): 56 data bytes 64 bytes from 68.198.188.3: seq=0 ttl=63 time=4.072 ms 64 bytes from 68.198.188.3: seq=1 ttl=63 time=1.163 ms 64 bytes from 68.198.188.3: seq=2 ttl=63 time=1.416 ms --- 68.198.188.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.163/2.217/4.072 ms 2026-07-30 11:48:52,848 - INFO - Ping to IP 68.198.188.3 from VM ctest-TestBasicPolicy-14634674-65547877 passed 2026-07-30 11:48:53,038 - DEBUG - Policy Update Response {"network-policy": {"uuid": "cd871d61-15fe-4792-b051-dcaf1eaafb7b", "href": "http://10.0.0.177:8082/network-policy/cd871d61-15fe-4792-b051-dcaf1eaafb7b"}} 2026-07-30 11:48:53,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-30 11:48:53,038 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.198.188.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-07-30 11:48:53,038 - DEBUG - ping -s 56 -c 3 -W 1 68.198.188.3 2026-07-30 11:48:56,167 - DEBUG - PING 68.198.188.3 (68.198.188.3): 56 data bytes 64 bytes from 68.198.188.3: seq=0 ttl=63 time=1.499 ms --- 68.198.188.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.499/1.499/1.499 ms 2026-07-30 11:48:56,167 - WARNING - Ping to IP 68.198.188.3 from VM ctest-TestBasicPolicy-14634674-65547877 failed 2026-07-30 11:48:56,167 - INFO - Deleting VM ctest-TestBasicPolicy-14634674-78013568 2026-07-30 11:48:56,246 - INFO - Deleting VM ctest-TestBasicPolicy-14634674-65547877 2026-07-30 11:48:56,646 - INFO - Deleted policy ctest-policy-allow-all-74077657 2026-07-30 11:48:56,646 - INFO - Deleting VN ctest-vn-38581155 2026-07-30 11:48:56,679 - DEBUG - VN 9ab5dc84-68fa-4046-a057-0acf5c8148db still in use: Unable to complete operation on network 9ab5dc84-68fa-4046-a057-0acf5c8148db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0e90546d-fdb6-4e68-a3e4-f485e027ea46'] 2026-07-30 11:48:56,679 - WARNING - Deleting VN ctest-vn-38581155 failed..Will retry 2026-07-30 11:48:58,790 - DEBUG - Response for deleting network () 2026-07-30 11:48:58,791 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f87c5f95-8dd8-4f15-a069-1429a67d5b0f 2026-07-30 11:48:58,801 - DEBUG - Response Code: 404 2026-07-30 11:48:58,801 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:48:58,806 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:48:58,861 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:48:58,937 - INFO - Validated that VN ctest-vn-38581155 is not found in API Server 2026-07-30 11:48:58,947 - DEBUG - VN ctest-vn-38581155 is not present in Agent 10.0.0.177 2026-07-30 11:48:58,947 - INFO - Validated that VN ctest-vn-38581155 is not in any agent 2026-07-30 11:48:58,961 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38581155 info 2026-07-30 11:48:58,961 - INFO - Deleting VN ctest-vn-39695949 2026-07-30 11:48:59,074 - DEBUG - Response for deleting network () 2026-07-30 11:48:59,074 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/72866d37-bd4f-43ab-bf95-5d3851868475 2026-07-30 11:48:59,083 - DEBUG - Response Code: 404 2026-07-30 11:48:59,083 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-07-30 11:48:59,090 - DEBUG - Requesting: http://10.0.0.177:8082/domain/65285694-cfd7-4d2e-b025-d0a97f937084 2026-07-30 11:48:59,143 - DEBUG - Requesting: http://10.0.0.177:8082/project/971219e7-210a-4aca-a1af-965f66e1607d 2026-07-30 11:48:59,217 - INFO - Validated that VN ctest-vn-39695949 is not found in API Server 2026-07-30 11:48:59,228 - DEBUG - VN ctest-vn-39695949 is not present in Agent 10.0.0.177 2026-07-30 11:48:59,228 - INFO - Validated that VN ctest-vn-39695949 is not in any agent 2026-07-30 11:48:59,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39695949 info 2026-07-30 11:48:59,504 - DEBUG - No XMPP flaps were noticed during the test
2026-07-30 11:48:59,504 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:03]
2026-07-30 11:48:59,504 - INFO - -------------------------------------------------------------------------------- 2026-07-30 11:49:00,238 - INFO - Deleted project: ctest-TestBasicPolicy-14634674, ID : 971219e7-210a-4aca-a1af-965f66e1607d