2025-09-18 19:32:46,412 - INFO - Domain Default found not creating 2025-09-18 19:32:46,544 - INFO - Project ctest-TestBasicPolicy-21392151 not found, creating it 2025-09-18 19:32:46,997 - INFO - Created Project:ctest-TestBasicPolicy-21392151, ID : 1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:32:48,332 - INFO - ================================================================================ 2025-09-18 19:32:48,332 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-18 19:32:48,332 - 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-09-18 19:32:48,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-09-18 19:32:48,585 - INFO - Initial checks done. Running the testcase now 2025-09-18 19:32:48,585 - INFO - 2025-09-18 19:32:49,085 - DEBUG - Response for create_network : {'network': {'id': 'b459c595-32b1-4e7c-b577-71c957b2f8f7', 'name': 'ctest-vn-65545697', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'project_id': '1f4b1909253348a68df74707752d62d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-vn-65545697'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:49,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '517fce38-2acc-416b-9c97-bef7fb8588c6', 'name': '', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'network_id': 'b459c595-32b1-4e7c-b577-71c957b2f8f7', 'ip_version': 4, 'cidr': '155.132.142.64/26', 'allocation_pools': [{'start': '155.132.142.66', 'end': '155.132.142.126'}], 'gateway_ip': '155.132.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.132.142.66', 'tags': [], 'project_id': '1f4b1909253348a68df74707752d62d1'}} 2025-09-18 19:32:49,323 - INFO - Created VN ctest-vn-65545697 2025-09-18 19:32:49,380 - DEBUG - VN ctest-vn-65545697 UUID is b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:49,675 - DEBUG - Response for create_network : {'network': {'id': 'cf452e24-898a-4c12-9026-27b5794b1167', 'name': 'ctest-vn-16284030', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'project_id': '1f4b1909253348a68df74707752d62d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-vn-16284030'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:49,852 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5e6318b-e8e9-478e-b1e6-66533893426e', 'name': '', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'network_id': 'cf452e24-898a-4c12-9026-27b5794b1167', 'ip_version': 4, 'cidr': '143.237.165.0/26', 'allocation_pools': [{'start': '143.237.165.2', 'end': '143.237.165.62'}], 'gateway_ip': '143.237.165.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.237.165.2', 'tags': [], 'project_id': '1f4b1909253348a68df74707752d62d1'}} 2025-09-18 19:32:49,867 - INFO - Created VN ctest-vn-16284030 2025-09-18 19:32:49,916 - DEBUG - VN ctest-vn-16284030 UUID is cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:50,060 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697, 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-21392151:ctest-vn-16284030, 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-09-18 19:32:50,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b459c595-32b1-4e7c-b577-71c957b2f8f7', 'name': 'ctest-vn-65545697', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'project_id': '1f4b1909253348a68df74707752d62d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['517fce38-2acc-416b-9c97-bef7fb8588c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-vn-65545697'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-policy-allow-all-49961299']], 'subnet_ipam': [{'subnet_cidr': '155.132.142.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:50,547 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf452e24-898a-4c12-9026-27b5794b1167', 'name': 'ctest-vn-16284030', 'tenant_id': '1f4b1909253348a68df74707752d62d1', 'project_id': '1f4b1909253348a68df74707752d62d1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5e6318b-e8e9-478e-b1e6-66533893426e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-vn-16284030'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-policy-allow-all-49961299']], 'subnet_ipam': [{'subnet_cidr': '143.237.165.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-18 19:32:50,712 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:32:50,998 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:32:51,023 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:32:51,033 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:32:51,101 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,110 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,117 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:32:51,123 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:32:51,128 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/16da976d-9430-4f13-b0d1-b0adef25913b 2025-09-18 19:32:51,132 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 19:32:51,132 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,140 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:32:51,152 - INFO - Verified VN network id 12 for VN b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,152 - INFO - Verifications in API Server for VN ctest-vn-65545697 passed 2025-09-18 19:32:51,152 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,159 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:32:51,164 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:32:51,170 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/16da976d-9430-4f13-b0d1-b0adef25913b 2025-09-18 19:32:51,179 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21392151', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12995635444345556604', 'uuid-lslong': '13076045152667236599'}, 'enable': 'true', 'created': '2025-09-18T19:32:49', 'last-modified': '2025-09-18T19:32:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.862632'} 2025-09-18 19:32:51,185 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-18 19:32:51,185 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65545697 passed 2025-09-18 19:32:51,185 - DEBUG - ====Verifying policy data for ctest-vn-65545697 in API_Server ====== 2025-09-18 19:32:51,185 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:32:51,190 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:32:51,198 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:32:51,263 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/b459c595-32b1-4e7c-b577-71c957b2f8f7 2025-09-18 19:32:51,271 - DEBUG - ==>Verifying data for policy with id: d0ff21bd-5134-4b84-bbd6-27371a479aaa, fqn: ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-policy-allow-all-49961299'] 2025-09-18 19:32:51,271 - INFO - VN ctest-vn-65545697 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 19:32:51,271 - DEBUG - Verifying the vn in opserver 2025-09-18 19:32:51,271 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697 virtual network link through opserver 10.0.0.254 2025-09-18 19:32:51,271 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 19:32:51,560 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 19:32:51,608 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697?flat'} 2025-09-18 19:32:51,608 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697 is found in opserver 2025-09-18 19:32:51,616 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 19:32:51,620 - DEBUG - VRF ids for VN ctest-vn-65545697: {} 2025-09-18 19:32:51,620 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:32:51,624 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:32:51,635 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:32:51,698 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,707 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,714 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:32:51,720 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:32:51,725 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0b769785-9c03-4075-bf40-96a52a1b7ab9 2025-09-18 19:32:51,731 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 19:32:51,731 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,738 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:32:51,748 - INFO - Verified VN network id 13 for VN cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,748 - INFO - Verifications in API Server for VN ctest-vn-16284030 passed 2025-09-18 19:32:51,748 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,755 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:32:51,760 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:32:51,765 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0b769785-9c03-4075-bf40-96a52a1b7ab9 2025-09-18 19:32:51,773 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-16284030', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21392151', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14935394473705360402', 'uuid-lslong': '10387033250954154343'}, 'enable': 'true', 'created': '2025-09-18T19:32:49', 'last-modified': '2025-09-18T19:32:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.247163'} 2025-09-18 19:32:51,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-18 19:32:51,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16284030 passed 2025-09-18 19:32:51,779 - DEBUG - ====Verifying policy data for ctest-vn-16284030 in API_Server ====== 2025-09-18 19:32:51,779 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:32:51,784 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:32:51,793 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:32:51,859 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/cf452e24-898a-4c12-9026-27b5794b1167 2025-09-18 19:32:51,867 - DEBUG - ==>Verifying data for policy with id: d0ff21bd-5134-4b84-bbd6-27371a479aaa, fqn: ['default-domain', 'ctest-TestBasicPolicy-21392151', 'ctest-policy-allow-all-49961299'] 2025-09-18 19:32:51,867 - INFO - VN ctest-vn-16284030 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-18 19:32:51,867 - DEBUG - Verifying the vn in opserver 2025-09-18 19:32:51,867 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-16284030 virtual network link through opserver 10.0.0.254 2025-09-18 19:32:51,867 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-09-18 19:32:51,875 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-16284030', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-16284030?flat'} 2025-09-18 19:32:51,875 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-16284030 is found in opserver 2025-09-18 19:32:51,882 - DEBUG - Do not have enough data to verify VN in agent 2025-09-18 19:32:51,886 - DEBUG - VRF ids for VN ctest-vn-16284030: {} 2025-09-18 19:32:51,934 - DEBUG - Services list from nova: [, , ] 2025-09-18 19:32:52,895 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:32:53,973 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4141-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4141-1) 2025-09-18 19:32:53,973 - INFO - Waiting for VM ctest-TestBasicPolicy-21392151-01233914 to be up.. 2025-09-18 19:32:54,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 19:32:59,113 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:32:59,113 - INFO - VM name : ctest-TestBasicPolicy-21392151-01233914 2025-09-18 19:32:59,187 - DEBUG - VM ctest-TestBasicPolicy-21392151-01233914 ID is 56a43d96-4424-40e1-b4fc-3b1bf5b0d4b8 2025-09-18 19:32:59,205 - DEBUG - VM ctest-TestBasicPolicy-21392151-01233914 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:32:59,273 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/56a43d96-4424-40e1-b4fc-3b1bf5b0d4b8 2025-09-18 19:32:59,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ae0eb4e7-7ade-46bb-8cf1-aa9ed1b4a827 2025-09-18 19:33:02,509 - 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 1004ms') 2025-09-18 19:33:02,510 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21392151-01233914 failed! 2025-09-18 19:33:02,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21392151:ctest-vn-65545697 is 155.132.142.65 and allocation pool is NOT set 2025-09-18 19:33:04,621 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.802 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.802/1.754/2.706/0.952 ms') 2025-09-18 19:33:04,621 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21392151-01233914 passed 2025-09-18 19:33:04,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:33:04,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21392151-01233914, IP 155.132.142.67, Port 22 2025-09-18 19:33:04,924 - DEBUG - VM ctest-TestBasicPolicy-21392151-01233914 is ready for SSH connections 2025-09-18 19:33:04,924 - INFO - Waiting for VM ctest-TestBasicPolicy-21392151-88432014 to be up.. 2025-09-18 19:33:05,000 - DEBUG - VM is in ACTIVE state now 2025-09-18 19:33:05,000 - INFO - VM name : ctest-TestBasicPolicy-21392151-88432014 2025-09-18 19:33:05,064 - DEBUG - VM ctest-TestBasicPolicy-21392151-88432014 ID is 7150bcf8-c8bc-4457-b034-af841383a7b5 2025-09-18 19:33:05,064 - DEBUG - VM ctest-TestBasicPolicy-21392151-88432014 launched on Node cn-jenkins-deploy-platform-ansible-os-4141-1 2025-09-18 19:33:05,128 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7150bcf8-c8bc-4457-b034-af841383a7b5 2025-09-18 19:33:05,135 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/09cfdf8a-f5a6-4ed4-9b92-8dca9a21b80b 2025-09-18 19:33:06,375 - 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.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.78 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 = 1.777/3.161/4.546/1.384 ms') 2025-09-18 19:33:06,375 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21392151-88432014 passed 2025-09-18 19:33:06,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:33:06,520 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21392151-88432014, IP 143.237.165.3, Port 22 2025-09-18 19:33:06,671 - DEBUG - VM ctest-TestBasicPolicy-21392151-88432014 is ready for SSH connections 2025-09-18 19:33:06,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:33:06,672 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.237.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 19:33:06,672 - DEBUG - ping -s 56 -c 3 -W 1 143.237.165.3 2025-09-18 19:33:10,361 - DEBUG - PING 143.237.165.3 (143.237.165.3): 56 data bytes 64 bytes from 143.237.165.3: seq=0 ttl=63 time=3.194 ms 64 bytes from 143.237.165.3: seq=1 ttl=63 time=0.895 ms 64 bytes from 143.237.165.3: seq=2 ttl=63 time=0.798 ms --- 143.237.165.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.629/3.194 ms 2025-09-18 19:33:10,361 - INFO - Ping to IP 143.237.165.3 from VM ctest-TestBasicPolicy-21392151-01233914 passed 2025-09-18 19:33:10,532 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d0ff21bd-5134-4b84-bbd6-27371a479aaa", "href": "http://10.0.0.254:8082/network-policy/d0ff21bd-5134-4b84-bbd6-27371a479aaa"}} 2025-09-18 19:33:10,532 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 19:33:10,533 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.237.165.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 19:33:10,533 - DEBUG - ping -s 56 -c 3 -W 1 143.237.165.3 2025-09-18 19:33:13,734 - DEBUG - PING 143.237.165.3 (143.237.165.3): 56 data bytes 64 bytes from 143.237.165.3: seq=0 ttl=63 time=1.487 ms --- 143.237.165.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.487/1.487/1.487 ms 2025-09-18 19:33:13,734 - WARNING - Ping to IP 143.237.165.3 from VM ctest-TestBasicPolicy-21392151-01233914 failed 2025-09-18 19:33:13,734 - INFO - Deleting VM ctest-TestBasicPolicy-21392151-88432014 2025-09-18 19:33:13,794 - INFO - Deleting VM ctest-TestBasicPolicy-21392151-01233914 2025-09-18 19:33:14,114 - INFO - Deleted policy ctest-policy-allow-all-49961299 2025-09-18 19:33:14,114 - INFO - Deleting VN ctest-vn-16284030 2025-09-18 19:33:14,156 - DEBUG - VN cf452e24-898a-4c12-9026-27b5794b1167 still in use: Unable to complete operation on network cf452e24-898a-4c12-9026-27b5794b1167. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c9aed41c-1bac-4d9f-b584-8e81ec54e105'] 2025-09-18 19:33:14,156 - WARNING - Deleting VN ctest-vn-16284030 failed..Will retry 2025-09-18 19:33:16,244 - DEBUG - Response for deleting network () 2025-09-18 19:33:16,244 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/890e57d3-4f55-4f3c-a791-2a88e23c2f00 2025-09-18 19:33:16,248 - DEBUG - Response Code: 404 2025-09-18 19:33:16,248 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:33:16,251 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:33:16,302 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:33:16,370 - INFO - Validated that VN ctest-vn-16284030 is not found in API Server 2025-09-18 19:33:16,377 - DEBUG - VN ctest-vn-16284030 is not present in Agent 10.0.0.254 2025-09-18 19:33:16,377 - INFO - Validated that VN ctest-vn-16284030 is not in any agent 2025-09-18 19:33:16,388 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16284030 info 2025-09-18 19:33:16,388 - INFO - Deleting VN ctest-vn-65545697 2025-09-18 19:33:16,472 - DEBUG - Response for deleting network () 2025-09-18 19:33:16,472 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ca6d3fc7-761c-416b-a74f-da7f9de9cd22 2025-09-18 19:33:16,476 - DEBUG - Response Code: 404 2025-09-18 19:33:16,477 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-09-18 19:33:16,481 - DEBUG - Requesting: http://10.0.0.254:8082/domain/b2e4eef2-234a-403e-874f-6574d1def19b 2025-09-18 19:33:16,537 - DEBUG - Requesting: http://10.0.0.254:8082/project/1f4b1909-2533-48a6-8df7-4707752d62d1 2025-09-18 19:33:16,603 - INFO - Validated that VN ctest-vn-65545697 is not found in API Server 2025-09-18 19:33:16,611 - DEBUG - VN ctest-vn-65545697 is not present in Agent 10.0.0.254 2025-09-18 19:33:16,611 - INFO - Validated that VN ctest-vn-65545697 is not in any agent 2025-09-18 19:33:16,623 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65545697 info 2025-09-18 19:33:16,877 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 19:33:16,877 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28]
2025-09-18 19:33:16,877 - INFO - -------------------------------------------------------------------------------- 2025-09-18 19:33:17,517 - INFO - Deleted project: ctest-TestBasicPolicy-21392151, ID : 1f4b1909-2533-48a6-8df7-4707752d62d1