2026-04-07 14:32:48,740 - INFO - Domain Default found not creating 2026-04-07 14:32:48,927 - INFO - Project ctest-TestBasicPolicy-28394340 not found, creating it 2026-04-07 14:32:49,387 - INFO - Created Project:ctest-TestBasicPolicy-28394340, ID : 948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:32:50,879 - INFO - ================================================================================ 2026-04-07 14:32:50,879 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-07 14:32:50,879 - 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-04-07 14:32:51,137 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-07 14:32:51,137 - INFO - Initial checks done. Running the testcase now 2026-04-07 14:32:51,137 - INFO - 2026-04-07 14:32:51,720 - DEBUG - Response for create_network : {'network': {'id': 'f9ad90f8-f133-45dc-aae0-bb807675b647', 'name': 'ctest-vn-19057198', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'project_id': '948b4b1694ee441fbf0a13722769085c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-vn-19057198'], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:51,930 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f1fed93d-61ec-498f-9c13-b2691f167f4c', 'name': '', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'network_id': 'f9ad90f8-f133-45dc-aae0-bb807675b647', 'ip_version': 4, 'cidr': '8.138.118.192/26', 'allocation_pools': [{'start': '8.138.118.194', 'end': '8.138.118.254'}], 'gateway_ip': '8.138.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.138.118.194', 'tags': [], 'project_id': '948b4b1694ee441fbf0a13722769085c'}} 2026-04-07 14:32:51,947 - INFO - Created VN ctest-vn-19057198 2026-04-07 14:32:51,999 - DEBUG - VN ctest-vn-19057198 UUID is f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:52,293 - DEBUG - Response for create_network : {'network': {'id': '3afcb7a3-761b-42af-aea1-3a67506ac564', 'name': 'ctest-vn-22153737', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'project_id': '948b4b1694ee441fbf0a13722769085c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-vn-22153737'], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:52,491 - DEBUG - Response for create_subnet : {'subnet': {'id': '37356963-68bd-4e54-9a95-2998eba41bad', 'name': '', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'network_id': '3afcb7a3-761b-42af-aea1-3a67506ac564', 'ip_version': 4, 'cidr': '82.166.107.0/26', 'allocation_pools': [{'start': '82.166.107.2', 'end': '82.166.107.62'}], 'gateway_ip': '82.166.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.166.107.2', 'tags': [], 'project_id': '948b4b1694ee441fbf0a13722769085c'}} 2026-04-07 14:32:52,510 - INFO - Created VN ctest-vn-22153737 2026-04-07 14:32:52,563 - DEBUG - VN ctest-vn-22153737 UUID is 3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:52,676 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198, 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-28394340:ctest-vn-22153737, 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-04-07 14:32:52,969 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9ad90f8-f133-45dc-aae0-bb807675b647', 'name': 'ctest-vn-19057198', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'project_id': '948b4b1694ee441fbf0a13722769085c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f1fed93d-61ec-498f-9c13-b2691f167f4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-vn-19057198'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-policy-allow-all-93961649']], 'subnet_ipam': [{'subnet_cidr': '8.138.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:53,200 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3afcb7a3-761b-42af-aea1-3a67506ac564', 'name': 'ctest-vn-22153737', 'tenant_id': '948b4b1694ee441fbf0a13722769085c', 'project_id': '948b4b1694ee441fbf0a13722769085c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['37356963-68bd-4e54-9a95-2998eba41bad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-vn-22153737'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-policy-allow-all-93961649']], 'subnet_ipam': [{'subnet_cidr': '82.166.107.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-07 14:32:53,363 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:32:53,655 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:32:53,687 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:32:53,699 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:32:53,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,784 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,794 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:32:53,802 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:32:53,810 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec6ba0c2-1c41-4b73-b863-0d3184f3ff02 2026-04-07 14:32:53,816 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-07 14:32:53,816 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:32:53,838 - INFO - Verified VN network id 11 for VN f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,838 - INFO - Verifications in API Server for VN ctest-vn-19057198 passed 2026-04-07 14:32:53,838 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,847 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:32:53,853 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:32:53,859 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ec6ba0c2-1c41-4b73-b863-0d3184f3ff02 2026-04-07 14:32:53,871 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28394340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17991195485287957980', 'uuid-lslong': '12313047541648569927'}, 'enable': 'true', 'created': '2026-04-07T14:32:51', 'last-modified': '2026-04-07T14:32:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923642'} 2026-04-07 14:32:53,876 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-07 14:32:53,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19057198 passed 2026-04-07 14:32:53,877 - DEBUG - ====Verifying policy data for ctest-vn-19057198 in API_Server ====== 2026-04-07 14:32:53,877 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:32:53,882 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:32:53,893 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:32:53,964 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f9ad90f8-f133-45dc-aae0-bb807675b647 2026-04-07 14:32:53,973 - DEBUG - ==>Verifying data for policy with id: 79d6f7b4-e728-46e1-b755-1795c6a1a5af, fqn: ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-policy-allow-all-93961649'] 2026-04-07 14:32:53,973 - INFO - VN ctest-vn-19057198 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-07 14:32:53,973 - DEBUG - Verifying the vn in opserver 2026-04-07 14:32:53,973 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198 virtual network link through opserver 10.0.0.38 2026-04-07 14:32:53,973 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-07 14:32:54,273 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-07 14:32:54,337 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198?flat'} 2026-04-07 14:32:54,337 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198 is found in opserver 2026-04-07 14:32:54,347 - DEBUG - Do not have enough data to verify VN in agent 2026-04-07 14:32:54,354 - DEBUG - VRF ids for VN ctest-vn-19057198: {} 2026-04-07 14:32:54,354 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:32:54,361 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:32:54,373 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:32:54,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,456 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,465 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:32:54,472 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:32:54,479 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d2d6dbd2-a983-407c-b53f-c5268a17d18a 2026-04-07 14:32:54,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-07 14:32:54,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,498 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:32:54,514 - INFO - Verified VN network id 12 for VN 3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,514 - INFO - Verifications in API Server for VN ctest-vn-22153737 passed 2026-04-07 14:32:54,514 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:32:54,530 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:32:54,538 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d2d6dbd2-a983-407c-b53f-c5268a17d18a 2026-04-07 14:32:54,552 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-22153737', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28394340', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4250474061019955887', 'uuid-lslong': '12583403049255093604'}, 'enable': 'true', 'created': '2026-04-07T14:32:52', 'last-modified': '2026-04-07T14:32:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.367926'} 2026-04-07 14:32:54,559 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-07 14:32:54,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22153737 passed 2026-04-07 14:32:54,559 - DEBUG - ====Verifying policy data for ctest-vn-22153737 in API_Server ====== 2026-04-07 14:32:54,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:32:54,568 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:32:54,579 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:32:54,648 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3afcb7a3-761b-42af-aea1-3a67506ac564 2026-04-07 14:32:54,657 - DEBUG - ==>Verifying data for policy with id: 79d6f7b4-e728-46e1-b755-1795c6a1a5af, fqn: ['default-domain', 'ctest-TestBasicPolicy-28394340', 'ctest-policy-allow-all-93961649'] 2026-04-07 14:32:54,657 - INFO - VN ctest-vn-22153737 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-07 14:32:54,657 - DEBUG - Verifying the vn in opserver 2026-04-07 14:32:54,657 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-22153737 virtual network link through opserver 10.0.0.38 2026-04-07 14:32:54,657 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-07 14:32:54,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-22153737', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-22153737?flat'} 2026-04-07 14:32:54,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-22153737 is found in opserver 2026-04-07 14:32:54,677 - DEBUG - Do not have enough data to verify VN in agent 2026-04-07 14:32:54,681 - DEBUG - VRF ids for VN ctest-vn-22153737: {} 2026-04-07 14:32:54,753 - DEBUG - Services list from nova: [, , ] 2026-04-07 14:32:55,811 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1) 2026-04-07 14:32:56,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5598-1) 2026-04-07 14:32:56,977 - INFO - Waiting for VM ctest-TestBasicPolicy-28394340-99194299 to be up.. 2026-04-07 14:32:57,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-07 14:33:02,151 - DEBUG - VM is in ACTIVE state now 2026-04-07 14:33:02,151 - INFO - VM name : ctest-TestBasicPolicy-28394340-99194299 2026-04-07 14:33:02,238 - DEBUG - VM ctest-TestBasicPolicy-28394340-99194299 ID is 6e877d20-b943-43a2-be7c-fe99177f8c13 2026-04-07 14:33:02,262 - DEBUG - VM ctest-TestBasicPolicy-28394340-99194299 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1 2026-04-07 14:33:02,339 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6e877d20-b943-43a2-be7c-fe99177f8c13 2026-04-07 14:33:02,348 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/883f0e82-db71-466d-a96f-d0d4ae854c45 2026-04-07 14:33:05,611 - 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 1031ms') 2026-04-07 14:33:05,611 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28394340-99194299 failed! 2026-04-07 14:33:05,667 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-28394340:ctest-vn-19057198 is 8.138.118.193 and allocation pool is NOT set 2026-04-07 14:33:07,732 - 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=4.55 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.456 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.456/2.501/4.546/2.045 ms') 2026-04-07 14:33:07,732 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-28394340-99194299 passed 2026-04-07 14:33:07,883 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:33:07,883 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28394340-99194299, IP 8.138.118.195, Port 22 2026-04-07 14:33:08,039 - DEBUG - VM ctest-TestBasicPolicy-28394340-99194299 is ready for SSH connections 2026-04-07 14:33:08,039 - INFO - Waiting for VM ctest-TestBasicPolicy-28394340-14451490 to be up.. 2026-04-07 14:33:08,122 - DEBUG - VM is in ACTIVE state now 2026-04-07 14:33:08,123 - INFO - VM name : ctest-TestBasicPolicy-28394340-14451490 2026-04-07 14:33:08,202 - DEBUG - VM ctest-TestBasicPolicy-28394340-14451490 ID is 1e7aa9be-8fc8-4642-a607-edb99a513ce2 2026-04-07 14:33:08,202 - DEBUG - VM ctest-TestBasicPolicy-28394340-14451490 launched on Node cn-jenkins-deploy-platform-ansible-os-5598-1 2026-04-07 14:33:08,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1e7aa9be-8fc8-4642-a607-edb99a513ce2 2026-04-07 14:33:08,314 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3313b568-db97-4794-b33d-03794b9f1672 2026-04-07 14:33:09,560 - 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=4.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.30 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 = 1.300/3.124/4.948/1.824 ms') 2026-04-07 14:33:09,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-28394340-14451490 passed 2026-04-07 14:33:09,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:33:09,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-28394340-14451490, IP 82.166.107.3, Port 22 2026-04-07 14:33:09,867 - DEBUG - VM ctest-TestBasicPolicy-28394340-14451490 is ready for SSH connections 2026-04-07 14:33:09,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:33:09,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.166.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-07 14:33:09,867 - DEBUG - ping -s 56 -c 3 -W 1 82.166.107.3 2026-04-07 14:33:13,940 - DEBUG - PING 82.166.107.3 (82.166.107.3): 56 data bytes 64 bytes from 82.166.107.3: seq=0 ttl=63 time=3.952 ms 64 bytes from 82.166.107.3: seq=1 ttl=63 time=1.171 ms 64 bytes from 82.166.107.3: seq=2 ttl=63 time=0.805 ms --- 82.166.107.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.805/1.976/3.952 ms 2026-04-07 14:33:13,940 - INFO - Ping to IP 82.166.107.3 from VM ctest-TestBasicPolicy-28394340-99194299 passed 2026-04-07 14:33:14,115 - DEBUG - Policy Update Response {"network-policy": {"uuid": "79d6f7b4-e728-46e1-b755-1795c6a1a5af", "href": "http://10.0.0.38:8082/network-policy/79d6f7b4-e728-46e1-b755-1795c6a1a5af"}} 2026-04-07 14:33:14,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-07 14:33:14,115 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.166.107.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-07 14:33:14,115 - DEBUG - ping -s 56 -c 3 -W 1 82.166.107.3 2026-04-07 14:33:17,333 - DEBUG - PING 82.166.107.3 (82.166.107.3): 56 data bytes --- 82.166.107.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-07 14:33:17,333 - WARNING - Ping to IP 82.166.107.3 from VM ctest-TestBasicPolicy-28394340-99194299 failed 2026-04-07 14:33:17,333 - INFO - Deleting VM ctest-TestBasicPolicy-28394340-14451490 2026-04-07 14:33:17,404 - INFO - Deleting VM ctest-TestBasicPolicy-28394340-99194299 2026-04-07 14:33:17,905 - INFO - Deleted policy ctest-policy-allow-all-93961649 2026-04-07 14:33:17,906 - INFO - Deleting VN ctest-vn-22153737 2026-04-07 14:33:17,960 - DEBUG - VN 3afcb7a3-761b-42af-aea1-3a67506ac564 still in use: Unable to complete operation on network 3afcb7a3-761b-42af-aea1-3a67506ac564. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-de1f5de7-a766-4d7c-b1b5-12bac4260d3b'] 2026-04-07 14:33:17,960 - WARNING - Deleting VN ctest-vn-22153737 failed..Will retry 2026-04-07 14:33:20,056 - DEBUG - Response for deleting network () 2026-04-07 14:33:20,056 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c61e3ece-cfa9-4a0b-9e7b-62fc488156e8 2026-04-07 14:33:20,061 - DEBUG - Response Code: 404 2026-04-07 14:33:20,061 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:33:20,068 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:33:20,120 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:33:20,187 - INFO - Validated that VN ctest-vn-22153737 is not found in API Server 2026-04-07 14:33:20,197 - DEBUG - VN ctest-vn-22153737 is not present in Agent 10.0.0.38 2026-04-07 14:33:20,197 - INFO - Validated that VN ctest-vn-22153737 is not in any agent 2026-04-07 14:33:20,213 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22153737 info 2026-04-07 14:33:20,213 - INFO - Deleting VN ctest-vn-19057198 2026-04-07 14:33:20,327 - DEBUG - Response for deleting network () 2026-04-07 14:33:20,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e81a49-65bb-47e2-866d-6799a12f595e 2026-04-07 14:33:20,333 - DEBUG - Response Code: 404 2026-04-07 14:33:20,333 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-07 14:33:20,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/60dc5ca2-da47-4a48-996d-2e853aa4122e 2026-04-07 14:33:20,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/948b4b16-94ee-441f-bf0a-13722769085c 2026-04-07 14:33:20,464 - INFO - Validated that VN ctest-vn-19057198 is not found in API Server 2026-04-07 14:33:20,475 - DEBUG - VN ctest-vn-19057198 is not present in Agent 10.0.0.38 2026-04-07 14:33:20,475 - INFO - Validated that VN ctest-vn-19057198 is not in any agent 2026-04-07 14:33:20,490 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19057198 info 2026-04-07 14:33:20,744 - DEBUG - No XMPP flaps were noticed during the test
2026-04-07 14:33:20,744 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-04-07 14:33:20,745 - INFO - -------------------------------------------------------------------------------- 2026-04-07 14:33:21,453 - INFO - Deleted project: ctest-TestBasicPolicy-28394340, ID : 948b4b16-94ee-441f-bf0a-13722769085c