2025-08-18 19:23:30,172 - INFO - Domain Default found not creating 2025-08-18 19:23:30,290 - INFO - Project ctest-TestBasicPolicy-10027119 not found, creating it 2025-08-18 19:23:30,723 - INFO - Created Project:ctest-TestBasicPolicy-10027119, ID : 53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:23:32,043 - INFO - ================================================================================ 2025-08-18 19:23:32,043 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-18 19:23:32,043 - 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-08-18 19:23:32,295 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.0.0.254': '0'}} with 2025-08-18 19:23:32,295 - INFO - Initial checks done. Running the testcase now 2025-08-18 19:23:32,295 - INFO - 2025-08-18 19:23:32,809 - DEBUG - Response for create_network : {'network': {'id': 'd31441e3-cee7-4a24-82b3-f7e0019133df', 'name': 'ctest-vn-32158521', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'project_id': '53ceb2acea1943b2b4c9395becc356ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-vn-32158521'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:23:33,022 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b27e61a6-ad5f-4bae-8de1-b5c1e4484c73', 'name': '', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'network_id': 'd31441e3-cee7-4a24-82b3-f7e0019133df', 'ip_version': 4, 'cidr': '87.99.181.192/26', 'allocation_pools': [{'start': '87.99.181.194', 'end': '87.99.181.254'}], 'gateway_ip': '87.99.181.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.99.181.194', 'tags': [], 'project_id': '53ceb2acea1943b2b4c9395becc356ca'}} 2025-08-18 19:23:33,038 - INFO - Created VN ctest-vn-32158521 2025-08-18 19:23:33,095 - DEBUG - VN ctest-vn-32158521 UUID is d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:33,416 - DEBUG - Response for create_network : {'network': {'id': '852936d2-4fab-48d8-a846-cea78273fe52', 'name': 'ctest-vn-16454005', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'project_id': '53ceb2acea1943b2b4c9395becc356ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-vn-16454005'], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:23:33,622 - DEBUG - Response for create_subnet : {'subnet': {'id': '2833e85f-ce6c-420b-8169-7fb483487978', 'name': '', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'network_id': '852936d2-4fab-48d8-a846-cea78273fe52', 'ip_version': 4, 'cidr': '50.110.86.128/26', 'allocation_pools': [{'start': '50.110.86.130', 'end': '50.110.86.190'}], 'gateway_ip': '50.110.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.110.86.130', 'tags': [], 'project_id': '53ceb2acea1943b2b4c9395becc356ca'}} 2025-08-18 19:23:33,640 - INFO - Created VN ctest-vn-16454005 2025-08-18 19:23:33,695 - DEBUG - VN ctest-vn-16454005 UUID is 852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:33,843 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521, 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-10027119:ctest-vn-16454005, 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-08-18 19:23:34,134 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd31441e3-cee7-4a24-82b3-f7e0019133df', 'name': 'ctest-vn-32158521', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'project_id': '53ceb2acea1943b2b4c9395becc356ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b27e61a6-ad5f-4bae-8de1-b5c1e4484c73'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-vn-32158521'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-policy-allow-all-08425164']], 'subnet_ipam': [{'subnet_cidr': '87.99.181.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:23:34,353 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '852936d2-4fab-48d8-a846-cea78273fe52', 'name': 'ctest-vn-16454005', 'tenant_id': '53ceb2acea1943b2b4c9395becc356ca', 'project_id': '53ceb2acea1943b2b4c9395becc356ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2833e85f-ce6c-420b-8169-7fb483487978'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-vn-16454005'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-policy-allow-all-08425164']], 'subnet_ipam': [{'subnet_cidr': '50.110.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-18 19:23:34,495 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:23:34,788 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:23:34,813 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:23:34,824 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:23:34,891 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:34,900 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:34,909 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:23:34,916 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:23:34,922 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dffc3d05-fa29-4180-84be-e70a3a96d331 2025-08-18 19:23:34,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 19:23:34,928 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:34,935 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:23:34,947 - INFO - Verified VN network id 12 for VN d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:34,947 - INFO - Verifications in API Server for VN ctest-vn-32158521 passed 2025-08-18 19:23:34,947 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:34,955 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:23:34,961 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:23:34,966 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/dffc3d05-fa29-4180-84be-e70a3a96d331 2025-08-18 19:23:34,975 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10027119', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15209854288221653540', 'uuid-lslong': '9418143787232867295'}, 'enable': 'true', 'created': '2025-08-18T19:23:32', 'last-modified': '2025-08-18T19:23:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.859500'} 2025-08-18 19:23:34,981 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-18 19:23:34,981 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32158521 passed 2025-08-18 19:23:34,981 - DEBUG - ====Verifying policy data for ctest-vn-32158521 in API_Server ====== 2025-08-18 19:23:34,981 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:23:34,985 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:23:34,995 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:23:35,066 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/d31441e3-cee7-4a24-82b3-f7e0019133df 2025-08-18 19:23:35,074 - DEBUG - ==>Verifying data for policy with id: 28bf73d7-b6a5-41af-b3f1-920a1249c3dc, fqn: ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-policy-allow-all-08425164'] 2025-08-18 19:23:35,074 - INFO - VN ctest-vn-32158521 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 19:23:35,074 - DEBUG - Verifying the vn in opserver 2025-08-18 19:23:35,074 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521 virtual network link through opserver 10.0.0.254 2025-08-18 19:23:35,074 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 19:23:35,361 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 19:23:35,409 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521?flat'} 2025-08-18 19:23:35,409 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521 is found in opserver 2025-08-18 19:23:35,418 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 19:23:35,422 - DEBUG - VRF ids for VN ctest-vn-32158521: {} 2025-08-18 19:23:35,422 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:23:35,427 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:23:35,437 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:23:35,504 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,514 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,521 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:23:35,527 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:23:35,532 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c4749c6b-fb8d-4b79-8d91-9db4550c4d09 2025-08-18 19:23:35,537 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 19:23:35,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,544 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:23:35,554 - INFO - Verified VN network id 13 for VN 852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,554 - INFO - Verifications in API Server for VN ctest-vn-16454005 passed 2025-08-18 19:23:35,554 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,562 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:23:35,566 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:23:35,571 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/c4749c6b-fb8d-4b79-8d91-9db4550c4d09 2025-08-18 19:23:35,580 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-16454005', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-10027119', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9595260757997209816', 'uuid-lslong': '12125606265585139282'}, 'enable': 'true', 'created': '2025-08-18T19:23:33', 'last-modified': '2025-08-18T19:23:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.248726'} 2025-08-18 19:23:35,586 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-18 19:23:35,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16454005 passed 2025-08-18 19:23:35,586 - DEBUG - ====Verifying policy data for ctest-vn-16454005 in API_Server ====== 2025-08-18 19:23:35,586 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:23:35,590 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:23:35,599 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:23:35,674 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/852936d2-4fab-48d8-a846-cea78273fe52 2025-08-18 19:23:35,681 - DEBUG - ==>Verifying data for policy with id: 28bf73d7-b6a5-41af-b3f1-920a1249c3dc, fqn: ['default-domain', 'ctest-TestBasicPolicy-10027119', 'ctest-policy-allow-all-08425164'] 2025-08-18 19:23:35,681 - INFO - VN ctest-vn-16454005 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-18 19:23:35,682 - DEBUG - Verifying the vn in opserver 2025-08-18 19:23:35,682 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-16454005 virtual network link through opserver 10.0.0.254 2025-08-18 19:23:35,682 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-18 19:23:35,690 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-16454005', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-16454005?flat'} 2025-08-18 19:23:35,690 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-16454005 is found in opserver 2025-08-18 19:23:35,699 - DEBUG - Do not have enough data to verify VN in agent 2025-08-18 19:23:35,703 - DEBUG - VRF ids for VN ctest-vn-16454005: {} 2025-08-18 19:23:35,753 - DEBUG - Services list from nova: [, , ] 2025-08-18 19:23:36,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:23:37,739 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3880-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3880-1) 2025-08-18 19:23:37,739 - INFO - Waiting for VM ctest-TestBasicPolicy-10027119-45841038 to be up.. 2025-08-18 19:23:37,809 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-18 19:23:42,877 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:23:42,877 - INFO - VM name : ctest-TestBasicPolicy-10027119-45841038 2025-08-18 19:23:42,944 - DEBUG - VM ctest-TestBasicPolicy-10027119-45841038 ID is 073bf068-96d9-4d4d-9d9d-e63acd546d89 2025-08-18 19:23:42,960 - DEBUG - VM ctest-TestBasicPolicy-10027119-45841038 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:23:43,022 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/073bf068-96d9-4d4d-9d9d-e63acd546d89 2025-08-18 19:23:43,030 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/84a40c94-b1ca-42e4-9dea-f81b07e51b20 2025-08-18 19:23:46,273 - 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 1008ms') 2025-08-18 19:23:46,273 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10027119-45841038 failed! 2025-08-18 19:23:46,331 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-10027119:ctest-vn-32158521 is 87.99.181.193 and allocation pool is NOT set 2025-08-18 19:23:48,390 - 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=2.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.385 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.385/1.623/2.862/1.238 ms') 2025-08-18 19:23:48,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-10027119-45841038 passed 2025-08-18 19:23:48,567 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:48,567 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10027119-45841038, IP 87.99.181.195, Port 22 2025-08-18 19:23:48,718 - DEBUG - VM ctest-TestBasicPolicy-10027119-45841038 is ready for SSH connections 2025-08-18 19:23:48,718 - INFO - Waiting for VM ctest-TestBasicPolicy-10027119-10258127 to be up.. 2025-08-18 19:23:48,785 - DEBUG - VM is in ACTIVE state now 2025-08-18 19:23:48,785 - INFO - VM name : ctest-TestBasicPolicy-10027119-10258127 2025-08-18 19:23:48,852 - DEBUG - VM ctest-TestBasicPolicy-10027119-10258127 ID is 7948668b-a471-49fe-88d4-d56befecaa46 2025-08-18 19:23:48,852 - DEBUG - VM ctest-TestBasicPolicy-10027119-10258127 launched on Node cn-jenkins-deploy-platform-ansible-os-3880-1. 2025-08-18 19:23:48,917 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7948668b-a471-49fe-88d4-d56befecaa46 2025-08-18 19:23:48,924 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5ebdd02c-3b7f-4945-8f9e-98851e858497 2025-08-18 19:23:50,151 - 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.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.297 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.297/1.468/2.639/1.171 ms') 2025-08-18 19:23:50,152 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-10027119-10258127 passed 2025-08-18 19:23:50,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:50,303 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-10027119-10258127, IP 50.110.86.131, Port 22 2025-08-18 19:23:50,454 - DEBUG - VM ctest-TestBasicPolicy-10027119-10258127 is ready for SSH connections 2025-08-18 19:23:50,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:50,454 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.110.86.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:23:50,454 - DEBUG - ping -s 56 -c 3 -W 1 50.110.86.131 2025-08-18 19:23:54,131 - DEBUG - PING 50.110.86.131 (50.110.86.131): 56 data bytes 64 bytes from 50.110.86.131: seq=0 ttl=63 time=3.257 ms 64 bytes from 50.110.86.131: seq=1 ttl=63 time=0.769 ms 64 bytes from 50.110.86.131: seq=2 ttl=63 time=0.671 ms --- 50.110.86.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.671/1.565/3.257 ms 2025-08-18 19:23:54,131 - INFO - Ping to IP 50.110.86.131 from VM ctest-TestBasicPolicy-10027119-45841038 passed 2025-08-18 19:23:54,306 - DEBUG - Policy Update Response {"network-policy": {"uuid": "28bf73d7-b6a5-41af-b3f1-920a1249c3dc", "href": "http://10.0.0.254:8082/network-policy/28bf73d7-b6a5-41af-b3f1-920a1249c3dc"}} 2025-08-18 19:23:54,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-18 19:23:54,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.110.86.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-18 19:23:54,307 - DEBUG - ping -s 56 -c 3 -W 1 50.110.86.131 2025-08-18 19:23:57,492 - DEBUG - PING 50.110.86.131 (50.110.86.131): 56 data bytes 64 bytes from 50.110.86.131: seq=0 ttl=63 time=1.326 ms --- 50.110.86.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.326/1.326/1.326 ms 2025-08-18 19:23:57,493 - WARNING - Ping to IP 50.110.86.131 from VM ctest-TestBasicPolicy-10027119-45841038 failed 2025-08-18 19:23:57,493 - INFO - Deleting VM ctest-TestBasicPolicy-10027119-10258127 2025-08-18 19:23:57,553 - INFO - Deleting VM ctest-TestBasicPolicy-10027119-45841038 2025-08-18 19:23:57,890 - INFO - Deleted policy ctest-policy-allow-all-08425164 2025-08-18 19:23:57,890 - INFO - Deleting VN ctest-vn-16454005 2025-08-18 19:23:57,919 - DEBUG - VN 852936d2-4fab-48d8-a846-cea78273fe52 still in use: Unable to complete operation on network 852936d2-4fab-48d8-a846-cea78273fe52. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5380a763-4095-41de-9014-f717f1d8555b'] 2025-08-18 19:23:57,920 - WARNING - Deleting VN ctest-vn-16454005 failed..Will retry 2025-08-18 19:24:00,025 - DEBUG - Response for deleting network () 2025-08-18 19:24:00,025 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/a7a6b898-d724-4ca0-b83f-dffef4251cfe 2025-08-18 19:24:00,030 - DEBUG - Response Code: 404 2025-08-18 19:24:00,030 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:24:00,035 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:24:00,092 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:24:00,167 - INFO - Validated that VN ctest-vn-16454005 is not found in API Server 2025-08-18 19:24:00,176 - DEBUG - VN ctest-vn-16454005 is not present in Agent 10.0.0.254 2025-08-18 19:24:00,176 - INFO - Validated that VN ctest-vn-16454005 is not in any agent 2025-08-18 19:24:00,189 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16454005 info 2025-08-18 19:24:00,189 - INFO - Deleting VN ctest-vn-32158521 2025-08-18 19:24:00,279 - DEBUG - Response for deleting network () 2025-08-18 19:24:00,279 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/aacf5d10-fdbd-4c0e-8c2e-bc6308adec33 2025-08-18 19:24:00,286 - DEBUG - Response Code: 404 2025-08-18 19:24:00,286 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-18 19:24:00,291 - DEBUG - Requesting: http://10.0.0.254:8082/domain/60ef34dd-8ca9-43fd-a2c3-407354da9689 2025-08-18 19:24:00,347 - DEBUG - Requesting: http://10.0.0.254:8082/project/53ceb2ac-ea19-43b2-b4c9-395becc356ca 2025-08-18 19:24:00,418 - INFO - Validated that VN ctest-vn-32158521 is not found in API Server 2025-08-18 19:24:00,428 - DEBUG - VN ctest-vn-32158521 is not present in Agent 10.0.0.254 2025-08-18 19:24:00,428 - INFO - Validated that VN ctest-vn-32158521 is not in any agent 2025-08-18 19:24:00,441 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32158521 info 2025-08-18 19:24:00,699 - DEBUG - No XMPP flaps were noticed during the test
2025-08-18 19:24:00,700 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-08-18 19:24:00,700 - INFO - -------------------------------------------------------------------------------- 2025-08-18 19:24:01,354 - INFO - Deleted project: ctest-TestBasicPolicy-10027119, ID : 53ceb2ac-ea19-43b2-b4c9-395becc356ca