2025-04-21 06:54:55,324 - INFO - Domain Default found not creating 2025-04-21 06:54:55,471 - INFO - Project ctest-TestBasicPolicy-64003405 not found, creating it 2025-04-21 06:54:55,942 - INFO - Created Project:ctest-TestBasicPolicy-64003405, ID : 3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:54:57,544 - INFO - ================================================================================ 2025-04-21 06:54:57,544 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-21 06:54:57,545 - 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-21 06:54:57,814 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-04-21 06:54:57,814 - INFO - Initial checks done. Running the testcase now 2025-04-21 06:54:57,814 - INFO - 2025-04-21 06:54:58,555 - DEBUG - Response for create_network : {'network': {'id': 'c55c87b9-4ad6-4882-8003-2bc3658ac1fb', 'name': 'ctest-vn-16000372', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'project_id': '3a58d08c88c045b184fe592b1e5bb22d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-vn-16000372'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 06:54:58,731 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c47f2fd-4ac9-425b-87fb-416a422dcd56', 'name': '', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'network_id': 'c55c87b9-4ad6-4882-8003-2bc3658ac1fb', 'ip_version': 4, 'cidr': '30.122.95.64/26', 'allocation_pools': [{'start': '30.122.95.66', 'end': '30.122.95.126'}], 'gateway_ip': '30.122.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.122.95.66', 'tags': [], 'project_id': '3a58d08c88c045b184fe592b1e5bb22d'}} 2025-04-21 06:54:58,749 - INFO - Created VN ctest-vn-16000372 2025-04-21 06:54:58,805 - DEBUG - VN ctest-vn-16000372 UUID is c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:54:59,091 - DEBUG - Response for create_network : {'network': {'id': '88a47283-c33f-4bcf-a592-4212cd43cbcf', 'name': 'ctest-vn-06166890', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'project_id': '3a58d08c88c045b184fe592b1e5bb22d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-vn-06166890'], 'port_security_enabled': True, 'description': ''}} 2025-04-21 06:54:59,295 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d4aba76-313a-46f9-abb6-58c2bfdf90ab', 'name': '', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'network_id': '88a47283-c33f-4bcf-a592-4212cd43cbcf', 'ip_version': 4, 'cidr': '21.255.66.0/26', 'allocation_pools': [{'start': '21.255.66.2', 'end': '21.255.66.62'}], 'gateway_ip': '21.255.66.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.255.66.2', 'tags': [], 'project_id': '3a58d08c88c045b184fe592b1e5bb22d'}} 2025-04-21 06:54:59,314 - INFO - Created VN ctest-vn-06166890 2025-04-21 06:54:59,369 - DEBUG - VN ctest-vn-06166890 UUID is 88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:54:59,481 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372, 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-64003405:ctest-vn-06166890, 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-21 06:54:59,772 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c55c87b9-4ad6-4882-8003-2bc3658ac1fb', 'name': 'ctest-vn-16000372', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'project_id': '3a58d08c88c045b184fe592b1e5bb22d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7c47f2fd-4ac9-425b-87fb-416a422dcd56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-vn-16000372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-policy-allow-all-44920636']], 'subnet_ipam': [{'subnet_cidr': '30.122.95.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 06:54:59,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88a47283-c33f-4bcf-a592-4212cd43cbcf', 'name': 'ctest-vn-06166890', 'tenant_id': '3a58d08c88c045b184fe592b1e5bb22d', 'project_id': '3a58d08c88c045b184fe592b1e5bb22d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0d4aba76-313a-46f9-abb6-58c2bfdf90ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-vn-06166890'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-policy-allow-all-44920636']], 'subnet_ipam': [{'subnet_cidr': '21.255.66.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-21 06:55:00,133 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:00,465 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:00,494 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:00,508 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:00,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,609 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:00,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:00,624 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adb3cdc0-c3f7-4279-81dd-6be96c8728a3 2025-04-21 06:55:00,630 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 06:55:00,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,640 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:00,655 - INFO - Verified VN network id 8 for VN c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,655 - INFO - Verifications in API Server for VN ctest-vn-16000372 passed 2025-04-21 06:55:00,655 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,665 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:00,672 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:00,679 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/adb3cdc0-c3f7-4279-81dd-6be96c8728a3 2025-04-21 06:55:00,691 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64003405', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14221390953223440514', 'uuid-lslong': '9224264580007117307'}, 'enable': 'true', 'created': '2025-04-21T06:54:58', 'last-modified': '2025-04-21T06:54:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939134'} 2025-04-21 06:55:00,698 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-21 06:55:00,698 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16000372 passed 2025-04-21 06:55:00,698 - DEBUG - ====Verifying policy data for ctest-vn-16000372 in API_Server ====== 2025-04-21 06:55:00,698 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:00,704 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:00,717 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:00,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c55c87b9-4ad6-4882-8003-2bc3658ac1fb 2025-04-21 06:55:00,798 - DEBUG - ==>Verifying data for policy with id: 019dc3c1-e239-4f4e-9950-81519123e5cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-policy-allow-all-44920636'] 2025-04-21 06:55:00,798 - INFO - VN ctest-vn-16000372 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 06:55:00,798 - DEBUG - Verifying the vn in opserver 2025-04-21 06:55:00,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372 virtual network link through opserver 10.0.0.38 2025-04-21 06:55:00,799 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 06:55:01,130 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 06:55:01,185 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372?flat'} 2025-04-21 06:55:01,185 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372 is found in opserver 2025-04-21 06:55:01,196 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 06:55:01,201 - DEBUG - VRF ids for VN ctest-vn-16000372: {} 2025-04-21 06:55:01,202 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:01,207 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:01,220 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:01,300 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,323 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:01,330 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:01,337 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/259f2c8c-41fa-4e1c-ab46-d58457797b6a 2025-04-21 06:55:01,347 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 06:55:01,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,356 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:01,370 - INFO - Verified VN network id 9 for VN 88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,370 - INFO - Verifications in API Server for VN ctest-vn-06166890 passed 2025-04-21 06:55:01,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,379 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:01,387 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:01,395 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/259f2c8c-41fa-4e1c-ab46-d58457797b6a 2025-04-21 06:55:01,407 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-06166890', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64003405', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9846120595580734415', 'uuid-lslong': '11930671011378482127'}, 'enable': 'true', 'created': '2025-04-21T06:54:59', 'last-modified': '2025-04-21T06:54:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468360'} 2025-04-21 06:55:01,414 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-21 06:55:01,414 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06166890 passed 2025-04-21 06:55:01,414 - DEBUG - ====Verifying policy data for ctest-vn-06166890 in API_Server ====== 2025-04-21 06:55:01,414 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:01,420 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:01,432 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:01,507 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/88a47283-c33f-4bcf-a592-4212cd43cbcf 2025-04-21 06:55:01,517 - DEBUG - ==>Verifying data for policy with id: 019dc3c1-e239-4f4e-9950-81519123e5cc, fqn: ['default-domain', 'ctest-TestBasicPolicy-64003405', 'ctest-policy-allow-all-44920636'] 2025-04-21 06:55:01,517 - INFO - VN ctest-vn-06166890 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-21 06:55:01,517 - DEBUG - Verifying the vn in opserver 2025-04-21 06:55:01,517 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-06166890 virtual network link through opserver 10.0.0.38 2025-04-21 06:55:01,518 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-04-21 06:55:01,528 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-06166890', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-06166890?flat'} 2025-04-21 06:55:01,528 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-06166890 is found in opserver 2025-04-21 06:55:01,539 - DEBUG - Do not have enough data to verify VN in agent 2025-04-21 06:55:01,545 - DEBUG - VRF ids for VN ctest-vn-06166890: {} 2025-04-21 06:55:01,606 - DEBUG - Services list from nova: [, , ] 2025-04-21 06:55:02,685 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3148-1) 2025-04-21 06:55:03,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3148-1) 2025-04-21 06:55:03,983 - INFO - Waiting for VM ctest-TestBasicPolicy-64003405-63034652 to be up.. 2025-04-21 06:55:04,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-21 06:55:09,136 - DEBUG - VM is in ACTIVE state now 2025-04-21 06:55:09,136 - INFO - VM name : ctest-TestBasicPolicy-64003405-63034652 2025-04-21 06:55:09,209 - DEBUG - VM ctest-TestBasicPolicy-64003405-63034652 ID is 303a9e53-1989-4961-b2b8-dd49ae9f16d2 2025-04-21 06:55:09,228 - DEBUG - VM ctest-TestBasicPolicy-64003405-63034652 launched on Node cn-jenkins-deploy-platform-ansible-os-3148-1 2025-04-21 06:55:09,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/303a9e53-1989-4961-b2b8-dd49ae9f16d2 2025-04-21 06:55:09,310 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8bf51640-90a1-4048-84fc-5d2105553cdd 2025-04-21 06:55:12,599 - 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 1035ms') 2025-04-21 06:55:12,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64003405-63034652 failed! 2025-04-21 06:55:12,653 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64003405:ctest-vn-16000372 is 30.122.95.65 and allocation pool is NOT set 2025-04-21 06:55:14,716 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.514 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.514/4.181/7.848/3.667 ms') 2025-04-21 06:55:14,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64003405-63034652 passed 2025-04-21 06:55:14,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 06:55:14,869 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64003405-63034652, IP 30.122.95.67, Port 22 2025-04-21 06:55:15,028 - DEBUG - VM ctest-TestBasicPolicy-64003405-63034652 is ready for SSH connections 2025-04-21 06:55:15,028 - INFO - Waiting for VM ctest-TestBasicPolicy-64003405-50430781 to be up.. 2025-04-21 06:55:15,108 - DEBUG - VM is in ACTIVE state now 2025-04-21 06:55:15,108 - INFO - VM name : ctest-TestBasicPolicy-64003405-50430781 2025-04-21 06:55:15,178 - DEBUG - VM ctest-TestBasicPolicy-64003405-50430781 ID is 06a8bb2e-1215-494d-bfd2-3152b6f9db7a 2025-04-21 06:55:15,178 - DEBUG - VM ctest-TestBasicPolicy-64003405-50430781 launched on Node cn-jenkins-deploy-platform-ansible-os-3148-1 2025-04-21 06:55:15,253 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/06a8bb2e-1215-494d-bfd2-3152b6f9db7a 2025-04-21 06:55:15,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/11c7751d-c939-43f4-8709-c4546114ff0e 2025-04-21 06:55:16,506 - 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=4.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/2.441/4.470/2.029 ms') 2025-04-21 06:55:16,506 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64003405-50430781 passed 2025-04-21 06:55:16,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 06:55:16,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64003405-50430781, IP 21.255.66.3, Port 22 2025-04-21 06:55:16,824 - DEBUG - VM ctest-TestBasicPolicy-64003405-50430781 is ready for SSH connections 2025-04-21 06:55:16,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 06:55:16,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.255.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-21 06:55:16,824 - DEBUG - ping -s 56 -c 3 -W 1 21.255.66.3 2025-04-21 06:55:20,838 - DEBUG - PING 21.255.66.3 (21.255.66.3): 56 data bytes 64 bytes from 21.255.66.3: seq=0 ttl=63 time=3.510 ms 64 bytes from 21.255.66.3: seq=1 ttl=63 time=0.966 ms 64 bytes from 21.255.66.3: seq=2 ttl=63 time=0.781 ms --- 21.255.66.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/1.752/3.510 ms 2025-04-21 06:55:20,838 - INFO - Ping to IP 21.255.66.3 from VM ctest-TestBasicPolicy-64003405-63034652 passed 2025-04-21 06:55:21,021 - DEBUG - Policy Update Response {"network-policy": {"uuid": "019dc3c1-e239-4f4e-9950-81519123e5cc", "href": "http://10.0.0.38:8082/network-policy/019dc3c1-e239-4f4e-9950-81519123e5cc"}} 2025-04-21 06:55:21,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-21 06:55:21,021 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.255.66.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-04-21 06:55:21,021 - DEBUG - ping -s 56 -c 3 -W 1 21.255.66.3 2025-04-21 06:55:24,239 - DEBUG - PING 21.255.66.3 (21.255.66.3): 56 data bytes --- 21.255.66.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-21 06:55:24,239 - WARNING - Ping to IP 21.255.66.3 from VM ctest-TestBasicPolicy-64003405-63034652 failed 2025-04-21 06:55:24,239 - INFO - Deleting VM ctest-TestBasicPolicy-64003405-50430781 2025-04-21 06:55:24,302 - INFO - Deleting VM ctest-TestBasicPolicy-64003405-63034652 2025-04-21 06:55:24,712 - INFO - Deleted policy ctest-policy-allow-all-44920636 2025-04-21 06:55:24,713 - INFO - Deleting VN ctest-vn-06166890 2025-04-21 06:55:24,769 - DEBUG - VN 88a47283-c33f-4bcf-a592-4212cd43cbcf still in use: Unable to complete operation on network 88a47283-c33f-4bcf-a592-4212cd43cbcf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-691724db-eb1b-49b7-ab69-ac3ebbf9d896'] 2025-04-21 06:55:24,770 - WARNING - Deleting VN ctest-vn-06166890 failed..Will retry 2025-04-21 06:55:26,888 - DEBUG - Response for deleting network () 2025-04-21 06:55:26,889 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/bcf5be4a-f9c8-44a9-b87d-a51c958d7e91 2025-04-21 06:55:26,895 - DEBUG - Response Code: 404 2025-04-21 06:55:26,895 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:26,901 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:26,959 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:27,038 - INFO - Validated that VN ctest-vn-06166890 is not found in API Server 2025-04-21 06:55:27,049 - DEBUG - VN ctest-vn-06166890 is not present in Agent 10.0.0.38 2025-04-21 06:55:27,049 - INFO - Validated that VN ctest-vn-06166890 is not in any agent 2025-04-21 06:55:27,068 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06166890 info 2025-04-21 06:55:27,069 - INFO - Deleting VN ctest-vn-16000372 2025-04-21 06:55:27,185 - DEBUG - Response for deleting network () 2025-04-21 06:55:27,186 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/51c16903-c461-446b-92bb-3d4da5663dcf 2025-04-21 06:55:27,192 - DEBUG - Response Code: 404 2025-04-21 06:55:27,192 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-04-21 06:55:27,198 - DEBUG - Requesting: http://10.0.0.38:8082/domain/8bdd1fa9-cefb-4746-8947-7798b6adef9c 2025-04-21 06:55:27,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/3a58d08c-88c0-45b1-84fe-592b1e5bb22d 2025-04-21 06:55:27,326 - INFO - Validated that VN ctest-vn-16000372 is not found in API Server 2025-04-21 06:55:27,340 - DEBUG - VN ctest-vn-16000372 is not present in Agent 10.0.0.38 2025-04-21 06:55:27,340 - INFO - Validated that VN ctest-vn-16000372 is not in any agent 2025-04-21 06:55:27,356 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16000372 info 2025-04-21 06:55:27,611 - DEBUG - No XMPP flaps were noticed during the test
2025-04-21 06:55:27,611 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-04-21 06:55:27,611 - INFO - -------------------------------------------------------------------------------- 2025-04-21 06:55:28,322 - INFO - Deleted project: ctest-TestBasicPolicy-64003405, ID : 3a58d08c-88c0-45b1-84fe-592b1e5bb22d