2025-06-30 16:19:52,764 - INFO - Domain Default found not creating 2025-06-30 16:19:52,905 - INFO - Project ctest-TestBasicPolicy-80639005 not found, creating it 2025-06-30 16:19:53,335 - INFO - Created Project:ctest-TestBasicPolicy-80639005, ID : e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:19:54,730 - INFO - ================================================================================ 2025-06-30 16:19:54,730 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-30 16:19:54,730 - 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-06-30 16:19:54,985 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-06-30 16:19:54,985 - INFO - Initial checks done. Running the testcase now 2025-06-30 16:19:54,985 - INFO - 2025-06-30 16:19:55,526 - DEBUG - Response for create_network : {'network': {'id': 'a1ff1c5e-9789-489e-9012-8af9054143d9', 'name': 'ctest-vn-07810315', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-vn-07810315'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:55,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c025791-1d4d-4a21-9d4d-181f9714cb24', 'name': '', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'network_id': 'a1ff1c5e-9789-489e-9012-8af9054143d9', 'ip_version': 4, 'cidr': '55.195.211.0/26', 'allocation_pools': [{'start': '55.195.211.2', 'end': '55.195.211.62'}], 'gateway_ip': '55.195.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.195.211.2', 'tags': [], 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab'}} 2025-06-30 16:19:55,741 - INFO - Created VN ctest-vn-07810315 2025-06-30 16:19:55,795 - DEBUG - VN ctest-vn-07810315 UUID is a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:56,129 - DEBUG - Response for create_network : {'network': {'id': 'ec7218d9-aa37-4e62-b457-a5a65c246955', 'name': 'ctest-vn-62545074', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-vn-62545074'], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:56,331 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1c8ba1a-985d-467b-a97c-6b623b2ef08f', 'name': '', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'network_id': 'ec7218d9-aa37-4e62-b457-a5a65c246955', 'ip_version': 4, 'cidr': '115.129.123.192/26', 'allocation_pools': [{'start': '115.129.123.194', 'end': '115.129.123.254'}], 'gateway_ip': '115.129.123.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.129.123.194', 'tags': [], 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab'}} 2025-06-30 16:19:56,351 - INFO - Created VN ctest-vn-62545074 2025-06-30 16:19:56,407 - DEBUG - VN ctest-vn-62545074 UUID is ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:56,559 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315, 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-80639005:ctest-vn-62545074, 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-06-30 16:19:56,877 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a1ff1c5e-9789-489e-9012-8af9054143d9', 'name': 'ctest-vn-07810315', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c025791-1d4d-4a21-9d4d-181f9714cb24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-vn-07810315'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-policy-allow-all-48857022']], 'subnet_ipam': [{'subnet_cidr': '55.195.211.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:57,101 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec7218d9-aa37-4e62-b457-a5a65c246955', 'name': 'ctest-vn-62545074', 'tenant_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'project_id': 'e909f10091fb4e72a84a6e2d9d63d4ab', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1c8ba1a-985d-467b-a97c-6b623b2ef08f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-vn-62545074'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-policy-allow-all-48857022']], 'subnet_ipam': [{'subnet_cidr': '115.129.123.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-30 16:19:57,231 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:19:57,539 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:19:57,570 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:19:57,586 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:19:57,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,683 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:19:57,690 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:19:57,696 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/154bf14c-438b-4115-809a-21531c0268f2 2025-06-30 16:19:57,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 16:19:57,702 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,711 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:19:57,725 - INFO - Verified VN network id 8 for VN a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,725 - INFO - Verifications in API Server for VN ctest-vn-07810315 passed 2025-06-30 16:19:57,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:19:57,741 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:19:57,749 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/154bf14c-438b-4115-809a-21531c0268f2 2025-06-30 16:19:57,761 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80639005', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11673079951762475166', 'uuid-lslong': '10381512893182067673'}, 'enable': 'true', 'created': '2025-06-30T16:19:55', 'last-modified': '2025-06-30T16:19:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912831'} 2025-06-30 16:19:57,768 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-30 16:19:57,768 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07810315 passed 2025-06-30 16:19:57,768 - DEBUG - ====Verifying policy data for ctest-vn-07810315 in API_Server ====== 2025-06-30 16:19:57,768 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:19:57,773 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:19:57,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:19:57,858 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a1ff1c5e-9789-489e-9012-8af9054143d9 2025-06-30 16:19:57,869 - DEBUG - ==>Verifying data for policy with id: e35f0a93-8991-43a2-ae23-b0c16c8546c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-policy-allow-all-48857022'] 2025-06-30 16:19:57,869 - INFO - VN ctest-vn-07810315 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 16:19:57,869 - DEBUG - Verifying the vn in opserver 2025-06-30 16:19:57,869 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315 virtual network link through opserver 10.0.0.50 2025-06-30 16:19:57,869 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-30 16:19:58,161 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-30 16:19:58,216 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315?flat'} 2025-06-30 16:19:58,216 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315 is found in opserver 2025-06-30 16:19:58,226 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 16:19:58,230 - DEBUG - VRF ids for VN ctest-vn-07810315: {} 2025-06-30 16:19:58,231 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:19:58,236 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:19:58,246 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:19:58,319 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,332 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,342 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:19:58,348 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:19:58,355 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c416f25b-1098-46dc-bbcf-b80473f31250 2025-06-30 16:19:58,361 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 16:19:58,361 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,370 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:19:58,384 - INFO - Verified VN network id 9 for VN ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,384 - INFO - Verifications in API Server for VN ctest-vn-62545074 passed 2025-06-30 16:19:58,384 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,393 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:19:58,400 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:19:58,407 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c416f25b-1098-46dc-bbcf-b80473f31250 2025-06-30 16:19:58,420 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-62545074', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80639005', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17037707663438728802', 'uuid-lslong': '12995037383729899861'}, 'enable': 'true', 'created': '2025-06-30T16:19:56', 'last-modified': '2025-06-30T16:19:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340398'} 2025-06-30 16:19:58,427 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-30 16:19:58,427 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62545074 passed 2025-06-30 16:19:58,427 - DEBUG - ====Verifying policy data for ctest-vn-62545074 in API_Server ====== 2025-06-30 16:19:58,427 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:19:58,432 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:19:58,444 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:19:58,518 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/ec7218d9-aa37-4e62-b457-a5a65c246955 2025-06-30 16:19:58,526 - DEBUG - ==>Verifying data for policy with id: e35f0a93-8991-43a2-ae23-b0c16c8546c5, fqn: ['default-domain', 'ctest-TestBasicPolicy-80639005', 'ctest-policy-allow-all-48857022'] 2025-06-30 16:19:58,526 - INFO - VN ctest-vn-62545074 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-30 16:19:58,527 - DEBUG - Verifying the vn in opserver 2025-06-30 16:19:58,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-62545074 virtual network link through opserver 10.0.0.50 2025-06-30 16:19:58,527 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-06-30 16:19:58,540 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-62545074', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-62545074?flat'} 2025-06-30 16:19:58,540 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-62545074 is found in opserver 2025-06-30 16:19:58,551 - DEBUG - Do not have enough data to verify VN in agent 2025-06-30 16:19:58,556 - DEBUG - VRF ids for VN ctest-vn-62545074: {} 2025-06-30 16:19:58,640 - DEBUG - Services list from nova: [, , ] 2025-06-30 16:19:59,653 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3580-1) 2025-06-30 16:20:00,879 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3580-1) 2025-06-30 16:20:00,879 - INFO - Waiting for VM ctest-TestBasicPolicy-80639005-83773096 to be up.. 2025-06-30 16:20:00,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-30 16:20:06,049 - DEBUG - VM is in ACTIVE state now 2025-06-30 16:20:06,049 - INFO - VM name : ctest-TestBasicPolicy-80639005-83773096 2025-06-30 16:20:06,125 - DEBUG - VM ctest-TestBasicPolicy-80639005-83773096 ID is 13b9ed67-e225-45d2-b7ba-dc52ea482a72 2025-06-30 16:20:06,145 - DEBUG - VM ctest-TestBasicPolicy-80639005-83773096 launched on Node cn-jenkins-deploy-platform-ansible-os-3580-1 2025-06-30 16:20:06,220 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/13b9ed67-e225-45d2-b7ba-dc52ea482a72 2025-06-30 16:20:06,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aa5030e4-4862-45f8-a717-f42d9efad1e6 2025-06-30 16:20:09,436 - 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 1003ms') 2025-06-30 16:20:09,436 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80639005-83773096 failed! 2025-06-30 16:20:09,495 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80639005:ctest-vn-07810315 is 55.195.211.1 and allocation pool is NOT set 2025-06-30 16:20:11,552 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.570 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.570/2.092/3.615/1.522 ms') 2025-06-30 16:20:11,552 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80639005-83773096 passed 2025-06-30 16:20:11,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:11,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80639005-83773096, IP 55.195.211.3, Port 22 2025-06-30 16:20:11,871 - DEBUG - VM ctest-TestBasicPolicy-80639005-83773096 is ready for SSH connections 2025-06-30 16:20:11,871 - INFO - Waiting for VM ctest-TestBasicPolicy-80639005-98149283 to be up.. 2025-06-30 16:20:11,966 - DEBUG - VM is in ACTIVE state now 2025-06-30 16:20:11,966 - INFO - VM name : ctest-TestBasicPolicy-80639005-98149283 2025-06-30 16:20:12,045 - DEBUG - VM ctest-TestBasicPolicy-80639005-98149283 ID is c662f8ef-d9c6-4e22-9679-7df86573069d 2025-06-30 16:20:12,045 - DEBUG - VM ctest-TestBasicPolicy-80639005-98149283 launched on Node cn-jenkins-deploy-platform-ansible-os-3580-1 2025-06-30 16:20:12,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c662f8ef-d9c6-4e22-9679-7df86573069d 2025-06-30 16:20:12,128 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ccef96f7-736f-446b-b935-6831e98975de 2025-06-30 16:20:13,371 - 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.67 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.533/2.671/1.137 ms') 2025-06-30 16:20:13,372 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80639005-98149283 passed 2025-06-30 16:20:13,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:13,519 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80639005-98149283, IP 115.129.123.195, Port 22 2025-06-30 16:20:13,670 - DEBUG - VM ctest-TestBasicPolicy-80639005-98149283 is ready for SSH connections 2025-06-30 16:20:13,670 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:13,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.129.123.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-30 16:20:13,670 - DEBUG - ping -s 56 -c 3 -W 1 115.129.123.195 2025-06-30 16:20:17,661 - DEBUG - PING 115.129.123.195 (115.129.123.195): 56 data bytes 64 bytes from 115.129.123.195: seq=0 ttl=63 time=3.674 ms 64 bytes from 115.129.123.195: seq=1 ttl=63 time=0.809 ms 64 bytes from 115.129.123.195: seq=2 ttl=63 time=1.056 ms --- 115.129.123.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.846/3.674 ms 2025-06-30 16:20:17,661 - INFO - Ping to IP 115.129.123.195 from VM ctest-TestBasicPolicy-80639005-83773096 passed 2025-06-30 16:20:17,839 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e35f0a93-8991-43a2-ae23-b0c16c8546c5", "href": "http://10.0.0.50:8082/network-policy/e35f0a93-8991-43a2-ae23-b0c16c8546c5"}} 2025-06-30 16:20:17,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-30 16:20:17,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.129.123.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-06-30 16:20:17,839 - DEBUG - ping -s 56 -c 3 -W 1 115.129.123.195 2025-06-30 16:20:21,045 - DEBUG - PING 115.129.123.195 (115.129.123.195): 56 data bytes 64 bytes from 115.129.123.195: seq=0 ttl=63 time=1.292 ms --- 115.129.123.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.292/1.292/1.292 ms 2025-06-30 16:20:21,045 - WARNING - Ping to IP 115.129.123.195 from VM ctest-TestBasicPolicy-80639005-83773096 failed 2025-06-30 16:20:21,045 - INFO - Deleting VM ctest-TestBasicPolicy-80639005-98149283 2025-06-30 16:20:21,107 - INFO - Deleting VM ctest-TestBasicPolicy-80639005-83773096 2025-06-30 16:20:21,504 - INFO - Deleted policy ctest-policy-allow-all-48857022 2025-06-30 16:20:21,504 - INFO - Deleting VN ctest-vn-62545074 2025-06-30 16:20:21,539 - DEBUG - VN ec7218d9-aa37-4e62-b457-a5a65c246955 still in use: Unable to complete operation on network ec7218d9-aa37-4e62-b457-a5a65c246955. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2795fe23-ccb6-41b6-9216-8910944f63e7'] 2025-06-30 16:20:21,539 - WARNING - Deleting VN ctest-vn-62545074 failed..Will retry 2025-06-30 16:20:23,648 - DEBUG - Response for deleting network () 2025-06-30 16:20:23,648 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/05ad0280-9879-44c7-affb-94f488d20b56 2025-06-30 16:20:23,660 - DEBUG - Response Code: 404 2025-06-30 16:20:23,660 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:20:23,666 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:20:23,720 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:20:23,791 - INFO - Validated that VN ctest-vn-62545074 is not found in API Server 2025-06-30 16:20:23,803 - DEBUG - VN ctest-vn-62545074 is not present in Agent 10.0.0.50 2025-06-30 16:20:23,804 - INFO - Validated that VN ctest-vn-62545074 is not in any agent 2025-06-30 16:20:23,820 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62545074 info 2025-06-30 16:20:23,820 - INFO - Deleting VN ctest-vn-07810315 2025-06-30 16:20:23,917 - DEBUG - Response for deleting network () 2025-06-30 16:20:23,917 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/10396ee2-de8a-4001-bf42-30ec23802d3f 2025-06-30 16:20:23,925 - DEBUG - Response Code: 404 2025-06-30 16:20:23,925 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-06-30 16:20:23,931 - DEBUG - Requesting: http://10.0.0.50:8082/domain/910d5dcc-dcbb-44d4-99ec-d626d54127f9 2025-06-30 16:20:23,984 - DEBUG - Requesting: http://10.0.0.50:8082/project/e909f100-91fb-4e72-a84a-6e2d9d63d4ab 2025-06-30 16:20:24,068 - INFO - Validated that VN ctest-vn-07810315 is not found in API Server 2025-06-30 16:20:24,079 - DEBUG - VN ctest-vn-07810315 is not present in Agent 10.0.0.50 2025-06-30 16:20:24,079 - INFO - Validated that VN ctest-vn-07810315 is not in any agent 2025-06-30 16:20:24,094 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07810315 info 2025-06-30 16:20:24,349 - DEBUG - No XMPP flaps were noticed during the test
2025-06-30 16:20:24,349 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-30 16:20:24,349 - INFO - -------------------------------------------------------------------------------- 2025-06-30 16:20:25,019 - INFO - Deleted project: ctest-TestBasicPolicy-80639005, ID : e909f100-91fb-4e72-a84a-6e2d9d63d4ab