2026-02-20 09:04:41,938 - INFO - Domain Default found not creating 2026-02-20 09:04:42,094 - INFO - Project ctest-TestBasicPolicy-80928179 not found, creating it 2026-02-20 09:04:42,526 - INFO - Created Project:ctest-TestBasicPolicy-80928179, ID : 600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:04:43,963 - INFO - ================================================================================ 2026-02-20 09:04:43,964 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-20 09:04:43,964 - 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-02-20 09:04:44,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with 2026-02-20 09:04:44,223 - INFO - Initial checks done. Running the testcase now 2026-02-20 09:04:44,223 - INFO - 2026-02-20 09:04:44,748 - DEBUG - Response for create_network : {'network': {'id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'name': 'ctest-vn-30923303', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-30923303'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:04:44,909 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41c18ae-2b51-4843-8544-13e29069ff7a', 'name': '', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'network_id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'ip_version': 4, 'cidr': '220.58.188.192/26', 'allocation_pools': [{'start': '220.58.188.194', 'end': '220.58.188.254'}], 'gateway_ip': '220.58.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.58.188.194', 'tags': [], 'project_id': '600a93f515864cfaa1ac869b1dde3de3'}} 2026-02-20 09:04:44,926 - INFO - Created VN ctest-vn-30923303 2026-02-20 09:04:44,978 - DEBUG - VN ctest-vn-30923303 UUID is 56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:45,285 - DEBUG - Response for create_network : {'network': {'id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'name': 'ctest-vn-57745252', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-57745252'], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:04:45,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa68bf37-6d23-4fa4-9dee-c94535074442', 'name': '', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'network_id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'ip_version': 4, 'cidr': '162.205.16.64/26', 'allocation_pools': [{'start': '162.205.16.66', 'end': '162.205.16.126'}], 'gateway_ip': '162.205.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.205.16.66', 'tags': [], 'project_id': '600a93f515864cfaa1ac869b1dde3de3'}} 2026-02-20 09:04:45,479 - INFO - Created VN ctest-vn-57745252 2026-02-20 09:04:45,530 - DEBUG - VN ctest-vn-57745252 UUID is d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:45,678 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303, 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-80928179:ctest-vn-57745252, 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-02-20 09:04:45,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'name': 'ctest-vn-30923303', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e41c18ae-2b51-4843-8544-13e29069ff7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-30923303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']], 'subnet_ipam': [{'subnet_cidr': '220.58.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:04:46,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'name': 'ctest-vn-57745252', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa68bf37-6d23-4fa4-9dee-c94535074442'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-57745252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']], 'subnet_ipam': [{'subnet_cidr': '162.205.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-20 09:04:46,330 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:04:46,630 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:04:46,659 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:04:46,670 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:04:46,740 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,749 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,757 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:04:46,764 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:04:46,770 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bad359b6-e310-44df-9eed-0cd7e6bd860d 2026-02-20 09:04:46,775 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 09:04:46,775 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,782 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:04:46,795 - INFO - Verified VN network id 12 for VN 56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,795 - INFO - Verifications in API Server for VN ctest-vn-30923303 passed 2026-02-20 09:04:46,795 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,802 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:04:46,808 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:04:46,814 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bad359b6-e310-44df-9eed-0cd7e6bd860d 2026-02-20 09:04:46,823 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80928179', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6246396615122767114', 'uuid-lslong': '10715443071273270691'}, 'enable': 'true', 'created': '2026-02-20T09:04:44', 'last-modified': '2026-02-20T09:04:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876326'} 2026-02-20 09:04:46,829 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-20 09:04:46,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30923303 passed 2026-02-20 09:04:46,829 - DEBUG - ====Verifying policy data for ctest-vn-30923303 in API_Server ====== 2026-02-20 09:04:46,829 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:04:46,834 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:04:46,844 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:04:46,911 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3 2026-02-20 09:04:46,919 - DEBUG - ==>Verifying data for policy with id: 808ba411-4c92-4e68-b2c2-262acc24fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201'] 2026-02-20 09:04:46,919 - INFO - VN ctest-vn-30923303 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 09:04:46,919 - DEBUG - Verifying the vn in opserver 2026-02-20 09:04:46,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303 virtual network link through opserver 10.0.0.241 2026-02-20 09:04:46,919 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 09:04:47,209 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 09:04:47,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303?flat'} 2026-02-20 09:04:47,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303 is found in opserver 2026-02-20 09:04:47,276 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 09:04:47,279 - DEBUG - VRF ids for VN ctest-vn-30923303: {} 2026-02-20 09:04:47,280 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:04:47,284 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:04:47,295 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:04:47,364 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,380 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:04:47,386 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:04:47,391 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a73004a9-bce2-470e-9f41-597711ad8b84 2026-02-20 09:04:47,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 09:04:47,397 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,404 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:04:47,414 - INFO - Verified VN network id 13 for VN d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,415 - INFO - Verifications in API Server for VN ctest-vn-57745252 passed 2026-02-20 09:04:47,415 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,421 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:04:47,426 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:04:47,431 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a73004a9-bce2-470e-9f41-597711ad8b84 2026-02-20 09:04:47,440 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80928179', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15100626194447616173', 'uuid-lslong': '13677252570926002687'}, 'enable': 'true', 'created': '2026-02-20T09:04:45', 'last-modified': '2026-02-20T09:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287552'} 2026-02-20 09:04:47,445 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-20 09:04:47,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57745252 passed 2026-02-20 09:04:47,445 - DEBUG - ====Verifying policy data for ctest-vn-57745252 in API_Server ====== 2026-02-20 09:04:47,445 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:04:47,450 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:04:47,459 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:04:47,527 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff 2026-02-20 09:04:47,535 - DEBUG - ==>Verifying data for policy with id: 808ba411-4c92-4e68-b2c2-262acc24fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201'] 2026-02-20 09:04:47,535 - INFO - VN ctest-vn-57745252 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-20 09:04:47,535 - DEBUG - Verifying the vn in opserver 2026-02-20 09:04:47,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252 virtual network link through opserver 10.0.0.241 2026-02-20 09:04:47,535 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2026-02-20 09:04:47,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252?flat'} 2026-02-20 09:04:47,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252 is found in opserver 2026-02-20 09:04:47,551 - DEBUG - Do not have enough data to verify VN in agent 2026-02-20 09:04:47,555 - DEBUG - VRF ids for VN ctest-vn-57745252: {} 2026-02-20 09:04:47,606 - DEBUG - Services list from nova: [, , ] 2026-02-20 09:04:48,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5369-1) 2026-02-20 09:04:49,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5369-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5369-1) 2026-02-20 09:04:49,698 - INFO - Waiting for VM ctest-TestBasicPolicy-80928179-92902012 to be up.. 2026-02-20 09:04:49,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-20 09:04:54,865 - DEBUG - VM is in ACTIVE state now 2026-02-20 09:04:54,865 - INFO - VM name : ctest-TestBasicPolicy-80928179-92902012 2026-02-20 09:04:54,932 - DEBUG - VM ctest-TestBasicPolicy-80928179-92902012 ID is 0241fa41-ab69-494e-9758-61716b18fcf7 2026-02-20 09:04:54,951 - DEBUG - VM ctest-TestBasicPolicy-80928179-92902012 launched on Node cn-jenkins-deploy-platform-ansible-os-5369-1 2026-02-20 09:04:55,016 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0241fa41-ab69-494e-9758-61716b18fcf7 2026-02-20 09:04:55,024 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/e70398e2-9436-4722-9df9-4e45d4c7ade6 2026-02-20 09:04:58,269 - 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 1015ms') 2026-02-20 09:04:58,269 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80928179-92902012 failed! 2026-02-20 09:04:58,322 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303 is 220.58.188.193 and allocation pool is NOT set 2026-02-20 09:05:00,383 - 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=5.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/3.210/5.968/2.757 ms') 2026-02-20 09:05:00,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80928179-92902012 passed 2026-02-20 09:05:00,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:05:00,530 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80928179-92902012, IP 220.58.188.195, Port 22 2026-02-20 09:05:00,690 - DEBUG - VM ctest-TestBasicPolicy-80928179-92902012 is ready for SSH connections 2026-02-20 09:05:00,690 - INFO - Waiting for VM ctest-TestBasicPolicy-80928179-14846992 to be up.. 2026-02-20 09:05:00,760 - DEBUG - VM is in ACTIVE state now 2026-02-20 09:05:00,760 - INFO - VM name : ctest-TestBasicPolicy-80928179-14846992 2026-02-20 09:05:00,830 - DEBUG - VM ctest-TestBasicPolicy-80928179-14846992 ID is 3e11bbc3-b54d-430e-b80a-b23f3daa27aa 2026-02-20 09:05:00,830 - DEBUG - VM ctest-TestBasicPolicy-80928179-14846992 launched on Node cn-jenkins-deploy-platform-ansible-os-5369-1 2026-02-20 09:05:00,892 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/3e11bbc3-b54d-430e-b80a-b23f3daa27aa 2026-02-20 09:05:00,899 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/12a47e17-6620-457f-8c1a-007ebb87bf62 2026-02-20 09:05:02,131 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 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.461/1.666/2.872/1.205 ms') 2026-02-20 09:05:02,131 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80928179-14846992 passed 2026-02-20 09:05:02,282 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:05:02,282 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80928179-14846992, IP 162.205.16.67, Port 22 2026-02-20 09:05:02,438 - DEBUG - VM ctest-TestBasicPolicy-80928179-14846992 is ready for SSH connections 2026-02-20 09:05:02,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:05:02,438 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.205.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 09:05:02,438 - DEBUG - ping -s 56 -c 3 -W 1 162.205.16.67 2026-02-20 09:05:06,457 - DEBUG - PING 162.205.16.67 (162.205.16.67): 56 data bytes 64 bytes from 162.205.16.67: seq=0 ttl=63 time=3.232 ms 64 bytes from 162.205.16.67: seq=1 ttl=63 time=0.808 ms 64 bytes from 162.205.16.67: seq=2 ttl=63 time=1.011 ms --- 162.205.16.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.683/3.232 ms 2026-02-20 09:05:06,457 - INFO - Ping to IP 162.205.16.67 from VM ctest-TestBasicPolicy-80928179-92902012 passed 2026-02-20 09:05:06,625 - DEBUG - Policy Update Response {"network-policy": {"uuid": "808ba411-4c92-4e68-b2c2-262acc24fd04", "href": "http://10.0.0.241:8082/network-policy/808ba411-4c92-4e68-b2c2-262acc24fd04"}} 2026-02-20 09:05:06,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-20 09:05:06,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.205.16.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2026-02-20 09:05:06,626 - DEBUG - ping -s 56 -c 3 -W 1 162.205.16.67 2026-02-20 09:05:09,852 - DEBUG - PING 162.205.16.67 (162.205.16.67): 56 data bytes --- 162.205.16.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-20 09:05:09,852 - WARNING - Ping to IP 162.205.16.67 from VM ctest-TestBasicPolicy-80928179-92902012 failed 2026-02-20 09:05:09,852 - INFO - Deleting VM ctest-TestBasicPolicy-80928179-14846992 2026-02-20 09:05:09,910 - INFO - Deleting VM ctest-TestBasicPolicy-80928179-92902012 2026-02-20 09:05:10,239 - INFO - Deleted policy ctest-policy-allow-all-91205201 2026-02-20 09:05:10,239 - INFO - Deleting VN ctest-vn-57745252 2026-02-20 09:05:10,271 - DEBUG - VN d1903384-6e02-48ad-bdcf-5cbf8157b1ff still in use: Unable to complete operation on network d1903384-6e02-48ad-bdcf-5cbf8157b1ff. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c26b1f4e-4aeb-4d0b-af39-c61116e499c1'] 2026-02-20 09:05:10,271 - WARNING - Deleting VN ctest-vn-57745252 failed..Will retry 2026-02-20 09:05:12,361 - DEBUG - Response for deleting network () 2026-02-20 09:05:12,361 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0 2026-02-20 09:05:12,367 - DEBUG - Response Code: 404 2026-02-20 09:05:12,367 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:05:12,372 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:05:12,423 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:05:12,486 - INFO - Validated that VN ctest-vn-57745252 is not found in API Server 2026-02-20 09:05:12,495 - DEBUG - VN ctest-vn-57745252 is not present in Agent 10.0.0.241 2026-02-20 09:05:12,495 - INFO - Validated that VN ctest-vn-57745252 is not in any agent 2026-02-20 09:05:12,510 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57745252 info 2026-02-20 09:05:12,510 - INFO - Deleting VN ctest-vn-30923303 2026-02-20 09:05:12,605 - DEBUG - Response for deleting network () 2026-02-20 09:05:12,606 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb 2026-02-20 09:05:12,611 - DEBUG - Response Code: 404 2026-02-20 09:05:12,611 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2026-02-20 09:05:12,615 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433 2026-02-20 09:05:12,667 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3 2026-02-20 09:05:12,731 - INFO - Validated that VN ctest-vn-30923303 is not found in API Server 2026-02-20 09:05:12,740 - DEBUG - VN ctest-vn-30923303 is not present in Agent 10.0.0.241 2026-02-20 09:05:12,740 - INFO - Validated that VN ctest-vn-30923303 is not in any agent 2026-02-20 09:05:12,752 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30923303 info 2026-02-20 09:05:13,006 - DEBUG - No XMPP flaps were noticed during the test
2026-02-20 09:05:13,007 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-02-20 09:05:13,007 - INFO - -------------------------------------------------------------------------------- 2026-02-20 09:05:13,747 - INFO - Deleted project: ctest-TestBasicPolicy-80928179, ID : 600a93f5-1586-4cfa-a1ac-869b1dde3de3