2026-05-03 09:23:35,919 - INFO - Domain Default found not creating 2026-05-03 09:23:36,094 - INFO - Project ctest-TestBasicPolicy-88604235 not found, creating it 2026-05-03 09:23:36,570 - INFO - Created Project:ctest-TestBasicPolicy-88604235, ID : 4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:23:38,053 - INFO - ================================================================================ 2026-05-03 09:23:38,053 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-03 09:23:38,053 - 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-05-03 09:23:38,307 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-03 09:23:38,307 - INFO - Initial checks done. Running the testcase now 2026-05-03 09:23:38,307 - INFO - 2026-05-03 09:23:38,852 - DEBUG - Response for create_network : {'network': {'id': '853ccf65-bd92-4b31-b9ec-e96bf532f16a', 'name': 'ctest-vn-60675753', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'project_id': '4549a0b4a5694481a6c393bd74be9d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-vn-60675753'], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:23:39,056 - DEBUG - Response for create_subnet : {'subnet': {'id': '877f7f8b-f477-42e3-b1ba-54fc4c5e4948', 'name': '', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'network_id': '853ccf65-bd92-4b31-b9ec-e96bf532f16a', 'ip_version': 4, 'cidr': '203.232.146.64/26', 'allocation_pools': [{'start': '203.232.146.66', 'end': '203.232.146.126'}], 'gateway_ip': '203.232.146.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.232.146.66', 'tags': [], 'project_id': '4549a0b4a5694481a6c393bd74be9d73'}} 2026-05-03 09:23:39,073 - INFO - Created VN ctest-vn-60675753 2026-05-03 09:23:39,124 - DEBUG - VN ctest-vn-60675753 UUID is 853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:39,448 - DEBUG - Response for create_network : {'network': {'id': '60982b49-01b0-446d-b591-aa3f5cb602eb', 'name': 'ctest-vn-75953040', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'project_id': '4549a0b4a5694481a6c393bd74be9d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-vn-75953040'], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:23:39,675 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b51b63c8-9645-49d5-8565-a7ad541a605e', 'name': '', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'network_id': '60982b49-01b0-446d-b591-aa3f5cb602eb', 'ip_version': 4, 'cidr': '61.229.254.64/26', 'allocation_pools': [{'start': '61.229.254.66', 'end': '61.229.254.126'}], 'gateway_ip': '61.229.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.229.254.66', 'tags': [], 'project_id': '4549a0b4a5694481a6c393bd74be9d73'}} 2026-05-03 09:23:39,692 - INFO - Created VN ctest-vn-75953040 2026-05-03 09:23:39,743 - DEBUG - VN ctest-vn-75953040 UUID is 60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:39,855 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753, 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-88604235:ctest-vn-75953040, 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-05-03 09:23:40,148 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '853ccf65-bd92-4b31-b9ec-e96bf532f16a', 'name': 'ctest-vn-60675753', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'project_id': '4549a0b4a5694481a6c393bd74be9d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['877f7f8b-f477-42e3-b1ba-54fc4c5e4948'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-vn-60675753'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-policy-allow-all-31559075']], 'subnet_ipam': [{'subnet_cidr': '203.232.146.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:23:40,374 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60982b49-01b0-446d-b591-aa3f5cb602eb', 'name': 'ctest-vn-75953040', 'tenant_id': '4549a0b4a5694481a6c393bd74be9d73', 'project_id': '4549a0b4a5694481a6c393bd74be9d73', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b51b63c8-9645-49d5-8565-a7ad541a605e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-vn-75953040'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-policy-allow-all-31559075']], 'subnet_ipam': [{'subnet_cidr': '61.229.254.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-03 09:23:40,540 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:23:40,832 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:23:40,864 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:23:40,875 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:23:40,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:40,957 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:40,968 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:23:40,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:23:40,981 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ab3bff6-cbe5-454b-8dd5-c6438bf282b1 2026-05-03 09:23:40,987 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-03 09:23:40,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:40,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:23:41,009 - INFO - Verified VN network id 11 for VN 853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:41,009 - INFO - Verifications in API Server for VN ctest-vn-60675753 passed 2026-05-03 09:23:41,009 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:41,020 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:23:41,027 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:23:41,035 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6ab3bff6-cbe5-454b-8dd5-c6438bf282b1 2026-05-03 09:23:41,047 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88604235', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9600776541526182705', 'uuid-lslong': '13397339641404911978'}, 'enable': 'true', 'created': '2026-05-03T09:23:38', 'last-modified': '2026-05-03T09:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920777'} 2026-05-03 09:23:41,053 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-03 09:23:41,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60675753 passed 2026-05-03 09:23:41,053 - DEBUG - ====Verifying policy data for ctest-vn-60675753 in API_Server ====== 2026-05-03 09:23:41,053 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:23:41,059 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:23:41,070 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:23:41,139 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/853ccf65-bd92-4b31-b9ec-e96bf532f16a 2026-05-03 09:23:41,148 - DEBUG - ==>Verifying data for policy with id: d7fa08b3-da31-424f-9096-de058c3caad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-policy-allow-all-31559075'] 2026-05-03 09:23:41,148 - INFO - VN ctest-vn-60675753 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-03 09:23:41,148 - DEBUG - Verifying the vn in opserver 2026-05-03 09:23:41,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753 virtual network link through opserver 10.0.0.50 2026-05-03 09:23:41,148 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-03 09:23:41,437 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-03 09:23:41,491 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753?flat'} 2026-05-03 09:23:41,491 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753 is found in opserver 2026-05-03 09:23:41,500 - DEBUG - Do not have enough data to verify VN in agent 2026-05-03 09:23:41,505 - DEBUG - VRF ids for VN ctest-vn-60675753: {} 2026-05-03 09:23:41,505 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:23:41,511 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:23:41,521 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:23:41,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,610 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,620 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:23:41,627 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:23:41,636 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bc95014-d759-468d-863f-e226a9deb4ef 2026-05-03 09:23:41,643 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-03 09:23:41,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:23:41,668 - INFO - Verified VN network id 12 for VN 60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,668 - INFO - Verifications in API Server for VN ctest-vn-75953040 passed 2026-05-03 09:23:41,668 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,677 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:23:41,685 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:23:41,692 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/0bc95014-d759-468d-863f-e226a9deb4ef 2026-05-03 09:23:41,705 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-75953040', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88604235', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6960360816662037613', 'uuid-lslong': '13083425581603095275'}, 'enable': 'true', 'created': '2026-05-03T09:23:39', 'last-modified': '2026-05-03T09:23:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.357374'} 2026-05-03 09:23:41,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-03 09:23:41,712 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75953040 passed 2026-05-03 09:23:41,712 - DEBUG - ====Verifying policy data for ctest-vn-75953040 in API_Server ====== 2026-05-03 09:23:41,712 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:23:41,718 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:23:41,729 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:23:41,810 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/60982b49-01b0-446d-b591-aa3f5cb602eb 2026-05-03 09:23:41,818 - DEBUG - ==>Verifying data for policy with id: d7fa08b3-da31-424f-9096-de058c3caad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88604235', 'ctest-policy-allow-all-31559075'] 2026-05-03 09:23:41,819 - INFO - VN ctest-vn-75953040 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-03 09:23:41,819 - DEBUG - Verifying the vn in opserver 2026-05-03 09:23:41,819 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-75953040 virtual network link through opserver 10.0.0.50 2026-05-03 09:23:41,819 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-03 09:23:41,828 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-75953040', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-75953040?flat'} 2026-05-03 09:23:41,828 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-75953040 is found in opserver 2026-05-03 09:23:41,836 - DEBUG - Do not have enough data to verify VN in agent 2026-05-03 09:23:41,841 - DEBUG - VRF ids for VN ctest-vn-75953040: {} 2026-05-03 09:23:41,896 - DEBUG - Services list from nova: [, , ] 2026-05-03 09:23:42,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5736-1) 2026-05-03 09:23:44,143 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5736-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5736-1) 2026-05-03 09:23:44,144 - INFO - Waiting for VM ctest-TestBasicPolicy-88604235-24463266 to be up.. 2026-05-03 09:23:44,226 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-03 09:23:49,304 - DEBUG - VM is in ACTIVE state now 2026-05-03 09:23:49,304 - INFO - VM name : ctest-TestBasicPolicy-88604235-24463266 2026-05-03 09:23:49,374 - DEBUG - VM ctest-TestBasicPolicy-88604235-24463266 ID is 2aa06807-e6b6-4d2f-942d-ecb2bef0d114 2026-05-03 09:23:49,392 - DEBUG - VM ctest-TestBasicPolicy-88604235-24463266 launched on Node cn-jenkins-deploy-platform-ansible-os-5736-1 2026-05-03 09:23:49,468 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2aa06807-e6b6-4d2f-942d-ecb2bef0d114 2026-05-03 09:23:49,477 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/90f329c6-4ca9-4b7d-aaf8-fb843ef07992 2026-05-03 09:23:52,741 - 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-05-03 09:23:52,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88604235-24463266 failed! 2026-05-03 09:23:52,796 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-88604235:ctest-vn-60675753 is 203.232.146.65 and allocation pool is NOT set 2026-05-03 09:23:54,863 - 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=6.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.70 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 = 2.700/4.708/6.717/2.008 ms') 2026-05-03 09:23:54,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-88604235-24463266 passed 2026-05-03 09:23:55,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:55,012 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88604235-24463266, IP 203.232.146.67, Port 22 2026-05-03 09:23:55,167 - DEBUG - VM ctest-TestBasicPolicy-88604235-24463266 is ready for SSH connections 2026-05-03 09:23:55,167 - INFO - Waiting for VM ctest-TestBasicPolicy-88604235-52613342 to be up.. 2026-05-03 09:23:55,246 - DEBUG - VM is in ACTIVE state now 2026-05-03 09:23:55,246 - INFO - VM name : ctest-TestBasicPolicy-88604235-52613342 2026-05-03 09:23:55,325 - DEBUG - VM ctest-TestBasicPolicy-88604235-52613342 ID is 2918bf4d-8e83-4ea9-8d28-2a906992ca0c 2026-05-03 09:23:55,325 - DEBUG - VM ctest-TestBasicPolicy-88604235-52613342 launched on Node cn-jenkins-deploy-platform-ansible-os-5736-1 2026-05-03 09:23:55,401 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2918bf4d-8e83-4ea9-8d28-2a906992ca0c 2026-05-03 09:23:55,411 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f5497322-7303-4e6c-943f-32b6f6c7db69 2026-05-03 09:23:56,647 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.532 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.532/1.825/3.118/1.293 ms') 2026-05-03 09:23:56,647 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-88604235-52613342 passed 2026-05-03 09:23:56,796 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:56,796 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-88604235-52613342, IP 61.229.254.67, Port 22 2026-05-03 09:23:56,951 - DEBUG - VM ctest-TestBasicPolicy-88604235-52613342 is ready for SSH connections 2026-05-03 09:23:56,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:23:56,952 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.229.254.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-03 09:23:56,952 - DEBUG - ping -s 56 -c 3 -W 1 61.229.254.67 2026-05-03 09:24:00,999 - DEBUG - PING 61.229.254.67 (61.229.254.67): 56 data bytes 64 bytes from 61.229.254.67: seq=0 ttl=63 time=3.523 ms 64 bytes from 61.229.254.67: seq=1 ttl=63 time=0.826 ms 64 bytes from 61.229.254.67: seq=2 ttl=63 time=0.933 ms --- 61.229.254.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.760/3.523 ms 2026-05-03 09:24:00,999 - INFO - Ping to IP 61.229.254.67 from VM ctest-TestBasicPolicy-88604235-24463266 passed 2026-05-03 09:24:01,183 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7fa08b3-da31-424f-9096-de058c3caad0", "href": "http://10.0.0.50:8082/network-policy/d7fa08b3-da31-424f-9096-de058c3caad0"}} 2026-05-03 09:24:01,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-03 09:24:01,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 61.229.254.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-03 09:24:01,184 - DEBUG - ping -s 56 -c 3 -W 1 61.229.254.67 2026-05-03 09:24:04,440 - DEBUG - PING 61.229.254.67 (61.229.254.67): 56 data bytes --- 61.229.254.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-03 09:24:04,441 - WARNING - Ping to IP 61.229.254.67 from VM ctest-TestBasicPolicy-88604235-24463266 failed 2026-05-03 09:24:04,441 - INFO - Deleting VM ctest-TestBasicPolicy-88604235-52613342 2026-05-03 09:24:04,518 - INFO - Deleting VM ctest-TestBasicPolicy-88604235-24463266 2026-05-03 09:24:04,987 - INFO - Deleted policy ctest-policy-allow-all-31559075 2026-05-03 09:24:04,987 - INFO - Deleting VN ctest-vn-75953040 2026-05-03 09:24:05,029 - DEBUG - VN 60982b49-01b0-446d-b591-aa3f5cb602eb still in use: Unable to complete operation on network 60982b49-01b0-446d-b591-aa3f5cb602eb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7abe2fa-e6a8-46ef-b8c1-08d326ee299b'] 2026-05-03 09:24:05,029 - WARNING - Deleting VN ctest-vn-75953040 failed..Will retry 2026-05-03 09:24:07,129 - DEBUG - Response for deleting network () 2026-05-03 09:24:07,129 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f67627d5-acd6-46e5-b253-4a9017d49e25 2026-05-03 09:24:07,139 - DEBUG - Response Code: 404 2026-05-03 09:24:07,139 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:24:07,146 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:24:07,201 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:24:07,279 - INFO - Validated that VN ctest-vn-75953040 is not found in API Server 2026-05-03 09:24:07,289 - DEBUG - VN ctest-vn-75953040 is not present in Agent 10.0.0.50 2026-05-03 09:24:07,289 - INFO - Validated that VN ctest-vn-75953040 is not in any agent 2026-05-03 09:24:07,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75953040 info 2026-05-03 09:24:07,304 - INFO - Deleting VN ctest-vn-60675753 2026-05-03 09:24:07,441 - DEBUG - Response for deleting network () 2026-05-03 09:24:07,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/e53b5f88-289c-49ee-a23f-34dca53d051c 2026-05-03 09:24:07,449 - DEBUG - Response Code: 404 2026-05-03 09:24:07,449 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-03 09:24:07,454 - DEBUG - Requesting: http://10.0.0.50:8082/domain/daa3f5c7-1515-4732-a643-c4088fd1bf1b 2026-05-03 09:24:07,508 - DEBUG - Requesting: http://10.0.0.50:8082/project/4549a0b4-a569-4481-a6c3-93bd74be9d73 2026-05-03 09:24:07,578 - INFO - Validated that VN ctest-vn-60675753 is not found in API Server 2026-05-03 09:24:07,587 - DEBUG - VN ctest-vn-60675753 is not present in Agent 10.0.0.50 2026-05-03 09:24:07,587 - INFO - Validated that VN ctest-vn-60675753 is not in any agent 2026-05-03 09:24:07,599 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60675753 info 2026-05-03 09:24:07,853 - DEBUG - No XMPP flaps were noticed during the test
2026-05-03 09:24:07,853 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-05-03 09:24:07,853 - INFO - -------------------------------------------------------------------------------- 2026-05-03 09:24:08,531 - INFO - Deleted project: ctest-TestBasicPolicy-88604235, ID : 4549a0b4-a569-4481-a6c3-93bd74be9d73