2025-10-23 23:45:04,030 - INFO - Domain Default found not creating 2025-10-23 23:45:04,421 - INFO - Project ctest-TestBasicPolicy-74660269 not found, creating it 2025-10-23 23:45:05,127 - INFO - Created Project:ctest-TestBasicPolicy-74660269, ID : a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:07,090 - INFO - ================================================================================ 2025-10-23 23:45:07,090 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 23:45:07,091 - 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-10-23 23:45:07,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-23 23:45:07,430 - INFO - Initial checks done. Running the testcase now 2025-10-23 23:45:07,431 - INFO - 2025-10-23 23:45:08,305 - DEBUG - Response for create_network : {'network': {'id': '797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c', 'name': 'ctest-vn-94451488', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'project_id': 'a639c91537d742b59c944413e44e3e2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-vn-94451488'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:45:08,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '719cf5e2-be5b-400e-a04a-06dd991f4db9', 'name': '', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'network_id': '797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c', 'ip_version': 4, 'cidr': '117.44.231.192/26', 'allocation_pools': [{'start': '117.44.231.194', 'end': '117.44.231.254'}], 'gateway_ip': '117.44.231.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.44.231.194', 'tags': [], 'project_id': 'a639c91537d742b59c944413e44e3e2f'}} 2025-10-23 23:45:08,651 - INFO - Created VN ctest-vn-94451488 2025-10-23 23:45:08,708 - DEBUG - VN ctest-vn-94451488 UUID is 797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:09,217 - DEBUG - Response for create_network : {'network': {'id': '03f25ff2-a671-4bc2-8e30-46f4cfb1710c', 'name': 'ctest-vn-69289507', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'project_id': 'a639c91537d742b59c944413e44e3e2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-vn-69289507'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:45:09,436 - DEBUG - Response for create_subnet : {'subnet': {'id': '3913caf5-e16f-4fb8-98b0-89b590f9ad54', 'name': '', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'network_id': '03f25ff2-a671-4bc2-8e30-46f4cfb1710c', 'ip_version': 4, 'cidr': '97.149.220.192/26', 'allocation_pools': [{'start': '97.149.220.194', 'end': '97.149.220.254'}], 'gateway_ip': '97.149.220.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.149.220.194', 'tags': [], 'project_id': 'a639c91537d742b59c944413e44e3e2f'}} 2025-10-23 23:45:09,455 - INFO - Created VN ctest-vn-69289507 2025-10-23 23:45:09,511 - DEBUG - VN ctest-vn-69289507 UUID is 03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:09,691 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488, 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-74660269:ctest-vn-69289507, 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-10-23 23:45:10,054 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c', 'name': 'ctest-vn-94451488', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'project_id': 'a639c91537d742b59c944413e44e3e2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['719cf5e2-be5b-400e-a04a-06dd991f4db9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-vn-94451488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-policy-allow-all-72408484']], 'subnet_ipam': [{'subnet_cidr': '117.44.231.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:45:10,350 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '03f25ff2-a671-4bc2-8e30-46f4cfb1710c', 'name': 'ctest-vn-69289507', 'tenant_id': 'a639c91537d742b59c944413e44e3e2f', 'project_id': 'a639c91537d742b59c944413e44e3e2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3913caf5-e16f-4fb8-98b0-89b590f9ad54'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-vn-69289507'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-policy-allow-all-72408484']], 'subnet_ipam': [{'subnet_cidr': '97.149.220.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 23:45:10,515 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:10,885 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:10,929 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:10,956 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:11,081 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,118 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,148 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:11,171 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:11,191 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a4423456-e6e6-4eb0-91ff-9878e3d59a1c 2025-10-23 23:45:11,209 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 23:45:11,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:11,271 - INFO - Verified VN network id 11 for VN 797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,272 - INFO - Verifications in API Server for VN ctest-vn-94451488 passed 2025-10-23 23:45:11,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,295 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:11,312 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:11,330 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/a4423456-e6e6-4eb0-91ff-9878e3d59a1c 2025-10-23 23:45:11,363 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74660269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8750645531086244084', 'uuid-lslong': '10142206476460871436'}, 'enable': 'true', 'created': '2025-10-23T23:45:08', 'last-modified': '2025-10-23T23:45:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.338442'} 2025-10-23 23:45:11,384 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 23:45:11,384 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94451488 passed 2025-10-23 23:45:11,384 - DEBUG - ====Verifying policy data for ctest-vn-94451488 in API_Server ====== 2025-10-23 23:45:11,385 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:11,400 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:11,432 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:11,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/797089bf-63c1-48f4-8cc0-5b0dfc1dcf0c 2025-10-23 23:45:11,582 - DEBUG - ==>Verifying data for policy with id: deeeeda2-b825-4c41-82d4-9c746364a106, fqn: ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-policy-allow-all-72408484'] 2025-10-23 23:45:11,583 - INFO - VN ctest-vn-94451488 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 23:45:11,583 - DEBUG - Verifying the vn in opserver 2025-10-23 23:45:11,583 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488 virtual network link through opserver 10.0.0.254 2025-10-23 23:45:11,583 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 23:45:11,911 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 23:45:12,023 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488?flat'} 2025-10-23 23:45:12,023 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488 is found in opserver 2025-10-23 23:45:12,046 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 23:45:12,056 - DEBUG - VRF ids for VN ctest-vn-94451488: {} 2025-10-23 23:45:12,056 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:12,071 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:12,092 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:12,189 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,224 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:12,236 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:12,244 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1124706a-4c97-4be3-b995-0efa763569aa 2025-10-23 23:45:12,251 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 23:45:12,251 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,261 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:12,279 - INFO - Verified VN network id 12 for VN 03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,279 - INFO - Verifications in API Server for VN ctest-vn-69289507 passed 2025-10-23 23:45:12,280 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,289 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:12,299 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:12,307 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/1124706a-4c97-4be3-b995-0efa763569aa 2025-10-23 23:45:12,320 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-69289507', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74660269', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '284395222256929730', 'uuid-lslong': '10245767169538355468'}, 'enable': 'true', 'created': '2025-10-23T23:45:09', 'last-modified': '2025-10-23T23:45:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.010880'} 2025-10-23 23:45:12,330 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 23:45:12,330 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69289507 passed 2025-10-23 23:45:12,331 - DEBUG - ====Verifying policy data for ctest-vn-69289507 in API_Server ====== 2025-10-23 23:45:12,331 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:12,341 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:12,365 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:12,472 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/03f25ff2-a671-4bc2-8e30-46f4cfb1710c 2025-10-23 23:45:12,496 - DEBUG - ==>Verifying data for policy with id: deeeeda2-b825-4c41-82d4-9c746364a106, fqn: ['default-domain', 'ctest-TestBasicPolicy-74660269', 'ctest-policy-allow-all-72408484'] 2025-10-23 23:45:12,496 - INFO - VN ctest-vn-69289507 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 23:45:12,496 - DEBUG - Verifying the vn in opserver 2025-10-23 23:45:12,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-69289507 virtual network link through opserver 10.0.0.254 2025-10-23 23:45:12,497 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-10-23 23:45:12,517 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-69289507', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-69289507?flat'} 2025-10-23 23:45:12,517 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-69289507 is found in opserver 2025-10-23 23:45:12,540 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 23:45:12,555 - DEBUG - VRF ids for VN ctest-vn-69289507: {} 2025-10-23 23:45:12,711 - DEBUG - Services list from nova: [, , ] 2025-10-23 23:45:14,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:45:15,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4470-1) 2025-10-23 23:45:15,764 - INFO - Waiting for VM ctest-TestBasicPolicy-74660269-24553969 to be up.. 2025-10-23 23:45:15,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 23:45:20,978 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:45:20,978 - INFO - VM name : ctest-TestBasicPolicy-74660269-24553969 2025-10-23 23:45:21,104 - DEBUG - VM ctest-TestBasicPolicy-74660269-24553969 ID is 79734754-3589-455f-a531-6c056c109452 2025-10-23 23:45:21,122 - DEBUG - VM ctest-TestBasicPolicy-74660269-24553969 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:45:21,220 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/79734754-3589-455f-a531-6c056c109452 2025-10-23 23:45:21,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/65c967b3-b269-4d98-9dcd-2baede2fc970 2025-10-23 23:45:24,498 - 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 1005ms') 2025-10-23 23:45:24,498 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74660269-24553969 failed! 2025-10-23 23:45:24,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74660269:ctest-vn-94451488 is 117.44.231.193 and allocation pool is NOT set 2025-10-23 23:45:26,652 - 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=6.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.72 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.716/4.243/6.771/2.527 ms') 2025-10-23 23:45:26,652 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74660269-24553969 passed 2025-10-23 23:45:26,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:45:26,824 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74660269-24553969, IP 117.44.231.195, Port 22 2025-10-23 23:45:27,022 - DEBUG - VM ctest-TestBasicPolicy-74660269-24553969 is ready for SSH connections 2025-10-23 23:45:27,022 - INFO - Waiting for VM ctest-TestBasicPolicy-74660269-63643768 to be up.. 2025-10-23 23:45:27,164 - DEBUG - VM is in ACTIVE state now 2025-10-23 23:45:27,164 - INFO - VM name : ctest-TestBasicPolicy-74660269-63643768 2025-10-23 23:45:27,313 - DEBUG - VM ctest-TestBasicPolicy-74660269-63643768 ID is 66d2d1d2-9133-4398-898b-0e72f70d9f5a 2025-10-23 23:45:27,314 - DEBUG - VM ctest-TestBasicPolicy-74660269-63643768 launched on Node cn-jenkins-deploy-platform-ansible-os-4470-1 2025-10-23 23:45:27,429 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66d2d1d2-9133-4398-898b-0e72f70d9f5a 2025-10-23 23:45:27,441 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d36f9ed6-9e17-4018-95e4-5f4493df7e47 2025-10-23 23:45:28,727 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.543 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.543/2.248/3.954/1.705 ms') 2025-10-23 23:45:28,727 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74660269-63643768 passed 2025-10-23 23:45:28,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:45:28,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74660269-63643768, IP 97.149.220.195, Port 22 2025-10-23 23:45:29,097 - DEBUG - VM ctest-TestBasicPolicy-74660269-63643768 is ready for SSH connections 2025-10-23 23:45:29,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:45:29,098 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.149.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:45:29,098 - DEBUG - ping -s 56 -c 3 -W 1 97.149.220.195 2025-10-23 23:45:33,550 - DEBUG - PING 97.149.220.195 (97.149.220.195): 56 data bytes 64 bytes from 97.149.220.195: seq=0 ttl=63 time=6.142 ms 64 bytes from 97.149.220.195: seq=1 ttl=63 time=2.003 ms 64 bytes from 97.149.220.195: seq=2 ttl=63 time=1.240 ms --- 97.149.220.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.240/3.128/6.142 ms 2025-10-23 23:45:33,550 - INFO - Ping to IP 97.149.220.195 from VM ctest-TestBasicPolicy-74660269-24553969 passed 2025-10-23 23:45:33,775 - DEBUG - Policy Update Response {"network-policy": {"uuid": "deeeeda2-b825-4c41-82d4-9c746364a106", "href": "http://10.0.0.254:8082/network-policy/deeeeda2-b825-4c41-82d4-9c746364a106"}} 2025-10-23 23:45:33,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 23:45:33,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 97.149.220.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-23 23:45:33,776 - DEBUG - ping -s 56 -c 3 -W 1 97.149.220.195 2025-10-23 23:45:37,047 - DEBUG - PING 97.149.220.195 (97.149.220.195): 56 data bytes --- 97.149.220.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 23:45:37,047 - WARNING - Ping to IP 97.149.220.195 from VM ctest-TestBasicPolicy-74660269-24553969 failed 2025-10-23 23:45:37,047 - INFO - Deleting VM ctest-TestBasicPolicy-74660269-63643768 2025-10-23 23:45:37,145 - INFO - Deleting VM ctest-TestBasicPolicy-74660269-24553969 2025-10-23 23:45:37,650 - INFO - Deleted policy ctest-policy-allow-all-72408484 2025-10-23 23:45:37,650 - INFO - Deleting VN ctest-vn-69289507 2025-10-23 23:45:37,699 - DEBUG - VN 03f25ff2-a671-4bc2-8e30-46f4cfb1710c still in use: Unable to complete operation on network 03f25ff2-a671-4bc2-8e30-46f4cfb1710c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cefae26a-895a-4066-ab95-e51e0e1032f7'] 2025-10-23 23:45:37,699 - WARNING - Deleting VN ctest-vn-69289507 failed..Will retry 2025-10-23 23:45:39,932 - DEBUG - Response for deleting network () 2025-10-23 23:45:39,932 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/94c5a270-ea20-4e41-959f-8c96de5371bc 2025-10-23 23:45:39,948 - DEBUG - Response Code: 404 2025-10-23 23:45:39,948 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:39,957 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:39,973 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:40,090 - INFO - Validated that VN ctest-vn-69289507 is not found in API Server 2025-10-23 23:45:40,111 - DEBUG - VN ctest-vn-69289507 is not present in Agent 10.0.0.254 2025-10-23 23:45:40,111 - INFO - Validated that VN ctest-vn-69289507 is not in any agent 2025-10-23 23:45:40,141 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69289507 info 2025-10-23 23:45:40,141 - INFO - Deleting VN ctest-vn-94451488 2025-10-23 23:45:40,348 - DEBUG - Response for deleting network () 2025-10-23 23:45:40,348 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/618cd181-8cae-45b3-8ea3-d43976c8de73 2025-10-23 23:45:40,356 - DEBUG - Response Code: 404 2025-10-23 23:45:40,357 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-10-23 23:45:40,365 - DEBUG - Requesting: http://10.0.0.254:8082/domain/01b32d2f-6958-4fe1-99c5-1c25744ed448 2025-10-23 23:45:40,426 - DEBUG - Requesting: http://10.0.0.254:8082/project/a639c915-37d7-42b5-9c94-4413e44e3e2f 2025-10-23 23:45:40,524 - INFO - Validated that VN ctest-vn-94451488 is not found in API Server 2025-10-23 23:45:40,544 - DEBUG - VN ctest-vn-94451488 is not present in Agent 10.0.0.254 2025-10-23 23:45:40,544 - INFO - Validated that VN ctest-vn-94451488 is not in any agent 2025-10-23 23:45:40,577 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94451488 info 2025-10-23 23:45:40,878 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 23:45:40,878 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2025-10-23 23:45:40,879 - INFO - -------------------------------------------------------------------------------- 2025-10-23 23:45:41,745 - INFO - Deleted project: ctest-TestBasicPolicy-74660269, ID : a639c915-37d7-42b5-9c94-4413e44e3e2f