2025-04-13 10:26:57,087 - INFO - Domain Default found not creating 2025-04-13 10:26:57,224 - INFO - Project ctest-TestBasicPolicy-46943356 not found, creating it 2025-04-13 10:26:57,683 - INFO - Created Project:ctest-TestBasicPolicy-46943356, ID : 65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:26:59,226 - INFO - ================================================================================ 2025-04-13 10:26:59,226 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-13 10:26:59,226 - 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-13 10:26:59,481 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-13 10:26:59,481 - INFO - Initial checks done. Running the testcase now 2025-04-13 10:26:59,481 - INFO - 2025-04-13 10:27:00,015 - DEBUG - Response for create_network : {'network': {'id': '679312ba-82d0-4cd8-ad6d-b8b3d9c98342', 'name': 'ctest-vn-01414796', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'project_id': '654944254fac45469f05c875fbb4eaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-vn-01414796'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 10:27:00,210 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef781f04-f369-4575-bf0c-22643ec3bc40', 'name': '', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'network_id': '679312ba-82d0-4cd8-ad6d-b8b3d9c98342', 'ip_version': 4, 'cidr': '156.93.68.64/26', 'allocation_pools': [{'start': '156.93.68.66', 'end': '156.93.68.126'}], 'gateway_ip': '156.93.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.93.68.66', 'tags': [], 'project_id': '654944254fac45469f05c875fbb4eaa3'}} 2025-04-13 10:27:00,230 - INFO - Created VN ctest-vn-01414796 2025-04-13 10:27:00,284 - DEBUG - VN ctest-vn-01414796 UUID is 679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:00,590 - DEBUG - Response for create_network : {'network': {'id': '23392f88-1c9b-473c-a102-6c045c59744b', 'name': 'ctest-vn-78070308', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'project_id': '654944254fac45469f05c875fbb4eaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-vn-78070308'], 'port_security_enabled': True, 'description': ''}} 2025-04-13 10:27:00,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '99601b3d-5021-4c1a-8486-7ba412a1b335', 'name': '', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'network_id': '23392f88-1c9b-473c-a102-6c045c59744b', 'ip_version': 4, 'cidr': '71.146.255.64/26', 'allocation_pools': [{'start': '71.146.255.66', 'end': '71.146.255.126'}], 'gateway_ip': '71.146.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.146.255.66', 'tags': [], 'project_id': '654944254fac45469f05c875fbb4eaa3'}} 2025-04-13 10:27:00,783 - INFO - Created VN ctest-vn-78070308 2025-04-13 10:27:00,836 - DEBUG - VN ctest-vn-78070308 UUID is 23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:00,965 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796, 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-46943356:ctest-vn-78070308, 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-13 10:27:01,269 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '679312ba-82d0-4cd8-ad6d-b8b3d9c98342', 'name': 'ctest-vn-01414796', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'project_id': '654944254fac45469f05c875fbb4eaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ef781f04-f369-4575-bf0c-22643ec3bc40'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-vn-01414796'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-policy-allow-all-94933404']], 'subnet_ipam': [{'subnet_cidr': '156.93.68.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-13 10:27:01,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '23392f88-1c9b-473c-a102-6c045c59744b', 'name': 'ctest-vn-78070308', 'tenant_id': '654944254fac45469f05c875fbb4eaa3', 'project_id': '654944254fac45469f05c875fbb4eaa3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['99601b3d-5021-4c1a-8486-7ba412a1b335'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-vn-78070308'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-policy-allow-all-94933404']], 'subnet_ipam': [{'subnet_cidr': '71.146.255.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-13 10:27:01,712 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:02,010 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:02,039 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:02,053 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:02,127 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,139 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,150 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:02,158 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:02,166 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ef7f6de-05c5-4ecd-89f0-119809aec3fa 2025-04-13 10:27:02,174 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-13 10:27:02,174 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,184 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:02,200 - INFO - Verified VN network id 8 for VN 679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,200 - INFO - Verifications in API Server for VN ctest-vn-01414796 passed 2025-04-13 10:27:02,200 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,210 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:02,218 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:02,225 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4ef7f6de-05c5-4ecd-89f0-119809aec3fa 2025-04-13 10:27:02,238 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46943356', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7463329599750950104', 'uuid-lslong': '12496847623615513410'}, 'enable': 'true', 'created': '2025-04-13T10:26:59', 'last-modified': '2025-04-13T10:27:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.987593'} 2025-04-13 10:27:02,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-13 10:27:02,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01414796 passed 2025-04-13 10:27:02,245 - DEBUG - ====Verifying policy data for ctest-vn-01414796 in API_Server ====== 2025-04-13 10:27:02,245 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:02,251 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:02,262 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:02,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/679312ba-82d0-4cd8-ad6d-b8b3d9c98342 2025-04-13 10:27:02,348 - DEBUG - ==>Verifying data for policy with id: d7e2c6e9-cdc1-40c3-956c-3032417dd87c, fqn: ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-policy-allow-all-94933404'] 2025-04-13 10:27:02,348 - INFO - VN ctest-vn-01414796 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-13 10:27:02,348 - DEBUG - Verifying the vn in opserver 2025-04-13 10:27:02,348 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796 virtual network link through opserver 10.0.0.254 2025-04-13 10:27:02,349 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-13 10:27:02,647 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-13 10:27:02,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796?flat'} 2025-04-13 10:27:02,703 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796 is found in opserver 2025-04-13 10:27:02,714 - DEBUG - Do not have enough data to verify VN in agent 2025-04-13 10:27:02,720 - DEBUG - VRF ids for VN ctest-vn-01414796: {} 2025-04-13 10:27:02,720 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:02,726 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:02,740 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:02,815 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:02,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:02,838 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:02,847 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:02,854 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a601e5ca-fde0-4f57-a35b-fffb2f8f7aee 2025-04-13 10:27:02,861 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-13 10:27:02,861 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:02,871 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:02,885 - INFO - Verified VN network id 9 for VN 23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:02,885 - INFO - Verifications in API Server for VN ctest-vn-78070308 passed 2025-04-13 10:27:02,885 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:02,895 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:02,902 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:02,909 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a601e5ca-fde0-4f57-a35b-fffb2f8f7aee 2025-04-13 10:27:02,922 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-78070308', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46943356', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2538112126641981244', 'uuid-lslong': '11601954356044854347'}, 'enable': 'true', 'created': '2025-04-13T10:27:00', 'last-modified': '2025-04-13T10:27:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.437681'} 2025-04-13 10:27:02,928 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-13 10:27:02,928 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78070308 passed 2025-04-13 10:27:02,929 - DEBUG - ====Verifying policy data for ctest-vn-78070308 in API_Server ====== 2025-04-13 10:27:02,929 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:02,935 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:02,948 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:03,023 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/23392f88-1c9b-473c-a102-6c045c59744b 2025-04-13 10:27:03,034 - DEBUG - ==>Verifying data for policy with id: d7e2c6e9-cdc1-40c3-956c-3032417dd87c, fqn: ['default-domain', 'ctest-TestBasicPolicy-46943356', 'ctest-policy-allow-all-94933404'] 2025-04-13 10:27:03,034 - INFO - VN ctest-vn-78070308 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-13 10:27:03,034 - DEBUG - Verifying the vn in opserver 2025-04-13 10:27:03,034 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-78070308 virtual network link through opserver 10.0.0.254 2025-04-13 10:27:03,035 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-13 10:27:03,045 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-78070308', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-78070308?flat'} 2025-04-13 10:27:03,045 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-78070308 is found in opserver 2025-04-13 10:27:03,056 - DEBUG - Do not have enough data to verify VN in agent 2025-04-13 10:27:03,061 - DEBUG - VRF ids for VN ctest-vn-78070308: {} 2025-04-13 10:27:03,121 - DEBUG - Services list from nova: [, , ] 2025-04-13 10:27:04,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3083-1) 2025-04-13 10:27:05,379 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3083-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3083-1) 2025-04-13 10:27:05,379 - INFO - Waiting for VM ctest-TestBasicPolicy-46943356-20386196 to be up.. 2025-04-13 10:27:05,458 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-13 10:27:10,556 - DEBUG - VM is in ACTIVE state now 2025-04-13 10:27:10,557 - INFO - VM name : ctest-TestBasicPolicy-46943356-20386196 2025-04-13 10:27:10,647 - DEBUG - VM ctest-TestBasicPolicy-46943356-20386196 ID is 18dee553-722f-494e-b59a-df4b5aa5ec8e 2025-04-13 10:27:10,670 - DEBUG - VM ctest-TestBasicPolicy-46943356-20386196 launched on Node cn-jenkins-deploy-platform-ansible-os-3083-1 2025-04-13 10:27:10,760 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/18dee553-722f-494e-b59a-df4b5aa5ec8e 2025-04-13 10:27:10,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5a7db5ed-64cf-4869-ae0d-6e7e201a1a94 2025-04-13 10:27:14,037 - 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-04-13 10:27:14,037 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46943356-20386196 failed! 2025-04-13 10:27:14,092 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46943356:ctest-vn-01414796 is 156.93.68.65 and allocation pool is NOT set 2025-04-13 10:27:16,155 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.502 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.502/1.899/3.296/1.397 ms') 2025-04-13 10:27:16,155 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46943356-20386196 passed 2025-04-13 10:27:16,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 10:27:16,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46943356-20386196, IP 156.93.68.67, Port 22 2025-04-13 10:27:16,459 - DEBUG - VM ctest-TestBasicPolicy-46943356-20386196 is ready for SSH connections 2025-04-13 10:27:16,459 - INFO - Waiting for VM ctest-TestBasicPolicy-46943356-69419369 to be up.. 2025-04-13 10:27:16,535 - DEBUG - VM is in ACTIVE state now 2025-04-13 10:27:16,535 - INFO - VM name : ctest-TestBasicPolicy-46943356-69419369 2025-04-13 10:27:16,604 - DEBUG - VM ctest-TestBasicPolicy-46943356-69419369 ID is 6b527cc6-3bfa-4074-a999-cc48a88ca654 2025-04-13 10:27:16,605 - DEBUG - VM ctest-TestBasicPolicy-46943356-69419369 launched on Node cn-jenkins-deploy-platform-ansible-os-3083-1 2025-04-13 10:27:16,675 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6b527cc6-3bfa-4074-a999-cc48a88ca654 2025-04-13 10:27:16,683 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c3110a77-74cb-4877-825e-3087b703f864 2025-04-13 10:27:17,918 - 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.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 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.698/1.818/2.939/1.120 ms') 2025-04-13 10:27:17,918 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46943356-69419369 passed 2025-04-13 10:27:18,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 10:27:18,068 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46943356-69419369, IP 71.146.255.67, Port 22 2025-04-13 10:27:18,223 - DEBUG - VM ctest-TestBasicPolicy-46943356-69419369 is ready for SSH connections 2025-04-13 10:27:18,223 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 10:27:18,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.146.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-13 10:27:18,223 - DEBUG - ping -s 56 -c 3 -W 1 71.146.255.67 2025-04-13 10:27:21,907 - DEBUG - PING 71.146.255.67 (71.146.255.67): 56 data bytes 64 bytes from 71.146.255.67: seq=0 ttl=63 time=3.568 ms 64 bytes from 71.146.255.67: seq=1 ttl=63 time=1.026 ms 64 bytes from 71.146.255.67: seq=2 ttl=63 time=1.067 ms --- 71.146.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/1.887/3.568 ms 2025-04-13 10:27:21,907 - INFO - Ping to IP 71.146.255.67 from VM ctest-TestBasicPolicy-46943356-20386196 passed 2025-04-13 10:27:22,091 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d7e2c6e9-cdc1-40c3-956c-3032417dd87c", "href": "http://10.0.0.254:8082/network-policy/d7e2c6e9-cdc1-40c3-956c-3032417dd87c"}} 2025-04-13 10:27:22,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-13 10:27:22,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 71.146.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-13 10:27:22,092 - DEBUG - ping -s 56 -c 3 -W 1 71.146.255.67 2025-04-13 10:27:25,299 - DEBUG - PING 71.146.255.67 (71.146.255.67): 56 data bytes 64 bytes from 71.146.255.67: seq=0 ttl=63 time=1.329 ms --- 71.146.255.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.329/1.329/1.329 ms 2025-04-13 10:27:25,299 - WARNING - Ping to IP 71.146.255.67 from VM ctest-TestBasicPolicy-46943356-20386196 failed 2025-04-13 10:27:25,300 - INFO - Deleting VM ctest-TestBasicPolicy-46943356-69419369 2025-04-13 10:27:25,379 - INFO - Deleting VM ctest-TestBasicPolicy-46943356-20386196 2025-04-13 10:27:25,755 - INFO - Deleted policy ctest-policy-allow-all-94933404 2025-04-13 10:27:25,755 - INFO - Deleting VN ctest-vn-78070308 2025-04-13 10:27:25,792 - DEBUG - VN 23392f88-1c9b-473c-a102-6c045c59744b still in use: Unable to complete operation on network 23392f88-1c9b-473c-a102-6c045c59744b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f8ee35ce-7861-448f-ad14-01ac66f04ab1'] 2025-04-13 10:27:25,792 - WARNING - Deleting VN ctest-vn-78070308 failed..Will retry 2025-04-13 10:27:27,904 - DEBUG - Response for deleting network () 2025-04-13 10:27:27,904 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/931f7904-a1c6-41a1-a1f0-13593429b68b 2025-04-13 10:27:27,913 - DEBUG - Response Code: 404 2025-04-13 10:27:27,913 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:27,919 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:27,973 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:28,044 - INFO - Validated that VN ctest-vn-78070308 is not found in API Server 2025-04-13 10:27:28,055 - DEBUG - VN ctest-vn-78070308 is not present in Agent 10.0.0.254 2025-04-13 10:27:28,055 - INFO - Validated that VN ctest-vn-78070308 is not in any agent 2025-04-13 10:27:28,072 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78070308 info 2025-04-13 10:27:28,072 - INFO - Deleting VN ctest-vn-01414796 2025-04-13 10:27:28,172 - DEBUG - Response for deleting network () 2025-04-13 10:27:28,172 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/b3ce887e-f227-40a6-9526-e8c9734db10a 2025-04-13 10:27:28,178 - DEBUG - Response Code: 404 2025-04-13 10:27:28,179 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-13 10:27:28,185 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1250dcde-ae73-4788-ad0a-84d56019fbae 2025-04-13 10:27:28,241 - DEBUG - Requesting: http://10.0.0.254:8082/project/65494425-4fac-4546-9f05-c875fbb4eaa3 2025-04-13 10:27:28,318 - INFO - Validated that VN ctest-vn-01414796 is not found in API Server 2025-04-13 10:27:28,331 - DEBUG - VN ctest-vn-01414796 is not present in Agent 10.0.0.254 2025-04-13 10:27:28,331 - INFO - Validated that VN ctest-vn-01414796 is not in any agent 2025-04-13 10:27:28,347 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01414796 info 2025-04-13 10:27:28,602 - DEBUG - No XMPP flaps were noticed during the test 2025-04-13 10:27:28,602 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-04-13 10:27:28,602 - INFO - -------------------------------------------------------------------------------- 2025-04-13 10:27:29,258 - INFO - Deleted project: ctest-TestBasicPolicy-46943356, ID : 65494425-4fac-4546-9f05-c875fbb4eaa3