2025-10-13 16:48:08,976 - INFO - Domain Default found not creating 2025-10-13 16:48:09,129 - INFO - Project ctest-TestBasicPolicy-86338679 not found, creating it 2025-10-13 16:48:09,580 - INFO - Created Project:ctest-TestBasicPolicy-86338679, ID : 8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:10,983 - INFO - ================================================================================ 2025-10-13 16:48:10,983 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-13 16:48:10,983 - 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-10-13 16:48:11,240 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.210': '0'}} with 2025-10-13 16:48:11,240 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:48:11,240 - INFO - 2025-10-13 16:48:11,772 - DEBUG - Response for create_network : {'network': {'id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'name': 'ctest-vn-76880390', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-76880390'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:48:11,960 - DEBUG - Response for create_subnet : {'subnet': {'id': '78848e6b-43bb-4fc7-86e1-12e1d114b9c3', 'name': '', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'network_id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'ip_version': 4, 'cidr': '25.128.205.192/26', 'allocation_pools': [{'start': '25.128.205.194', 'end': '25.128.205.254'}], 'gateway_ip': '25.128.205.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.128.205.194', 'tags': [], 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec'}} 2025-10-13 16:48:11,976 - INFO - Created VN ctest-vn-76880390 2025-10-13 16:48:12,026 - DEBUG - VN ctest-vn-76880390 UUID is 4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:12,364 - DEBUG - Response for create_network : {'network': {'id': '0ff14f67-a905-436f-a082-776cb88db61d', 'name': 'ctest-vn-92929255', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-92929255'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:48:12,552 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e105459c-9d88-48cd-85f9-fb3171094cc5', 'name': '', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'network_id': '0ff14f67-a905-436f-a082-776cb88db61d', 'ip_version': 4, 'cidr': '101.145.214.192/26', 'allocation_pools': [{'start': '101.145.214.194', 'end': '101.145.214.254'}], 'gateway_ip': '101.145.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.145.214.194', 'tags': [], 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec'}} 2025-10-13 16:48:12,570 - INFO - Created VN ctest-vn-92929255 2025-10-13 16:48:12,622 - DEBUG - VN ctest-vn-92929255 UUID is 0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:12,770 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390, 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-86338679:ctest-vn-92929255, 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-10-13 16:48:13,060 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4310f027-2d98-4aaa-87f7-c6a850fa397f', 'name': 'ctest-vn-76880390', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['78848e6b-43bb-4fc7-86e1-12e1d114b9c3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-76880390'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']], 'subnet_ipam': [{'subnet_cidr': '25.128.205.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:48:13,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0ff14f67-a905-436f-a082-776cb88db61d', 'name': 'ctest-vn-92929255', 'tenant_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'project_id': '8a1d6bb397fc42f5bab4d76f378ab6ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e105459c-9d88-48cd-85f9-fb3171094cc5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-vn-92929255'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335']], 'subnet_ipam': [{'subnet_cidr': '101.145.214.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:48:13,458 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:13,750 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:13,778 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:13,788 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:13,856 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:13,865 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:13,874 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:13,880 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:13,887 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c229a4ec-f604-4713-8c01-aef328f4f6df 2025-10-13 16:48:13,892 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:48:13,892 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:13,900 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:13,913 - INFO - Verified VN network id 11 for VN 4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:13,913 - INFO - Verifications in API Server for VN ctest-vn-76880390 passed 2025-10-13 16:48:13,913 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:13,922 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:13,928 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:13,934 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c229a4ec-f604-4713-8c01-aef328f4f6df 2025-10-13 16:48:13,945 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86338679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4832626451227888298', 'uuid-lslong': '9797517940583184767'}, 'enable': 'true', 'created': '2025-10-13T16:48:11', 'last-modified': '2025-10-13T16:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.891893'} 2025-10-13 16:48:13,950 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-13 16:48:13,950 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76880390 passed 2025-10-13 16:48:13,951 - DEBUG - ====Verifying policy data for ctest-vn-76880390 in API_Server ====== 2025-10-13 16:48:13,951 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:13,957 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:13,967 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:14,035 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/4310f027-2d98-4aaa-87f7-c6a850fa397f 2025-10-13 16:48:14,044 - DEBUG - ==>Verifying data for policy with id: d053f206-16b7-4009-a9e8-b2650d82e648, fqn: ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335'] 2025-10-13 16:48:14,045 - INFO - VN ctest-vn-76880390 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:48:14,045 - DEBUG - Verifying the vn in opserver 2025-10-13 16:48:14,045 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390 virtual network link through opserver 10.0.0.33 2025-10-13 16:48:14,045 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-13 16:48:14,338 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-13 16:48:14,394 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390?flat'} 2025-10-13 16:48:14,394 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390 is found in opserver 2025-10-13 16:48:14,403 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:48:14,407 - DEBUG - VRF ids for VN ctest-vn-76880390: {} 2025-10-13 16:48:14,407 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:14,412 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:14,424 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:14,495 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,507 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:14,525 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:14,531 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c77c7442-a00f-4281-90d1-a1f071900b1c 2025-10-13 16:48:14,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:48:14,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,545 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:14,561 - INFO - Verified VN network id 12 for VN 0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,561 - INFO - Verifications in API Server for VN ctest-vn-92929255 passed 2025-10-13 16:48:14,562 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,570 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:14,577 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:14,585 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/c77c7442-a00f-4281-90d1-a1f071900b1c 2025-10-13 16:48:14,597 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86338679', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1148786686592107375', 'uuid-lslong': '11565938101877323293'}, 'enable': 'true', 'created': '2025-10-13T16:48:12', 'last-modified': '2025-10-13T16:48:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337520'} 2025-10-13 16:48:14,602 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-13 16:48:14,602 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92929255 passed 2025-10-13 16:48:14,602 - DEBUG - ====Verifying policy data for ctest-vn-92929255 in API_Server ====== 2025-10-13 16:48:14,602 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:14,608 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:14,617 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:14,697 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0ff14f67-a905-436f-a082-776cb88db61d 2025-10-13 16:48:14,705 - DEBUG - ==>Verifying data for policy with id: d053f206-16b7-4009-a9e8-b2650d82e648, fqn: ['default-domain', 'ctest-TestBasicPolicy-86338679', 'ctest-policy-allow-all-66992335'] 2025-10-13 16:48:14,705 - INFO - VN ctest-vn-92929255 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-13 16:48:14,705 - DEBUG - Verifying the vn in opserver 2025-10-13 16:48:14,705 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255 virtual network link through opserver 10.0.0.33 2025-10-13 16:48:14,705 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-13 16:48:14,714 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255?flat'} 2025-10-13 16:48:14,714 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-92929255 is found in opserver 2025-10-13 16:48:14,723 - DEBUG - Do not have enough data to verify VN in agent 2025-10-13 16:48:14,727 - DEBUG - VRF ids for VN ctest-vn-92929255: {} 2025-10-13 16:48:14,779 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:48:15,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:48:16,917 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4309-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4309-1) 2025-10-13 16:48:16,917 - INFO - Waiting for VM ctest-TestBasicPolicy-86338679-26757161 to be up.. 2025-10-13 16:48:16,999 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:48:22,076 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:48:22,076 - INFO - VM name : ctest-TestBasicPolicy-86338679-26757161 2025-10-13 16:48:22,154 - DEBUG - VM ctest-TestBasicPolicy-86338679-26757161 ID is 88fa4c34-7d92-4b9d-99c2-8b0517f860bf 2025-10-13 16:48:22,174 - DEBUG - VM ctest-TestBasicPolicy-86338679-26757161 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:48:22,248 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/88fa4c34-7d92-4b9d-99c2-8b0517f860bf 2025-10-13 16:48:22,257 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/96643503-d2da-4ad2-9ac6-144025fce4d9 2025-10-13 16:48:25,456 - 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 1007ms') 2025-10-13 16:48:25,456 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86338679-26757161 failed! 2025-10-13 16:48:25,510 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86338679:ctest-vn-76880390 is 25.128.205.193 and allocation pool is NOT set 2025-10-13 16:48:27,577 - 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.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.64 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 = 2.642/3.744/4.847/1.102 ms') 2025-10-13 16:48:27,577 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86338679-26757161 passed 2025-10-13 16:48:27,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:48:27,726 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86338679-26757161, IP 25.128.205.195, Port 22 2025-10-13 16:48:27,882 - DEBUG - VM ctest-TestBasicPolicy-86338679-26757161 is ready for SSH connections 2025-10-13 16:48:27,882 - INFO - Waiting for VM ctest-TestBasicPolicy-86338679-33810054 to be up.. 2025-10-13 16:48:27,963 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:48:27,963 - INFO - VM name : ctest-TestBasicPolicy-86338679-33810054 2025-10-13 16:48:28,031 - DEBUG - VM ctest-TestBasicPolicy-86338679-33810054 ID is fef0f102-c240-48d9-9440-b5925c349256 2025-10-13 16:48:28,031 - DEBUG - VM ctest-TestBasicPolicy-86338679-33810054 launched on Node cn-jenkins-deploy-platform-ansible-os-4309-1 2025-10-13 16:48:28,113 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fef0f102-c240-48d9-9440-b5925c349256 2025-10-13 16:48:28,122 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/efab4565-b19d-4cb7-8e43-ab34f53be675 2025-10-13 16:48:29,354 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.605/2.780/1.174 ms') 2025-10-13 16:48:29,354 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86338679-33810054 passed 2025-10-13 16:48:29,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:48:29,502 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86338679-33810054, IP 101.145.214.195, Port 22 2025-10-13 16:48:29,658 - DEBUG - VM ctest-TestBasicPolicy-86338679-33810054 is ready for SSH connections 2025-10-13 16:48:29,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:48:29,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.145.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:48:29,658 - DEBUG - ping -s 56 -c 3 -W 1 101.145.214.195 2025-10-13 16:48:33,684 - DEBUG - PING 101.145.214.195 (101.145.214.195): 56 data bytes 64 bytes from 101.145.214.195: seq=0 ttl=63 time=4.535 ms 64 bytes from 101.145.214.195: seq=1 ttl=63 time=0.906 ms 64 bytes from 101.145.214.195: seq=2 ttl=63 time=1.423 ms --- 101.145.214.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/2.288/4.535 ms 2025-10-13 16:48:33,685 - INFO - Ping to IP 101.145.214.195 from VM ctest-TestBasicPolicy-86338679-26757161 passed 2025-10-13 16:48:33,862 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d053f206-16b7-4009-a9e8-b2650d82e648", "href": "http://10.0.0.33:8082/network-policy/d053f206-16b7-4009-a9e8-b2650d82e648"}} 2025-10-13 16:48:33,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:48:33,862 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 101.145.214.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-13 16:48:33,862 - DEBUG - ping -s 56 -c 3 -W 1 101.145.214.195 2025-10-13 16:48:37,068 - DEBUG - PING 101.145.214.195 (101.145.214.195): 56 data bytes --- 101.145.214.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:48:37,068 - WARNING - Ping to IP 101.145.214.195 from VM ctest-TestBasicPolicy-86338679-26757161 failed 2025-10-13 16:48:37,068 - INFO - Deleting VM ctest-TestBasicPolicy-86338679-33810054 2025-10-13 16:48:37,137 - INFO - Deleting VM ctest-TestBasicPolicy-86338679-26757161 2025-10-13 16:48:37,515 - INFO - Deleted policy ctest-policy-allow-all-66992335 2025-10-13 16:48:37,515 - INFO - Deleting VN ctest-vn-92929255 2025-10-13 16:48:37,553 - DEBUG - VN 0ff14f67-a905-436f-a082-776cb88db61d still in use: Unable to complete operation on network 0ff14f67-a905-436f-a082-776cb88db61d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-db4a94b4-6611-4efb-abe1-8d6acfc564e2'] 2025-10-13 16:48:37,553 - WARNING - Deleting VN ctest-vn-92929255 failed..Will retry 2025-10-13 16:48:39,661 - DEBUG - Response for deleting network () 2025-10-13 16:48:39,661 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/93f80615-1fb2-44b5-8ecb-89f5259d44af 2025-10-13 16:48:39,668 - DEBUG - Response Code: 404 2025-10-13 16:48:39,668 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:39,673 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:39,727 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:39,807 - INFO - Validated that VN ctest-vn-92929255 is not found in API Server 2025-10-13 16:48:39,815 - DEBUG - VN ctest-vn-92929255 is not present in Agent 10.0.0.33 2025-10-13 16:48:39,815 - INFO - Validated that VN ctest-vn-92929255 is not in any agent 2025-10-13 16:48:39,829 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92929255 info 2025-10-13 16:48:39,829 - INFO - Deleting VN ctest-vn-76880390 2025-10-13 16:48:39,938 - DEBUG - Response for deleting network () 2025-10-13 16:48:39,938 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9929486d-6e6b-4d05-bd7a-a151c4737220 2025-10-13 16:48:39,947 - DEBUG - Response Code: 404 2025-10-13 16:48:39,947 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-13 16:48:39,952 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2eae9391-2170-4f7a-9596-b0a6120e63e2 2025-10-13 16:48:40,002 - DEBUG - Requesting: http://10.0.0.33:8082/project/8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec 2025-10-13 16:48:40,069 - INFO - Validated that VN ctest-vn-76880390 is not found in API Server 2025-10-13 16:48:40,078 - DEBUG - VN ctest-vn-76880390 is not present in Agent 10.0.0.33 2025-10-13 16:48:40,078 - INFO - Validated that VN ctest-vn-76880390 is not in any agent 2025-10-13 16:48:40,090 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76880390 info 2025-10-13 16:48:40,345 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:48:40,345 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-13 16:48:40,345 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:48:41,000 - INFO - Deleted project: ctest-TestBasicPolicy-86338679, ID : 8a1d6bb3-97fc-42f5-bab4-d76f378ab6ec