2026-02-09 13:35:41,856 - INFO - Domain Default found not creating 2026-02-09 13:35:42,107 - INFO - Project ctest-TestBasicPolicy-26584868 not found, creating it 2026-02-09 13:35:42,703 - INFO - Created Project:ctest-TestBasicPolicy-26584868, ID : bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:35:44,564 - INFO - ================================================================================ 2026-02-09 13:35:44,564 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 13:35:44,565 - 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-09 13:35:44,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-02-09 13:35:44,839 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:35:44,840 - INFO - 2026-02-09 13:35:45,481 - DEBUG - Response for create_network : {'network': {'id': 'f1385c3e-21c5-461f-b26b-11ec4678ffd4', 'name': 'ctest-vn-39861212', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'project_id': 'bb8f18f4246543e388742e98098e5601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-vn-39861212'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:35:45,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '61894b9c-d646-49a8-9b89-1c15a81dfb18', 'name': '', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'network_id': 'f1385c3e-21c5-461f-b26b-11ec4678ffd4', 'ip_version': 4, 'cidr': '40.12.38.0/26', 'allocation_pools': [{'start': '40.12.38.2', 'end': '40.12.38.62'}], 'gateway_ip': '40.12.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.12.38.2', 'tags': [], 'project_id': 'bb8f18f4246543e388742e98098e5601'}} 2026-02-09 13:35:45,713 - INFO - Created VN ctest-vn-39861212 2026-02-09 13:35:45,767 - DEBUG - VN ctest-vn-39861212 UUID is f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:46,105 - DEBUG - Response for create_network : {'network': {'id': 'b235d1cc-48f9-4371-af16-f3fbaa1b94e7', 'name': 'ctest-vn-55495170', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'project_id': 'bb8f18f4246543e388742e98098e5601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-vn-55495170'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:35:46,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '1229f721-a67d-4c38-90a4-23aa0eb813f3', 'name': '', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'network_id': 'b235d1cc-48f9-4371-af16-f3fbaa1b94e7', 'ip_version': 4, 'cidr': '54.98.235.0/26', 'allocation_pools': [{'start': '54.98.235.2', 'end': '54.98.235.62'}], 'gateway_ip': '54.98.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.98.235.2', 'tags': [], 'project_id': 'bb8f18f4246543e388742e98098e5601'}} 2026-02-09 13:35:46,369 - INFO - Created VN ctest-vn-55495170 2026-02-09 13:35:46,427 - DEBUG - VN ctest-vn-55495170 UUID is b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:46,564 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212, 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-26584868:ctest-vn-55495170, 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-09 13:35:46,917 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f1385c3e-21c5-461f-b26b-11ec4678ffd4', 'name': 'ctest-vn-39861212', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'project_id': 'bb8f18f4246543e388742e98098e5601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61894b9c-d646-49a8-9b89-1c15a81dfb18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-vn-39861212'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-policy-allow-all-89750896']], 'subnet_ipam': [{'subnet_cidr': '40.12.38.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:35:47,188 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b235d1cc-48f9-4371-af16-f3fbaa1b94e7', 'name': 'ctest-vn-55495170', 'tenant_id': 'bb8f18f4246543e388742e98098e5601', 'project_id': 'bb8f18f4246543e388742e98098e5601', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1229f721-a67d-4c38-90a4-23aa0eb813f3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-vn-55495170'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-policy-allow-all-89750896']], 'subnet_ipam': [{'subnet_cidr': '54.98.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:35:47,363 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:35:47,711 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:35:47,758 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:35:47,775 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:35:47,862 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:47,877 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:47,889 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:35:47,898 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:35:47,908 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a7869fbe-4545-4efb-b7d7-009f3dd21481 2026-02-09 13:35:47,918 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:35:47,918 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:47,929 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:35:47,950 - INFO - Verified VN network id 9 for VN f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:47,950 - INFO - Verifications in API Server for VN ctest-vn-39861212 passed 2026-02-09 13:35:47,950 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:47,964 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:35:47,975 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:35:47,984 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/a7869fbe-4545-4efb-b7d7-009f3dd21481 2026-02-09 13:35:48,001 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26584868', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17381744183760733727', 'uuid-lslong': '12856389267751501780'}, 'enable': 'true', 'created': '2026-02-09T13:35:45', 'last-modified': '2026-02-09T13:35:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.116598'} 2026-02-09 13:35:48,009 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:35:48,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39861212 passed 2026-02-09 13:35:48,009 - DEBUG - ====Verifying policy data for ctest-vn-39861212 in API_Server ====== 2026-02-09 13:35:48,009 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:35:48,016 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:35:48,031 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:35:48,118 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/f1385c3e-21c5-461f-b26b-11ec4678ffd4 2026-02-09 13:35:48,132 - DEBUG - ==>Verifying data for policy with id: 61f42fae-1828-4ab6-b919-9778df4aaac1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-policy-allow-all-89750896'] 2026-02-09 13:35:48,132 - INFO - VN ctest-vn-39861212 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:35:48,132 - DEBUG - Verifying the vn in opserver 2026-02-09 13:35:48,132 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212 virtual network link through opserver 10.0.0.19 2026-02-09 13:35:48,132 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 13:35:48,446 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 13:35:48,537 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212?flat'} 2026-02-09 13:35:48,537 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212 is found in opserver 2026-02-09 13:35:48,550 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:35:48,555 - DEBUG - VRF ids for VN ctest-vn-39861212: {} 2026-02-09 13:35:48,556 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:35:48,563 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:35:48,580 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:35:48,660 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,674 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,685 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:35:48,694 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:35:48,704 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/129dab42-6081-41f7-bdeb-8d6342c0753e 2026-02-09 13:35:48,715 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:35:48,715 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,726 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:35:48,743 - INFO - Verified VN network id 10 for VN b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,743 - INFO - Verifications in API Server for VN ctest-vn-55495170 passed 2026-02-09 13:35:48,743 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,754 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:35:48,763 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:35:48,771 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/129dab42-6081-41f7-bdeb-8d6342c0753e 2026-02-09 13:35:48,785 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-55495170', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26584868', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12841400587844666225', 'uuid-lslong': '12616539668341298407'}, 'enable': 'true', 'created': '2026-02-09T13:35:46', 'last-modified': '2026-02-09T13:35:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.624196'} 2026-02-09 13:35:48,793 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:35:48,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55495170 passed 2026-02-09 13:35:48,794 - DEBUG - ====Verifying policy data for ctest-vn-55495170 in API_Server ====== 2026-02-09 13:35:48,794 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:35:48,802 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:35:48,816 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:35:48,897 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/b235d1cc-48f9-4371-af16-f3fbaa1b94e7 2026-02-09 13:35:48,909 - DEBUG - ==>Verifying data for policy with id: 61f42fae-1828-4ab6-b919-9778df4aaac1, fqn: ['default-domain', 'ctest-TestBasicPolicy-26584868', 'ctest-policy-allow-all-89750896'] 2026-02-09 13:35:48,909 - INFO - VN ctest-vn-55495170 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:35:48,909 - DEBUG - Verifying the vn in opserver 2026-02-09 13:35:48,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-55495170 virtual network link through opserver 10.0.0.19 2026-02-09 13:35:48,909 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-09 13:35:48,922 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-55495170', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-55495170?flat'} 2026-02-09 13:35:48,922 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-55495170 is found in opserver 2026-02-09 13:35:48,935 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:35:48,940 - DEBUG - VRF ids for VN ctest-vn-55495170: {} 2026-02-09 13:35:49,019 - DEBUG - Services list from nova: [, , ] 2026-02-09 13:35:50,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5245-1) 2026-02-09 13:35:51,602 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5245-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5245-1) 2026-02-09 13:35:51,603 - INFO - Waiting for VM ctest-TestBasicPolicy-26584868-40051791 to be up.. 2026-02-09 13:35:51,705 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 13:35:56,820 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:35:56,820 - INFO - VM name : ctest-TestBasicPolicy-26584868-40051791 2026-02-09 13:35:56,938 - DEBUG - VM ctest-TestBasicPolicy-26584868-40051791 ID is 39e73255-198c-46d7-873c-2c6758f9e8c0 2026-02-09 13:35:56,969 - DEBUG - VM ctest-TestBasicPolicy-26584868-40051791 launched on Node cn-jenkins-deploy-platform-ansible-os-5245-1 2026-02-09 13:35:57,092 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/39e73255-198c-46d7-873c-2c6758f9e8c0 2026-02-09 13:35:57,103 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d27058f6-f630-4307-890a-117b89f72ae5 2026-02-09 13:36:00,392 - 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 1024ms') 2026-02-09 13:36:00,392 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26584868-40051791 failed! 2026-02-09 13:36:00,459 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26584868:ctest-vn-39861212 is 40.12.38.1 and allocation pool is NOT set 2026-02-09 13:36:04,554 - 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=15.4 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1021ms\r\nrtt min/avg/max/mdev = 15.372/15.372/15.372/0.000 ms') 2026-02-09 13:36:04,555 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26584868-40051791 passed 2026-02-09 13:36:04,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:36:04,711 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26584868-40051791, IP 40.12.38.3, Port 22 2026-02-09 13:36:04,889 - DEBUG - VM ctest-TestBasicPolicy-26584868-40051791 is ready for SSH connections 2026-02-09 13:36:04,889 - INFO - Waiting for VM ctest-TestBasicPolicy-26584868-04961087 to be up.. 2026-02-09 13:36:05,043 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:36:05,043 - INFO - VM name : ctest-TestBasicPolicy-26584868-04961087 2026-02-09 13:36:05,191 - DEBUG - VM ctest-TestBasicPolicy-26584868-04961087 ID is e4f097e5-d568-4613-842a-71dd4c8ec398 2026-02-09 13:36:05,192 - DEBUG - VM ctest-TestBasicPolicy-26584868-04961087 launched on Node cn-jenkins-deploy-platform-ansible-os-5245-1 2026-02-09 13:36:05,330 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/e4f097e5-d568-4613-842a-71dd4c8ec398 2026-02-09 13:36:05,345 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/dab1058a-799b-484e-9466-8920d01b34cf 2026-02-09 13:36:06,628 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.739 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.739/2.522/4.306/1.783 ms') 2026-02-09 13:36:06,629 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26584868-04961087 passed 2026-02-09 13:36:06,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:36:06,791 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26584868-04961087, IP 54.98.235.3, Port 22 2026-02-09 13:36:06,976 - DEBUG - VM ctest-TestBasicPolicy-26584868-04961087 is ready for SSH connections 2026-02-09 13:36:06,976 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:36:06,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.98.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-09 13:36:06,976 - DEBUG - ping -s 56 -c 3 -W 1 54.98.235.3 2026-02-09 13:36:11,363 - DEBUG - PING 54.98.235.3 (54.98.235.3): 56 data bytes 64 bytes from 54.98.235.3: seq=0 ttl=63 time=5.662 ms 64 bytes from 54.98.235.3: seq=1 ttl=63 time=1.673 ms 64 bytes from 54.98.235.3: seq=2 ttl=63 time=1.853 ms --- 54.98.235.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.673/3.062/5.662 ms 2026-02-09 13:36:11,363 - INFO - Ping to IP 54.98.235.3 from VM ctest-TestBasicPolicy-26584868-40051791 passed 2026-02-09 13:36:11,566 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61f42fae-1828-4ab6-b919-9778df4aaac1", "href": "http://10.0.0.19:8082/network-policy/61f42fae-1828-4ab6-b919-9778df4aaac1"}} 2026-02-09 13:36:11,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:36:11,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.98.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-09 13:36:11,567 - DEBUG - ping -s 56 -c 3 -W 1 54.98.235.3 2026-02-09 13:36:14,825 - DEBUG - PING 54.98.235.3 (54.98.235.3): 56 data bytes --- 54.98.235.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 13:36:14,826 - WARNING - Ping to IP 54.98.235.3 from VM ctest-TestBasicPolicy-26584868-40051791 failed 2026-02-09 13:36:14,826 - INFO - Deleting VM ctest-TestBasicPolicy-26584868-04961087 2026-02-09 13:36:14,920 - INFO - Deleting VM ctest-TestBasicPolicy-26584868-40051791 2026-02-09 13:36:15,497 - INFO - Deleted policy ctest-policy-allow-all-89750896 2026-02-09 13:36:15,497 - INFO - Deleting VN ctest-vn-55495170 2026-02-09 13:36:15,561 - DEBUG - VN b235d1cc-48f9-4371-af16-f3fbaa1b94e7 still in use: Unable to complete operation on network b235d1cc-48f9-4371-af16-f3fbaa1b94e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d39f7f32-3c18-4460-9610-23049690a21b'] 2026-02-09 13:36:15,561 - WARNING - Deleting VN ctest-vn-55495170 failed..Will retry 2026-02-09 13:36:17,718 - DEBUG - Response for deleting network () 2026-02-09 13:36:17,718 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/fbc6e6b5-36a0-4a8a-a3ca-c2f6110db090 2026-02-09 13:36:17,730 - DEBUG - Response Code: 404 2026-02-09 13:36:17,730 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:36:17,739 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:36:17,800 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:36:17,886 - INFO - Validated that VN ctest-vn-55495170 is not found in API Server 2026-02-09 13:36:17,904 - DEBUG - VN ctest-vn-55495170 is not present in Agent 10.0.0.19 2026-02-09 13:36:17,904 - INFO - Validated that VN ctest-vn-55495170 is not in any agent 2026-02-09 13:36:17,929 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55495170 info 2026-02-09 13:36:17,929 - INFO - Deleting VN ctest-vn-39861212 2026-02-09 13:36:18,087 - DEBUG - Response for deleting network () 2026-02-09 13:36:18,087 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/28fcff8d-a544-4752-9195-0dfbe21d3989 2026-02-09 13:36:18,099 - DEBUG - Response Code: 404 2026-02-09 13:36:18,099 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-09 13:36:18,108 - DEBUG - Requesting: http://10.0.0.19:8082/domain/651f5d78-5857-4ec7-a36a-14b4270f69ff 2026-02-09 13:36:18,167 - DEBUG - Requesting: http://10.0.0.19:8082/project/bb8f18f4-2465-43e3-8874-2e98098e5601 2026-02-09 13:36:18,256 - INFO - Validated that VN ctest-vn-39861212 is not found in API Server 2026-02-09 13:36:18,271 - DEBUG - VN ctest-vn-39861212 is not present in Agent 10.0.0.19 2026-02-09 13:36:18,271 - INFO - Validated that VN ctest-vn-39861212 is not in any agent 2026-02-09 13:36:18,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39861212 info 2026-02-09 13:36:18,582 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 13:36:18,582 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-02-09 13:36:18,582 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:36:19,360 - INFO - Deleted project: ctest-TestBasicPolicy-26584868, ID : bb8f18f4-2465-43e3-8874-2e98098e5601