2025-09-08 15:40:26,896 - INFO - Domain Default found not creating 2025-09-08 15:40:27,035 - INFO - Project ctest-TestBasicPolicy-35537830 not found, creating it 2025-09-08 15:40:27,457 - INFO - Created Project:ctest-TestBasicPolicy-35537830, ID : 435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:28,830 - INFO - ================================================================================ 2025-09-08 15:40:28,830 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-08 15:40:28,830 - 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-08 15:40:29,082 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0'}} with 2025-09-08 15:40:29,082 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:40:29,082 - INFO - 2025-09-08 15:40:29,596 - DEBUG - Response for create_network : {'network': {'id': 'be6a02ab-b02b-41c6-83fc-e5ee4ee095ea', 'name': 'ctest-vn-15043283', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'project_id': '435b86e1fdd64384a15a54a12629f66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-vn-15043283'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:40:29,749 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b2d7084-ced7-482c-a608-d2f991e3d5bf', 'name': '', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'network_id': 'be6a02ab-b02b-41c6-83fc-e5ee4ee095ea', 'ip_version': 4, 'cidr': '198.134.79.64/26', 'allocation_pools': [{'start': '198.134.79.66', 'end': '198.134.79.126'}], 'gateway_ip': '198.134.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.134.79.66', 'tags': [], 'project_id': '435b86e1fdd64384a15a54a12629f66f'}} 2025-09-08 15:40:29,763 - INFO - Created VN ctest-vn-15043283 2025-09-08 15:40:29,814 - DEBUG - VN ctest-vn-15043283 UUID is be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:30,137 - DEBUG - Response for create_network : {'network': {'id': 'fd13ed36-73e8-4839-b80a-61e49a308da5', 'name': 'ctest-vn-94548428', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'project_id': '435b86e1fdd64384a15a54a12629f66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-vn-94548428'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:40:30,291 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c197b07-032a-4c2a-8c27-d0bd02ce618f', 'name': '', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'network_id': 'fd13ed36-73e8-4839-b80a-61e49a308da5', 'ip_version': 4, 'cidr': '87.141.183.64/26', 'allocation_pools': [{'start': '87.141.183.66', 'end': '87.141.183.126'}], 'gateway_ip': '87.141.183.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '87.141.183.66', 'tags': [], 'project_id': '435b86e1fdd64384a15a54a12629f66f'}} 2025-09-08 15:40:30,310 - INFO - Created VN ctest-vn-94548428 2025-09-08 15:40:30,362 - DEBUG - VN ctest-vn-94548428 UUID is fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:30,506 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283, 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-35537830:ctest-vn-94548428, 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-08 15:40:30,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be6a02ab-b02b-41c6-83fc-e5ee4ee095ea', 'name': 'ctest-vn-15043283', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'project_id': '435b86e1fdd64384a15a54a12629f66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7b2d7084-ced7-482c-a608-d2f991e3d5bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-vn-15043283'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-policy-allow-all-48586196']], 'subnet_ipam': [{'subnet_cidr': '198.134.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:40:31,050 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fd13ed36-73e8-4839-b80a-61e49a308da5', 'name': 'ctest-vn-94548428', 'tenant_id': '435b86e1fdd64384a15a54a12629f66f', 'project_id': '435b86e1fdd64384a15a54a12629f66f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c197b07-032a-4c2a-8c27-d0bd02ce618f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-vn-94548428'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-policy-allow-all-48586196']], 'subnet_ipam': [{'subnet_cidr': '87.141.183.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:40:31,198 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:31,491 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:31,518 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:31,529 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:31,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,609 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,618 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:31,625 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:31,631 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/afa288d7-4660-4b59-a0cb-7eb12816bd95 2025-09-08 15:40:31,636 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 15:40:31,637 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,645 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:31,657 - INFO - Verified VN network id 12 for VN be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,657 - INFO - Verifications in API Server for VN ctest-vn-15043283 passed 2025-09-08 15:40:31,657 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,665 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:31,672 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:31,679 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/afa288d7-4660-4b59-a0cb-7eb12816bd95 2025-09-08 15:40:31,690 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35537830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13720782151155925446', 'uuid-lslong': '9510729324787963370'}, 'enable': 'true', 'created': '2025-09-08T15:40:29', 'last-modified': '2025-09-08T15:40:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.921711'} 2025-09-08 15:40:31,697 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-08 15:40:31,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15043283 passed 2025-09-08 15:40:31,697 - DEBUG - ====Verifying policy data for ctest-vn-15043283 in API_Server ====== 2025-09-08 15:40:31,697 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:31,702 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:31,713 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:31,783 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/be6a02ab-b02b-41c6-83fc-e5ee4ee095ea 2025-09-08 15:40:31,791 - DEBUG - ==>Verifying data for policy with id: 74abac0d-a236-4586-be95-9406ed1f7fd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-policy-allow-all-48586196'] 2025-09-08 15:40:31,791 - INFO - VN ctest-vn-15043283 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 15:40:31,791 - DEBUG - Verifying the vn in opserver 2025-09-08 15:40:31,792 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283 virtual network link through opserver 10.0.0.22 2025-09-08 15:40:31,792 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 15:40:32,089 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 15:40:32,141 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283?flat'} 2025-09-08 15:40:32,141 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283 is found in opserver 2025-09-08 15:40:32,152 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 15:40:32,156 - DEBUG - VRF ids for VN ctest-vn-15043283: {} 2025-09-08 15:40:32,156 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:32,161 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:32,172 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:32,243 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,253 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,261 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:32,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:32,273 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/11a7bf30-df6d-4549-a70c-6a07013d1c84 2025-09-08 15:40:32,278 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 15:40:32,278 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,286 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:32,298 - INFO - Verified VN network id 13 for VN fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,298 - INFO - Verifications in API Server for VN ctest-vn-94548428 passed 2025-09-08 15:40:32,298 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,306 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:32,312 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:32,318 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/11a7bf30-df6d-4549-a70c-6a07013d1c84 2025-09-08 15:40:32,330 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-94548428', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35537830', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18236180134281889849', 'uuid-lslong': '13261519687213157797'}, 'enable': 'true', 'created': '2025-09-08T15:40:30', 'last-modified': '2025-09-08T15:40:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.344010'} 2025-09-08 15:40:32,335 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-08 15:40:32,335 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94548428 passed 2025-09-08 15:40:32,335 - DEBUG - ====Verifying policy data for ctest-vn-94548428 in API_Server ====== 2025-09-08 15:40:32,335 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:32,341 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:32,350 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:32,428 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fd13ed36-73e8-4839-b80a-61e49a308da5 2025-09-08 15:40:32,438 - DEBUG - ==>Verifying data for policy with id: 74abac0d-a236-4586-be95-9406ed1f7fd4, fqn: ['default-domain', 'ctest-TestBasicPolicy-35537830', 'ctest-policy-allow-all-48586196'] 2025-09-08 15:40:32,438 - INFO - VN ctest-vn-94548428 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-08 15:40:32,438 - DEBUG - Verifying the vn in opserver 2025-09-08 15:40:32,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-94548428 virtual network link through opserver 10.0.0.22 2025-09-08 15:40:32,438 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-08 15:40:32,448 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-94548428', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-94548428?flat'} 2025-09-08 15:40:32,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-94548428 is found in opserver 2025-09-08 15:40:32,457 - DEBUG - Do not have enough data to verify VN in agent 2025-09-08 15:40:32,461 - DEBUG - VRF ids for VN ctest-vn-94548428: {} 2025-09-08 15:40:32,511 - DEBUG - Services list from nova: [, , ] 2025-09-08 15:40:33,475 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1) 2025-09-08 15:40:34,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4053-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4053-1) 2025-09-08 15:40:34,557 - INFO - Waiting for VM ctest-TestBasicPolicy-35537830-67526445 to be up.. 2025-09-08 15:40:34,634 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 15:40:39,715 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:40:39,715 - INFO - VM name : ctest-TestBasicPolicy-35537830-67526445 2025-09-08 15:40:39,780 - DEBUG - VM ctest-TestBasicPolicy-35537830-67526445 ID is ece22b23-75cb-4390-a5f3-545f0d8f6fa6 2025-09-08 15:40:39,797 - DEBUG - VM ctest-TestBasicPolicy-35537830-67526445 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1 2025-09-08 15:40:39,866 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ece22b23-75cb-4390-a5f3-545f0d8f6fa6 2025-09-08 15:40:39,873 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/04b11160-4967-4d7b-bf13-32433d0a509f 2025-09-08 15:40:43,126 - 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 1027ms') 2025-09-08 15:40:43,126 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35537830-67526445 failed! 2025-09-08 15:40:43,178 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35537830:ctest-vn-15043283 is 198.134.79.65 and allocation pool is NOT set 2025-09-08 15:40:45,248 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.51 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 = 1.514/2.931/4.349/1.417 ms') 2025-09-08 15:40:45,248 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35537830-67526445 passed 2025-09-08 15:40:45,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:40:45,394 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35537830-67526445, IP 198.134.79.67, Port 22 2025-09-08 15:40:45,553 - DEBUG - VM ctest-TestBasicPolicy-35537830-67526445 is ready for SSH connections 2025-09-08 15:40:45,553 - INFO - Waiting for VM ctest-TestBasicPolicy-35537830-97807413 to be up.. 2025-09-08 15:40:45,620 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:40:45,620 - INFO - VM name : ctest-TestBasicPolicy-35537830-97807413 2025-09-08 15:40:45,687 - DEBUG - VM ctest-TestBasicPolicy-35537830-97807413 ID is b936223e-b74f-4ac2-abf4-7130ebb5aaff 2025-09-08 15:40:45,687 - DEBUG - VM ctest-TestBasicPolicy-35537830-97807413 launched on Node cn-jenkins-deploy-platform-ansible-os-4053-1 2025-09-08 15:40:45,755 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b936223e-b74f-4ac2-abf4-7130ebb5aaff 2025-09-08 15:40:45,763 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9195914b-1340-49ff-bd7c-361fff902b6f 2025-09-08 15:40:46,993 - 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=3.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/1.916/3.412/1.496 ms') 2025-09-08 15:40:46,993 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35537830-97807413 passed 2025-09-08 15:40:47,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:40:47,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35537830-97807413, IP 87.141.183.67, Port 22 2025-09-08 15:40:47,301 - DEBUG - VM ctest-TestBasicPolicy-35537830-97807413 is ready for SSH connections 2025-09-08 15:40:47,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:40:47,301 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.141.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:40:47,301 - DEBUG - ping -s 56 -c 3 -W 1 87.141.183.67 2025-09-08 15:40:50,998 - DEBUG - PING 87.141.183.67 (87.141.183.67): 56 data bytes 64 bytes from 87.141.183.67: seq=0 ttl=63 time=3.353 ms 64 bytes from 87.141.183.67: seq=1 ttl=63 time=1.439 ms 64 bytes from 87.141.183.67: seq=2 ttl=63 time=0.876 ms --- 87.141.183.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.889/3.353 ms 2025-09-08 15:40:50,998 - INFO - Ping to IP 87.141.183.67 from VM ctest-TestBasicPolicy-35537830-67526445 passed 2025-09-08 15:40:51,170 - DEBUG - Policy Update Response {"network-policy": {"uuid": "74abac0d-a236-4586-be95-9406ed1f7fd4", "href": "http://10.0.0.22:8082/network-policy/74abac0d-a236-4586-be95-9406ed1f7fd4"}} 2025-09-08 15:40:51,170 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:40:51,170 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 87.141.183.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-08 15:40:51,170 - DEBUG - ping -s 56 -c 3 -W 1 87.141.183.67 2025-09-08 15:40:54,371 - DEBUG - PING 87.141.183.67 (87.141.183.67): 56 data bytes --- 87.141.183.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-08 15:40:54,371 - WARNING - Ping to IP 87.141.183.67 from VM ctest-TestBasicPolicy-35537830-67526445 failed 2025-09-08 15:40:54,371 - INFO - Deleting VM ctest-TestBasicPolicy-35537830-97807413 2025-09-08 15:40:54,435 - INFO - Deleting VM ctest-TestBasicPolicy-35537830-67526445 2025-09-08 15:40:54,764 - INFO - Deleted policy ctest-policy-allow-all-48586196 2025-09-08 15:40:54,764 - INFO - Deleting VN ctest-vn-94548428 2025-09-08 15:40:54,796 - DEBUG - VN fd13ed36-73e8-4839-b80a-61e49a308da5 still in use: Unable to complete operation on network fd13ed36-73e8-4839-b80a-61e49a308da5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ada97b0a-0e01-4031-8ec2-44bb2107e696'] 2025-09-08 15:40:54,797 - WARNING - Deleting VN ctest-vn-94548428 failed..Will retry 2025-09-08 15:40:56,891 - DEBUG - Response for deleting network () 2025-09-08 15:40:56,892 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/498c0499-0c70-4a1e-91cb-9eb0274ecca3 2025-09-08 15:40:56,899 - DEBUG - Response Code: 404 2025-09-08 15:40:56,899 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:56,904 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:56,967 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:57,035 - INFO - Validated that VN ctest-vn-94548428 is not found in API Server 2025-09-08 15:40:57,043 - DEBUG - VN ctest-vn-94548428 is not present in Agent 10.0.0.22 2025-09-08 15:40:57,043 - INFO - Validated that VN ctest-vn-94548428 is not in any agent 2025-09-08 15:40:57,057 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94548428 info 2025-09-08 15:40:57,057 - INFO - Deleting VN ctest-vn-15043283 2025-09-08 15:40:57,159 - DEBUG - Response for deleting network () 2025-09-08 15:40:57,159 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/deafa4e6-0581-4bae-9b15-b17b603c1142 2025-09-08 15:40:57,165 - DEBUG - Response Code: 404 2025-09-08 15:40:57,165 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-08 15:40:57,171 - DEBUG - Requesting: http://10.0.0.22:8082/domain/65144227-5bef-4bc6-9fbb-39dd2a7958cb 2025-09-08 15:40:57,227 - DEBUG - Requesting: http://10.0.0.22:8082/project/435b86e1-fdd6-4384-a15a-54a12629f66f 2025-09-08 15:40:57,300 - INFO - Validated that VN ctest-vn-15043283 is not found in API Server 2025-09-08 15:40:57,308 - DEBUG - VN ctest-vn-15043283 is not present in Agent 10.0.0.22 2025-09-08 15:40:57,308 - INFO - Validated that VN ctest-vn-15043283 is not in any agent 2025-09-08 15:40:57,320 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-15043283 info 2025-09-08 15:40:57,593 - DEBUG - No XMPP flaps were noticed during the test
2025-09-08 15:40:57,593 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-09-08 15:40:57,593 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:40:58,238 - INFO - Deleted project: ctest-TestBasicPolicy-35537830, ID : 435b86e1-fdd6-4384-a15a-54a12629f66f