2025-11-13 16:29:35,469 - INFO - Domain Default found not creating 2025-11-13 16:29:35,630 - INFO - Project ctest-TestBasicPolicy-07531386 not found, creating it 2025-11-13 16:29:36,113 - INFO - Created Project:ctest-TestBasicPolicy-07531386, ID : fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:29:37,719 - INFO - ================================================================================ 2025-11-13 16:29:37,719 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-13 16:29:37,719 - 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-11-13 16:29:37,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-13 16:29:37,978 - INFO - Initial checks done. Running the testcase now 2025-11-13 16:29:37,978 - INFO - 2025-11-13 16:29:38,549 - DEBUG - Response for create_network : {'network': {'id': '3d15772e-0aa2-43da-a84a-1628a5d70e63', 'name': 'ctest-vn-49365158', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-vn-49365158'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 16:29:38,716 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0cb0050-d48e-4e70-b6a7-01f82bb9477a', 'name': '', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'network_id': '3d15772e-0aa2-43da-a84a-1628a5d70e63', 'ip_version': 4, 'cidr': '109.233.0.64/26', 'allocation_pools': [{'start': '109.233.0.66', 'end': '109.233.0.126'}], 'gateway_ip': '109.233.0.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.233.0.66', 'tags': [], 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241'}} 2025-11-13 16:29:38,734 - INFO - Created VN ctest-vn-49365158 2025-11-13 16:29:38,787 - DEBUG - VN ctest-vn-49365158 UUID is 3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:39,138 - DEBUG - Response for create_network : {'network': {'id': '85973c6e-0eee-445e-92c4-089ae872510f', 'name': 'ctest-vn-03233260', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-vn-03233260'], 'port_security_enabled': True, 'description': ''}} 2025-11-13 16:29:39,363 - DEBUG - Response for create_subnet : {'subnet': {'id': '637e6737-d29e-4fa0-b349-520aa46a1f68', 'name': '', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'network_id': '85973c6e-0eee-445e-92c4-089ae872510f', 'ip_version': 4, 'cidr': '213.253.114.0/26', 'allocation_pools': [{'start': '213.253.114.2', 'end': '213.253.114.62'}], 'gateway_ip': '213.253.114.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.253.114.2', 'tags': [], 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241'}} 2025-11-13 16:29:39,384 - INFO - Created VN ctest-vn-03233260 2025-11-13 16:29:39,440 - DEBUG - VN ctest-vn-03233260 UUID is 85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:39,565 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158, 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-07531386:ctest-vn-03233260, 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-11-13 16:29:39,890 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d15772e-0aa2-43da-a84a-1628a5d70e63', 'name': 'ctest-vn-49365158', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a0cb0050-d48e-4e70-b6a7-01f82bb9477a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-vn-49365158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-policy-allow-all-01742141']], 'subnet_ipam': [{'subnet_cidr': '109.233.0.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 16:29:40,137 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '85973c6e-0eee-445e-92c4-089ae872510f', 'name': 'ctest-vn-03233260', 'tenant_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'project_id': 'fdf8b9e5e73b4201893d2d1da8bb2241', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['637e6737-d29e-4fa0-b349-520aa46a1f68'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-vn-03233260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-policy-allow-all-01742141']], 'subnet_ipam': [{'subnet_cidr': '213.253.114.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-13 16:29:40,300 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:29:40,689 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:29:40,714 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:29:40,730 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:29:40,806 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:40,817 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:40,826 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:29:40,834 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:29:40,841 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fbbc8bd1-db91-4d62-857c-4a67d21395a7 2025-11-13 16:29:40,849 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 16:29:40,849 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:40,859 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:29:40,874 - INFO - Verified VN network id 10 for VN 3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:40,874 - INFO - Verifications in API Server for VN ctest-vn-49365158 passed 2025-11-13 16:29:40,874 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:40,884 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:29:40,892 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:29:40,900 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fbbc8bd1-db91-4d62-857c-4a67d21395a7 2025-11-13 16:29:40,914 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07531386', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4401555250455135194', 'uuid-lslong': '12126529310485319267'}, 'enable': 'true', 'created': '2025-11-13T16:29:38', 'last-modified': '2025-11-13T16:29:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.051696'} 2025-11-13 16:29:40,920 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-13 16:29:40,920 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49365158 passed 2025-11-13 16:29:40,920 - DEBUG - ====Verifying policy data for ctest-vn-49365158 in API_Server ====== 2025-11-13 16:29:40,921 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:29:40,926 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:29:40,939 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:29:41,017 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d15772e-0aa2-43da-a84a-1628a5d70e63 2025-11-13 16:29:41,026 - DEBUG - ==>Verifying data for policy with id: 6d8beb57-91c4-434e-97ac-f1fc1f85c3e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-policy-allow-all-01742141'] 2025-11-13 16:29:41,027 - INFO - VN ctest-vn-49365158 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 16:29:41,027 - DEBUG - Verifying the vn in opserver 2025-11-13 16:29:41,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158 virtual network link through opserver 10.0.0.22 2025-11-13 16:29:41,027 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 16:29:41,347 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 16:29:41,396 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158?flat'} 2025-11-13 16:29:41,396 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158 is found in opserver 2025-11-13 16:29:41,408 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 16:29:41,414 - DEBUG - VRF ids for VN ctest-vn-49365158: {} 2025-11-13 16:29:41,414 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:29:41,421 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:29:41,434 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:29:41,509 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,523 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,535 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:29:41,544 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:29:41,553 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6edf8b71-c461-42aa-90e8-2542aee1e83d 2025-11-13 16:29:41,561 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 16:29:41,561 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,571 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:29:41,590 - INFO - Verified VN network id 11 for VN 85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,590 - INFO - Verifications in API Server for VN ctest-vn-03233260 passed 2025-11-13 16:29:41,590 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,600 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:29:41,608 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:29:41,615 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6edf8b71-c461-42aa-90e8-2542aee1e83d 2025-11-13 16:29:41,630 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-03233260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-07531386', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9626229171922289758', 'uuid-lslong': '10575587286390558991'}, 'enable': 'true', 'created': '2025-11-13T16:29:39', 'last-modified': '2025-11-13T16:29:40', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.519720'} 2025-11-13 16:29:41,637 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-13 16:29:41,637 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03233260 passed 2025-11-13 16:29:41,637 - DEBUG - ====Verifying policy data for ctest-vn-03233260 in API_Server ====== 2025-11-13 16:29:41,637 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:29:41,643 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:29:41,654 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:29:41,728 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/85973c6e-0eee-445e-92c4-089ae872510f 2025-11-13 16:29:41,737 - DEBUG - ==>Verifying data for policy with id: 6d8beb57-91c4-434e-97ac-f1fc1f85c3e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-07531386', 'ctest-policy-allow-all-01742141'] 2025-11-13 16:29:41,737 - INFO - VN ctest-vn-03233260 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-13 16:29:41,737 - DEBUG - Verifying the vn in opserver 2025-11-13 16:29:41,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-03233260 virtual network link through opserver 10.0.0.22 2025-11-13 16:29:41,737 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-13 16:29:41,748 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-03233260', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-03233260?flat'} 2025-11-13 16:29:41,748 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-03233260 is found in opserver 2025-11-13 16:29:41,758 - DEBUG - Do not have enough data to verify VN in agent 2025-11-13 16:29:41,762 - DEBUG - VRF ids for VN ctest-vn-03233260: {} 2025-11-13 16:29:41,819 - DEBUG - Services list from nova: [, , ] 2025-11-13 16:29:43,089 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4724-1) 2025-11-13 16:29:44,342 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4724-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4724-1) 2025-11-13 16:29:44,342 - INFO - Waiting for VM ctest-TestBasicPolicy-07531386-47354853 to be up.. 2025-11-13 16:29:44,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-13 16:29:49,517 - DEBUG - VM is in ACTIVE state now 2025-11-13 16:29:49,517 - INFO - VM name : ctest-TestBasicPolicy-07531386-47354853 2025-11-13 16:29:49,602 - DEBUG - VM ctest-TestBasicPolicy-07531386-47354853 ID is 4d065465-05cf-47a7-ab2f-0114c57285c1 2025-11-13 16:29:49,627 - DEBUG - VM ctest-TestBasicPolicy-07531386-47354853 launched on Node cn-jenkins-deploy-platform-ansible-os-4724-1 2025-11-13 16:29:49,724 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4d065465-05cf-47a7-ab2f-0114c57285c1 2025-11-13 16:29:49,732 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4e250f74-a27c-4ecd-bae4-c57c6856efeb 2025-11-13 16:29:53,001 - 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-11-13 16:29:53,001 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07531386-47354853 failed! 2025-11-13 16:29:53,067 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-07531386:ctest-vn-49365158 is 109.233.0.65 and allocation pool is NOT set 2025-11-13 16:29:55,125 - 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.41 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.808 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.808/2.106/3.405/1.298 ms') 2025-11-13 16:29:55,125 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-07531386-47354853 passed 2025-11-13 16:29:55,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 16:29:55,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07531386-47354853, IP 109.233.0.67, Port 22 2025-11-13 16:29:55,453 - DEBUG - VM ctest-TestBasicPolicy-07531386-47354853 is ready for SSH connections 2025-11-13 16:29:55,453 - INFO - Waiting for VM ctest-TestBasicPolicy-07531386-63355992 to be up.. 2025-11-13 16:29:55,538 - DEBUG - VM is in ACTIVE state now 2025-11-13 16:29:55,538 - INFO - VM name : ctest-TestBasicPolicy-07531386-63355992 2025-11-13 16:29:55,628 - DEBUG - VM ctest-TestBasicPolicy-07531386-63355992 ID is 5207c319-12b6-474c-a06c-cc731b31b238 2025-11-13 16:29:55,628 - DEBUG - VM ctest-TestBasicPolicy-07531386-63355992 launched on Node cn-jenkins-deploy-platform-ansible-os-4724-1 2025-11-13 16:29:55,727 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5207c319-12b6-474c-a06c-cc731b31b238 2025-11-13 16:29:55,738 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/43edc8ba-4baf-4f42-ad06-0606323cc648 2025-11-13 16:29:56,999 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.531 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.531/2.508/4.485/1.977 ms') 2025-11-13 16:29:56,999 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-07531386-63355992 passed 2025-11-13 16:29:57,155 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 16:29:57,156 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-07531386-63355992, IP 213.253.114.3, Port 22 2025-11-13 16:29:57,330 - DEBUG - VM ctest-TestBasicPolicy-07531386-63355992 is ready for SSH connections 2025-11-13 16:29:57,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 16:29:57,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.253.114.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 16:29:57,331 - DEBUG - ping -s 56 -c 3 -W 1 213.253.114.3 2025-11-13 16:30:01,437 - DEBUG - PING 213.253.114.3 (213.253.114.3): 56 data bytes 64 bytes from 213.253.114.3: seq=0 ttl=63 time=4.174 ms 64 bytes from 213.253.114.3: seq=1 ttl=63 time=1.100 ms 64 bytes from 213.253.114.3: seq=2 ttl=63 time=1.153 ms --- 213.253.114.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.100/2.142/4.174 ms 2025-11-13 16:30:01,437 - INFO - Ping to IP 213.253.114.3 from VM ctest-TestBasicPolicy-07531386-47354853 passed 2025-11-13 16:30:01,635 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6d8beb57-91c4-434e-97ac-f1fc1f85c3e0", "href": "http://10.0.0.22:8082/network-policy/6d8beb57-91c4-434e-97ac-f1fc1f85c3e0"}} 2025-11-13 16:30:01,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-13 16:30:01,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.253.114.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-13 16:30:01,636 - DEBUG - ping -s 56 -c 3 -W 1 213.253.114.3 2025-11-13 16:30:04,760 - DEBUG - PING 213.253.114.3 (213.253.114.3): 56 data bytes --- 213.253.114.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-13 16:30:04,760 - WARNING - Ping to IP 213.253.114.3 from VM ctest-TestBasicPolicy-07531386-47354853 failed 2025-11-13 16:30:04,761 - INFO - Deleting VM ctest-TestBasicPolicy-07531386-63355992 2025-11-13 16:30:04,867 - INFO - Deleting VM ctest-TestBasicPolicy-07531386-47354853 2025-11-13 16:30:05,295 - INFO - Deleted policy ctest-policy-allow-all-01742141 2025-11-13 16:30:05,296 - INFO - Deleting VN ctest-vn-03233260 2025-11-13 16:30:05,345 - DEBUG - VN 85973c6e-0eee-445e-92c4-089ae872510f still in use: Unable to complete operation on network 85973c6e-0eee-445e-92c4-089ae872510f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91c9b9a2-4f94-4712-a1c6-052aaaaca55c'] 2025-11-13 16:30:05,345 - WARNING - Deleting VN ctest-vn-03233260 failed..Will retry 2025-11-13 16:30:07,452 - DEBUG - Response for deleting network () 2025-11-13 16:30:07,452 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/989bd279-20b8-4cca-a81a-89d31feed535 2025-11-13 16:30:07,462 - DEBUG - Response Code: 404 2025-11-13 16:30:07,462 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:30:07,468 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:30:07,522 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:30:07,596 - INFO - Validated that VN ctest-vn-03233260 is not found in API Server 2025-11-13 16:30:07,606 - DEBUG - VN ctest-vn-03233260 is not present in Agent 10.0.0.22 2025-11-13 16:30:07,606 - INFO - Validated that VN ctest-vn-03233260 is not in any agent 2025-11-13 16:30:07,621 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03233260 info 2025-11-13 16:30:07,622 - INFO - Deleting VN ctest-vn-49365158 2025-11-13 16:30:07,737 - DEBUG - Response for deleting network () 2025-11-13 16:30:07,737 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/eeee1876-538b-41c7-8283-6529f10db4b5 2025-11-13 16:30:07,745 - DEBUG - Response Code: 404 2025-11-13 16:30:07,745 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-13 16:30:07,751 - DEBUG - Requesting: http://10.0.0.22:8082/domain/a9c51b54-928c-450e-9fd2-8063b35c0478 2025-11-13 16:30:07,805 - DEBUG - Requesting: http://10.0.0.22:8082/project/fdf8b9e5-e73b-4201-893d-2d1da8bb2241 2025-11-13 16:30:07,880 - INFO - Validated that VN ctest-vn-49365158 is not found in API Server 2025-11-13 16:30:07,890 - DEBUG - VN ctest-vn-49365158 is not present in Agent 10.0.0.22 2025-11-13 16:30:07,890 - INFO - Validated that VN ctest-vn-49365158 is not in any agent 2025-11-13 16:30:07,907 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49365158 info 2025-11-13 16:30:08,165 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 16:30:08,165 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31]
2025-11-13 16:30:08,166 - INFO - -------------------------------------------------------------------------------- 2025-11-13 16:30:08,896 - INFO - Deleted project: ctest-TestBasicPolicy-07531386, ID : fdf8b9e5-e73b-4201-893d-2d1da8bb2241