2025-09-25 22:21:59,979 - INFO - Domain Default found not creating 2025-09-25 22:22:00,098 - INFO - Project ctest-TestBasicPolicy-41248109 not found, creating it 2025-09-25 22:22:00,511 - INFO - Created Project:ctest-TestBasicPolicy-41248109, ID : e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:01,824 - INFO - ================================================================================ 2025-09-25 22:22:01,824 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-25 22:22:01,824 - 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-25 22:22:02,072 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-25 22:22:02,072 - INFO - Initial checks done. Running the testcase now 2025-09-25 22:22:02,072 - INFO - 2025-09-25 22:22:02,577 - DEBUG - Response for create_network : {'network': {'id': 'af5429a2-5bc9-44c0-8f92-43af1940a516', 'name': 'ctest-vn-22600444', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'project_id': 'e8022c92d5b947668d62f5c7244d4425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-vn-22600444'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:22:02,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e72c57b-17fa-44fe-b7da-ca25b05c1cf4', 'name': '', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'network_id': 'af5429a2-5bc9-44c0-8f92-43af1940a516', 'ip_version': 4, 'cidr': '99.167.185.192/26', 'allocation_pools': [{'start': '99.167.185.194', 'end': '99.167.185.254'}], 'gateway_ip': '99.167.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.167.185.194', 'tags': [], 'project_id': 'e8022c92d5b947668d62f5c7244d4425'}} 2025-09-25 22:22:02,740 - INFO - Created VN ctest-vn-22600444 2025-09-25 22:22:02,791 - DEBUG - VN ctest-vn-22600444 UUID is af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:03,094 - DEBUG - Response for create_network : {'network': {'id': '193c9467-c120-4d70-97ce-8ee7446a63a1', 'name': 'ctest-vn-55037628', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'project_id': 'e8022c92d5b947668d62f5c7244d4425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-vn-55037628'], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:22:03,246 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf688e69-32fc-479f-b33f-7b749be5dea4', 'name': '', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'network_id': '193c9467-c120-4d70-97ce-8ee7446a63a1', 'ip_version': 4, 'cidr': '126.77.136.0/26', 'allocation_pools': [{'start': '126.77.136.2', 'end': '126.77.136.62'}], 'gateway_ip': '126.77.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.77.136.2', 'tags': [], 'project_id': 'e8022c92d5b947668d62f5c7244d4425'}} 2025-09-25 22:22:03,261 - INFO - Created VN ctest-vn-55037628 2025-09-25 22:22:03,311 - DEBUG - VN ctest-vn-55037628 UUID is 193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:03,459 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444, 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-41248109:ctest-vn-55037628, 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-25 22:22:03,738 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'af5429a2-5bc9-44c0-8f92-43af1940a516', 'name': 'ctest-vn-22600444', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'project_id': 'e8022c92d5b947668d62f5c7244d4425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5e72c57b-17fa-44fe-b7da-ca25b05c1cf4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-vn-22600444'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-policy-allow-all-98956810']], 'subnet_ipam': [{'subnet_cidr': '99.167.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:22:03,990 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '193c9467-c120-4d70-97ce-8ee7446a63a1', 'name': 'ctest-vn-55037628', 'tenant_id': 'e8022c92d5b947668d62f5c7244d4425', 'project_id': 'e8022c92d5b947668d62f5c7244d4425', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf688e69-32fc-479f-b33f-7b749be5dea4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-vn-55037628'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-policy-allow-all-98956810']], 'subnet_ipam': [{'subnet_cidr': '126.77.136.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-25 22:22:04,139 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:04,432 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:04,455 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:04,465 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:04,531 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:04,552 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:04,557 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67a70ac0-d90f-4ddd-aa04-10fd5c0cf067 2025-09-25 22:22:04,562 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 22:22:04,562 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,568 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:04,579 - INFO - Verified VN network id 12 for VN af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,579 - INFO - Verifications in API Server for VN ctest-vn-22600444 passed 2025-09-25 22:22:04,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,586 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:04,591 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:04,595 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67a70ac0-d90f-4ddd-aa04-10fd5c0cf067 2025-09-25 22:22:04,604 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41248109', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12633768631982441664', 'uuid-lslong': '10345405713345455382'}, 'enable': 'true', 'created': '2025-09-25T22:22:02', 'last-modified': '2025-09-25T22:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893340'} 2025-09-25 22:22:04,609 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-25 22:22:04,609 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22600444 passed 2025-09-25 22:22:04,609 - DEBUG - ====Verifying policy data for ctest-vn-22600444 in API_Server ====== 2025-09-25 22:22:04,609 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:04,613 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:04,621 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:04,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/af5429a2-5bc9-44c0-8f92-43af1940a516 2025-09-25 22:22:04,694 - DEBUG - ==>Verifying data for policy with id: 4db58ff9-973e-4de1-a96e-f024a975e4cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-policy-allow-all-98956810'] 2025-09-25 22:22:04,694 - INFO - VN ctest-vn-22600444 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 22:22:04,694 - DEBUG - Verifying the vn in opserver 2025-09-25 22:22:04,694 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444 virtual network link through opserver 10.0.0.38 2025-09-25 22:22:04,694 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-25 22:22:04,981 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-25 22:22:05,025 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444?flat'} 2025-09-25 22:22:05,025 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444 is found in opserver 2025-09-25 22:22:05,034 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 22:22:05,037 - DEBUG - VRF ids for VN ctest-vn-22600444: {} 2025-09-25 22:22:05,038 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:05,042 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:05,051 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:05,113 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,123 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,130 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:05,135 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:05,140 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f189f115-2f58-44e1-89e3-da32202f8f3e 2025-09-25 22:22:05,146 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 22:22:05,146 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,153 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:05,163 - INFO - Verified VN network id 13 for VN 193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,163 - INFO - Verifications in API Server for VN ctest-vn-55037628 passed 2025-09-25 22:22:05,163 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:05,174 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:05,179 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f189f115-2f58-44e1-89e3-da32202f8f3e 2025-09-25 22:22:05,188 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-55037628', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41248109', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1818491522893499760', 'uuid-lslong': '10938837668865926049'}, 'enable': 'true', 'created': '2025-09-25T22:22:03', 'last-modified': '2025-09-25T22:22:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.256957'} 2025-09-25 22:22:05,193 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-25 22:22:05,193 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55037628 passed 2025-09-25 22:22:05,193 - DEBUG - ====Verifying policy data for ctest-vn-55037628 in API_Server ====== 2025-09-25 22:22:05,193 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:05,197 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:05,206 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:05,273 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/193c9467-c120-4d70-97ce-8ee7446a63a1 2025-09-25 22:22:05,281 - DEBUG - ==>Verifying data for policy with id: 4db58ff9-973e-4de1-a96e-f024a975e4cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-41248109', 'ctest-policy-allow-all-98956810'] 2025-09-25 22:22:05,281 - INFO - VN ctest-vn-55037628 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-25 22:22:05,281 - DEBUG - Verifying the vn in opserver 2025-09-25 22:22:05,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-55037628 virtual network link through opserver 10.0.0.38 2025-09-25 22:22:05,281 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-09-25 22:22:05,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-55037628', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-55037628?flat'} 2025-09-25 22:22:05,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-55037628 is found in opserver 2025-09-25 22:22:05,296 - DEBUG - Do not have enough data to verify VN in agent 2025-09-25 22:22:05,300 - DEBUG - VRF ids for VN ctest-vn-55037628: {} 2025-09-25 22:22:05,346 - DEBUG - Services list from nova: [, , ] 2025-09-25 22:22:06,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:22:07,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4195-1) 2025-09-25 22:22:07,292 - INFO - Waiting for VM ctest-TestBasicPolicy-41248109-39741311 to be up.. 2025-09-25 22:22:07,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-25 22:22:12,446 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:22:12,446 - INFO - VM name : ctest-TestBasicPolicy-41248109-39741311 2025-09-25 22:22:12,507 - DEBUG - VM ctest-TestBasicPolicy-41248109-39741311 ID is f2725000-3ae5-416a-af20-73991635ea22 2025-09-25 22:22:12,523 - DEBUG - VM ctest-TestBasicPolicy-41248109-39741311 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:22:12,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f2725000-3ae5-416a-af20-73991635ea22 2025-09-25 22:22:12,600 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d7630204-b435-44fb-9d0f-e7f001f00270 2025-09-25 22:22:15,844 - 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 1015ms') 2025-09-25 22:22:15,845 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41248109-39741311 failed! 2025-09-25 22:22:15,895 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-41248109:ctest-vn-22600444 is 99.167.185.193 and allocation pool is NOT set 2025-09-25 22:22:17,957 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.552/2.674/1.121 ms') 2025-09-25 22:22:17,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-41248109-39741311 passed 2025-09-25 22:22:18,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:22:18,103 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41248109-39741311, IP 99.167.185.195, Port 22 2025-09-25 22:22:18,255 - DEBUG - VM ctest-TestBasicPolicy-41248109-39741311 is ready for SSH connections 2025-09-25 22:22:18,255 - INFO - Waiting for VM ctest-TestBasicPolicy-41248109-45392005 to be up.. 2025-09-25 22:22:18,328 - DEBUG - VM is in ACTIVE state now 2025-09-25 22:22:18,329 - INFO - VM name : ctest-TestBasicPolicy-41248109-45392005 2025-09-25 22:22:18,406 - DEBUG - VM ctest-TestBasicPolicy-41248109-45392005 ID is 286535f2-9808-4b62-9237-34bcb1f01fed 2025-09-25 22:22:18,406 - DEBUG - VM ctest-TestBasicPolicy-41248109-45392005 launched on Node cn-jenkins-deploy-platform-ansible-os-4195-1 2025-09-25 22:22:18,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/286535f2-9808-4b62-9237-34bcb1f01fed 2025-09-25 22:22:18,474 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2555a0d0-bf7c-49f5-9ed3-9d9aa2298055 2025-09-25 22:22:19,701 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.338 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.338/1.572/2.807/1.234 ms') 2025-09-25 22:22:19,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-41248109-45392005 passed 2025-09-25 22:22:19,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:22:19,847 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-41248109-45392005, IP 126.77.136.3, Port 22 2025-09-25 22:22:19,999 - DEBUG - VM ctest-TestBasicPolicy-41248109-45392005 is ready for SSH connections 2025-09-25 22:22:19,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:22:19,999 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-25 22:22:19,999 - DEBUG - ping -s 56 -c 3 -W 1 126.77.136.3 2025-09-25 22:22:24,004 - DEBUG - PING 126.77.136.3 (126.77.136.3): 56 data bytes 64 bytes from 126.77.136.3: seq=0 ttl=63 time=3.214 ms 64 bytes from 126.77.136.3: seq=1 ttl=63 time=0.739 ms 64 bytes from 126.77.136.3: seq=2 ttl=63 time=0.770 ms --- 126.77.136.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.739/1.574/3.214 ms 2025-09-25 22:22:24,004 - INFO - Ping to IP 126.77.136.3 from VM ctest-TestBasicPolicy-41248109-39741311 passed 2025-09-25 22:22:24,175 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4db58ff9-973e-4de1-a96e-f024a975e4cf", "href": "http://10.0.0.38:8082/network-policy/4db58ff9-973e-4de1-a96e-f024a975e4cf"}} 2025-09-25 22:22:24,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-25 22:22:24,175 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.77.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-25 22:22:24,175 - DEBUG - ping -s 56 -c 3 -W 1 126.77.136.3 2025-09-25 22:22:27,380 - DEBUG - PING 126.77.136.3 (126.77.136.3): 56 data bytes 64 bytes from 126.77.136.3: seq=0 ttl=63 time=1.290 ms --- 126.77.136.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.290/1.290/1.290 ms 2025-09-25 22:22:27,381 - WARNING - Ping to IP 126.77.136.3 from VM ctest-TestBasicPolicy-41248109-39741311 failed 2025-09-25 22:22:27,381 - INFO - Deleting VM ctest-TestBasicPolicy-41248109-45392005 2025-09-25 22:22:27,438 - INFO - Deleting VM ctest-TestBasicPolicy-41248109-39741311 2025-09-25 22:22:27,756 - INFO - Deleted policy ctest-policy-allow-all-98956810 2025-09-25 22:22:27,756 - INFO - Deleting VN ctest-vn-55037628 2025-09-25 22:22:27,788 - DEBUG - VN 193c9467-c120-4d70-97ce-8ee7446a63a1 still in use: Unable to complete operation on network 193c9467-c120-4d70-97ce-8ee7446a63a1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5f770f94-c34d-4732-a4ad-99809986b9cf'] 2025-09-25 22:22:27,788 - WARNING - Deleting VN ctest-vn-55037628 failed..Will retry 2025-09-25 22:22:29,877 - DEBUG - Response for deleting network () 2025-09-25 22:22:29,877 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ab5600ef-c25a-463b-bb4e-15ec1047c09b 2025-09-25 22:22:29,881 - DEBUG - Response Code: 404 2025-09-25 22:22:29,881 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:29,885 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:29,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:30,007 - INFO - Validated that VN ctest-vn-55037628 is not found in API Server 2025-09-25 22:22:30,014 - DEBUG - VN ctest-vn-55037628 is not present in Agent 10.0.0.38 2025-09-25 22:22:30,014 - INFO - Validated that VN ctest-vn-55037628 is not in any agent 2025-09-25 22:22:30,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-55037628 info 2025-09-25 22:22:30,026 - INFO - Deleting VN ctest-vn-22600444 2025-09-25 22:22:30,109 - DEBUG - Response for deleting network () 2025-09-25 22:22:30,109 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f512522b-43c7-4f51-8cef-776b0812b8ff 2025-09-25 22:22:30,116 - DEBUG - Response Code: 404 2025-09-25 22:22:30,116 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-09-25 22:22:30,120 - DEBUG - Requesting: http://10.0.0.38:8082/domain/2753c674-c893-4dc2-88a0-ad302d5bff2b 2025-09-25 22:22:30,171 - DEBUG - Requesting: http://10.0.0.38:8082/project/e8022c92-d5b9-4766-8d62-f5c7244d4425 2025-09-25 22:22:30,236 - INFO - Validated that VN ctest-vn-22600444 is not found in API Server 2025-09-25 22:22:30,244 - DEBUG - VN ctest-vn-22600444 is not present in Agent 10.0.0.38 2025-09-25 22:22:30,244 - INFO - Validated that VN ctest-vn-22600444 is not in any agent 2025-09-25 22:22:30,255 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22600444 info 2025-09-25 22:22:30,511 - DEBUG - No XMPP flaps were noticed during the test
2025-09-25 22:22:30,511 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-25 22:22:30,511 - INFO - -------------------------------------------------------------------------------- 2025-09-25 22:22:31,143 - INFO - Deleted project: ctest-TestBasicPolicy-41248109, ID : e8022c92-d5b9-4766-8d62-f5c7244d4425