2025-09-08 18:59:14,885 - INFO - Domain Default found not creating 2025-09-08 18:59:15,011 - INFO - Project ctest-TestBasicPolicy-09044981 not found, creating it 2025-09-08 18:59:15,427 - INFO - Created Project:ctest-TestBasicPolicy-09044981, ID : cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:16,737 - INFO - ================================================================================ 2025-09-08 18:59:16,737 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 18:59:16,737 - 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 2025-09-08 18:59:16,998 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-08 18:59:16,998 - INFO - Initial checks done. Running the testcase now 2025-09-08 18:59:16,998 - INFO - 2025-09-08 18:59:17,503 - DEBUG - Response for create_network : {'network': {'id': '7e323992-da00-4f9b-ae41-72c2c68ac092', 'name': 'ctest-vn-20678731', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'project_id': 'cdd5475640924f03a085657f2abdc5b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-vn-20678731'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 18:59:17,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a912aba7-99d2-42fa-b4ba-9f764ff69580', 'name': '', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'network_id': '7e323992-da00-4f9b-ae41-72c2c68ac092', 'ip_version': 4, 'cidr': '11.102.251.128/26', 'allocation_pools': [{'start': '11.102.251.130', 'end': '11.102.251.190'}], 'gateway_ip': '11.102.251.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.102.251.130', 'tags': [], 'project_id': 'cdd5475640924f03a085657f2abdc5b7'}} 2025-09-08 18:59:17,665 - INFO - Created VN ctest-vn-20678731 2025-09-08 18:59:17,714 - DEBUG - VN ctest-vn-20678731 UUID is 7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:18,010 - DEBUG - Response for create_network : {'network': {'id': '5799a8bf-6c14-42b6-838f-85ffdafe5578', 'name': 'ctest-vn-94980568', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'project_id': 'cdd5475640924f03a085657f2abdc5b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-vn-94980568'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 18:59:18,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '67e4f321-6eb8-4859-a45f-0a51bda6c3a1', 'name': '', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'network_id': '5799a8bf-6c14-42b6-838f-85ffdafe5578', 'ip_version': 4, 'cidr': '4.180.168.0/26', 'allocation_pools': [{'start': '4.180.168.2', 'end': '4.180.168.62'}], 'gateway_ip': '4.180.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.180.168.2', 'tags': [], 'project_id': 'cdd5475640924f03a085657f2abdc5b7'}} 2025-09-08 18:59:18,218 - INFO - Created VN ctest-vn-94980568 2025-09-08 18:59:18,270 - DEBUG - VN ctest-vn-94980568 UUID is 5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:18,414 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731, 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-09044981:ctest-vn-94980568, 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] 2025-09-08 18:59:18,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7e323992-da00-4f9b-ae41-72c2c68ac092', 'name': 'ctest-vn-20678731', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'project_id': 'cdd5475640924f03a085657f2abdc5b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a912aba7-99d2-42fa-b4ba-9f764ff69580'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-vn-20678731'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-policy-allow-all-93628502']], 'subnet_ipam': [{'subnet_cidr': '11.102.251.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 18:59:18,914 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5799a8bf-6c14-42b6-838f-85ffdafe5578', 'name': 'ctest-vn-94980568', 'tenant_id': 'cdd5475640924f03a085657f2abdc5b7', 'project_id': 'cdd5475640924f03a085657f2abdc5b7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['67e4f321-6eb8-4859-a45f-0a51bda6c3a1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-vn-94980568'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-policy-allow-all-93628502']], 'subnet_ipam': [{'subnet_cidr': '4.180.168.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 18:59:19,078 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:19,364 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:19,388 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:19,399 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:19,471 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,479 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,487 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:19,493 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:19,498 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/39c7768f-9354-4016-ac87-42d4cfffbf0d 2025-09-08 18:59:19,504 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 18:59:19,504 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,511 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:19,523 - INFO - Verified VN network id 12 for VN 7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,523 - INFO - Verifications in API Server for VN ctest-vn-20678731 passed 2025-09-08 18:59:19,523 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,531 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:19,536 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:19,542 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/39c7768f-9354-4016-ac87-42d4cfffbf0d 2025-09-08 18:59:19,551 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09044981', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9093393900499914651', 'uuid-lslong': '12556443416965857426'}, 'enable': 'true', 'created': '2025-09-08T18:59:17', 'last-modified': '2025-09-08T18:59:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.882103'} 2025-09-08 18:59:19,557 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 18:59:19,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20678731 passed 2025-09-08 18:59:19,557 - DEBUG - ====Verifying policy data for ctest-vn-20678731 in API_Server ====== 2025-09-08 18:59:19,557 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:19,562 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:19,572 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:19,636 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/7e323992-da00-4f9b-ae41-72c2c68ac092 2025-09-08 18:59:19,644 - DEBUG - ==>Verifying data for policy with id: 3a7e92d5-1e0e-4170-a331-a512d51aa0bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-policy-allow-all-93628502'] 2025-09-08 18:59:19,644 - INFO - VN ctest-vn-20678731 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 18:59:19,644 - DEBUG - Verifying the vn in opserver 2025-09-08 18:59:19,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731 virtual network link through opserver 10.0.0.22 2025-09-08 18:59:19,644 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 18:59:19,931 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 18:59:19,977 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731?flat'} 2025-09-08 18:59:19,977 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731 is found in opserver 2025-09-08 18:59:19,986 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 18:59:19,990 - DEBUG - VRF ids for VN ctest-vn-20678731: {} 2025-09-08 18:59:19,990 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:19,994 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:20,003 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:20,070 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,080 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,087 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:20,093 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:20,098 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/36ceb9d3-cfa4-4552-8b20-f950e2b079d0 2025-09-08 18:59:20,103 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 18:59:20,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,110 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:20,120 - INFO - Verified VN network id 13 for VN 5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,120 - INFO - Verifications in API Server for VN ctest-vn-94980568 passed 2025-09-08 18:59:20,120 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,126 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:20,131 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:20,136 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/36ceb9d3-cfa4-4552-8b20-f950e2b079d0 2025-09-08 18:59:20,144 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-94980568', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09044981', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6312261892841947830', 'uuid-lslong': '9479943074575439224'}, 'enable': 'true', 'created': '2025-09-08T18:59:17', 'last-modified': '2025-09-08T18:59:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.253035'} 2025-09-08 18:59:20,149 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 18:59:20,149 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94980568 passed 2025-09-08 18:59:20,149 - DEBUG - ====Verifying policy data for ctest-vn-94980568 in API_Server ====== 2025-09-08 18:59:20,149 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:20,154 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:20,162 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:20,229 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5799a8bf-6c14-42b6-838f-85ffdafe5578 2025-09-08 18:59:20,237 - DEBUG - ==>Verifying data for policy with id: 3a7e92d5-1e0e-4170-a331-a512d51aa0bb, fqn: ['default-domain', 'ctest-TestBasicPolicy-09044981', 'ctest-policy-allow-all-93628502'] 2025-09-08 18:59:20,237 - INFO - VN ctest-vn-94980568 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 18:59:20,237 - DEBUG - Verifying the vn in opserver 2025-09-08 18:59:20,237 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-94980568 virtual network link through opserver 10.0.0.22 2025-09-08 18:59:20,237 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 18:59:20,245 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-94980568', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-94980568?flat'} 2025-09-08 18:59:20,245 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-94980568 is found in opserver 2025-09-08 18:59:20,252 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 18:59:20,257 - DEBUG - VRF ids for VN ctest-vn-94980568: {} 2025-09-08 18:59:20,303 - DEBUG - Services list from nova: [, , ] 2025-09-08 18:59:21,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4057-1) 2025-09-08 18:59:22,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4057-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4057-1) 2025-09-08 18:59:22,313 - INFO - Waiting for VM ctest-TestBasicPolicy-09044981-56187324 to be up.. 2025-09-08 18:59:22,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 18:59:27,449 - DEBUG - VM is in ACTIVE state now 2025-09-08 18:59:27,449 - INFO - VM name : ctest-TestBasicPolicy-09044981-56187324 2025-09-08 18:59:27,527 - DEBUG - VM ctest-TestBasicPolicy-09044981-56187324 ID is 1be8b9e9-33c8-4026-926e-d34552197a7e 2025-09-08 18:59:27,547 - DEBUG - VM ctest-TestBasicPolicy-09044981-56187324 launched on Node cn-jenkins-deploy-platform-ansible-os-4057-1 2025-09-08 18:59:27,623 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/1be8b9e9-33c8-4026-926e-d34552197a7e 2025-09-08 18:59:27,633 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6e27c7a6-617c-4cd3-a250-22f826e1f073 2025-09-08 18:59:30,895 - 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 1026ms') 2025-09-08 18:59:30,896 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09044981-56187324 failed! 2025-09-08 18:59:30,950 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-09044981:ctest-vn-20678731 is 11.102.251.129 and allocation pool is NOT set 2025-09-08 18:59:33,013 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.824 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.824/2.288/3.753/1.464 ms') 2025-09-08 18:59:33,013 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-09044981-56187324 passed 2025-09-08 18:59:33,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 18:59:33,166 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09044981-56187324, IP 11.102.251.131, Port 22 2025-09-08 18:59:33,322 - DEBUG - VM ctest-TestBasicPolicy-09044981-56187324 is ready for SSH connections 2025-09-08 18:59:33,322 - INFO - Waiting for VM ctest-TestBasicPolicy-09044981-91593182 to be up.. 2025-09-08 18:59:33,387 - DEBUG - VM is in ACTIVE state now 2025-09-08 18:59:33,387 - INFO - VM name : ctest-TestBasicPolicy-09044981-91593182 2025-09-08 18:59:33,449 - DEBUG - VM ctest-TestBasicPolicy-09044981-91593182 ID is 42adf77a-bca2-4dff-98de-de79df79598f 2025-09-08 18:59:33,449 - DEBUG - VM ctest-TestBasicPolicy-09044981-91593182 launched on Node cn-jenkins-deploy-platform-ansible-os-4057-1 2025-09-08 18:59:33,514 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/42adf77a-bca2-4dff-98de-de79df79598f 2025-09-08 18:59:33,520 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/42c00c5d-b269-4b41-a515-5302a63512a5 2025-09-08 18:59:34,755 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/1.537/2.572/1.035 ms') 2025-09-08 18:59:34,755 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-09044981-91593182 passed 2025-09-08 18:59:34,906 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 18:59:34,906 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-09044981-91593182, IP 4.180.168.3, Port 22 2025-09-08 18:59:35,061 - DEBUG - VM ctest-TestBasicPolicy-09044981-91593182 is ready for SSH connections 2025-09-08 18:59:35,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 18:59:35,061 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.180.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 18:59:35,061 - DEBUG - ping -s 56 -c 3 -W 1 4.180.168.3 2025-09-08 18:59:38,752 - DEBUG - PING 4.180.168.3 (4.180.168.3): 56 data bytes 64 bytes from 4.180.168.3: seq=0 ttl=63 time=3.202 ms 64 bytes from 4.180.168.3: seq=1 ttl=63 time=0.769 ms 64 bytes from 4.180.168.3: seq=2 ttl=63 time=0.910 ms --- 4.180.168.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.769/1.627/3.202 ms 2025-09-08 18:59:38,752 - INFO - Ping to IP 4.180.168.3 from VM ctest-TestBasicPolicy-09044981-56187324 passed 2025-09-08 18:59:38,922 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3a7e92d5-1e0e-4170-a331-a512d51aa0bb", "href": "http://10.0.0.22:8082/network-policy/3a7e92d5-1e0e-4170-a331-a512d51aa0bb"}} 2025-09-08 18:59:38,922 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 18:59:38,922 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 4.180.168.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 18:59:38,922 - DEBUG - ping -s 56 -c 3 -W 1 4.180.168.3 2025-09-08 18:59:42,114 - DEBUG - PING 4.180.168.3 (4.180.168.3): 56 data bytes 64 bytes from 4.180.168.3: seq=0 ttl=63 time=1.201 ms --- 4.180.168.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.201/1.201/1.201 ms 2025-09-08 18:59:42,114 - WARNING - Ping to IP 4.180.168.3 from VM ctest-TestBasicPolicy-09044981-56187324 failed 2025-09-08 18:59:42,114 - INFO - Deleting VM ctest-TestBasicPolicy-09044981-91593182 2025-09-08 18:59:42,174 - INFO - Deleting VM ctest-TestBasicPolicy-09044981-56187324 2025-09-08 18:59:42,508 - INFO - Deleted policy ctest-policy-allow-all-93628502 2025-09-08 18:59:42,508 - INFO - Deleting VN ctest-vn-94980568 2025-09-08 18:59:42,538 - DEBUG - VN 5799a8bf-6c14-42b6-838f-85ffdafe5578 still in use: Unable to complete operation on network 5799a8bf-6c14-42b6-838f-85ffdafe5578. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9ed40f28-ac93-4278-a6d4-f830b684973a'] 2025-09-08 18:59:42,538 - WARNING - Deleting VN ctest-vn-94980568 failed..Will retry 2025-09-08 18:59:44,626 - DEBUG - Response for deleting network () 2025-09-08 18:59:44,626 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d78e7b91-6864-4c8e-acd4-f9d4bfc746f3 2025-09-08 18:59:44,640 - DEBUG - Response Code: 404 2025-09-08 18:59:44,640 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:44,646 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:44,700 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:44,763 - INFO - Validated that VN ctest-vn-94980568 is not found in API Server 2025-09-08 18:59:44,771 - DEBUG - VN ctest-vn-94980568 is not present in Agent 10.0.0.22 2025-09-08 18:59:44,771 - INFO - Validated that VN ctest-vn-94980568 is not in any agent 2025-09-08 18:59:44,782 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94980568 info 2025-09-08 18:59:44,782 - INFO - Deleting VN ctest-vn-20678731 2025-09-08 18:59:44,865 - DEBUG - Response for deleting network () 2025-09-08 18:59:44,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/887d5085-5439-42fe-95ed-904fff82e9f7 2025-09-08 18:59:44,870 - DEBUG - Response Code: 404 2025-09-08 18:59:44,870 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 18:59:44,875 - DEBUG - Requesting: http://10.0.0.22:8082/domain/c286bce8-666b-4dc2-b8c3-2701e222d750 2025-09-08 18:59:44,926 - DEBUG - Requesting: http://10.0.0.22:8082/project/cdd54756-4092-4f03-a085-657f2abdc5b7 2025-09-08 18:59:44,996 - INFO - Validated that VN ctest-vn-20678731 is not found in API Server 2025-09-08 18:59:45,005 - DEBUG - VN ctest-vn-20678731 is not present in Agent 10.0.0.22 2025-09-08 18:59:45,005 - INFO - Validated that VN ctest-vn-20678731 is not in any agent 2025-09-08 18:59:45,019 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20678731 info 2025-09-08 18:59:45,278 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 18:59:45,279 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-08 18:59:45,279 - INFO - -------------------------------------------------------------------------------- 2025-09-08 18:59:45,925 - INFO - Deleted project: ctest-TestBasicPolicy-09044981, ID : cdd54756-4092-4f03-a085-657f2abdc5b7