2025-02-06 16:55:08,296 - INFO - Domain Default found not creating 2025-02-06 16:55:08,435 - INFO - Project ctest-TestBasicPolicy-95518037 not found, creating it 2025-02-06 16:55:08,882 - INFO - Created Project:ctest-TestBasicPolicy-95518037, ID : 3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:10,410 - INFO - ================================================================================ 2025-02-06 16:55:10,411 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-06 16:55:10,411 - 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-02-06 16:55:10,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.10': '0'}} with 2025-02-06 16:55:10,676 - INFO - Initial checks done. Running the testcase now 2025-02-06 16:55:10,676 - INFO - 2025-02-06 16:55:11,275 - DEBUG - Response for create_network : {'network': {'id': 'a713b9d8-b309-4ea5-b70f-045d2ef7b870', 'name': 'ctest-vn-46651416', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'project_id': '3dcc63c190104dd0bd4355cf6421f365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-vn-46651416'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:55:11,492 - DEBUG - Response for create_subnet : {'subnet': {'id': '55b50a9c-8fb1-4fc9-90fc-c12d0f9fb3eb', 'name': '', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'network_id': 'a713b9d8-b309-4ea5-b70f-045d2ef7b870', 'ip_version': 4, 'cidr': '95.120.184.64/26', 'allocation_pools': [{'start': '95.120.184.66', 'end': '95.120.184.126'}], 'gateway_ip': '95.120.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.120.184.66', 'tags': [], 'project_id': '3dcc63c190104dd0bd4355cf6421f365'}} 2025-02-06 16:55:11,511 - INFO - Created VN ctest-vn-46651416 2025-02-06 16:55:11,569 - DEBUG - VN ctest-vn-46651416 UUID is a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:11,909 - DEBUG - Response for create_network : {'network': {'id': '67b83c7a-ce60-4755-bab0-e784a6827abd', 'name': 'ctest-vn-07955600', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'project_id': '3dcc63c190104dd0bd4355cf6421f365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-vn-07955600'], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:55:12,089 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed72d2e9-2274-410f-9b66-2d11371eb57e', 'name': '', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'network_id': '67b83c7a-ce60-4755-bab0-e784a6827abd', 'ip_version': 4, 'cidr': '36.108.201.192/26', 'allocation_pools': [{'start': '36.108.201.194', 'end': '36.108.201.254'}], 'gateway_ip': '36.108.201.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.108.201.194', 'tags': [], 'project_id': '3dcc63c190104dd0bd4355cf6421f365'}} 2025-02-06 16:55:12,109 - INFO - Created VN ctest-vn-07955600 2025-02-06 16:55:12,161 - DEBUG - VN ctest-vn-07955600 UUID is 67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:12,272 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416, 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-95518037:ctest-vn-07955600, 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-02-06 16:55:12,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a713b9d8-b309-4ea5-b70f-045d2ef7b870', 'name': 'ctest-vn-46651416', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'project_id': '3dcc63c190104dd0bd4355cf6421f365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55b50a9c-8fb1-4fc9-90fc-c12d0f9fb3eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-vn-46651416'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-policy-allow-all-57129099']], 'subnet_ipam': [{'subnet_cidr': '95.120.184.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:55:12,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '67b83c7a-ce60-4755-bab0-e784a6827abd', 'name': 'ctest-vn-07955600', 'tenant_id': '3dcc63c190104dd0bd4355cf6421f365', 'project_id': '3dcc63c190104dd0bd4355cf6421f365', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ed72d2e9-2274-410f-9b66-2d11371eb57e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-vn-07955600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-policy-allow-all-57129099']], 'subnet_ipam': [{'subnet_cidr': '36.108.201.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-06 16:55:13,001 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:13,339 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:13,367 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:13,381 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:13,458 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,470 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,481 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:13,488 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:13,495 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1e76ce81-5f34-45f7-8e83-e4581666fad9 2025-02-06 16:55:13,501 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 16:55:13,501 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,510 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:13,524 - INFO - Verified VN network id 8 for VN a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,524 - INFO - Verifications in API Server for VN ctest-vn-46651416 passed 2025-02-06 16:55:13,524 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,534 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:13,541 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:13,548 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/1e76ce81-5f34-45f7-8e83-e4581666fad9 2025-02-06 16:55:13,561 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95518037', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12039170569259273893', 'uuid-lslong': '13190766631857928304'}, 'enable': 'true', 'created': '2025-02-06T16:55:11', 'last-modified': '2025-02-06T16:55:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.001050'} 2025-02-06 16:55:13,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-06 16:55:13,570 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46651416 passed 2025-02-06 16:55:13,570 - DEBUG - ====Verifying policy data for ctest-vn-46651416 in API_Server ====== 2025-02-06 16:55:13,570 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:13,576 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:13,588 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:13,667 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a713b9d8-b309-4ea5-b70f-045d2ef7b870 2025-02-06 16:55:13,678 - DEBUG - ==>Verifying data for policy with id: 4d8ee0b9-c572-45dc-b1f4-99f5879b573b, fqn: ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-policy-allow-all-57129099'] 2025-02-06 16:55:13,678 - INFO - VN ctest-vn-46651416 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 16:55:13,678 - DEBUG - Verifying the vn in opserver 2025-02-06 16:55:13,678 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416 virtual network link through opserver 10.0.0.27 2025-02-06 16:55:13,678 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-06 16:55:14,010 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-06 16:55:14,067 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416?flat'} 2025-02-06 16:55:14,067 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416 is found in opserver 2025-02-06 16:55:14,079 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 16:55:14,085 - DEBUG - VRF ids for VN ctest-vn-46651416: {} 2025-02-06 16:55:14,085 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:14,091 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:14,105 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:14,176 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,189 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,199 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:14,207 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:14,214 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5055e7f9-fcc0-44ed-91a5-23cc6d56ba80 2025-02-06 16:55:14,220 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 16:55:14,220 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,230 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:14,247 - INFO - Verified VN network id 9 for VN 67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,247 - INFO - Verifications in API Server for VN ctest-vn-07955600 passed 2025-02-06 16:55:14,247 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,257 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:14,265 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:14,273 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/5055e7f9-fcc0-44ed-91a5-23cc6d56ba80 2025-02-06 16:55:14,287 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-07955600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-95518037', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7473790079767430997', 'uuid-lslong': '13452506643870939837'}, 'enable': 'true', 'created': '2025-02-06T16:55:11', 'last-modified': '2025-02-06T16:55:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.476742'} 2025-02-06 16:55:14,293 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-06 16:55:14,293 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07955600 passed 2025-02-06 16:55:14,294 - DEBUG - ====Verifying policy data for ctest-vn-07955600 in API_Server ====== 2025-02-06 16:55:14,294 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:14,299 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:14,311 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:14,394 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/67b83c7a-ce60-4755-bab0-e784a6827abd 2025-02-06 16:55:14,405 - DEBUG - ==>Verifying data for policy with id: 4d8ee0b9-c572-45dc-b1f4-99f5879b573b, fqn: ['default-domain', 'ctest-TestBasicPolicy-95518037', 'ctest-policy-allow-all-57129099'] 2025-02-06 16:55:14,406 - INFO - VN ctest-vn-07955600 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-06 16:55:14,406 - DEBUG - Verifying the vn in opserver 2025-02-06 16:55:14,406 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-07955600 virtual network link through opserver 10.0.0.27 2025-02-06 16:55:14,406 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-02-06 16:55:14,417 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-07955600', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-07955600?flat'} 2025-02-06 16:55:14,417 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-07955600 is found in opserver 2025-02-06 16:55:14,429 - DEBUG - Do not have enough data to verify VN in agent 2025-02-06 16:55:14,435 - DEBUG - VRF ids for VN ctest-vn-07955600: {} 2025-02-06 16:55:14,491 - DEBUG - Services list from nova: [, , ] 2025-02-06 16:55:15,575 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:55:16,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2702-1) 2025-02-06 16:55:16,895 - INFO - Waiting for VM ctest-TestBasicPolicy-95518037-36120774 to be up.. 2025-02-06 16:55:16,977 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-06 16:55:22,074 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:55:22,074 - INFO - VM name : ctest-TestBasicPolicy-95518037-36120774 2025-02-06 16:55:22,169 - DEBUG - VM ctest-TestBasicPolicy-95518037-36120774 ID is 3f7f04cd-10a7-4e02-8001-46acf512156b 2025-02-06 16:55:22,190 - DEBUG - VM ctest-TestBasicPolicy-95518037-36120774 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:55:22,291 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/3f7f04cd-10a7-4e02-8001-46acf512156b 2025-02-06 16:55:22,301 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/3313512e-a243-4988-864f-143f28812d5d 2025-02-06 16:55:25,570 - 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 1018ms') 2025-02-06 16:55:25,570 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95518037-36120774 failed! 2025-02-06 16:55:25,629 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-95518037:ctest-vn-46651416 is 95.120.184.65 and allocation pool is NOT set 2025-02-06 16:55:27,690 - 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=4.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.452/2.454/4.457/2.002 ms') 2025-02-06 16:55:27,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-95518037-36120774 passed 2025-02-06 16:55:27,845 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:55:27,845 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95518037-36120774, IP 95.120.184.67, Port 22 2025-02-06 16:55:28,000 - DEBUG - VM ctest-TestBasicPolicy-95518037-36120774 is ready for SSH connections 2025-02-06 16:55:28,001 - INFO - Waiting for VM ctest-TestBasicPolicy-95518037-97915728 to be up.. 2025-02-06 16:55:28,081 - DEBUG - VM is in ACTIVE state now 2025-02-06 16:55:28,081 - INFO - VM name : ctest-TestBasicPolicy-95518037-97915728 2025-02-06 16:55:28,163 - DEBUG - VM ctest-TestBasicPolicy-95518037-97915728 ID is 27566a3d-ca98-430b-927f-1fbde5c8afd3 2025-02-06 16:55:28,164 - DEBUG - VM ctest-TestBasicPolicy-95518037-97915728 launched on Node cn-jenkins-deploy-platform-ansible-os-2702-1 2025-02-06 16:55:28,237 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/27566a3d-ca98-430b-927f-1fbde5c8afd3 2025-02-06 16:55:28,246 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/52ae9a1d-592a-449d-ad91-9bfe35775fdd 2025-02-06 16:55:29,493 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.896 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.896/2.341/3.787/1.445 ms') 2025-02-06 16:55:29,493 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-95518037-97915728 passed 2025-02-06 16:55:29,649 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:55:29,649 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-95518037-97915728, IP 36.108.201.195, Port 22 2025-02-06 16:55:29,805 - DEBUG - VM ctest-TestBasicPolicy-95518037-97915728 is ready for SSH connections 2025-02-06 16:55:29,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:55:29,805 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.108.201.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-06 16:55:29,806 - DEBUG - ping -s 56 -c 3 -W 1 36.108.201.195 2025-02-06 16:55:33,519 - DEBUG - PING 36.108.201.195 (36.108.201.195): 56 data bytes 64 bytes from 36.108.201.195: seq=0 ttl=63 time=3.501 ms 64 bytes from 36.108.201.195: seq=1 ttl=63 time=0.868 ms 64 bytes from 36.108.201.195: seq=2 ttl=63 time=0.802 ms --- 36.108.201.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.802/1.723/3.501 ms 2025-02-06 16:55:33,519 - INFO - Ping to IP 36.108.201.195 from VM ctest-TestBasicPolicy-95518037-36120774 passed 2025-02-06 16:55:33,701 - DEBUG - Policy Update Response {"network-policy": {"uuid": "4d8ee0b9-c572-45dc-b1f4-99f5879b573b", "href": "http://10.0.0.27:8082/network-policy/4d8ee0b9-c572-45dc-b1f4-99f5879b573b"}} 2025-02-06 16:55:33,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-06 16:55:33,701 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.108.201.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-02-06 16:55:33,701 - DEBUG - ping -s 56 -c 3 -W 1 36.108.201.195 2025-02-06 16:55:36,916 - DEBUG - PING 36.108.201.195 (36.108.201.195): 56 data bytes 64 bytes from 36.108.201.195: seq=0 ttl=63 time=1.485 ms --- 36.108.201.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.485/1.485/1.485 ms 2025-02-06 16:55:36,916 - WARNING - Ping to IP 36.108.201.195 from VM ctest-TestBasicPolicy-95518037-36120774 failed 2025-02-06 16:55:36,916 - INFO - Deleting VM ctest-TestBasicPolicy-95518037-97915728 2025-02-06 16:55:36,984 - INFO - Deleting VM ctest-TestBasicPolicy-95518037-36120774 2025-02-06 16:55:37,387 - INFO - Deleted policy ctest-policy-allow-all-57129099 2025-02-06 16:55:37,388 - INFO - Deleting VN ctest-vn-07955600 2025-02-06 16:55:37,427 - DEBUG - VN 67b83c7a-ce60-4755-bab0-e784a6827abd still in use: Unable to complete operation on network 67b83c7a-ce60-4755-bab0-e784a6827abd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-243e8638-c9f2-4fbe-bd68-407b3f289cf1'] 2025-02-06 16:55:37,427 - WARNING - Deleting VN ctest-vn-07955600 failed..Will retry 2025-02-06 16:55:39,541 - DEBUG - Response for deleting network () 2025-02-06 16:55:39,541 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/79dde617-32f3-43a4-bcb1-2115849056aa 2025-02-06 16:55:39,547 - DEBUG - Response Code: 404 2025-02-06 16:55:39,547 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:39,553 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:39,607 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:39,679 - INFO - Validated that VN ctest-vn-07955600 is not found in API Server 2025-02-06 16:55:39,690 - DEBUG - VN ctest-vn-07955600 is not present in Agent 10.0.0.27 2025-02-06 16:55:39,691 - INFO - Validated that VN ctest-vn-07955600 is not in any agent 2025-02-06 16:55:39,707 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07955600 info 2025-02-06 16:55:39,707 - INFO - Deleting VN ctest-vn-46651416 2025-02-06 16:55:39,810 - DEBUG - Response for deleting network () 2025-02-06 16:55:39,810 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/bdeced7a-16ee-4dc1-9f63-d0bcedbdd3b6 2025-02-06 16:55:39,816 - DEBUG - Response Code: 404 2025-02-06 16:55:39,816 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-02-06 16:55:39,824 - DEBUG - Requesting: http://10.0.0.27:8082/domain/f683c379-e58c-4ff9-ab53-66ffa179a1ca 2025-02-06 16:55:39,879 - DEBUG - Requesting: http://10.0.0.27:8082/project/3dcc63c1-9010-4dd0-bd43-55cf6421f365 2025-02-06 16:55:39,957 - INFO - Validated that VN ctest-vn-46651416 is not found in API Server 2025-02-06 16:55:39,969 - DEBUG - VN ctest-vn-46651416 is not present in Agent 10.0.0.27 2025-02-06 16:55:39,969 - INFO - Validated that VN ctest-vn-46651416 is not in any agent 2025-02-06 16:55:39,985 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46651416 info 2025-02-06 16:55:40,246 - DEBUG - No XMPP flaps were noticed during the test 2025-02-06 16:55:40,247 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-06 16:55:40,247 - INFO - -------------------------------------------------------------------------------- 2025-02-06 16:55:40,979 - INFO - Deleted project: ctest-TestBasicPolicy-95518037, ID : 3dcc63c1-9010-4dd0-bd43-55cf6421f365