2025-05-31 07:28:26,102 - INFO - Domain Default found not creating 2025-05-31 07:28:26,255 - INFO - Project ctest-TestBasicPolicy-72657348 not found, creating it 2025-05-31 07:28:26,737 - INFO - Created Project:ctest-TestBasicPolicy-72657348, ID : d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:28,392 - INFO - ================================================================================ 2025-05-31 07:28:28,392 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-05-31 07:28:28,392 - 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-05-31 07:28:28,656 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-05-31 07:28:28,657 - INFO - Initial checks done. Running the testcase now 2025-05-31 07:28:28,657 - INFO - 2025-05-31 07:28:29,324 - DEBUG - Response for create_network : {'network': {'id': '84f77537-7119-4fbc-8dd2-7b33f2ac2183', 'name': 'ctest-vn-62040146', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'project_id': 'd66c7bde5829478db26108b81b858e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-vn-62040146'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:28:29,532 - DEBUG - Response for create_subnet : {'subnet': {'id': '93317871-469f-44c9-9696-3377a0355f0f', 'name': '', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'network_id': '84f77537-7119-4fbc-8dd2-7b33f2ac2183', 'ip_version': 4, 'cidr': '222.177.228.64/26', 'allocation_pools': [{'start': '222.177.228.66', 'end': '222.177.228.126'}], 'gateway_ip': '222.177.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.177.228.66', 'tags': [], 'project_id': 'd66c7bde5829478db26108b81b858e9a'}} 2025-05-31 07:28:29,551 - INFO - Created VN ctest-vn-62040146 2025-05-31 07:28:29,604 - DEBUG - VN ctest-vn-62040146 UUID is 84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:29,919 - DEBUG - Response for create_network : {'network': {'id': '99671dd0-05ee-4e3d-a425-3282323bbe6e', 'name': 'ctest-vn-42614171', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'project_id': 'd66c7bde5829478db26108b81b858e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-vn-42614171'], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:28:30,095 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b740f204-ddc3-461c-ae52-8e52f62b38ed', 'name': '', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'network_id': '99671dd0-05ee-4e3d-a425-3282323bbe6e', 'ip_version': 4, 'cidr': '210.209.227.192/26', 'allocation_pools': [{'start': '210.209.227.194', 'end': '210.209.227.254'}], 'gateway_ip': '210.209.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.209.227.194', 'tags': [], 'project_id': 'd66c7bde5829478db26108b81b858e9a'}} 2025-05-31 07:28:30,120 - INFO - Created VN ctest-vn-42614171 2025-05-31 07:28:30,172 - DEBUG - VN ctest-vn-42614171 UUID is 99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:30,293 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146, 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-72657348:ctest-vn-42614171, 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-05-31 07:28:30,609 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '84f77537-7119-4fbc-8dd2-7b33f2ac2183', 'name': 'ctest-vn-62040146', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'project_id': 'd66c7bde5829478db26108b81b858e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93317871-469f-44c9-9696-3377a0355f0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-vn-62040146'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-policy-allow-all-52733187']], 'subnet_ipam': [{'subnet_cidr': '222.177.228.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:28:30,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99671dd0-05ee-4e3d-a425-3282323bbe6e', 'name': 'ctest-vn-42614171', 'tenant_id': 'd66c7bde5829478db26108b81b858e9a', 'project_id': 'd66c7bde5829478db26108b81b858e9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b740f204-ddc3-461c-ae52-8e52f62b38ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-vn-42614171'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-policy-allow-all-52733187']], 'subnet_ipam': [{'subnet_cidr': '210.209.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-05-31 07:28:31,028 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:31,371 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:31,401 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:31,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:31,490 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,506 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:31,526 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:31,534 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4221a3f6-29cb-47bc-a07c-db435ca50eef 2025-05-31 07:28:31,543 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-31 07:28:31,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:31,574 - INFO - Verified VN network id 8 for VN 84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,574 - INFO - Verifications in API Server for VN ctest-vn-62040146 passed 2025-05-31 07:28:31,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,585 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:31,592 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:31,600 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/4221a3f6-29cb-47bc-a07c-db435ca50eef 2025-05-31 07:28:31,615 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72657348', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9581255613235154876', 'uuid-lslong': '10219365967501992323'}, 'enable': 'true', 'created': '2025-05-31T07:28:29', 'last-modified': '2025-05-31T07:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029775'} 2025-05-31 07:28:31,623 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-05-31 07:28:31,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62040146 passed 2025-05-31 07:28:31,624 - DEBUG - ====Verifying policy data for ctest-vn-62040146 in API_Server ====== 2025-05-31 07:28:31,624 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:31,645 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:31,731 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/84f77537-7119-4fbc-8dd2-7b33f2ac2183 2025-05-31 07:28:31,742 - DEBUG - ==>Verifying data for policy with id: 0669fcab-eb17-4998-a026-f1b5a24bac32, fqn: ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-policy-allow-all-52733187'] 2025-05-31 07:28:31,742 - INFO - VN ctest-vn-62040146 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-31 07:28:31,742 - DEBUG - Verifying the vn in opserver 2025-05-31 07:28:31,742 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146 virtual network link through opserver 10.0.0.38 2025-05-31 07:28:31,742 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-31 07:28:32,077 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-31 07:28:32,150 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146?flat'} 2025-05-31 07:28:32,150 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146 is found in opserver 2025-05-31 07:28:32,162 - DEBUG - Do not have enough data to verify VN in agent 2025-05-31 07:28:32,168 - DEBUG - VRF ids for VN ctest-vn-62040146: {} 2025-05-31 07:28:32,168 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:32,174 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:32,188 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:32,267 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:32,302 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:32,311 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23e970f7-f08d-4f35-9527-430cb77511e8 2025-05-31 07:28:32,319 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-31 07:28:32,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,332 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:32,349 - INFO - Verified VN network id 9 for VN 99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,349 - INFO - Verifications in API Server for VN ctest-vn-42614171 passed 2025-05-31 07:28:32,349 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,361 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:32,368 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:32,377 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/23e970f7-f08d-4f35-9527-430cb77511e8 2025-05-31 07:28:32,390 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-42614171', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72657348', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11053836589694078525', 'uuid-lslong': '11827915531128389230'}, 'enable': 'true', 'created': '2025-05-31T07:28:29', 'last-modified': '2025-05-31T07:28:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.563162'} 2025-05-31 07:28:32,397 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-05-31 07:28:32,397 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42614171 passed 2025-05-31 07:28:32,397 - DEBUG - ====Verifying policy data for ctest-vn-42614171 in API_Server ====== 2025-05-31 07:28:32,397 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:32,403 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:32,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:32,500 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99671dd0-05ee-4e3d-a425-3282323bbe6e 2025-05-31 07:28:32,511 - DEBUG - ==>Verifying data for policy with id: 0669fcab-eb17-4998-a026-f1b5a24bac32, fqn: ['default-domain', 'ctest-TestBasicPolicy-72657348', 'ctest-policy-allow-all-52733187'] 2025-05-31 07:28:32,511 - INFO - VN ctest-vn-42614171 Policy verification: verify_vn_policy_in_api_server, status: True 2025-05-31 07:28:32,511 - DEBUG - Verifying the vn in opserver 2025-05-31 07:28:32,511 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-42614171 virtual network link through opserver 10.0.0.38 2025-05-31 07:28:32,511 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-05-31 07:28:32,523 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-42614171', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-42614171?flat'} 2025-05-31 07:28:32,523 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-42614171 is found in opserver 2025-05-31 07:28:32,535 - DEBUG - Do not have enough data to verify VN in agent 2025-05-31 07:28:32,540 - DEBUG - VRF ids for VN ctest-vn-42614171: {} 2025-05-31 07:28:32,599 - DEBUG - Services list from nova: [, , ] 2025-05-31 07:28:33,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3376-1) 2025-05-31 07:28:35,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3376-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3376-1) 2025-05-31 07:28:35,087 - INFO - Waiting for VM ctest-TestBasicPolicy-72657348-49253884 to be up.. 2025-05-31 07:28:35,193 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-05-31 07:28:40,276 - DEBUG - VM is in ACTIVE state now 2025-05-31 07:28:40,276 - INFO - VM name : ctest-TestBasicPolicy-72657348-49253884 2025-05-31 07:28:40,352 - DEBUG - VM ctest-TestBasicPolicy-72657348-49253884 ID is 69a49297-9ab2-4671-98e3-5ab963f5c689 2025-05-31 07:28:40,371 - DEBUG - VM ctest-TestBasicPolicy-72657348-49253884 launched on Node cn-jenkins-deploy-platform-ansible-os-3376-1 2025-05-31 07:28:40,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/69a49297-9ab2-4671-98e3-5ab963f5c689 2025-05-31 07:28:40,465 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/42db2d16-c518-4a59-98bb-285e9bfd7b48 2025-05-31 07:28:43,730 - 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 1014ms') 2025-05-31 07:28:43,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72657348-49253884 failed! 2025-05-31 07:28:43,784 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72657348:ctest-vn-62040146 is 222.177.228.65 and allocation pool is NOT set 2025-05-31 07:28:45,848 - 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=9.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.856 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.856/5.227/9.599/4.371 ms') 2025-05-31 07:28:45,848 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72657348-49253884 passed 2025-05-31 07:28:46,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:46,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72657348-49253884, IP 222.177.228.67, Port 22 2025-05-31 07:28:46,168 - DEBUG - VM ctest-TestBasicPolicy-72657348-49253884 is ready for SSH connections 2025-05-31 07:28:46,168 - INFO - Waiting for VM ctest-TestBasicPolicy-72657348-11203757 to be up.. 2025-05-31 07:28:46,264 - DEBUG - VM is in ACTIVE state now 2025-05-31 07:28:46,264 - INFO - VM name : ctest-TestBasicPolicy-72657348-11203757 2025-05-31 07:28:46,357 - DEBUG - VM ctest-TestBasicPolicy-72657348-11203757 ID is e3f1e04d-03e4-4415-a8c8-de1df0122e25 2025-05-31 07:28:46,357 - DEBUG - VM ctest-TestBasicPolicy-72657348-11203757 launched on Node cn-jenkins-deploy-platform-ansible-os-3376-1 2025-05-31 07:28:46,452 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e3f1e04d-03e4-4415-a8c8-de1df0122e25 2025-05-31 07:28:46,462 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5908acd2-b4eb-4690-bc5d-5e52bc208595 2025-05-31 07:28:47,713 - 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.410 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.410/1.764/3.118/1.354 ms') 2025-05-31 07:28:47,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72657348-11203757 passed 2025-05-31 07:28:47,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:47,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72657348-11203757, IP 210.209.227.195, Port 22 2025-05-31 07:28:48,023 - DEBUG - VM ctest-TestBasicPolicy-72657348-11203757 is ready for SSH connections 2025-05-31 07:28:48,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:48,024 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.209.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-31 07:28:48,024 - DEBUG - ping -s 56 -c 3 -W 1 210.209.227.195 2025-05-31 07:28:52,072 - DEBUG - PING 210.209.227.195 (210.209.227.195): 56 data bytes 64 bytes from 210.209.227.195: seq=0 ttl=63 time=3.759 ms 64 bytes from 210.209.227.195: seq=1 ttl=63 time=0.757 ms 64 bytes from 210.209.227.195: seq=2 ttl=63 time=0.748 ms --- 210.209.227.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.748/1.754/3.759 ms 2025-05-31 07:28:52,072 - INFO - Ping to IP 210.209.227.195 from VM ctest-TestBasicPolicy-72657348-49253884 passed 2025-05-31 07:28:52,252 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0669fcab-eb17-4998-a026-f1b5a24bac32", "href": "http://10.0.0.38:8082/network-policy/0669fcab-eb17-4998-a026-f1b5a24bac32"}} 2025-05-31 07:28:52,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-05-31 07:28:52,252 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.209.227.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-05-31 07:28:52,252 - DEBUG - ping -s 56 -c 3 -W 1 210.209.227.195 2025-05-31 07:28:55,489 - DEBUG - PING 210.209.227.195 (210.209.227.195): 56 data bytes 64 bytes from 210.209.227.195: seq=0 ttl=63 time=1.476 ms --- 210.209.227.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.476/1.476/1.476 ms 2025-05-31 07:28:55,489 - WARNING - Ping to IP 210.209.227.195 from VM ctest-TestBasicPolicy-72657348-49253884 failed 2025-05-31 07:28:55,489 - INFO - Deleting VM ctest-TestBasicPolicy-72657348-11203757 2025-05-31 07:28:55,563 - INFO - Deleting VM ctest-TestBasicPolicy-72657348-49253884 2025-05-31 07:28:56,005 - INFO - Deleted policy ctest-policy-allow-all-52733187 2025-05-31 07:28:56,005 - INFO - Deleting VN ctest-vn-42614171 2025-05-31 07:28:56,047 - DEBUG - VN 99671dd0-05ee-4e3d-a425-3282323bbe6e still in use: Unable to complete operation on network 99671dd0-05ee-4e3d-a425-3282323bbe6e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0a256a1a-0034-4d2d-8826-9543519b2d64'] 2025-05-31 07:28:56,047 - WARNING - Deleting VN ctest-vn-42614171 failed..Will retry 2025-05-31 07:28:58,157 - DEBUG - Response for deleting network () 2025-05-31 07:28:58,157 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2552b36b-67eb-4d86-a9a6-f972106be334 2025-05-31 07:28:58,165 - DEBUG - Response Code: 404 2025-05-31 07:28:58,165 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:58,170 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:58,230 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:58,306 - INFO - Validated that VN ctest-vn-42614171 is not found in API Server 2025-05-31 07:28:58,317 - DEBUG - VN ctest-vn-42614171 is not present in Agent 10.0.0.38 2025-05-31 07:28:58,317 - INFO - Validated that VN ctest-vn-42614171 is not in any agent 2025-05-31 07:28:58,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42614171 info 2025-05-31 07:28:58,334 - INFO - Deleting VN ctest-vn-62040146 2025-05-31 07:28:58,453 - DEBUG - Response for deleting network () 2025-05-31 07:28:58,453 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57102a48-74c1-4de1-b524-fe018685f7fb 2025-05-31 07:28:58,460 - DEBUG - Response Code: 404 2025-05-31 07:28:58,460 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-05-31 07:28:58,466 - DEBUG - Requesting: http://10.0.0.38:8082/domain/76bce2b0-b0a3-4b84-be67-32558554004f 2025-05-31 07:28:58,522 - DEBUG - Requesting: http://10.0.0.38:8082/project/d66c7bde-5829-478d-b261-08b81b858e9a 2025-05-31 07:28:58,598 - INFO - Validated that VN ctest-vn-62040146 is not found in API Server 2025-05-31 07:28:58,610 - DEBUG - VN ctest-vn-62040146 is not present in Agent 10.0.0.38 2025-05-31 07:28:58,610 - INFO - Validated that VN ctest-vn-62040146 is not in any agent 2025-05-31 07:28:58,627 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62040146 info 2025-05-31 07:28:58,882 - DEBUG - No XMPP flaps were noticed during the test 2025-05-31 07:28:58,882 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-05-31 07:28:58,882 - INFO - -------------------------------------------------------------------------------- 2025-05-31 07:28:59,596 - INFO - Deleted project: ctest-TestBasicPolicy-72657348, ID : d66c7bde-5829-478d-b261-08b81b858e9a