2026-05-06 14:11:01,597 - INFO - Domain Default found not creating 2026-05-06 14:11:01,819 - INFO - Project ctest-TestBasicPolicy-36616890 not found, creating it 2026-05-06 14:11:02,360 - INFO - Created Project:ctest-TestBasicPolicy-36616890, ID : bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:03,996 - INFO - ================================================================================ 2026-05-06 14:11:03,996 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-06 14:11:03,996 - 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 2026-05-06 14:11:04,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-05-06 14:11:04,267 - INFO - Initial checks done. Running the testcase now 2026-05-06 14:11:04,267 - INFO - 2026-05-06 14:11:04,893 - DEBUG - Response for create_network : {'network': {'id': '5ccb911c-440b-42f3-bbe1-8a0292d0149e', 'name': 'ctest-vn-52942748', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-vn-52942748'], 'port_security_enabled': True, 'description': ''}} 2026-05-06 14:11:05,123 - DEBUG - Response for create_subnet : {'subnet': {'id': '89862c33-270f-4901-9f2e-c5baaa28f720', 'name': '', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'network_id': '5ccb911c-440b-42f3-bbe1-8a0292d0149e', 'ip_version': 4, 'cidr': '122.150.164.0/26', 'allocation_pools': [{'start': '122.150.164.2', 'end': '122.150.164.62'}], 'gateway_ip': '122.150.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.150.164.2', 'tags': [], 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e'}} 2026-05-06 14:11:05,145 - INFO - Created VN ctest-vn-52942748 2026-05-06 14:11:05,201 - DEBUG - VN ctest-vn-52942748 UUID is 5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:05,516 - DEBUG - Response for create_network : {'network': {'id': '0d3f11a7-9f6d-4d6e-9155-20aec973ea5e', 'name': 'ctest-vn-09092519', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-vn-09092519'], 'port_security_enabled': True, 'description': ''}} 2026-05-06 14:11:05,709 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdcf247c-a890-47c9-a0f0-6dd01356b3d8', 'name': '', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'network_id': '0d3f11a7-9f6d-4d6e-9155-20aec973ea5e', 'ip_version': 4, 'cidr': '79.83.232.64/26', 'allocation_pools': [{'start': '79.83.232.66', 'end': '79.83.232.126'}], 'gateway_ip': '79.83.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.83.232.66', 'tags': [], 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e'}} 2026-05-06 14:11:05,731 - INFO - Created VN ctest-vn-09092519 2026-05-06 14:11:05,781 - DEBUG - VN ctest-vn-09092519 UUID is 0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:05,914 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748, 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-36616890:ctest-vn-09092519, 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] 2026-05-06 14:11:06,247 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ccb911c-440b-42f3-bbe1-8a0292d0149e', 'name': 'ctest-vn-52942748', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['89862c33-270f-4901-9f2e-c5baaa28f720'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-vn-52942748'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-policy-allow-all-33633213']], 'subnet_ipam': [{'subnet_cidr': '122.150.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-06 14:11:06,500 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d3f11a7-9f6d-4d6e-9155-20aec973ea5e', 'name': 'ctest-vn-09092519', 'tenant_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'project_id': 'bb1e3f4c27564dda89bdad1cab3c219e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bdcf247c-a890-47c9-a0f0-6dd01356b3d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-vn-09092519'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-policy-allow-all-33633213']], 'subnet_ipam': [{'subnet_cidr': '79.83.232.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-06 14:11:06,693 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:06,990 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:07,024 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:07,039 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:07,115 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,127 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,138 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:07,147 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:07,154 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/963c0790-30a2-499e-b923-5c9876f59668 2026-05-06 14:11:07,161 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-06 14:11:07,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,171 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:07,189 - INFO - Verified VN network id 11 for VN 5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,189 - INFO - Verifications in API Server for VN ctest-vn-52942748 passed 2026-05-06 14:11:07,189 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,201 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:07,209 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:07,217 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/963c0790-30a2-499e-b923-5c9876f59668 2026-05-06 14:11:07,232 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36616890', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6686597622348333811', 'uuid-lslong': '13538253698510099614'}, 'enable': 'true', 'created': '2026-05-06T14:11:04', 'last-modified': '2026-05-06T14:11:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.007082'} 2026-05-06 14:11:07,241 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-06 14:11:07,241 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52942748 passed 2026-05-06 14:11:07,242 - DEBUG - ====Verifying policy data for ctest-vn-52942748 in API_Server ====== 2026-05-06 14:11:07,242 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:07,249 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:07,262 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:07,339 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ccb911c-440b-42f3-bbe1-8a0292d0149e 2026-05-06 14:11:07,351 - DEBUG - ==>Verifying data for policy with id: 63d50ab9-fb39-4144-bb0e-7a07d6f11aae, fqn: ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-policy-allow-all-33633213'] 2026-05-06 14:11:07,351 - INFO - VN ctest-vn-52942748 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-06 14:11:07,351 - DEBUG - Verifying the vn in opserver 2026-05-06 14:11:07,351 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748 virtual network link through opserver 10.0.0.50 2026-05-06 14:11:07,352 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 14:11:07,649 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 14:11:07,731 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748?flat'} 2026-05-06 14:11:07,731 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748 is found in opserver 2026-05-06 14:11:07,742 - DEBUG - Do not have enough data to verify VN in agent 2026-05-06 14:11:07,746 - DEBUG - VRF ids for VN ctest-vn-52942748: {} 2026-05-06 14:11:07,746 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:07,752 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:07,764 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:07,842 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:07,859 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:07,873 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:07,884 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:07,895 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/39dcae2a-25b3-4343-8e46-73d8da017594 2026-05-06 14:11:07,905 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-06 14:11:07,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:07,919 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:07,938 - INFO - Verified VN network id 12 for VN 0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:07,941 - INFO - Verifications in API Server for VN ctest-vn-09092519 passed 2026-05-06 14:11:07,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:07,953 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:07,963 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:07,972 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/39dcae2a-25b3-4343-8e46-73d8da017594 2026-05-06 14:11:07,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-09092519', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36616890', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '954501057657785710', 'uuid-lslong': '10472312443596171870'}, 'enable': 'true', 'created': '2026-05-06T14:11:05', 'last-modified': '2026-05-06T14:11:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511733'} 2026-05-06 14:11:07,994 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-06 14:11:07,994 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09092519 passed 2026-05-06 14:11:07,994 - DEBUG - ====Verifying policy data for ctest-vn-09092519 in API_Server ====== 2026-05-06 14:11:07,994 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:08,002 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:08,017 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:08,097 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/0d3f11a7-9f6d-4d6e-9155-20aec973ea5e 2026-05-06 14:11:08,108 - DEBUG - ==>Verifying data for policy with id: 63d50ab9-fb39-4144-bb0e-7a07d6f11aae, fqn: ['default-domain', 'ctest-TestBasicPolicy-36616890', 'ctest-policy-allow-all-33633213'] 2026-05-06 14:11:08,108 - INFO - VN ctest-vn-09092519 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-06 14:11:08,108 - DEBUG - Verifying the vn in opserver 2026-05-06 14:11:08,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-09092519 virtual network link through opserver 10.0.0.50 2026-05-06 14:11:08,108 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-05-06 14:11:08,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-09092519', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-09092519?flat'} 2026-05-06 14:11:08,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-09092519 is found in opserver 2026-05-06 14:11:08,132 - DEBUG - Do not have enough data to verify VN in agent 2026-05-06 14:11:08,138 - DEBUG - VRF ids for VN ctest-vn-09092519: {} 2026-05-06 14:11:08,213 - DEBUG - Services list from nova: [, , ] 2026-05-06 14:11:09,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5749-1) 2026-05-06 14:11:10,647 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5749-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5749-1) 2026-05-06 14:11:10,647 - INFO - Waiting for VM ctest-TestBasicPolicy-36616890-60656832 to be up.. 2026-05-06 14:11:10,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-06 14:11:15,843 - DEBUG - VM is in ACTIVE state now 2026-05-06 14:11:15,843 - INFO - VM name : ctest-TestBasicPolicy-36616890-60656832 2026-05-06 14:11:15,931 - DEBUG - VM ctest-TestBasicPolicy-36616890-60656832 ID is 412250bd-1db3-46b7-9e94-2b08bf42d079 2026-05-06 14:11:15,954 - DEBUG - VM ctest-TestBasicPolicy-36616890-60656832 launched on Node cn-jenkins-deploy-platform-ansible-os-5749-1 2026-05-06 14:11:16,045 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/412250bd-1db3-46b7-9e94-2b08bf42d079 2026-05-06 14:11:16,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9cba6b35-c0dd-42bf-88a6-481276a2af81 2026-05-06 14:11:19,320 - 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 1018ms') 2026-05-06 14:11:19,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36616890-60656832 failed! 2026-05-06 14:11:19,377 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36616890:ctest-vn-52942748 is 122.150.164.1 and allocation pool is NOT set 2026-05-06 14:11:23,452 - 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=2.68 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 2.678/2.678/2.678/0.000 ms') 2026-05-06 14:11:23,452 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36616890-60656832 passed 2026-05-06 14:11:23,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 14:11:23,609 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36616890-60656832, IP 122.150.164.3, Port 22 2026-05-06 14:11:23,780 - DEBUG - VM ctest-TestBasicPolicy-36616890-60656832 is ready for SSH connections 2026-05-06 14:11:23,780 - INFO - Waiting for VM ctest-TestBasicPolicy-36616890-47756873 to be up.. 2026-05-06 14:11:23,902 - DEBUG - VM is in ACTIVE state now 2026-05-06 14:11:23,902 - INFO - VM name : ctest-TestBasicPolicy-36616890-47756873 2026-05-06 14:11:24,015 - DEBUG - VM ctest-TestBasicPolicy-36616890-47756873 ID is 391ae634-8f12-48e4-bdcd-f2681e1900db 2026-05-06 14:11:24,016 - DEBUG - VM ctest-TestBasicPolicy-36616890-47756873 launched on Node cn-jenkins-deploy-platform-ansible-os-5749-1 2026-05-06 14:11:24,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/391ae634-8f12-48e4-bdcd-f2681e1900db 2026-05-06 14:11:24,149 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1684b245-6f37-4766-b74c-642bdb6698e1 2026-05-06 14:11:25,425 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.472 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.472/1.674/2.877/1.202 ms') 2026-05-06 14:11:25,425 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36616890-47756873 passed 2026-05-06 14:11:25,581 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 14:11:25,581 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36616890-47756873, IP 79.83.232.67, Port 22 2026-05-06 14:11:25,741 - DEBUG - VM ctest-TestBasicPolicy-36616890-47756873 is ready for SSH connections 2026-05-06 14:11:25,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 14:11:25,741 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.83.232.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-06 14:11:25,741 - DEBUG - ping -s 56 -c 3 -W 1 79.83.232.67 2026-05-06 14:11:29,941 - DEBUG - PING 79.83.232.67 (79.83.232.67): 56 data bytes 64 bytes from 79.83.232.67: seq=0 ttl=63 time=4.126 ms 64 bytes from 79.83.232.67: seq=1 ttl=63 time=1.179 ms 64 bytes from 79.83.232.67: seq=2 ttl=63 time=1.210 ms --- 79.83.232.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.179/2.171/4.126 ms 2026-05-06 14:11:29,941 - INFO - Ping to IP 79.83.232.67 from VM ctest-TestBasicPolicy-36616890-60656832 passed 2026-05-06 14:11:30,141 - DEBUG - Policy Update Response {"network-policy": {"uuid": "63d50ab9-fb39-4144-bb0e-7a07d6f11aae", "href": "http://10.0.0.50:8082/network-policy/63d50ab9-fb39-4144-bb0e-7a07d6f11aae"}} 2026-05-06 14:11:30,141 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-06 14:11:30,141 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 79.83.232.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-05-06 14:11:30,141 - DEBUG - ping -s 56 -c 3 -W 1 79.83.232.67 2026-05-06 14:11:33,420 - DEBUG - PING 79.83.232.67 (79.83.232.67): 56 data bytes --- 79.83.232.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-06 14:11:33,420 - WARNING - Ping to IP 79.83.232.67 from VM ctest-TestBasicPolicy-36616890-60656832 failed 2026-05-06 14:11:33,420 - INFO - Deleting VM ctest-TestBasicPolicy-36616890-47756873 2026-05-06 14:11:33,498 - INFO - Deleting VM ctest-TestBasicPolicy-36616890-60656832 2026-05-06 14:11:33,966 - INFO - Deleted policy ctest-policy-allow-all-33633213 2026-05-06 14:11:33,967 - INFO - Deleting VN ctest-vn-09092519 2026-05-06 14:11:34,013 - DEBUG - VN 0d3f11a7-9f6d-4d6e-9155-20aec973ea5e still in use: Unable to complete operation on network 0d3f11a7-9f6d-4d6e-9155-20aec973ea5e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4b4ad3fb-99fd-487f-90a5-2b806f2e260d'] 2026-05-06 14:11:34,013 - WARNING - Deleting VN ctest-vn-09092519 failed..Will retry 2026-05-06 14:11:36,135 - DEBUG - Response for deleting network () 2026-05-06 14:11:36,135 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/adae5363-0a6f-42ee-aaa5-71826a4203b9 2026-05-06 14:11:36,145 - DEBUG - Response Code: 404 2026-05-06 14:11:36,146 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:36,153 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:36,209 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:36,277 - INFO - Validated that VN ctest-vn-09092519 is not found in API Server 2026-05-06 14:11:36,289 - DEBUG - VN ctest-vn-09092519 is not present in Agent 10.0.0.50 2026-05-06 14:11:36,289 - INFO - Validated that VN ctest-vn-09092519 is not in any agent 2026-05-06 14:11:36,304 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09092519 info 2026-05-06 14:11:36,304 - INFO - Deleting VN ctest-vn-52942748 2026-05-06 14:11:36,421 - DEBUG - Response for deleting network () 2026-05-06 14:11:36,421 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78e260e3-d6c1-4948-baf5-e457332a2160 2026-05-06 14:11:36,428 - DEBUG - Response Code: 404 2026-05-06 14:11:36,428 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-05-06 14:11:36,434 - DEBUG - Requesting: http://10.0.0.50:8082/domain/5f42ad9d-5ab3-4d08-a15b-3c7ba53893d2 2026-05-06 14:11:36,491 - DEBUG - Requesting: http://10.0.0.50:8082/project/bb1e3f4c-2756-4dda-89bd-ad1cab3c219e 2026-05-06 14:11:36,561 - INFO - Validated that VN ctest-vn-52942748 is not found in API Server 2026-05-06 14:11:36,571 - DEBUG - VN ctest-vn-52942748 is not present in Agent 10.0.0.50 2026-05-06 14:11:36,571 - INFO - Validated that VN ctest-vn-52942748 is not in any agent 2026-05-06 14:11:36,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52942748 info 2026-05-06 14:11:36,843 - DEBUG - No XMPP flaps were noticed during the test
2026-05-06 14:11:36,843 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:33]
2026-05-06 14:11:36,844 - INFO - -------------------------------------------------------------------------------- 2026-05-06 14:11:37,546 - INFO - Deleted project: ctest-TestBasicPolicy-36616890, ID : bb1e3f4c-2756-4dda-89bd-ad1cab3c219e