2026-03-23 15:29:46,707 - INFO - Domain Default found not creating 2026-03-23 15:29:46,877 - INFO - Project ctest-TestBasicPolicy-03759992 not found, creating it 2026-03-23 15:29:47,372 - INFO - Created Project:ctest-TestBasicPolicy-03759992, ID : 217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:29:49,044 - INFO - ================================================================================ 2026-03-23 15:29:49,044 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-23 15:29:49,044 - 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-03-23 15:29:49,320 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-03-23 15:29:49,320 - INFO - Initial checks done. Running the testcase now 2026-03-23 15:29:49,321 - INFO - 2026-03-23 15:29:49,965 - DEBUG - Response for create_network : {'network': {'id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'name': 'ctest-vn-05808300', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-05808300'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:50,365 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb082ecd-44ad-4650-a8db-c88805eb558c', 'name': '', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'network_id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'ip_version': 4, 'cidr': '154.173.229.0/26', 'allocation_pools': [{'start': '154.173.229.2', 'end': '154.173.229.62'}], 'gateway_ip': '154.173.229.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.173.229.2', 'tags': [], 'project_id': '217b210a689643efa5a324be00ea67ba'}} 2026-03-23 15:29:50,390 - INFO - Created VN ctest-vn-05808300 2026-03-23 15:29:50,451 - DEBUG - VN ctest-vn-05808300 UUID is 63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:50,940 - DEBUG - Response for create_network : {'network': {'id': '9d897947-208b-498f-8194-2ba9eca0620a', 'name': 'ctest-vn-39975104', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-39975104'], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:51,151 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a078ceed-d341-437e-9bdf-b794d2e2b48c', 'name': '', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'network_id': '9d897947-208b-498f-8194-2ba9eca0620a', 'ip_version': 4, 'cidr': '55.112.220.0/26', 'allocation_pools': [{'start': '55.112.220.2', 'end': '55.112.220.62'}], 'gateway_ip': '55.112.220.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.112.220.2', 'tags': [], 'project_id': '217b210a689643efa5a324be00ea67ba'}} 2026-03-23 15:29:51,171 - INFO - Created VN ctest-vn-39975104 2026-03-23 15:29:51,231 - DEBUG - VN ctest-vn-39975104 UUID is 9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:51,387 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300, 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-03759992:ctest-vn-39975104, 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-03-23 15:29:51,712 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '63a1fb44-5a32-4e2c-b518-b4e3bb922819', 'name': 'ctest-vn-05808300', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb082ecd-44ad-4650-a8db-c88805eb558c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-05808300'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']], 'subnet_ipam': [{'subnet_cidr': '154.173.229.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:51,958 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d897947-208b-498f-8194-2ba9eca0620a', 'name': 'ctest-vn-39975104', 'tenant_id': '217b210a689643efa5a324be00ea67ba', 'project_id': '217b210a689643efa5a324be00ea67ba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a078ceed-d341-437e-9bdf-b794d2e2b48c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-vn-39975104'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910']], 'subnet_ipam': [{'subnet_cidr': '55.112.220.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-23 15:29:52,124 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:29:52,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:29:52,498 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:29:52,514 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:29:52,597 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,611 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,622 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:29:52,630 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:29:52,637 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a29c261-8480-4413-87a7-fa1bc7a5470d 2026-03-23 15:29:52,644 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:29:52,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,656 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:29:52,672 - INFO - Verified VN network id 10 for VN 63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,672 - INFO - Verifications in API Server for VN ctest-vn-05808300 passed 2026-03-23 15:29:52,672 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,684 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:29:52,694 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:29:52,703 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/4a29c261-8480-4413-87a7-fa1bc7a5470d 2026-03-23 15:29:52,715 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03759992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7179295551994875436', 'uuid-lslong': '13049378810503505945'}, 'enable': 'true', 'created': '2026-03-23T15:29:49', 'last-modified': '2026-03-23T15:29:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.033088'} 2026-03-23 15:29:52,721 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-23 15:29:52,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05808300 passed 2026-03-23 15:29:52,721 - DEBUG - ====Verifying policy data for ctest-vn-05808300 in API_Server ====== 2026-03-23 15:29:52,721 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:29:52,727 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:29:52,740 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:29:52,813 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/63a1fb44-5a32-4e2c-b518-b4e3bb922819 2026-03-23 15:29:52,824 - DEBUG - ==>Verifying data for policy with id: 25c22415-a9d2-4c6d-a304-8d176096e396, fqn: ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910'] 2026-03-23 15:29:52,825 - INFO - VN ctest-vn-05808300 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:29:52,825 - DEBUG - Verifying the vn in opserver 2026-03-23 15:29:52,825 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300 virtual network link through opserver 10.0.0.50 2026-03-23 15:29:52,825 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 15:29:53,154 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 15:29:53,228 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300?flat'} 2026-03-23 15:29:53,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300 is found in opserver 2026-03-23 15:29:53,239 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:29:53,244 - DEBUG - VRF ids for VN ctest-vn-05808300: {} 2026-03-23 15:29:53,244 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:29:53,251 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:29:53,264 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:29:53,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,347 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:29:53,365 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:29:53,374 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1671f90-1933-4317-8cb5-1ae4f8d87b24 2026-03-23 15:29:53,382 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:29:53,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:29:53,410 - INFO - Verified VN network id 11 for VN 9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,411 - INFO - Verifications in API Server for VN ctest-vn-39975104 passed 2026-03-23 15:29:53,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:29:53,429 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:29:53,438 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d1671f90-1933-4317-8cb5-1ae4f8d87b24 2026-03-23 15:29:53,453 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03759992', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11351737682159683983', 'uuid-lslong': '9337135936265282058'}, 'enable': 'true', 'created': '2026-03-23T15:29:50', 'last-modified': '2026-03-23T15:29:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.518638'} 2026-03-23 15:29:53,461 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-23 15:29:53,461 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39975104 passed 2026-03-23 15:29:53,461 - DEBUG - ====Verifying policy data for ctest-vn-39975104 in API_Server ====== 2026-03-23 15:29:53,461 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:29:53,469 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:29:53,483 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:29:53,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/9d897947-208b-498f-8194-2ba9eca0620a 2026-03-23 15:29:53,567 - DEBUG - ==>Verifying data for policy with id: 25c22415-a9d2-4c6d-a304-8d176096e396, fqn: ['default-domain', 'ctest-TestBasicPolicy-03759992', 'ctest-policy-allow-all-64700910'] 2026-03-23 15:29:53,567 - INFO - VN ctest-vn-39975104 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-23 15:29:53,567 - DEBUG - Verifying the vn in opserver 2026-03-23 15:29:53,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104 virtual network link through opserver 10.0.0.50 2026-03-23 15:29:53,567 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-23 15:29:53,578 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104?flat'} 2026-03-23 15:29:53,578 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-39975104 is found in opserver 2026-03-23 15:29:53,590 - DEBUG - Do not have enough data to verify VN in agent 2026-03-23 15:29:53,596 - DEBUG - VRF ids for VN ctest-vn-39975104: {} 2026-03-23 15:29:53,672 - DEBUG - Services list from nova: [, , ] 2026-03-23 15:29:54,764 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5520-1) 2026-03-23 15:29:55,957 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5520-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5520-1) 2026-03-23 15:29:55,958 - INFO - Waiting for VM ctest-TestBasicPolicy-03759992-68448302 to be up.. 2026-03-23 15:29:56,035 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-23 15:30:01,118 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:30:01,118 - INFO - VM name : ctest-TestBasicPolicy-03759992-68448302 2026-03-23 15:30:01,208 - DEBUG - VM ctest-TestBasicPolicy-03759992-68448302 ID is 18363323-2f6f-456f-8019-47c623115fbd 2026-03-23 15:30:01,233 - DEBUG - VM ctest-TestBasicPolicy-03759992-68448302 launched on Node cn-jenkins-deploy-platform-ansible-os-5520-1 2026-03-23 15:30:01,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/18363323-2f6f-456f-8019-47c623115fbd 2026-03-23 15:30:01,338 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e6c54cd8-7949-4588-bcd1-660b24c0b6c8 2026-03-23 15:30:04,570 - 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 1016ms') 2026-03-23 15:30:04,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03759992-68448302 failed! 2026-03-23 15:30:04,628 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03759992:ctest-vn-05808300 is 154.173.229.1 and allocation pool is NOT set 2026-03-23 15:30:06,692 - 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=3.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.25 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 = 1.248/2.305/3.363/1.057 ms') 2026-03-23 15:30:06,692 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03759992-68448302 passed 2026-03-23 15:30:06,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:30:06,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03759992-68448302, IP 154.173.229.3, Port 22 2026-03-23 15:30:07,021 - DEBUG - VM ctest-TestBasicPolicy-03759992-68448302 is ready for SSH connections 2026-03-23 15:30:07,021 - INFO - Waiting for VM ctest-TestBasicPolicy-03759992-27289527 to be up.. 2026-03-23 15:30:07,113 - DEBUG - VM is in ACTIVE state now 2026-03-23 15:30:07,114 - INFO - VM name : ctest-TestBasicPolicy-03759992-27289527 2026-03-23 15:30:07,211 - DEBUG - VM ctest-TestBasicPolicy-03759992-27289527 ID is da8b4182-399f-4133-ab75-566c487bbf7c 2026-03-23 15:30:07,211 - DEBUG - VM ctest-TestBasicPolicy-03759992-27289527 launched on Node cn-jenkins-deploy-platform-ansible-os-5520-1 2026-03-23 15:30:07,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/da8b4182-399f-4133-ab75-566c487bbf7c 2026-03-23 15:30:07,315 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aed3addc-a7a7-4013-aa5d-2a64dfefa6aa 2026-03-23 15:30:08,553 - 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.52 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.724 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.724/2.120/3.516/1.396 ms') 2026-03-23 15:30:08,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03759992-27289527 passed 2026-03-23 15:30:08,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:30:08,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03759992-27289527, IP 55.112.220.3, Port 22 2026-03-23 15:30:08,893 - DEBUG - VM ctest-TestBasicPolicy-03759992-27289527 is ready for SSH connections 2026-03-23 15:30:08,894 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:30:08,894 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.112.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-23 15:30:08,894 - DEBUG - ping -s 56 -c 3 -W 1 55.112.220.3 2026-03-23 15:30:12,873 - DEBUG - PING 55.112.220.3 (55.112.220.3): 56 data bytes 64 bytes from 55.112.220.3: seq=0 ttl=63 time=4.601 ms 64 bytes from 55.112.220.3: seq=1 ttl=63 time=1.190 ms 64 bytes from 55.112.220.3: seq=2 ttl=63 time=1.295 ms --- 55.112.220.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.190/2.362/4.601 ms 2026-03-23 15:30:12,874 - INFO - Ping to IP 55.112.220.3 from VM ctest-TestBasicPolicy-03759992-68448302 passed 2026-03-23 15:30:13,055 - DEBUG - Policy Update Response {"network-policy": {"uuid": "25c22415-a9d2-4c6d-a304-8d176096e396", "href": "http://10.0.0.50:8082/network-policy/25c22415-a9d2-4c6d-a304-8d176096e396"}} 2026-03-23 15:30:13,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-23 15:30:13,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.112.220.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-23 15:30:13,056 - DEBUG - ping -s 56 -c 3 -W 1 55.112.220.3 2026-03-23 15:30:16,177 - DEBUG - PING 55.112.220.3 (55.112.220.3): 56 data bytes --- 55.112.220.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-23 15:30:16,178 - WARNING - Ping to IP 55.112.220.3 from VM ctest-TestBasicPolicy-03759992-68448302 failed 2026-03-23 15:30:16,178 - INFO - Deleting VM ctest-TestBasicPolicy-03759992-27289527 2026-03-23 15:30:16,258 - INFO - Deleting VM ctest-TestBasicPolicy-03759992-68448302 2026-03-23 15:30:16,707 - INFO - Deleted policy ctest-policy-allow-all-64700910 2026-03-23 15:30:16,708 - INFO - Deleting VN ctest-vn-39975104 2026-03-23 15:30:16,747 - DEBUG - VN 9d897947-208b-498f-8194-2ba9eca0620a still in use: Unable to complete operation on network 9d897947-208b-498f-8194-2ba9eca0620a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d4a38a95-2a95-46ff-b1d2-6059fe296d4e'] 2026-03-23 15:30:16,747 - WARNING - Deleting VN ctest-vn-39975104 failed..Will retry 2026-03-23 15:30:18,855 - DEBUG - Response for deleting network () 2026-03-23 15:30:18,855 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/602c5686-e42d-4bd8-bb37-41e08eb9c7b0 2026-03-23 15:30:18,862 - DEBUG - Response Code: 404 2026-03-23 15:30:18,862 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:30:18,868 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:30:18,926 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:30:19,016 - INFO - Validated that VN ctest-vn-39975104 is not found in API Server 2026-03-23 15:30:19,027 - DEBUG - VN ctest-vn-39975104 is not present in Agent 10.0.0.50 2026-03-23 15:30:19,027 - INFO - Validated that VN ctest-vn-39975104 is not in any agent 2026-03-23 15:30:19,045 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39975104 info 2026-03-23 15:30:19,045 - INFO - Deleting VN ctest-vn-05808300 2026-03-23 15:30:19,178 - DEBUG - Response for deleting network () 2026-03-23 15:30:19,178 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/903f2ba0-ca8d-4ed3-9cd4-3976b0e54a7e 2026-03-23 15:30:19,186 - DEBUG - Response Code: 404 2026-03-23 15:30:19,186 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-23 15:30:19,194 - DEBUG - Requesting: http://10.0.0.50:8082/domain/0bb4bb9e-6005-41f3-a1a9-91ae660d7ff2 2026-03-23 15:30:19,252 - DEBUG - Requesting: http://10.0.0.50:8082/project/217b210a-6896-43ef-a5a3-24be00ea67ba 2026-03-23 15:30:19,328 - INFO - Validated that VN ctest-vn-05808300 is not found in API Server 2026-03-23 15:30:19,338 - DEBUG - VN ctest-vn-05808300 is not present in Agent 10.0.0.50 2026-03-23 15:30:19,338 - INFO - Validated that VN ctest-vn-05808300 is not in any agent 2026-03-23 15:30:19,352 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05808300 info 2026-03-23 15:30:19,619 - DEBUG - No XMPP flaps were noticed during the test
2026-03-23 15:30:19,619 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2026-03-23 15:30:19,619 - INFO - -------------------------------------------------------------------------------- 2026-03-23 15:30:20,334 - INFO - Deleted project: ctest-TestBasicPolicy-03759992, ID : 217b210a-6896-43ef-a5a3-24be00ea67ba