2025-08-11 16:48:02,695 - INFO - Domain Default found not creating 2025-08-11 16:48:02,813 - INFO - Project ctest-TestBasicPolicy-38106665 not found, creating it 2025-08-11 16:48:03,307 - INFO - Created Project:ctest-TestBasicPolicy-38106665, ID : 6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:04,603 - INFO - ================================================================================ 2025-08-11 16:48:04,603 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-11 16:48:04,603 - 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-11 16:48:04,865 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-08-11 16:48:04,865 - INFO - Initial checks done. Running the testcase now 2025-08-11 16:48:04,865 - INFO - 2025-08-11 16:48:05,388 - DEBUG - Response for create_network : {'network': {'id': '81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c', 'name': 'ctest-vn-61460065', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'project_id': '6246efc27b8d48e48bb57a27667e1a8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-vn-61460065'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:48:05,592 - DEBUG - Response for create_subnet : {'subnet': {'id': '974626d2-685b-4859-8ab7-c2ca8986a83b', 'name': '', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'network_id': '81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c', 'ip_version': 4, 'cidr': '196.9.254.192/26', 'allocation_pools': [{'start': '196.9.254.194', 'end': '196.9.254.254'}], 'gateway_ip': '196.9.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.9.254.194', 'tags': [], 'project_id': '6246efc27b8d48e48bb57a27667e1a8f'}} 2025-08-11 16:48:05,607 - INFO - Created VN ctest-vn-61460065 2025-08-11 16:48:05,663 - DEBUG - VN ctest-vn-61460065 UUID is 81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:05,970 - DEBUG - Response for create_network : {'network': {'id': '5f23f31c-0d99-46b5-890d-33a5d4838959', 'name': 'ctest-vn-56045290', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'project_id': '6246efc27b8d48e48bb57a27667e1a8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-vn-56045290'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:48:06,143 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9f38864-cab8-4078-a09b-a6a4e492fc7a', 'name': '', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'network_id': '5f23f31c-0d99-46b5-890d-33a5d4838959', 'ip_version': 4, 'cidr': '16.6.235.0/26', 'allocation_pools': [{'start': '16.6.235.2', 'end': '16.6.235.62'}], 'gateway_ip': '16.6.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.6.235.2', 'tags': [], 'project_id': '6246efc27b8d48e48bb57a27667e1a8f'}} 2025-08-11 16:48:06,158 - INFO - Created VN ctest-vn-56045290 2025-08-11 16:48:06,211 - DEBUG - VN ctest-vn-56045290 UUID is 5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:06,363 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065, 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-38106665:ctest-vn-56045290, 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-11 16:48:06,650 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c', 'name': 'ctest-vn-61460065', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'project_id': '6246efc27b8d48e48bb57a27667e1a8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['974626d2-685b-4859-8ab7-c2ca8986a83b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-vn-61460065'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-policy-allow-all-14093164']], 'subnet_ipam': [{'subnet_cidr': '196.9.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:48:06,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5f23f31c-0d99-46b5-890d-33a5d4838959', 'name': 'ctest-vn-56045290', 'tenant_id': '6246efc27b8d48e48bb57a27667e1a8f', 'project_id': '6246efc27b8d48e48bb57a27667e1a8f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b9f38864-cab8-4078-a09b-a6a4e492fc7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-vn-56045290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-policy-allow-all-14093164']], 'subnet_ipam': [{'subnet_cidr': '16.6.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-11 16:48:07,043 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:07,334 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:07,363 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:07,375 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:07,445 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,455 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,464 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:07,470 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:07,476 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d6ec8fa5-61fc-48e9-a2a5-8bf98331bab7 2025-08-11 16:48:07,481 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 16:48:07,481 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,489 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:07,501 - INFO - Verified VN network id 11 for VN 81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,502 - INFO - Verifications in API Server for VN ctest-vn-61460065 passed 2025-08-11 16:48:07,502 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,510 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:07,516 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:07,522 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d6ec8fa5-61fc-48e9-a2a5-8bf98331bab7 2025-08-11 16:48:07,532 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38106665', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9356782001579050772', 'uuid-lslong': '11237769066502870684'}, 'enable': 'true', 'created': '2025-08-11T16:48:05', 'last-modified': '2025-08-11T16:48:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.904737'} 2025-08-11 16:48:07,538 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 16:48:07,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-61460065 passed 2025-08-11 16:48:07,538 - DEBUG - ====Verifying policy data for ctest-vn-61460065 in API_Server ====== 2025-08-11 16:48:07,538 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:07,543 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:07,553 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:07,620 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/81d9f7a7-f4e3-4714-9bf4-936cfcc6d69c 2025-08-11 16:48:07,629 - DEBUG - ==>Verifying data for policy with id: 5bb587a8-37b1-4698-a7dc-f091c601c65f, fqn: ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-policy-allow-all-14093164'] 2025-08-11 16:48:07,629 - INFO - VN ctest-vn-61460065 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 16:48:07,629 - DEBUG - Verifying the vn in opserver 2025-08-11 16:48:07,629 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065 virtual network link through opserver 10.0.0.22 2025-08-11 16:48:07,630 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:48:07,916 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:48:07,964 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065?flat'} 2025-08-11 16:48:07,964 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065 is found in opserver 2025-08-11 16:48:07,974 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 16:48:07,978 - DEBUG - VRF ids for VN ctest-vn-61460065: {} 2025-08-11 16:48:07,978 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:07,983 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:07,993 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:08,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,067 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,076 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:08,082 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:08,088 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ec00488d-c244-442f-9262-4c4945dfcdc6 2025-08-11 16:48:08,094 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 16:48:08,094 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,102 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:08,114 - INFO - Verified VN network id 12 for VN 5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,114 - INFO - Verifications in API Server for VN ctest-vn-56045290 passed 2025-08-11 16:48:08,114 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,123 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:08,129 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:08,134 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ec00488d-c244-442f-9262-4c4945dfcdc6 2025-08-11 16:48:08,144 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-56045290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38106665', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6855590359600809653', 'uuid-lslong': '9875606345221376345'}, 'enable': 'true', 'created': '2025-08-11T16:48:05', 'last-modified': '2025-08-11T16:48:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.291185'} 2025-08-11 16:48:08,150 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-11 16:48:08,150 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56045290 passed 2025-08-11 16:48:08,150 - DEBUG - ====Verifying policy data for ctest-vn-56045290 in API_Server ====== 2025-08-11 16:48:08,150 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:08,154 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:08,164 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:08,233 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5f23f31c-0d99-46b5-890d-33a5d4838959 2025-08-11 16:48:08,242 - DEBUG - ==>Verifying data for policy with id: 5bb587a8-37b1-4698-a7dc-f091c601c65f, fqn: ['default-domain', 'ctest-TestBasicPolicy-38106665', 'ctest-policy-allow-all-14093164'] 2025-08-11 16:48:08,242 - INFO - VN ctest-vn-56045290 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-11 16:48:08,242 - DEBUG - Verifying the vn in opserver 2025-08-11 16:48:08,242 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-56045290 virtual network link through opserver 10.0.0.22 2025-08-11 16:48:08,242 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-08-11 16:48:08,251 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-56045290', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-56045290?flat'} 2025-08-11 16:48:08,251 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-56045290 is found in opserver 2025-08-11 16:48:08,260 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 16:48:08,264 - DEBUG - VRF ids for VN ctest-vn-56045290: {} 2025-08-11 16:48:08,311 - DEBUG - Services list from nova: [, , ] 2025-08-11 16:48:09,258 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1) 2025-08-11 16:48:10,292 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3817-1) 2025-08-11 16:48:10,293 - INFO - Waiting for VM ctest-TestBasicPolicy-38106665-61637104 to be up.. 2025-08-11 16:48:10,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 16:48:15,427 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:48:15,427 - INFO - VM name : ctest-TestBasicPolicy-38106665-61637104 2025-08-11 16:48:15,496 - DEBUG - VM ctest-TestBasicPolicy-38106665-61637104 ID is cc659e74-977b-41fe-a102-a54ec7843528 2025-08-11 16:48:15,513 - DEBUG - VM ctest-TestBasicPolicy-38106665-61637104 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1 2025-08-11 16:48:15,578 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/cc659e74-977b-41fe-a102-a54ec7843528 2025-08-11 16:48:15,588 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/59bc5209-5b32-40cf-b409-52077996c159 2025-08-11 16:48:18,851 - 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 1028ms') 2025-08-11 16:48:18,851 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38106665-61637104 failed! 2025-08-11 16:48:18,903 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-38106665:ctest-vn-61460065 is 196.9.254.193 and allocation pool is NOT set 2025-08-11 16:48:20,960 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.627/2.824/1.196 ms') 2025-08-11 16:48:20,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-38106665-61637104 passed 2025-08-11 16:48:21,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:48:21,111 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38106665-61637104, IP 196.9.254.195, Port 22 2025-08-11 16:48:21,262 - DEBUG - VM ctest-TestBasicPolicy-38106665-61637104 is ready for SSH connections 2025-08-11 16:48:21,263 - INFO - Waiting for VM ctest-TestBasicPolicy-38106665-85063553 to be up.. 2025-08-11 16:48:21,328 - DEBUG - VM is in ACTIVE state now 2025-08-11 16:48:21,328 - INFO - VM name : ctest-TestBasicPolicy-38106665-85063553 2025-08-11 16:48:21,390 - DEBUG - VM ctest-TestBasicPolicy-38106665-85063553 ID is 3622c3db-b69d-4533-bd8e-2e5857331a3b 2025-08-11 16:48:21,391 - DEBUG - VM ctest-TestBasicPolicy-38106665-85063553 launched on Node cn-jenkins-deploy-platform-ansible-os-3817-1 2025-08-11 16:48:21,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/3622c3db-b69d-4533-bd8e-2e5857331a3b 2025-08-11 16:48:21,461 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/594f1407-b442-4e3f-9160-1a07859e1e8d 2025-08-11 16:48:22,694 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.788 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.788/2.192/3.597/1.404 ms') 2025-08-11 16:48:22,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-38106665-85063553 passed 2025-08-11 16:48:22,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:48:22,843 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-38106665-85063553, IP 16.6.235.3, Port 22 2025-08-11 16:48:22,994 - DEBUG - VM ctest-TestBasicPolicy-38106665-85063553 is ready for SSH connections 2025-08-11 16:48:22,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:48:22,994 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.6.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:48:22,994 - DEBUG - ping -s 56 -c 3 -W 1 16.6.235.3 2025-08-11 16:48:26,667 - DEBUG - PING 16.6.235.3 (16.6.235.3): 56 data bytes 64 bytes from 16.6.235.3: seq=0 ttl=63 time=2.968 ms 64 bytes from 16.6.235.3: seq=1 ttl=63 time=0.663 ms 64 bytes from 16.6.235.3: seq=2 ttl=63 time=0.703 ms --- 16.6.235.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.663/1.444/2.968 ms 2025-08-11 16:48:26,667 - INFO - Ping to IP 16.6.235.3 from VM ctest-TestBasicPolicy-38106665-61637104 passed 2025-08-11 16:48:26,847 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5bb587a8-37b1-4698-a7dc-f091c601c65f", "href": "http://10.0.0.22:8082/network-policy/5bb587a8-37b1-4698-a7dc-f091c601c65f"}} 2025-08-11 16:48:26,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 16:48:26,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.6.235.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-11 16:48:26,847 - DEBUG - ping -s 56 -c 3 -W 1 16.6.235.3 2025-08-11 16:48:30,038 - DEBUG - PING 16.6.235.3 (16.6.235.3): 56 data bytes 64 bytes from 16.6.235.3: seq=0 ttl=63 time=1.144 ms --- 16.6.235.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.144/1.144/1.144 ms 2025-08-11 16:48:30,038 - WARNING - Ping to IP 16.6.235.3 from VM ctest-TestBasicPolicy-38106665-61637104 failed 2025-08-11 16:48:30,038 - INFO - Deleting VM ctest-TestBasicPolicy-38106665-85063553 2025-08-11 16:48:30,096 - INFO - Deleting VM ctest-TestBasicPolicy-38106665-61637104 2025-08-11 16:48:30,595 - INFO - Deleted policy ctest-policy-allow-all-14093164 2025-08-11 16:48:30,595 - INFO - Deleting VN ctest-vn-56045290 2025-08-11 16:48:30,656 - DEBUG - VN 5f23f31c-0d99-46b5-890d-33a5d4838959 still in use: Unable to complete operation on network 5f23f31c-0d99-46b5-890d-33a5d4838959. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16f14b2b-7f88-4b94-abf6-69218ded3fc2'] 2025-08-11 16:48:30,656 - WARNING - Deleting VN ctest-vn-56045290 failed..Will retry 2025-08-11 16:48:32,767 - DEBUG - Response for deleting network () 2025-08-11 16:48:32,768 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8be845ae-9d7d-4a5b-bca5-326a9c358d4c 2025-08-11 16:48:32,774 - DEBUG - Response Code: 404 2025-08-11 16:48:32,774 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:32,779 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:32,833 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:32,908 - INFO - Validated that VN ctest-vn-56045290 is not found in API Server 2025-08-11 16:48:32,919 - DEBUG - VN ctest-vn-56045290 is not present in Agent 10.0.0.22 2025-08-11 16:48:32,919 - INFO - Validated that VN ctest-vn-56045290 is not in any agent 2025-08-11 16:48:32,933 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56045290 info 2025-08-11 16:48:32,933 - INFO - Deleting VN ctest-vn-61460065 2025-08-11 16:48:33,022 - DEBUG - Response for deleting network () 2025-08-11 16:48:33,022 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/4badb920-556c-41de-9c1b-2feb3732aea1 2025-08-11 16:48:33,029 - DEBUG - Response Code: 404 2025-08-11 16:48:33,029 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-08-11 16:48:33,034 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cccc9324-b118-457c-9075-f4ad0c706549 2025-08-11 16:48:33,088 - DEBUG - Requesting: http://10.0.0.22:8082/project/6246efc2-7b8d-48e4-8bb5-7a27667e1a8f 2025-08-11 16:48:33,155 - INFO - Validated that VN ctest-vn-61460065 is not found in API Server 2025-08-11 16:48:33,165 - DEBUG - VN ctest-vn-61460065 is not present in Agent 10.0.0.22 2025-08-11 16:48:33,165 - INFO - Validated that VN ctest-vn-61460065 is not in any agent 2025-08-11 16:48:33,180 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-61460065 info 2025-08-11 16:48:33,439 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 16:48:33,440 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-08-11 16:48:33,440 - INFO - -------------------------------------------------------------------------------- 2025-08-11 16:48:34,079 - INFO - Deleted project: ctest-TestBasicPolicy-38106665, ID : 6246efc2-7b8d-48e4-8bb5-7a27667e1a8f