2025-04-22 18:25:25,138 - INFO - Domain Default found not creating 2025-04-22 18:25:25,582 - INFO - Project ctest-TestBasicPolicy-19148551 not found, creating it 2025-04-22 18:25:26,016 - INFO - Created Project:ctest-TestBasicPolicy-19148551, ID : a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:27,400 - INFO - ================================================================================ 2025-04-22 18:25:27,400 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-22 18:25:27,400 - 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-04-22 18:25:27,657 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-04-22 18:25:27,657 - INFO - Initial checks done. Running the testcase now 2025-04-22 18:25:27,657 - INFO - 2025-04-22 18:25:28,196 - DEBUG - Response for create_network : {'network': {'id': '7781ee46-3b73-4a8e-b006-a336b4767c74', 'name': 'ctest-vn-40513892', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'project_id': 'a634c0dca7854899b095bfc4469e4a88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-vn-40513892'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 18:25:28,434 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c3acbcc-7685-4360-9393-96c22b180fcb', 'name': '', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'network_id': '7781ee46-3b73-4a8e-b006-a336b4767c74', 'ip_version': 4, 'cidr': '65.9.55.64/26', 'allocation_pools': [{'start': '65.9.55.66', 'end': '65.9.55.126'}], 'gateway_ip': '65.9.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.9.55.66', 'tags': [], 'project_id': 'a634c0dca7854899b095bfc4469e4a88'}} 2025-04-22 18:25:28,452 - INFO - Created VN ctest-vn-40513892 2025-04-22 18:25:28,508 - DEBUG - VN ctest-vn-40513892 UUID is 7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:28,947 - DEBUG - Response for create_network : {'network': {'id': 'f9df9fc1-a951-4c16-9737-10aa6d331390', 'name': 'ctest-vn-84223116', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'project_id': 'a634c0dca7854899b095bfc4469e4a88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-vn-84223116'], 'port_security_enabled': True, 'description': ''}} 2025-04-22 18:25:29,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '49780b61-3bd9-45e8-bf55-0ba70d9f823e', 'name': '', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'network_id': 'f9df9fc1-a951-4c16-9737-10aa6d331390', 'ip_version': 4, 'cidr': '16.129.210.64/26', 'allocation_pools': [{'start': '16.129.210.66', 'end': '16.129.210.126'}], 'gateway_ip': '16.129.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.129.210.66', 'tags': [], 'project_id': 'a634c0dca7854899b095bfc4469e4a88'}} 2025-04-22 18:25:29,144 - INFO - Created VN ctest-vn-84223116 2025-04-22 18:25:29,196 - DEBUG - VN ctest-vn-84223116 UUID is f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:29,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892, 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-19148551:ctest-vn-84223116, 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-04-22 18:25:29,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7781ee46-3b73-4a8e-b006-a336b4767c74', 'name': 'ctest-vn-40513892', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'project_id': 'a634c0dca7854899b095bfc4469e4a88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c3acbcc-7685-4360-9393-96c22b180fcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-vn-40513892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-policy-allow-all-83758025']], 'subnet_ipam': [{'subnet_cidr': '65.9.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 18:25:29,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f9df9fc1-a951-4c16-9737-10aa6d331390', 'name': 'ctest-vn-84223116', 'tenant_id': 'a634c0dca7854899b095bfc4469e4a88', 'project_id': 'a634c0dca7854899b095bfc4469e4a88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['49780b61-3bd9-45e8-bf55-0ba70d9f823e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-vn-84223116'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-policy-allow-all-83758025']], 'subnet_ipam': [{'subnet_cidr': '16.129.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-22 18:25:30,040 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:30,337 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:30,366 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:30,379 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:30,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,466 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,477 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:30,484 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:30,490 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b79f0075-792c-4359-bbf1-f1c7e4aa777f 2025-04-22 18:25:30,496 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 18:25:30,496 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,505 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:30,518 - INFO - Verified VN network id 8 for VN 7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,518 - INFO - Verifications in API Server for VN ctest-vn-40513892 passed 2025-04-22 18:25:30,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,527 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:30,534 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:30,541 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b79f0075-792c-4359-bbf1-f1c7e4aa777f 2025-04-22 18:25:30,552 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19148551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8611425947921631886', 'uuid-lslong': '12684004855886806132'}, 'enable': 'true', 'created': '2025-04-22T18:25:28', 'last-modified': '2025-04-22T18:25:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924212'} 2025-04-22 18:25:30,558 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-22 18:25:30,558 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40513892 passed 2025-04-22 18:25:30,558 - DEBUG - ====Verifying policy data for ctest-vn-40513892 in API_Server ====== 2025-04-22 18:25:30,558 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:30,563 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:30,574 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:30,641 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7781ee46-3b73-4a8e-b006-a336b4767c74 2025-04-22 18:25:30,650 - DEBUG - ==>Verifying data for policy with id: 555bcf85-3eed-4b43-a94c-b28881bd57f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-policy-allow-all-83758025'] 2025-04-22 18:25:30,651 - INFO - VN ctest-vn-40513892 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 18:25:30,651 - DEBUG - Verifying the vn in opserver 2025-04-22 18:25:30,651 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892 virtual network link through opserver 10.0.0.50 2025-04-22 18:25:30,651 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-22 18:25:30,939 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-22 18:25:30,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892?flat'} 2025-04-22 18:25:30,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892 is found in opserver 2025-04-22 18:25:30,996 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 18:25:31,001 - DEBUG - VRF ids for VN ctest-vn-40513892: {} 2025-04-22 18:25:31,001 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:31,006 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:31,017 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:31,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,106 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:31,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:31,119 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b32ea818-f680-40b3-bf6e-4a01d55e321a 2025-04-22 18:25:31,125 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 18:25:31,125 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,133 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:31,145 - INFO - Verified VN network id 9 for VN f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,145 - INFO - Verifications in API Server for VN ctest-vn-84223116 passed 2025-04-22 18:25:31,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,153 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:31,160 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:31,166 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b32ea818-f680-40b3-bf6e-4a01d55e321a 2025-04-22 18:25:31,177 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-84223116', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19148551', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18005285489368714262', 'uuid-lslong': '10896196147608753040'}, 'enable': 'true', 'created': '2025-04-22T18:25:28', 'last-modified': '2025-04-22T18:25:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.320522'} 2025-04-22 18:25:31,183 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-22 18:25:31,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84223116 passed 2025-04-22 18:25:31,183 - DEBUG - ====Verifying policy data for ctest-vn-84223116 in API_Server ====== 2025-04-22 18:25:31,183 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:31,189 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:31,200 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:31,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f9df9fc1-a951-4c16-9737-10aa6d331390 2025-04-22 18:25:31,280 - DEBUG - ==>Verifying data for policy with id: 555bcf85-3eed-4b43-a94c-b28881bd57f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-19148551', 'ctest-policy-allow-all-83758025'] 2025-04-22 18:25:31,280 - INFO - VN ctest-vn-84223116 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-22 18:25:31,280 - DEBUG - Verifying the vn in opserver 2025-04-22 18:25:31,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-84223116 virtual network link through opserver 10.0.0.50 2025-04-22 18:25:31,280 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-04-22 18:25:31,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-84223116', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-84223116?flat'} 2025-04-22 18:25:31,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-84223116 is found in opserver 2025-04-22 18:25:31,300 - DEBUG - Do not have enough data to verify VN in agent 2025-04-22 18:25:31,305 - DEBUG - VRF ids for VN ctest-vn-84223116: {} 2025-04-22 18:25:31,357 - DEBUG - Services list from nova: [, , ] 2025-04-22 18:25:32,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3170-1) 2025-04-22 18:25:33,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3170-1) 2025-04-22 18:25:33,492 - INFO - Waiting for VM ctest-TestBasicPolicy-19148551-11151992 to be up.. 2025-04-22 18:25:33,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-22 18:25:38,632 - DEBUG - VM is in ACTIVE state now 2025-04-22 18:25:38,633 - INFO - VM name : ctest-TestBasicPolicy-19148551-11151992 2025-04-22 18:25:38,703 - DEBUG - VM ctest-TestBasicPolicy-19148551-11151992 ID is 7d14667d-6b09-4f66-a6fe-7153c2d7b39a 2025-04-22 18:25:38,721 - DEBUG - VM ctest-TestBasicPolicy-19148551-11151992 launched on Node cn-jenkins-deploy-platform-ansible-os-3170-1 2025-04-22 18:25:38,794 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/7d14667d-6b09-4f66-a6fe-7153c2d7b39a 2025-04-22 18:25:38,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/55563457-c9cf-46de-a81e-326a138f0d11 2025-04-22 18:25:42,049 - 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 1012ms') 2025-04-22 18:25:42,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19148551-11151992 failed! 2025-04-22 18:25:42,108 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19148551:ctest-vn-40513892 is 65.9.55.65 and allocation pool is NOT set 2025-04-22 18:25:44,171 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.244 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.244/1.632/3.020/1.388 ms') 2025-04-22 18:25:44,171 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19148551-11151992 passed 2025-04-22 18:25:44,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 18:25:44,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19148551-11151992, IP 65.9.55.67, Port 22 2025-04-22 18:25:44,471 - DEBUG - VM ctest-TestBasicPolicy-19148551-11151992 is ready for SSH connections 2025-04-22 18:25:44,472 - INFO - Waiting for VM ctest-TestBasicPolicy-19148551-17884997 to be up.. 2025-04-22 18:25:44,546 - DEBUG - VM is in ACTIVE state now 2025-04-22 18:25:44,546 - INFO - VM name : ctest-TestBasicPolicy-19148551-17884997 2025-04-22 18:25:44,619 - DEBUG - VM ctest-TestBasicPolicy-19148551-17884997 ID is 53da4619-9860-4d06-a1a3-37ff285e7cc7 2025-04-22 18:25:44,620 - DEBUG - VM ctest-TestBasicPolicy-19148551-17884997 launched on Node cn-jenkins-deploy-platform-ansible-os-3170-1 2025-04-22 18:25:44,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/53da4619-9860-4d06-a1a3-37ff285e7cc7 2025-04-22 18:25:44,699 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0a699cb6-383a-4aa3-a59f-669a00397e2f 2025-04-22 18:25:45,938 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.520/2.660/1.140 ms') 2025-04-22 18:25:45,938 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19148551-17884997 passed 2025-04-22 18:25:46,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 18:25:46,088 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19148551-17884997, IP 16.129.210.67, Port 22 2025-04-22 18:25:46,239 - DEBUG - VM ctest-TestBasicPolicy-19148551-17884997 is ready for SSH connections 2025-04-22 18:25:46,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 18:25:46,239 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.129.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-22 18:25:46,239 - DEBUG - ping -s 56 -c 3 -W 1 16.129.210.67 2025-04-22 18:25:50,175 - DEBUG - PING 16.129.210.67 (16.129.210.67): 56 data bytes 64 bytes from 16.129.210.67: seq=0 ttl=63 time=3.284 ms 64 bytes from 16.129.210.67: seq=1 ttl=63 time=1.114 ms 64 bytes from 16.129.210.67: seq=2 ttl=63 time=0.862 ms --- 16.129.210.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.862/1.753/3.284 ms 2025-04-22 18:25:50,175 - INFO - Ping to IP 16.129.210.67 from VM ctest-TestBasicPolicy-19148551-11151992 passed 2025-04-22 18:25:50,372 - DEBUG - Policy Update Response {"network-policy": {"uuid": "555bcf85-3eed-4b43-a94c-b28881bd57f6", "href": "http://10.0.0.50:8082/network-policy/555bcf85-3eed-4b43-a94c-b28881bd57f6"}} 2025-04-22 18:25:50,372 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-22 18:25:50,372 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.129.210.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-04-22 18:25:50,372 - DEBUG - ping -s 56 -c 3 -W 1 16.129.210.67 2025-04-22 18:25:53,575 - DEBUG - PING 16.129.210.67 (16.129.210.67): 56 data bytes --- 16.129.210.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-22 18:25:53,575 - WARNING - Ping to IP 16.129.210.67 from VM ctest-TestBasicPolicy-19148551-11151992 failed 2025-04-22 18:25:53,575 - INFO - Deleting VM ctest-TestBasicPolicy-19148551-17884997 2025-04-22 18:25:53,635 - INFO - Deleting VM ctest-TestBasicPolicy-19148551-11151992 2025-04-22 18:25:53,971 - INFO - Deleted policy ctest-policy-allow-all-83758025 2025-04-22 18:25:53,971 - INFO - Deleting VN ctest-vn-84223116 2025-04-22 18:25:54,004 - DEBUG - VN f9df9fc1-a951-4c16-9737-10aa6d331390 still in use: Unable to complete operation on network f9df9fc1-a951-4c16-9737-10aa6d331390. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cd0b7987-a5b7-4f93-ba79-63cf948cab50'] 2025-04-22 18:25:54,005 - WARNING - Deleting VN ctest-vn-84223116 failed..Will retry 2025-04-22 18:25:56,110 - DEBUG - Response for deleting network () 2025-04-22 18:25:56,110 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7deb48ec-567a-4d19-bf79-b2c406ce544c 2025-04-22 18:25:56,117 - DEBUG - Response Code: 404 2025-04-22 18:25:56,117 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:56,124 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:56,177 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:56,252 - INFO - Validated that VN ctest-vn-84223116 is not found in API Server 2025-04-22 18:25:56,262 - DEBUG - VN ctest-vn-84223116 is not present in Agent 10.0.0.50 2025-04-22 18:25:56,262 - INFO - Validated that VN ctest-vn-84223116 is not in any agent 2025-04-22 18:25:56,277 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84223116 info 2025-04-22 18:25:56,277 - INFO - Deleting VN ctest-vn-40513892 2025-04-22 18:25:56,371 - DEBUG - Response for deleting network () 2025-04-22 18:25:56,371 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/d94f7382-fff2-40fb-8af7-0d4e8e66dda3 2025-04-22 18:25:56,377 - DEBUG - Response Code: 404 2025-04-22 18:25:56,377 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-04-22 18:25:56,382 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5ee5d5eb-e818-45d3-82f6-91eb7312f574 2025-04-22 18:25:56,437 - DEBUG - Requesting: http://10.0.0.50:8082/project/a634c0dc-a785-4899-b095-bfc4469e4a88 2025-04-22 18:25:56,511 - INFO - Validated that VN ctest-vn-40513892 is not found in API Server 2025-04-22 18:25:56,521 - DEBUG - VN ctest-vn-40513892 is not present in Agent 10.0.0.50 2025-04-22 18:25:56,522 - INFO - Validated that VN ctest-vn-40513892 is not in any agent 2025-04-22 18:25:56,536 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40513892 info 2025-04-22 18:25:56,793 - DEBUG - No XMPP flaps were noticed during the test 2025-04-22 18:25:56,793 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-22 18:25:56,794 - INFO - -------------------------------------------------------------------------------- 2025-04-22 18:25:57,461 - INFO - Deleted project: ctest-TestBasicPolicy-19148551, ID : a634c0dc-a785-4899-b095-bfc4469e4a88