2025-07-04 15:41:33,283 - INFO - Domain Default found not creating 2025-07-04 15:41:33,434 - INFO - Project ctest-TestBasicPolicy-95396185 not found, creating it 2025-07-04 15:41:33,913 - INFO - Created Project:ctest-TestBasicPolicy-95396185, ID : 03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:41:35,361 - INFO - ================================================================================ 2025-07-04 15:41:35,361 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-04 15:41:35,361 - 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-07-04 15:41:35,623 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-07-04 15:41:35,623 - INFO - Initial checks done. Running the testcase now 2025-07-04 15:41:35,623 - INFO - 2025-07-04 15:41:36,209 - DEBUG - Response for create_network : {'network': {'id': '76451db5-3bbe-4d16-a3d1-90c10f2656d5', 'name': 'ctest-vn-62515815', 'tenant_id': '03375fda669f459fa9e8137662709134', 'project_id': '03375fda669f459fa9e8137662709134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-vn-62515815'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:36,430 - DEBUG - Response for create_subnet : {'subnet': {'id': '955ade73-875d-4264-b039-34e730b991b8', 'name': '', 'tenant_id': '03375fda669f459fa9e8137662709134', 'network_id': '76451db5-3bbe-4d16-a3d1-90c10f2656d5', 'ip_version': 4, 'cidr': '135.249.121.192/26', 'allocation_pools': [{'start': '135.249.121.194', 'end': '135.249.121.254'}], 'gateway_ip': '135.249.121.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.249.121.194', 'tags': [], 'project_id': '03375fda669f459fa9e8137662709134'}} 2025-07-04 15:41:36,451 - INFO - Created VN ctest-vn-62515815 2025-07-04 15:41:36,505 - DEBUG - VN ctest-vn-62515815 UUID is 76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:36,838 - DEBUG - Response for create_network : {'network': {'id': 'e64e7b9a-0bde-4cb6-8979-792b22c339b7', 'name': 'ctest-vn-56753890', 'tenant_id': '03375fda669f459fa9e8137662709134', 'project_id': '03375fda669f459fa9e8137662709134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-vn-56753890'], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:37,014 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dcb7e74c-6932-4ba2-b73c-2d13e8caec0c', 'name': '', 'tenant_id': '03375fda669f459fa9e8137662709134', 'network_id': 'e64e7b9a-0bde-4cb6-8979-792b22c339b7', 'ip_version': 4, 'cidr': '107.172.246.128/26', 'allocation_pools': [{'start': '107.172.246.130', 'end': '107.172.246.190'}], 'gateway_ip': '107.172.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.172.246.130', 'tags': [], 'project_id': '03375fda669f459fa9e8137662709134'}} 2025-07-04 15:41:37,035 - INFO - Created VN ctest-vn-56753890 2025-07-04 15:41:37,089 - DEBUG - VN ctest-vn-56753890 UUID is e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:37,201 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815, 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-95396185:ctest-vn-56753890, 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-07-04 15:41:37,514 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '76451db5-3bbe-4d16-a3d1-90c10f2656d5', 'name': 'ctest-vn-62515815', 'tenant_id': '03375fda669f459fa9e8137662709134', 'project_id': '03375fda669f459fa9e8137662709134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['955ade73-875d-4264-b039-34e730b991b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-vn-62515815'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-policy-allow-all-34576912']], 'subnet_ipam': [{'subnet_cidr': '135.249.121.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:37,755 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e64e7b9a-0bde-4cb6-8979-792b22c339b7', 'name': 'ctest-vn-56753890', 'tenant_id': '03375fda669f459fa9e8137662709134', 'project_id': '03375fda669f459fa9e8137662709134', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dcb7e74c-6932-4ba2-b73c-2d13e8caec0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-vn-56753890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-policy-allow-all-34576912']], 'subnet_ipam': [{'subnet_cidr': '107.172.246.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-04 15:41:37,901 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:41:38,209 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:41:38,238 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:41:38,252 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:41:38,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,344 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,358 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:41:38,368 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:41:38,378 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0741ed38-413b-4097-8c40-7087c3c713ee 2025-07-04 15:41:38,386 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 15:41:38,386 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,398 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:41:38,415 - INFO - Verified VN network id 8 for VN 76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,415 - INFO - Verifications in API Server for VN ctest-vn-62515815 passed 2025-07-04 15:41:38,415 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,427 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:41:38,435 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:41:38,444 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0741ed38-413b-4097-8c40-7087c3c713ee 2025-07-04 15:41:38,460 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95396185', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8522250534097145110', 'uuid-lslong': '11804375257172039381'}, 'enable': 'true', 'created': '2025-07-04T15:41:36', 'last-modified': '2025-07-04T15:41:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.977472'} 2025-07-04 15:41:38,468 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-04 15:41:38,468 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62515815 passed 2025-07-04 15:41:38,469 - DEBUG - ====Verifying policy data for ctest-vn-62515815 in API_Server ====== 2025-07-04 15:41:38,469 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:41:38,475 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:41:38,488 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:41:38,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/76451db5-3bbe-4d16-a3d1-90c10f2656d5 2025-07-04 15:41:38,579 - DEBUG - ==>Verifying data for policy with id: a7885ae8-0566-44aa-ab0c-668b6ab87240, fqn: ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-policy-allow-all-34576912'] 2025-07-04 15:41:38,579 - INFO - VN ctest-vn-62515815 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 15:41:38,579 - DEBUG - Verifying the vn in opserver 2025-07-04 15:41:38,579 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815 virtual network link through opserver 10.0.0.38 2025-07-04 15:41:38,579 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-04 15:41:38,879 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-04 15:41:38,949 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815?flat'} 2025-07-04 15:41:38,950 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815 is found in opserver 2025-07-04 15:41:38,961 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 15:41:38,967 - DEBUG - VRF ids for VN ctest-vn-62515815: {} 2025-07-04 15:41:38,967 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:41:38,973 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:41:38,986 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:41:39,069 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,094 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:41:39,102 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:41:39,110 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a21cf62-c6ea-4c49-a2b9-c971ac971145 2025-07-04 15:41:39,119 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 15:41:39,119 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:41:39,149 - INFO - Verified VN network id 9 for VN e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,149 - INFO - Verifications in API Server for VN ctest-vn-56753890 passed 2025-07-04 15:41:39,149 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,161 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:41:39,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:41:39,177 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3a21cf62-c6ea-4c49-a2b9-c971ac971145 2025-07-04 15:41:39,190 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-56753890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95396185', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16595337578461154486', 'uuid-lslong': '9906082081551890871'}, 'enable': 'true', 'created': '2025-07-04T15:41:36', 'last-modified': '2025-07-04T15:41:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466716'} 2025-07-04 15:41:39,197 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-04 15:41:39,197 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56753890 passed 2025-07-04 15:41:39,197 - DEBUG - ====Verifying policy data for ctest-vn-56753890 in API_Server ====== 2025-07-04 15:41:39,197 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:41:39,203 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:41:39,217 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:41:39,299 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e64e7b9a-0bde-4cb6-8979-792b22c339b7 2025-07-04 15:41:39,309 - DEBUG - ==>Verifying data for policy with id: a7885ae8-0566-44aa-ab0c-668b6ab87240, fqn: ['default-domain', 'ctest-TestBasicPolicy-95396185', 'ctest-policy-allow-all-34576912'] 2025-07-04 15:41:39,309 - INFO - VN ctest-vn-56753890 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-04 15:41:39,309 - DEBUG - Verifying the vn in opserver 2025-07-04 15:41:39,309 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-56753890 virtual network link through opserver 10.0.0.38 2025-07-04 15:41:39,310 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-07-04 15:41:39,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-56753890', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-56753890?flat'} 2025-07-04 15:41:39,321 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-56753890 is found in opserver 2025-07-04 15:41:39,333 - DEBUG - Do not have enough data to verify VN in agent 2025-07-04 15:41:39,339 - DEBUG - VRF ids for VN ctest-vn-56753890: {} 2025-07-04 15:41:39,396 - DEBUG - Services list from nova: [, , ] 2025-07-04 15:41:40,412 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3598-1) 2025-07-04 15:41:41,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3598-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3598-1) 2025-07-04 15:41:41,710 - INFO - Waiting for VM ctest-TestBasicPolicy-95396185-06524453 to be up.. 2025-07-04 15:41:41,789 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-04 15:41:46,862 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:41:46,862 - INFO - VM name : ctest-TestBasicPolicy-95396185-06524453 2025-07-04 15:41:46,933 - DEBUG - VM ctest-TestBasicPolicy-95396185-06524453 ID is bfcdcdd1-a165-431d-8ef5-9db2ab2f4c49 2025-07-04 15:41:46,952 - DEBUG - VM ctest-TestBasicPolicy-95396185-06524453 launched on Node cn-jenkins-deploy-platform-ansible-os-3598-1 2025-07-04 15:41:47,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bfcdcdd1-a165-431d-8ef5-9db2ab2f4c49 2025-07-04 15:41:47,032 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0c7e69f4-4d5c-4a71-8f29-5db651c53841 2025-07-04 15:41:50,282 - 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 1006ms') 2025-07-04 15:41:50,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95396185-06524453 failed! 2025-07-04 15:41:50,341 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95396185:ctest-vn-62515815 is 135.249.121.193 and allocation pool is NOT set 2025-07-04 15:41:52,402 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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.452/3.549/6.646/3.097 ms') 2025-07-04 15:41:52,402 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95396185-06524453 passed 2025-07-04 15:41:52,553 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:52,553 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95396185-06524453, IP 135.249.121.195, Port 22 2025-07-04 15:41:52,708 - DEBUG - VM ctest-TestBasicPolicy-95396185-06524453 is ready for SSH connections 2025-07-04 15:41:52,708 - INFO - Waiting for VM ctest-TestBasicPolicy-95396185-93344935 to be up.. 2025-07-04 15:41:52,779 - DEBUG - VM is in ACTIVE state now 2025-07-04 15:41:52,779 - INFO - VM name : ctest-TestBasicPolicy-95396185-93344935 2025-07-04 15:41:52,848 - DEBUG - VM ctest-TestBasicPolicy-95396185-93344935 ID is 9d457c79-35d0-4a7b-a24d-9398bba412f6 2025-07-04 15:41:52,848 - DEBUG - VM ctest-TestBasicPolicy-95396185-93344935 launched on Node cn-jenkins-deploy-platform-ansible-os-3598-1 2025-07-04 15:41:52,919 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/9d457c79-35d0-4a7b-a24d-9398bba412f6 2025-07-04 15:41:52,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/974d3d01-1d8e-459b-8d40-c375d74b7c2d 2025-07-04 15:41:54,164 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.663/2.906/1.243 ms') 2025-07-04 15:41:54,164 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95396185-93344935 passed 2025-07-04 15:41:54,317 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:54,317 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95396185-93344935, IP 107.172.246.131, Port 22 2025-07-04 15:41:54,472 - DEBUG - VM ctest-TestBasicPolicy-95396185-93344935 is ready for SSH connections 2025-07-04 15:41:54,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:54,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.172.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-04 15:41:54,473 - DEBUG - ping -s 56 -c 3 -W 1 107.172.246.131 2025-07-04 15:41:58,530 - DEBUG - PING 107.172.246.131 (107.172.246.131): 56 data bytes 64 bytes from 107.172.246.131: seq=0 ttl=63 time=4.582 ms 64 bytes from 107.172.246.131: seq=1 ttl=63 time=0.811 ms 64 bytes from 107.172.246.131: seq=2 ttl=63 time=0.880 ms --- 107.172.246.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.811/2.091/4.582 ms 2025-07-04 15:41:58,530 - INFO - Ping to IP 107.172.246.131 from VM ctest-TestBasicPolicy-95396185-06524453 passed 2025-07-04 15:41:58,717 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a7885ae8-0566-44aa-ab0c-668b6ab87240", "href": "http://10.0.0.38:8082/network-policy/a7885ae8-0566-44aa-ab0c-668b6ab87240"}} 2025-07-04 15:41:58,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-04 15:41:58,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 107.172.246.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-07-04 15:41:58,717 - DEBUG - ping -s 56 -c 3 -W 1 107.172.246.131 2025-07-04 15:42:01,926 - DEBUG - PING 107.172.246.131 (107.172.246.131): 56 data bytes 64 bytes from 107.172.246.131: seq=0 ttl=63 time=1.286 ms --- 107.172.246.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.286/1.286/1.286 ms 2025-07-04 15:42:01,926 - WARNING - Ping to IP 107.172.246.131 from VM ctest-TestBasicPolicy-95396185-06524453 failed 2025-07-04 15:42:01,926 - INFO - Deleting VM ctest-TestBasicPolicy-95396185-93344935 2025-07-04 15:42:01,990 - INFO - Deleting VM ctest-TestBasicPolicy-95396185-06524453 2025-07-04 15:42:02,416 - INFO - Deleted policy ctest-policy-allow-all-34576912 2025-07-04 15:42:02,416 - INFO - Deleting VN ctest-vn-56753890 2025-07-04 15:42:02,464 - DEBUG - VN e64e7b9a-0bde-4cb6-8979-792b22c339b7 still in use: Unable to complete operation on network e64e7b9a-0bde-4cb6-8979-792b22c339b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9623d1a1-6584-4e70-9d35-979c194a5012'] 2025-07-04 15:42:02,464 - WARNING - Deleting VN ctest-vn-56753890 failed..Will retry 2025-07-04 15:42:04,567 - DEBUG - Response for deleting network () 2025-07-04 15:42:04,567 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/01131ad2-df3c-4651-935b-afa27c257271 2025-07-04 15:42:04,576 - DEBUG - Response Code: 404 2025-07-04 15:42:04,576 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:42:04,583 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:42:04,639 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:42:04,710 - INFO - Validated that VN ctest-vn-56753890 is not found in API Server 2025-07-04 15:42:04,723 - DEBUG - VN ctest-vn-56753890 is not present in Agent 10.0.0.38 2025-07-04 15:42:04,724 - INFO - Validated that VN ctest-vn-56753890 is not in any agent 2025-07-04 15:42:04,740 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56753890 info 2025-07-04 15:42:04,740 - INFO - Deleting VN ctest-vn-62515815 2025-07-04 15:42:04,834 - DEBUG - Response for deleting network () 2025-07-04 15:42:04,835 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1d8c8820-03d3-44b4-b8eb-1d204d286094 2025-07-04 15:42:04,840 - DEBUG - Response Code: 404 2025-07-04 15:42:04,840 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-07-04 15:42:04,851 - DEBUG - Requesting: http://10.0.0.38:8082/domain/fb76c17a-fadf-41bd-8018-ffb6533e5399 2025-07-04 15:42:04,907 - DEBUG - Requesting: http://10.0.0.38:8082/project/03375fda-669f-459f-a9e8-137662709134 2025-07-04 15:42:04,983 - INFO - Validated that VN ctest-vn-62515815 is not found in API Server 2025-07-04 15:42:04,994 - DEBUG - VN ctest-vn-62515815 is not present in Agent 10.0.0.38 2025-07-04 15:42:04,994 - INFO - Validated that VN ctest-vn-62515815 is not in any agent 2025-07-04 15:42:05,011 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62515815 info 2025-07-04 15:42:05,266 - DEBUG - No XMPP flaps were noticed during the test 2025-07-04 15:42:05,266 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-07-04 15:42:05,266 - INFO - -------------------------------------------------------------------------------- 2025-07-04 15:42:05,952 - INFO - Deleted project: ctest-TestBasicPolicy-95396185, ID : 03375fda-669f-459f-a9e8-137662709134