2025-11-24 17:29:27,036 - INFO - Domain Default found not creating 2025-11-24 17:29:27,380 - INFO - Project ctest-TestBasicPolicy-01470507 not found, creating it 2025-11-24 17:29:27,970 - INFO - Created Project:ctest-TestBasicPolicy-01470507, ID : fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:29:30,236 - INFO - ================================================================================ 2025-11-24 17:29:30,236 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-24 17:29:30,236 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-24 17:29:30,549 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.252': '0'}} with 2025-11-24 17:29:30,549 - INFO - Initial checks done. Running the testcase now 2025-11-24 17:29:30,549 - INFO - 2025-11-24 17:29:31,403 - DEBUG - Response for create_network : {'network': {'id': '3c2936f2-455e-476c-a18e-8a800ad720a5', 'name': 'ctest-vn-14830737', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'project_id': 'fce2b726be3b44f78146be3619ee1c12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-vn-14830737'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:29:31,653 - DEBUG - Response for create_subnet : {'subnet': {'id': '9056aa0b-db3e-421b-aacc-dc160d98dc5f', 'name': '', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'network_id': '3c2936f2-455e-476c-a18e-8a800ad720a5', 'ip_version': 4, 'cidr': '212.94.70.192/26', 'allocation_pools': [{'start': '212.94.70.194', 'end': '212.94.70.254'}], 'gateway_ip': '212.94.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.94.70.194', 'tags': [], 'project_id': 'fce2b726be3b44f78146be3619ee1c12'}} 2025-11-24 17:29:31,675 - INFO - Created VN ctest-vn-14830737 2025-11-24 17:29:31,731 - DEBUG - VN ctest-vn-14830737 UUID is 3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:32,154 - DEBUG - Response for create_network : {'network': {'id': 'be7eaf57-25d8-4274-a8ac-3ab15ebdbe07', 'name': 'ctest-vn-24535252', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'project_id': 'fce2b726be3b44f78146be3619ee1c12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-vn-24535252'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:29:32,406 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd00c972c-d560-45e9-960c-99956dd2f03e', 'name': '', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'network_id': 'be7eaf57-25d8-4274-a8ac-3ab15ebdbe07', 'ip_version': 4, 'cidr': '32.199.145.128/26', 'allocation_pools': [{'start': '32.199.145.130', 'end': '32.199.145.190'}], 'gateway_ip': '32.199.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.199.145.130', 'tags': [], 'project_id': 'fce2b726be3b44f78146be3619ee1c12'}} 2025-11-24 17:29:32,429 - INFO - Created VN ctest-vn-24535252 2025-11-24 17:29:32,484 - DEBUG - VN ctest-vn-24535252 UUID is be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:32,644 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737, 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-01470507:ctest-vn-24535252, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-24 17:29:33,011 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c2936f2-455e-476c-a18e-8a800ad720a5', 'name': 'ctest-vn-14830737', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'project_id': 'fce2b726be3b44f78146be3619ee1c12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9056aa0b-db3e-421b-aacc-dc160d98dc5f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-vn-14830737'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-policy-allow-all-22566578']], 'subnet_ipam': [{'subnet_cidr': '212.94.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:29:33,285 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'be7eaf57-25d8-4274-a8ac-3ab15ebdbe07', 'name': 'ctest-vn-24535252', 'tenant_id': 'fce2b726be3b44f78146be3619ee1c12', 'project_id': 'fce2b726be3b44f78146be3619ee1c12', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d00c972c-d560-45e9-960c-99956dd2f03e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-vn-24535252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-policy-allow-all-22566578']], 'subnet_ipam': [{'subnet_cidr': '32.199.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-24 17:29:33,440 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:29:33,770 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:29:33,840 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:29:33,871 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:29:33,979 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:33,992 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:34,004 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:29:34,013 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:29:34,023 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d1494b27-24ea-4a46-a2ed-180ab642beb8 2025-11-24 17:29:34,031 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 17:29:34,031 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:34,046 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:29:34,069 - INFO - Verified VN network id 11 for VN 3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:34,070 - INFO - Verifications in API Server for VN ctest-vn-14830737 passed 2025-11-24 17:29:34,070 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:34,079 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:29:34,086 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:29:34,093 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/d1494b27-24ea-4a46-a2ed-180ab642beb8 2025-11-24 17:29:34,106 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01470507', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4335056530494605164', 'uuid-lslong': '11641394369341628581'}, 'enable': 'true', 'created': '2025-11-24T17:29:31', 'last-modified': '2025-11-24T17:29:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.128575'} 2025-11-24 17:29:34,119 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-24 17:29:34,119 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14830737 passed 2025-11-24 17:29:34,120 - DEBUG - ====Verifying policy data for ctest-vn-14830737 in API_Server ====== 2025-11-24 17:29:34,120 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:29:34,132 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:29:34,152 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:29:34,236 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/3c2936f2-455e-476c-a18e-8a800ad720a5 2025-11-24 17:29:34,259 - DEBUG - ==>Verifying data for policy with id: 040c3ee3-a3a9-46e5-8995-4fdba310f712, fqn: ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-policy-allow-all-22566578'] 2025-11-24 17:29:34,259 - INFO - VN ctest-vn-14830737 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 17:29:34,259 - DEBUG - Verifying the vn in opserver 2025-11-24 17:29:34,260 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737 virtual network link through opserver 10.0.0.33 2025-11-24 17:29:34,260 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 17:29:34,585 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 17:29:34,688 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737?flat'} 2025-11-24 17:29:34,688 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737 is found in opserver 2025-11-24 17:29:34,710 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 17:29:34,721 - DEBUG - VRF ids for VN ctest-vn-14830737: {} 2025-11-24 17:29:34,721 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:29:34,734 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:29:34,758 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:29:34,879 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:34,908 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:34,929 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:29:34,940 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:29:34,951 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8aeffa35-32f6-4005-8ec4-6d72f6544b38 2025-11-24 17:29:34,968 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 17:29:34,968 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:34,990 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:29:35,024 - INFO - Verified VN network id 12 for VN be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:35,024 - INFO - Verifications in API Server for VN ctest-vn-24535252 passed 2025-11-24 17:29:35,024 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:35,046 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:29:35,061 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:29:35,078 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/8aeffa35-32f6-4005-8ec4-6d72f6544b38 2025-11-24 17:29:35,106 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-24535252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-01470507', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13726601503103795828', 'uuid-lslong': '12154154027839241735'}, 'enable': 'true', 'created': '2025-11-24T17:29:32', 'last-modified': '2025-11-24T17:29:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.858090'} 2025-11-24 17:29:35,123 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-24 17:29:35,123 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24535252 passed 2025-11-24 17:29:35,123 - DEBUG - ====Verifying policy data for ctest-vn-24535252 in API_Server ====== 2025-11-24 17:29:35,123 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:29:35,138 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:29:35,171 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:29:35,292 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 2025-11-24 17:29:35,315 - DEBUG - ==>Verifying data for policy with id: 040c3ee3-a3a9-46e5-8995-4fdba310f712, fqn: ['default-domain', 'ctest-TestBasicPolicy-01470507', 'ctest-policy-allow-all-22566578'] 2025-11-24 17:29:35,315 - INFO - VN ctest-vn-24535252 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-24 17:29:35,316 - DEBUG - Verifying the vn in opserver 2025-11-24 17:29:35,316 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-24535252 virtual network link through opserver 10.0.0.33 2025-11-24 17:29:35,316 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-24 17:29:35,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-24535252', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-24535252?flat'} 2025-11-24 17:29:35,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-24535252 is found in opserver 2025-11-24 17:29:35,355 - DEBUG - Do not have enough data to verify VN in agent 2025-11-24 17:29:35,364 - DEBUG - VRF ids for VN ctest-vn-24535252: {} 2025-11-24 17:29:35,468 - DEBUG - Services list from nova: [, , ] 2025-11-24 17:29:36,956 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:29:38,389 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4810-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4810-1) 2025-11-24 17:29:38,389 - INFO - Waiting for VM ctest-TestBasicPolicy-01470507-44775196 to be up.. 2025-11-24 17:29:38,485 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 17:29:43,645 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:29:43,646 - INFO - VM name : ctest-TestBasicPolicy-01470507-44775196 2025-11-24 17:29:43,771 - DEBUG - VM ctest-TestBasicPolicy-01470507-44775196 ID is a3e8254e-c9a7-4ee3-b019-dd164491914d 2025-11-24 17:29:43,801 - DEBUG - VM ctest-TestBasicPolicy-01470507-44775196 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:29:43,896 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a3e8254e-c9a7-4ee3-b019-dd164491914d 2025-11-24 17:29:43,908 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6cd03192-3976-478b-8e54-6b539f62e384 2025-11-24 17:29:47,187 - 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 1003ms') 2025-11-24 17:29:47,188 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01470507-44775196 failed! 2025-11-24 17:29:47,251 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-01470507:ctest-vn-14830737 is 212.94.70.193 and allocation pool is NOT set 2025-11-24 17:29:51,351 - 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=2 ttl=63 time=5.48 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1035ms\r\nrtt min/avg/max/mdev = 5.482/5.482/5.482/0.000 ms') 2025-11-24 17:29:51,351 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-01470507-44775196 passed 2025-11-24 17:29:51,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:29:51,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01470507-44775196, IP 212.94.70.195, Port 22 2025-11-24 17:29:51,704 - DEBUG - VM ctest-TestBasicPolicy-01470507-44775196 is ready for SSH connections 2025-11-24 17:29:51,706 - INFO - Waiting for VM ctest-TestBasicPolicy-01470507-81348578 to be up.. 2025-11-24 17:29:51,829 - DEBUG - VM is in ACTIVE state now 2025-11-24 17:29:51,829 - INFO - VM name : ctest-TestBasicPolicy-01470507-81348578 2025-11-24 17:29:51,928 - DEBUG - VM ctest-TestBasicPolicy-01470507-81348578 ID is 205e1b7b-0de4-4ce7-ad00-e85ac23873c1 2025-11-24 17:29:51,928 - DEBUG - VM ctest-TestBasicPolicy-01470507-81348578 launched on Node cn-jenkins-deploy-platform-ansible-os-4810-1 2025-11-24 17:29:52,017 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/205e1b7b-0de4-4ce7-ad00-e85ac23873c1 2025-11-24 17:29:52,028 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/6f96246c-8f74-4b31-809d-217c64284679 2025-11-24 17:29:53,343 - 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.32 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.18 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 = 1.176/2.747/4.318/1.571 ms') 2025-11-24 17:29:53,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-01470507-81348578 passed 2025-11-24 17:29:53,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:29:53,525 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-01470507-81348578, IP 32.199.145.131, Port 22 2025-11-24 17:29:53,716 - DEBUG - VM ctest-TestBasicPolicy-01470507-81348578 is ready for SSH connections 2025-11-24 17:29:53,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:29:53,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.199.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 17:29:53,717 - DEBUG - ping -s 56 -c 3 -W 1 32.199.145.131 2025-11-24 17:29:58,196 - DEBUG - PING 32.199.145.131 (32.199.145.131): 56 data bytes 64 bytes from 32.199.145.131: seq=0 ttl=63 time=4.602 ms 64 bytes from 32.199.145.131: seq=1 ttl=63 time=1.966 ms 64 bytes from 32.199.145.131: seq=2 ttl=63 time=1.060 ms --- 32.199.145.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/2.542/4.602 ms 2025-11-24 17:29:58,196 - INFO - Ping to IP 32.199.145.131 from VM ctest-TestBasicPolicy-01470507-44775196 passed 2025-11-24 17:29:58,455 - DEBUG - Policy Update Response {"network-policy": {"uuid": "040c3ee3-a3a9-46e5-8995-4fdba310f712", "href": "http://10.0.0.33:8082/network-policy/040c3ee3-a3a9-46e5-8995-4fdba310f712"}} 2025-11-24 17:29:58,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 17:29:58,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.199.145.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 17:29:58,455 - DEBUG - ping -s 56 -c 3 -W 1 32.199.145.131 2025-11-24 17:30:01,677 - DEBUG - PING 32.199.145.131 (32.199.145.131): 56 data bytes --- 32.199.145.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-24 17:30:01,677 - WARNING - Ping to IP 32.199.145.131 from VM ctest-TestBasicPolicy-01470507-44775196 failed 2025-11-24 17:30:01,677 - INFO - Deleting VM ctest-TestBasicPolicy-01470507-81348578 2025-11-24 17:30:01,779 - INFO - Deleting VM ctest-TestBasicPolicy-01470507-44775196 2025-11-24 17:30:02,158 - INFO - Deleted policy ctest-policy-allow-all-22566578 2025-11-24 17:30:02,158 - INFO - Deleting VN ctest-vn-24535252 2025-11-24 17:30:02,203 - DEBUG - VN be7eaf57-25d8-4274-a8ac-3ab15ebdbe07 still in use: Unable to complete operation on network be7eaf57-25d8-4274-a8ac-3ab15ebdbe07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-058f64ea-a541-410b-a2e7-7d0bbdd821d7'] 2025-11-24 17:30:02,203 - WARNING - Deleting VN ctest-vn-24535252 failed..Will retry 2025-11-24 17:30:04,406 - DEBUG - Response for deleting network () 2025-11-24 17:30:04,406 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/82a3ff0a-1145-4a36-83a3-e1ee3787f8ea 2025-11-24 17:30:04,414 - DEBUG - Response Code: 404 2025-11-24 17:30:04,414 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:30:04,422 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:30:04,485 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:30:04,570 - INFO - Validated that VN ctest-vn-24535252 is not found in API Server 2025-11-24 17:30:04,584 - DEBUG - VN ctest-vn-24535252 is not present in Agent 10.0.0.33 2025-11-24 17:30:04,584 - INFO - Validated that VN ctest-vn-24535252 is not in any agent 2025-11-24 17:30:04,604 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24535252 info 2025-11-24 17:30:04,604 - INFO - Deleting VN ctest-vn-14830737 2025-11-24 17:30:04,729 - DEBUG - Response for deleting network () 2025-11-24 17:30:04,729 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4d3e2ccb-8926-4881-a7bd-bec8728adf70 2025-11-24 17:30:04,734 - DEBUG - Response Code: 404 2025-11-24 17:30:04,734 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-24 17:30:04,739 - DEBUG - Requesting: http://10.0.0.33:8082/domain/1eb80f03-1c7f-4a4e-9ca1-46517aa49f22 2025-11-24 17:30:04,794 - DEBUG - Requesting: http://10.0.0.33:8082/project/fce2b726-be3b-44f7-8146-be3619ee1c12 2025-11-24 17:30:04,870 - INFO - Validated that VN ctest-vn-14830737 is not found in API Server 2025-11-24 17:30:04,886 - DEBUG - VN ctest-vn-14830737 is not present in Agent 10.0.0.33 2025-11-24 17:30:04,886 - INFO - Validated that VN ctest-vn-14830737 is not in any agent 2025-11-24 17:30:04,905 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14830737 info 2025-11-24 17:30:05,182 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 17:30:05,182 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-24 17:30:05,182 - INFO - -------------------------------------------------------------------------------- 2025-11-24 17:30:05,918 - INFO - Deleted project: ctest-TestBasicPolicy-01470507, ID : fce2b726-be3b-44f7-8146-be3619ee1c12