2025-10-09 02:01:09,464 - INFO - Domain Default found not creating 2025-10-09 02:01:09,605 - INFO - Project ctest-TestBasicPolicy-43072674 not found, creating it 2025-10-09 02:01:10,051 - INFO - Created Project:ctest-TestBasicPolicy-43072674, ID : d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:11,428 - INFO - ================================================================================ 2025-10-09 02:01:11,428 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 02:01:11,429 - 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-09 02:01:11,681 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-09 02:01:11,682 - INFO - Initial checks done. Running the testcase now 2025-10-09 02:01:11,682 - INFO - 2025-10-09 02:01:12,209 - DEBUG - Response for create_network : {'network': {'id': '33541016-251a-49a6-aacc-4112e8ef6a6b', 'name': 'ctest-vn-66045075', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-vn-66045075'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:12,373 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a11de3d8-9d5b-48c0-916e-0dd8f055dd6e', 'name': '', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'network_id': '33541016-251a-49a6-aacc-4112e8ef6a6b', 'ip_version': 4, 'cidr': '201.110.184.128/26', 'allocation_pools': [{'start': '201.110.184.130', 'end': '201.110.184.190'}], 'gateway_ip': '201.110.184.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.110.184.130', 'tags': [], 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b'}} 2025-10-09 02:01:12,388 - INFO - Created VN ctest-vn-66045075 2025-10-09 02:01:12,441 - DEBUG - VN ctest-vn-66045075 UUID is 33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:12,746 - DEBUG - Response for create_network : {'network': {'id': 'ec51b8b1-1aba-4c95-a2fa-2d62f7106462', 'name': 'ctest-vn-37522398', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-vn-37522398'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:12,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a640f082-b032-4932-901f-e4eb071251ff', 'name': '', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'network_id': 'ec51b8b1-1aba-4c95-a2fa-2d62f7106462', 'ip_version': 4, 'cidr': '84.146.253.0/26', 'allocation_pools': [{'start': '84.146.253.2', 'end': '84.146.253.62'}], 'gateway_ip': '84.146.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.146.253.2', 'tags': [], 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b'}} 2025-10-09 02:01:12,916 - INFO - Created VN ctest-vn-37522398 2025-10-09 02:01:12,968 - DEBUG - VN ctest-vn-37522398 UUID is ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:13,116 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075, 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-43072674:ctest-vn-37522398, 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-09 02:01:13,420 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '33541016-251a-49a6-aacc-4112e8ef6a6b', 'name': 'ctest-vn-66045075', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a11de3d8-9d5b-48c0-916e-0dd8f055dd6e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-vn-66045075'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-policy-allow-all-25857067']], 'subnet_ipam': [{'subnet_cidr': '201.110.184.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:13,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ec51b8b1-1aba-4c95-a2fa-2d62f7106462', 'name': 'ctest-vn-37522398', 'tenant_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'project_id': 'd4a48ad95fe4455dad8b21b00ca1ad0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a640f082-b032-4932-901f-e4eb071251ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-vn-37522398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-policy-allow-all-25857067']], 'subnet_ipam': [{'subnet_cidr': '84.146.253.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 02:01:13,813 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:14,105 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:14,134 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:14,145 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:14,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,241 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,249 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:14,255 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:14,260 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/46038c06-acda-4499-813e-7233e97677cf 2025-10-09 02:01:14,265 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 02:01:14,265 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,273 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:14,285 - INFO - Verified VN network id 12 for VN 33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,285 - INFO - Verifications in API Server for VN ctest-vn-66045075 passed 2025-10-09 02:01:14,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,293 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:14,298 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:14,304 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/46038c06-acda-4499-813e-7233e97677cf 2025-10-09 02:01:14,314 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43072674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3698598881275824550', 'uuid-lslong': '12307283431169944171'}, 'enable': 'true', 'created': '2025-10-09T02:01:12', 'last-modified': '2025-10-09T02:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921918'} 2025-10-09 02:01:14,319 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 02:01:14,319 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66045075 passed 2025-10-09 02:01:14,319 - DEBUG - ====Verifying policy data for ctest-vn-66045075 in API_Server ====== 2025-10-09 02:01:14,319 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:14,324 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:14,334 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:14,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/33541016-251a-49a6-aacc-4112e8ef6a6b 2025-10-09 02:01:14,409 - DEBUG - ==>Verifying data for policy with id: a0d95f19-a4ed-4132-a06b-a6e5b8f5f0be, fqn: ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-policy-allow-all-25857067'] 2025-10-09 02:01:14,409 - INFO - VN ctest-vn-66045075 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 02:01:14,409 - DEBUG - Verifying the vn in opserver 2025-10-09 02:01:14,410 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075 virtual network link through opserver 10.0.0.254 2025-10-09 02:01:14,410 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 02:01:14,707 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 02:01:14,757 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075?flat'} 2025-10-09 02:01:14,757 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075 is found in opserver 2025-10-09 02:01:14,766 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 02:01:14,769 - DEBUG - VRF ids for VN ctest-vn-66045075: {} 2025-10-09 02:01:14,769 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:14,774 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:14,783 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:14,850 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:14,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:14,867 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:14,873 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:14,878 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/654f5214-13eb-4c2c-bfda-c4542b9e15d0 2025-10-09 02:01:14,884 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 02:01:14,884 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:14,891 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:14,902 - INFO - Verified VN network id 13 for VN ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:14,904 - INFO - Verifications in API Server for VN ctest-vn-37522398 passed 2025-10-09 02:01:14,904 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:14,911 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:14,916 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:14,922 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/654f5214-13eb-4c2c-bfda-c4542b9e15d0 2025-10-09 02:01:14,931 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-37522398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43072674', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17028594736861695125', 'uuid-lslong': '11743748881397081186'}, 'enable': 'true', 'created': '2025-10-09T02:01:12', 'last-modified': '2025-10-09T02:01:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308101'} 2025-10-09 02:01:14,936 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 02:01:14,936 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37522398 passed 2025-10-09 02:01:14,936 - DEBUG - ====Verifying policy data for ctest-vn-37522398 in API_Server ====== 2025-10-09 02:01:14,936 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:14,941 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:14,950 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:15,021 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/ec51b8b1-1aba-4c95-a2fa-2d62f7106462 2025-10-09 02:01:15,029 - DEBUG - ==>Verifying data for policy with id: a0d95f19-a4ed-4132-a06b-a6e5b8f5f0be, fqn: ['default-domain', 'ctest-TestBasicPolicy-43072674', 'ctest-policy-allow-all-25857067'] 2025-10-09 02:01:15,029 - INFO - VN ctest-vn-37522398 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 02:01:15,029 - DEBUG - Verifying the vn in opserver 2025-10-09 02:01:15,029 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-37522398 virtual network link through opserver 10.0.0.254 2025-10-09 02:01:15,029 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-09 02:01:15,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-37522398', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-37522398?flat'} 2025-10-09 02:01:15,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-37522398 is found in opserver 2025-10-09 02:01:15,047 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 02:01:15,051 - DEBUG - VRF ids for VN ctest-vn-37522398: {} 2025-10-09 02:01:15,106 - DEBUG - Services list from nova: [, , ] 2025-10-09 02:01:16,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 02:01:17,185 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4249-1) 2025-10-09 02:01:17,185 - INFO - Waiting for VM ctest-TestBasicPolicy-43072674-34782950 to be up.. 2025-10-09 02:01:17,271 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 02:01:22,344 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:01:22,344 - INFO - VM name : ctest-TestBasicPolicy-43072674-34782950 2025-10-09 02:01:22,409 - DEBUG - VM ctest-TestBasicPolicy-43072674-34782950 ID is 8d935728-6f45-4eeb-a6e8-49a0643aa569 2025-10-09 02:01:22,426 - DEBUG - VM ctest-TestBasicPolicy-43072674-34782950 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 02:01:22,496 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/8d935728-6f45-4eeb-a6e8-49a0643aa569 2025-10-09 02:01:22,503 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/7370d29f-dd8f-43d2-8a1a-6bdc73e230d2 2025-10-09 02:01:25,760 - 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 1023ms') 2025-10-09 02:01:25,760 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43072674-34782950 failed! 2025-10-09 02:01:25,817 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-43072674:ctest-vn-66045075 is 201.110.184.129 and allocation pool is NOT set 2025-10-09 02:01:27,882 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.393 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.393/1.936/3.479/1.543 ms') 2025-10-09 02:01:27,882 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-43072674-34782950 passed 2025-10-09 02:01:28,029 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:28,029 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43072674-34782950, IP 201.110.184.131, Port 22 2025-10-09 02:01:28,192 - DEBUG - VM ctest-TestBasicPolicy-43072674-34782950 is ready for SSH connections 2025-10-09 02:01:28,192 - INFO - Waiting for VM ctest-TestBasicPolicy-43072674-12652437 to be up.. 2025-10-09 02:01:28,262 - DEBUG - VM is in ACTIVE state now 2025-10-09 02:01:28,262 - INFO - VM name : ctest-TestBasicPolicy-43072674-12652437 2025-10-09 02:01:28,334 - DEBUG - VM ctest-TestBasicPolicy-43072674-12652437 ID is 23aea3a7-9dc7-4367-9b3e-3a1c77fe3005 2025-10-09 02:01:28,334 - DEBUG - VM ctest-TestBasicPolicy-43072674-12652437 launched on Node cn-jenkins-deploy-platform-ansible-os-4249-1 2025-10-09 02:01:28,408 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/23aea3a7-9dc7-4367-9b3e-3a1c77fe3005 2025-10-09 02:01:28,416 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/38a80e48-fa8b-442b-a891-c8cd14ccb0f2 2025-10-09 02:01:29,654 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.594 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.594/1.609/2.624/1.015 ms') 2025-10-09 02:01:29,654 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-43072674-12652437 passed 2025-10-09 02:01:29,801 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:29,801 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-43072674-12652437, IP 84.146.253.3, Port 22 2025-10-09 02:01:29,960 - DEBUG - VM ctest-TestBasicPolicy-43072674-12652437 is ready for SSH connections 2025-10-09 02:01:29,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:29,961 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.146.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 02:01:29,961 - DEBUG - ping -s 56 -c 3 -W 1 84.146.253.3 2025-10-09 02:01:33,655 - DEBUG - PING 84.146.253.3 (84.146.253.3): 56 data bytes 64 bytes from 84.146.253.3: seq=0 ttl=63 time=3.438 ms 64 bytes from 84.146.253.3: seq=1 ttl=63 time=0.808 ms 64 bytes from 84.146.253.3: seq=2 ttl=63 time=0.887 ms --- 84.146.253.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/1.711/3.438 ms 2025-10-09 02:01:33,655 - INFO - Ping to IP 84.146.253.3 from VM ctest-TestBasicPolicy-43072674-34782950 passed 2025-10-09 02:01:33,836 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a0d95f19-a4ed-4132-a06b-a6e5b8f5f0be", "href": "http://10.0.0.254:8082/network-policy/a0d95f19-a4ed-4132-a06b-a6e5b8f5f0be"}} 2025-10-09 02:01:33,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 02:01:33,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.146.253.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-09 02:01:33,837 - DEBUG - ping -s 56 -c 3 -W 1 84.146.253.3 2025-10-09 02:01:37,038 - DEBUG - PING 84.146.253.3 (84.146.253.3): 56 data bytes --- 84.146.253.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 02:01:37,038 - WARNING - Ping to IP 84.146.253.3 from VM ctest-TestBasicPolicy-43072674-34782950 failed 2025-10-09 02:01:37,038 - INFO - Deleting VM ctest-TestBasicPolicy-43072674-12652437 2025-10-09 02:01:37,109 - INFO - Deleting VM ctest-TestBasicPolicy-43072674-34782950 2025-10-09 02:01:37,443 - INFO - Deleted policy ctest-policy-allow-all-25857067 2025-10-09 02:01:37,443 - INFO - Deleting VN ctest-vn-37522398 2025-10-09 02:01:37,478 - DEBUG - VN ec51b8b1-1aba-4c95-a2fa-2d62f7106462 still in use: Unable to complete operation on network ec51b8b1-1aba-4c95-a2fa-2d62f7106462. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6ac7ce43-ee2c-44b2-b641-848b95ce2f65'] 2025-10-09 02:01:37,478 - WARNING - Deleting VN ctest-vn-37522398 failed..Will retry 2025-10-09 02:01:39,575 - DEBUG - Response for deleting network () 2025-10-09 02:01:39,575 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/28c5c557-750c-4a67-bc3a-841f45aa1818 2025-10-09 02:01:39,581 - DEBUG - Response Code: 404 2025-10-09 02:01:39,582 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:39,587 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:39,638 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:39,705 - INFO - Validated that VN ctest-vn-37522398 is not found in API Server 2025-10-09 02:01:39,713 - DEBUG - VN ctest-vn-37522398 is not present in Agent 10.0.0.254 2025-10-09 02:01:39,713 - INFO - Validated that VN ctest-vn-37522398 is not in any agent 2025-10-09 02:01:39,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37522398 info 2025-10-09 02:01:39,725 - INFO - Deleting VN ctest-vn-66045075 2025-10-09 02:01:39,818 - DEBUG - Response for deleting network () 2025-10-09 02:01:39,818 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aafe62cb-8b0a-4826-a490-548625e02b46 2025-10-09 02:01:39,825 - DEBUG - Response Code: 404 2025-10-09 02:01:39,825 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-09 02:01:39,829 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c7d4dfeb-000f-44f4-8347-1b379acf7cb7 2025-10-09 02:01:39,882 - DEBUG - Requesting: http://10.0.0.254:8082/project/d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b 2025-10-09 02:01:39,954 - INFO - Validated that VN ctest-vn-66045075 is not found in API Server 2025-10-09 02:01:39,963 - DEBUG - VN ctest-vn-66045075 is not present in Agent 10.0.0.254 2025-10-09 02:01:39,963 - INFO - Validated that VN ctest-vn-66045075 is not in any agent 2025-10-09 02:01:39,975 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66045075 info 2025-10-09 02:01:40,229 - DEBUG - No XMPP flaps were noticed during the test
2025-10-09 02:01:40,229 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-09 02:01:40,229 - INFO - -------------------------------------------------------------------------------- 2025-10-09 02:01:40,883 - INFO - Deleted project: ctest-TestBasicPolicy-43072674, ID : d4a48ad9-5fe4-455d-ad8b-21b00ca1ad0b