2026-11-04 13:45:48,781 - INFO - Domain Default found not creating 2026-11-04 13:45:49,095 - INFO - Project ctest-TestBasicPolicy-99936515 not found, creating it 2026-11-04 13:45:49,648 - INFO - Created Project:ctest-TestBasicPolicy-99936515, ID : 4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:45:51,597 - INFO - ================================================================================ 2026-11-04 13:45:51,597 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-04 13:45:51,598 - 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-04 13:45:51,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-11-04 13:45:51,875 - INFO - Initial checks done. Running the testcase now 2026-11-04 13:45:51,875 - INFO - 2026-11-04 13:45:52,584 - DEBUG - Response for create_network : {'network': {'id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'name': 'ctest-vn-55471826', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-55471826'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:45:52,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f112defc-45fc-4f46-9866-c4c2440e2d93', 'name': '', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'network_id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'ip_version': 4, 'cidr': '57.133.220.128/26', 'allocation_pools': [{'start': '57.133.220.130', 'end': '57.133.220.190'}], 'gateway_ip': '57.133.220.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.133.220.130', 'tags': [], 'project_id': '4c79c7a5bf614103b3edfee0470c4759'}} 2026-11-04 13:45:52,826 - INFO - Created VN ctest-vn-55471826 2026-11-04 13:45:52,879 - DEBUG - VN ctest-vn-55471826 UUID is f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:53,218 - DEBUG - Response for create_network : {'network': {'id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'name': 'ctest-vn-41104417', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-41104417'], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:45:53,433 - DEBUG - Response for create_subnet : {'subnet': {'id': '46beae0d-7f19-41b4-86e6-7c36ccda071c', 'name': '', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'network_id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'ip_version': 4, 'cidr': '87.184.117.0/26', 'allocation_pools': [{'start': '87.184.117.2', 'end': '87.184.117.62'}], 'gateway_ip': '87.184.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.184.117.2', 'tags': [], 'project_id': '4c79c7a5bf614103b3edfee0470c4759'}} 2026-11-04 13:45:53,450 - INFO - Created VN ctest-vn-41104417 2026-11-04 13:45:53,503 - DEBUG - VN ctest-vn-41104417 UUID is afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:53,616 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826, 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-99936515:ctest-vn-41104417, 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-04 13:45:53,931 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9257864-bbaa-4654-be47-6a7e4af897a2', 'name': 'ctest-vn-55471826', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f112defc-45fc-4f46-9866-c4c2440e2d93'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-55471826'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']], 'subnet_ipam': [{'subnet_cidr': '57.133.220.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:45:54,192 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'afccdbe2-4e69-4e90-b761-06611e1e785b', 'name': 'ctest-vn-41104417', 'tenant_id': '4c79c7a5bf614103b3edfee0470c4759', 'project_id': '4c79c7a5bf614103b3edfee0470c4759', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['46beae0d-7f19-41b4-86e6-7c36ccda071c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-vn-41104417'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835']], 'subnet_ipam': [{'subnet_cidr': '87.184.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-04 13:45:54,355 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:45:54,730 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:45:54,765 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:45:54,778 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:45:54,856 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:54,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:54,881 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:45:54,890 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:45:54,898 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66196999-719a-4e57-a07b-f7f41d10edf8 2026-11-04 13:45:54,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 13:45:54,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:54,915 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:45:54,933 - INFO - Verified VN network id 12 for VN f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:54,933 - INFO - Verifications in API Server for VN ctest-vn-55471826 passed 2026-11-04 13:45:54,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:54,944 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:45:54,952 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:45:54,960 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/66196999-719a-4e57-a07b-f7f41d10edf8 2026-11-04 13:45:54,974 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99936515', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17952887863622911572', 'uuid-lslong': '13711044681208993698'}, 'enable': 'true', 'created': '2026-11-04T13:45:52', 'last-modified': '2026-11-04T13:45:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.064276'} 2026-11-04 13:45:54,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-04 13:45:54,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55471826 passed 2026-11-04 13:45:54,981 - DEBUG - ====Verifying policy data for ctest-vn-55471826 in API_Server ====== 2026-11-04 13:45:54,981 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:45:54,988 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:45:55,001 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:45:55,084 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9257864-bbaa-4654-be47-6a7e4af897a2 2026-11-04 13:45:55,096 - DEBUG - ==>Verifying data for policy with id: 50904ce4-5c54-4524-8afe-0e6445523f7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835'] 2026-11-04 13:45:55,096 - INFO - VN ctest-vn-55471826 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 13:45:55,096 - DEBUG - Verifying the vn in opserver 2026-11-04 13:45:55,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826 virtual network link through opserver 10.0.0.50 2026-11-04 13:45:55,096 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 13:45:55,460 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 13:45:55,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826?flat'} 2026-11-04 13:45:55,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826 is found in opserver 2026-11-04 13:45:55,536 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 13:45:55,541 - DEBUG - VRF ids for VN ctest-vn-55471826: {} 2026-11-04 13:45:55,541 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:45:55,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:45:55,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:45:55,630 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,654 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:45:55,663 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:45:55,671 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea61e212-4fe0-4467-94f8-b756222abf40 2026-11-04 13:45:55,677 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 13:45:55,677 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,688 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:45:55,704 - INFO - Verified VN network id 13 for VN afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,705 - INFO - Verifications in API Server for VN ctest-vn-41104417 passed 2026-11-04 13:45:55,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,716 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:45:55,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:45:55,733 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ea61e212-4fe0-4467-94f8-b756222abf40 2026-11-04 13:45:55,747 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99936515', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12667741616910978704', 'uuid-lslong': '13213849795868653659'}, 'enable': 'true', 'created': '2026-11-04T13:45:53', 'last-modified': '2026-11-04T13:45:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.586777'} 2026-11-04 13:45:55,755 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-04 13:45:55,755 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41104417 passed 2026-11-04 13:45:55,756 - DEBUG - ====Verifying policy data for ctest-vn-41104417 in API_Server ====== 2026-11-04 13:45:55,756 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:45:55,762 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:45:55,774 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:45:55,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/afccdbe2-4e69-4e90-b761-06611e1e785b 2026-11-04 13:45:55,865 - DEBUG - ==>Verifying data for policy with id: 50904ce4-5c54-4524-8afe-0e6445523f7b, fqn: ['default-domain', 'ctest-TestBasicPolicy-99936515', 'ctest-policy-allow-all-09746835'] 2026-11-04 13:45:55,865 - INFO - VN ctest-vn-41104417 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-04 13:45:55,865 - DEBUG - Verifying the vn in opserver 2026-11-04 13:45:55,865 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417 virtual network link through opserver 10.0.0.50 2026-11-04 13:45:55,865 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-11-04 13:45:55,877 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417?flat'} 2026-11-04 13:45:55,877 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-41104417 is found in opserver 2026-11-04 13:45:55,890 - DEBUG - Do not have enough data to verify VN in agent 2026-11-04 13:45:55,897 - DEBUG - VRF ids for VN ctest-vn-41104417: {} 2026-11-04 13:45:55,959 - DEBUG - Services list from nova: [, , ] 2026-11-04 13:45:56,423 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6481-1) 2026-11-04 13:45:56,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6481-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6481-1) 2026-11-04 13:45:56,851 - INFO - Waiting for VM ctest-TestBasicPolicy-99936515-60976580 to be up.. 2026-11-04 13:45:56,907 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:01,998 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:07,097 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:12,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:17,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:22,348 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:27,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:32,525 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-04 13:46:37,613 - DEBUG - VM is in ACTIVE state now 2026-11-04 13:46:37,613 - INFO - VM name : ctest-TestBasicPolicy-99936515-60976580 2026-11-04 13:46:37,711 - DEBUG - VM ctest-TestBasicPolicy-99936515-60976580 ID is c261560a-4915-412a-9c42-abaf70e14336 2026-11-04 13:46:37,737 - DEBUG - VM ctest-TestBasicPolicy-99936515-60976580 launched on Node cn-jenkins-deploy-platform-ansible-os-6481-1 2026-11-04 13:46:37,838 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c261560a-4915-412a-9c42-abaf70e14336 2026-11-04 13:46:37,848 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a1d21ff2-22e6-4b95-a02c-f3e52c01e441 2026-11-04 13:46:41,109 - 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 1005ms') 2026-11-04 13:46:41,110 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99936515-60976580 failed! 2026-11-04 13:46:41,167 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99936515:ctest-vn-55471826 is 57.133.220.129 and allocation pool is NOT set 2026-11-04 13:46:45,242 - 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=2 ttl=63 time=6.94 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 6.938/6.938/6.938/0.000 ms') 2026-11-04 13:46:45,242 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99936515-60976580 passed 2026-11-04 13:46:45,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:46:45,400 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99936515-60976580, IP 57.133.220.131, Port 22 2026-11-04 13:46:45,555 - DEBUG - VM ctest-TestBasicPolicy-99936515-60976580 is ready for SSH connections 2026-11-04 13:46:45,555 - INFO - Waiting for VM ctest-TestBasicPolicy-99936515-76405545 to be up.. 2026-11-04 13:46:45,640 - DEBUG - VM is in ACTIVE state now 2026-11-04 13:46:45,640 - INFO - VM name : ctest-TestBasicPolicy-99936515-76405545 2026-11-04 13:46:45,734 - DEBUG - VM ctest-TestBasicPolicy-99936515-76405545 ID is 8c6518e2-f415-4bd6-ad66-31e4bfc2b28d 2026-11-04 13:46:45,735 - DEBUG - VM ctest-TestBasicPolicy-99936515-76405545 launched on Node cn-jenkins-deploy-platform-ansible-os-6481-1 2026-11-04 13:46:45,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8c6518e2-f415-4bd6-ad66-31e4bfc2b28d 2026-11-04 13:46:45,828 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe12a4b2-f77b-43d6-9f3c-99e4afcb9d15 2026-11-04 13:46:47,076 - 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=11.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/6.028/11.491/5.463 ms') 2026-11-04 13:46:47,076 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99936515-76405545 passed 2026-11-04 13:46:47,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:46:47,231 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99936515-76405545, IP 87.184.117.3, Port 22 2026-11-04 13:46:47,398 - DEBUG - VM ctest-TestBasicPolicy-99936515-76405545 is ready for SSH connections 2026-11-04 13:46:47,398 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:46:47,398 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.184.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 13:46:47,398 - DEBUG - ping -s 56 -c 3 -W 1 87.184.117.3 2026-11-04 13:46:51,449 - DEBUG - PING 87.184.117.3 (87.184.117.3): 56 data bytes 64 bytes from 87.184.117.3: seq=0 ttl=63 time=4.692 ms 64 bytes from 87.184.117.3: seq=1 ttl=63 time=1.152 ms 64 bytes from 87.184.117.3: seq=2 ttl=63 time=1.009 ms --- 87.184.117.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.009/2.284/4.692 ms 2026-11-04 13:46:51,449 - INFO - Ping to IP 87.184.117.3 from VM ctest-TestBasicPolicy-99936515-60976580 passed 2026-11-04 13:46:51,643 - DEBUG - Policy Update Response {"network-policy": {"uuid": "50904ce4-5c54-4524-8afe-0e6445523f7b", "href": "http://10.0.0.50:8082/network-policy/50904ce4-5c54-4524-8afe-0e6445523f7b"}} 2026-11-04 13:46:51,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-04 13:46:51,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.184.117.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-11-04 13:46:51,644 - DEBUG - ping -s 56 -c 3 -W 1 87.184.117.3 2026-11-04 13:46:54,778 - DEBUG - PING 87.184.117.3 (87.184.117.3): 56 data bytes 64 bytes from 87.184.117.3: seq=0 ttl=63 time=1.739 ms --- 87.184.117.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.739/1.739/1.739 ms 2026-11-04 13:46:54,779 - WARNING - Ping to IP 87.184.117.3 from VM ctest-TestBasicPolicy-99936515-60976580 failed 2026-11-04 13:46:54,779 - INFO - Deleting VM ctest-TestBasicPolicy-99936515-76405545 2026-11-04 13:46:54,973 - INFO - Deleting VM ctest-TestBasicPolicy-99936515-60976580 2026-11-04 13:46:55,390 - INFO - Deleted policy ctest-policy-allow-all-09746835 2026-11-04 13:46:55,390 - INFO - Deleting VN ctest-vn-41104417 2026-11-04 13:46:55,425 - DEBUG - VN afccdbe2-4e69-4e90-b761-06611e1e785b still in use: Unable to complete operation on network afccdbe2-4e69-4e90-b761-06611e1e785b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb234c16-03fd-4e61-ba36-da77216bc68a'] 2026-11-04 13:46:55,425 - WARNING - Deleting VN ctest-vn-41104417 failed..Will retry 2026-11-04 13:46:57,469 - DEBUG - VN afccdbe2-4e69-4e90-b761-06611e1e785b still in use: Unable to complete operation on network afccdbe2-4e69-4e90-b761-06611e1e785b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7b5a80fc-62be-47e2-9b5c-0d8951dc5e40'] 2026-11-04 13:46:57,469 - WARNING - Deleting VN ctest-vn-41104417 failed..Will retry 2026-11-04 13:46:59,575 - DEBUG - Response for deleting network () 2026-11-04 13:46:59,575 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3fa273d4-ba2f-4d09-b189-70daa3a4570a 2026-11-04 13:46:59,583 - DEBUG - Response Code: 404 2026-11-04 13:46:59,583 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:46:59,589 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:46:59,642 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:46:59,718 - INFO - Validated that VN ctest-vn-41104417 is not found in API Server 2026-11-04 13:46:59,732 - DEBUG - VN ctest-vn-41104417 is not present in Agent 10.0.0.50 2026-11-04 13:46:59,732 - INFO - Validated that VN ctest-vn-41104417 is not in any agent 2026-11-04 13:46:59,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41104417 info 2026-11-04 13:46:59,753 - INFO - Deleting VN ctest-vn-55471826 2026-11-04 13:46:59,867 - DEBUG - Response for deleting network () 2026-11-04 13:46:59,867 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fb51f640-076c-46d0-96fc-601031333f3d 2026-11-04 13:46:59,873 - DEBUG - Response Code: 404 2026-11-04 13:46:59,873 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-11-04 13:46:59,880 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bc49a3a3-d16a-4402-8055-7ad60b86096b 2026-11-04 13:46:59,933 - DEBUG - Requesting: http://10.0.0.50:8082/project/4c79c7a5-bf61-4103-b3ed-fee0470c4759 2026-11-04 13:47:00,011 - INFO - Validated that VN ctest-vn-55471826 is not found in API Server 2026-11-04 13:47:00,023 - DEBUG - VN ctest-vn-55471826 is not present in Agent 10.0.0.50 2026-11-04 13:47:00,023 - INFO - Validated that VN ctest-vn-55471826 is not in any agent 2026-11-04 13:47:00,039 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55471826 info 2026-11-04 13:47:00,305 - DEBUG - No XMPP flaps were noticed during the test 2026-11-04 13:47:00,306 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09] 2026-11-04 13:47:00,306 - INFO - -------------------------------------------------------------------------------- 2026-11-04 13:47:01,148 - INFO - Deleted project: ctest-TestBasicPolicy-99936515, ID : 4c79c7a5-bf61-4103-b3ed-fee0470c4759