2025-10-09 11:17:34,204 - INFO - Domain Default found not creating 2025-10-09 11:17:34,369 - INFO - Project ctest-TestBasicPolicy-70205138 not found, creating it 2025-10-09 11:17:34,839 - INFO - Created Project:ctest-TestBasicPolicy-70205138, ID : 3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:17:36,271 - INFO - ================================================================================ 2025-10-09 11:17:36,271 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-09 11:17:36,271 - 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-09 11:17:36,533 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-10-09 11:17:36,533 - INFO - Initial checks done. Running the testcase now 2025-10-09 11:17:36,533 - INFO - 2025-10-09 11:17:37,091 - DEBUG - Response for create_network : {'network': {'id': 'b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a', 'name': 'ctest-vn-19145194', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-vn-19145194'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:17:37,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '87979b4c-7bac-4f88-aaeb-4e08cc79226e', 'name': '', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'network_id': 'b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a', 'ip_version': 4, 'cidr': '137.198.196.192/26', 'allocation_pools': [{'start': '137.198.196.194', 'end': '137.198.196.254'}], 'gateway_ip': '137.198.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.198.196.194', 'tags': [], 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10'}} 2025-10-09 11:17:37,332 - INFO - Created VN ctest-vn-19145194 2025-10-09 11:17:37,384 - DEBUG - VN ctest-vn-19145194 UUID is b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:37,676 - DEBUG - Response for create_network : {'network': {'id': 'ceb16f09-dbd0-4489-924b-0025a8ea2217', 'name': 'ctest-vn-04856990', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-vn-04856990'], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:17:37,889 - DEBUG - Response for create_subnet : {'subnet': {'id': '17fbe795-7704-4f19-9f52-00beb19139ae', 'name': '', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'network_id': 'ceb16f09-dbd0-4489-924b-0025a8ea2217', 'ip_version': 4, 'cidr': '89.205.112.128/26', 'allocation_pools': [{'start': '89.205.112.130', 'end': '89.205.112.190'}], 'gateway_ip': '89.205.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.205.112.130', 'tags': [], 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10'}} 2025-10-09 11:17:37,909 - INFO - Created VN ctest-vn-04856990 2025-10-09 11:17:37,964 - DEBUG - VN ctest-vn-04856990 UUID is ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:38,076 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194, 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-70205138:ctest-vn-04856990, 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-09 11:17:38,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a', 'name': 'ctest-vn-19145194', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['87979b4c-7bac-4f88-aaeb-4e08cc79226e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-vn-19145194'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-policy-allow-all-38171169']], 'subnet_ipam': [{'subnet_cidr': '137.198.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:17:38,601 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ceb16f09-dbd0-4489-924b-0025a8ea2217', 'name': 'ctest-vn-04856990', 'tenant_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'project_id': '3482148b8fdd4b03a6bbea9593ee9d10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17fbe795-7704-4f19-9f52-00beb19139ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-vn-04856990'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-policy-allow-all-38171169']], 'subnet_ipam': [{'subnet_cidr': '89.205.112.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-09 11:17:38,760 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:17:39,066 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:17:39,096 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:17:39,108 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:17:39,178 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,187 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,195 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:17:39,201 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:17:39,207 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bac4f7e4-0ea2-46a3-9916-e00e031f313e 2025-10-09 11:17:39,215 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 11:17:39,215 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,225 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:17:39,238 - INFO - Verified VN network id 11 for VN b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,238 - INFO - Verifications in API Server for VN ctest-vn-19145194 passed 2025-10-09 11:17:39,238 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,246 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:17:39,253 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:17:39,258 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bac4f7e4-0ea2-46a3-9916-e00e031f313e 2025-10-09 11:17:39,268 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70205138', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13161421141265042716', 'uuid-lslong': '10102931436604265514'}, 'enable': 'true', 'created': '2025-10-09T11:17:37', 'last-modified': '2025-10-09T11:17:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911756'} 2025-10-09 11:17:39,274 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-09 11:17:39,274 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19145194 passed 2025-10-09 11:17:39,274 - DEBUG - ====Verifying policy data for ctest-vn-19145194 in API_Server ====== 2025-10-09 11:17:39,274 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:17:39,279 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:17:39,290 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:17:39,357 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/b6a6c2cb-b86b-4d1c-8c34-d29d2cec942a 2025-10-09 11:17:39,365 - DEBUG - ==>Verifying data for policy with id: 2997999d-3383-4c74-9683-290eee188a96, fqn: ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-policy-allow-all-38171169'] 2025-10-09 11:17:39,366 - INFO - VN ctest-vn-19145194 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 11:17:39,366 - DEBUG - Verifying the vn in opserver 2025-10-09 11:17:39,366 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194 virtual network link through opserver 10.0.0.33 2025-10-09 11:17:39,366 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 11:17:39,656 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 11:17:39,710 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194?flat'} 2025-10-09 11:17:39,710 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194 is found in opserver 2025-10-09 11:17:39,721 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 11:17:39,726 - DEBUG - VRF ids for VN ctest-vn-19145194: {} 2025-10-09 11:17:39,726 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:17:39,732 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:17:39,742 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:17:39,820 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:39,835 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:39,844 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:17:39,852 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:17:39,859 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df044e45-9084-40a8-be4f-c673453a0a7b 2025-10-09 11:17:39,867 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 11:17:39,867 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:39,878 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:17:39,892 - INFO - Verified VN network id 12 for VN ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:39,892 - INFO - Verifications in API Server for VN ctest-vn-04856990 passed 2025-10-09 11:17:39,893 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:39,901 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:17:39,907 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:17:39,914 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/df044e45-9084-40a8-be4f-c673453a0a7b 2025-10-09 11:17:39,928 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-04856990', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70205138', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14893807530824189065', 'uuid-lslong': '10541519514538484247'}, 'enable': 'true', 'created': '2025-10-09T11:17:37', 'last-modified': '2025-10-09T11:17:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.349865'} 2025-10-09 11:17:39,934 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-09 11:17:39,935 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04856990 passed 2025-10-09 11:17:39,935 - DEBUG - ====Verifying policy data for ctest-vn-04856990 in API_Server ====== 2025-10-09 11:17:39,935 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:17:39,941 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:17:39,951 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:17:40,027 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ceb16f09-dbd0-4489-924b-0025a8ea2217 2025-10-09 11:17:40,037 - DEBUG - ==>Verifying data for policy with id: 2997999d-3383-4c74-9683-290eee188a96, fqn: ['default-domain', 'ctest-TestBasicPolicy-70205138', 'ctest-policy-allow-all-38171169'] 2025-10-09 11:17:40,037 - INFO - VN ctest-vn-04856990 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-09 11:17:40,037 - DEBUG - Verifying the vn in opserver 2025-10-09 11:17:40,037 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-04856990 virtual network link through opserver 10.0.0.33 2025-10-09 11:17:40,037 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-10-09 11:17:40,048 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-04856990', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-04856990?flat'} 2025-10-09 11:17:40,048 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-04856990 is found in opserver 2025-10-09 11:17:40,058 - DEBUG - Do not have enough data to verify VN in agent 2025-10-09 11:17:40,062 - DEBUG - VRF ids for VN ctest-vn-04856990: {} 2025-10-09 11:17:40,120 - DEBUG - Services list from nova: [, , ] 2025-10-09 11:17:41,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:17:42,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4258-1) 2025-10-09 11:17:42,313 - INFO - Waiting for VM ctest-TestBasicPolicy-70205138-55578599 to be up.. 2025-10-09 11:17:42,406 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-09 11:17:47,504 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:17:47,504 - INFO - VM name : ctest-TestBasicPolicy-70205138-55578599 2025-10-09 11:17:47,582 - DEBUG - VM ctest-TestBasicPolicy-70205138-55578599 ID is 185df783-05bd-46bf-b1db-f86c65c33069 2025-10-09 11:17:47,606 - DEBUG - VM ctest-TestBasicPolicy-70205138-55578599 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:17:47,690 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/185df783-05bd-46bf-b1db-f86c65c33069 2025-10-09 11:17:47,700 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f8332170-189c-4d9a-84cf-6850e1f3d415 2025-10-09 11:17:50,950 - 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 1007ms') 2025-10-09 11:17:50,950 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70205138-55578599 failed! 2025-10-09 11:17:51,008 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70205138:ctest-vn-19145194 is 137.198.196.193 and allocation pool is NOT set 2025-10-09 11:17:53,071 - 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=3.81 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.613/2.210/3.808/1.597 ms') 2025-10-09 11:17:53,071 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70205138-55578599 passed 2025-10-09 11:17:53,220 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:53,220 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70205138-55578599, IP 137.198.196.195, Port 22 2025-10-09 11:17:53,375 - DEBUG - VM ctest-TestBasicPolicy-70205138-55578599 is ready for SSH connections 2025-10-09 11:17:53,376 - INFO - Waiting for VM ctest-TestBasicPolicy-70205138-30501760 to be up.. 2025-10-09 11:17:53,457 - DEBUG - VM is in ACTIVE state now 2025-10-09 11:17:53,457 - INFO - VM name : ctest-TestBasicPolicy-70205138-30501760 2025-10-09 11:17:53,536 - DEBUG - VM ctest-TestBasicPolicy-70205138-30501760 ID is 9f98a50f-7160-4fd3-8f50-cdd8ad65a31c 2025-10-09 11:17:53,536 - DEBUG - VM ctest-TestBasicPolicy-70205138-30501760 launched on Node cn-jenkins-deploy-platform-ansible-os-4258-1 2025-10-09 11:17:53,619 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/9f98a50f-7160-4fd3-8f50-cdd8ad65a31c 2025-10-09 11:17:53,628 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/0838b58e-5873-4339-88fa-cfa9476374ef 2025-10-09 11:17:54,865 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.522/1.824/3.126/1.302 ms') 2025-10-09 11:17:54,865 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70205138-30501760 passed 2025-10-09 11:17:55,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:55,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70205138-30501760, IP 89.205.112.131, Port 22 2025-10-09 11:17:55,179 - DEBUG - VM ctest-TestBasicPolicy-70205138-30501760 is ready for SSH connections 2025-10-09 11:17:55,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:55,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.205.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 11:17:55,179 - DEBUG - ping -s 56 -c 3 -W 1 89.205.112.131 2025-10-09 11:17:59,214 - DEBUG - PING 89.205.112.131 (89.205.112.131): 56 data bytes 64 bytes from 89.205.112.131: seq=0 ttl=63 time=4.591 ms 64 bytes from 89.205.112.131: seq=1 ttl=63 time=0.991 ms 64 bytes from 89.205.112.131: seq=2 ttl=63 time=0.834 ms --- 89.205.112.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.138/4.591 ms 2025-10-09 11:17:59,214 - INFO - Ping to IP 89.205.112.131 from VM ctest-TestBasicPolicy-70205138-55578599 passed 2025-10-09 11:17:59,392 - DEBUG - Policy Update Response {"network-policy": {"uuid": "2997999d-3383-4c74-9683-290eee188a96", "href": "http://10.0.0.33:8082/network-policy/2997999d-3383-4c74-9683-290eee188a96"}} 2025-10-09 11:17:59,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-09 11:17:59,392 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.205.112.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-10-09 11:17:59,392 - DEBUG - ping -s 56 -c 3 -W 1 89.205.112.131 2025-10-09 11:18:02,619 - DEBUG - PING 89.205.112.131 (89.205.112.131): 56 data bytes --- 89.205.112.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-09 11:18:02,619 - WARNING - Ping to IP 89.205.112.131 from VM ctest-TestBasicPolicy-70205138-55578599 failed 2025-10-09 11:18:02,619 - INFO - Deleting VM ctest-TestBasicPolicy-70205138-30501760 2025-10-09 11:18:02,696 - INFO - Deleting VM ctest-TestBasicPolicy-70205138-55578599 2025-10-09 11:18:03,106 - INFO - Deleted policy ctest-policy-allow-all-38171169 2025-10-09 11:18:03,106 - INFO - Deleting VN ctest-vn-04856990 2025-10-09 11:18:03,147 - DEBUG - VN ceb16f09-dbd0-4489-924b-0025a8ea2217 still in use: Unable to complete operation on network ceb16f09-dbd0-4489-924b-0025a8ea2217. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3426428-4ece-46f2-ab37-daa54a2a67aa'] 2025-10-09 11:18:03,147 - WARNING - Deleting VN ctest-vn-04856990 failed..Will retry 2025-10-09 11:18:05,270 - DEBUG - Response for deleting network () 2025-10-09 11:18:05,270 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4842cb4d-923a-4076-8711-097b6422ee22 2025-10-09 11:18:05,280 - DEBUG - Response Code: 404 2025-10-09 11:18:05,280 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:18:05,285 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:18:05,338 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:18:05,419 - INFO - Validated that VN ctest-vn-04856990 is not found in API Server 2025-10-09 11:18:05,431 - DEBUG - VN ctest-vn-04856990 is not present in Agent 10.0.0.33 2025-10-09 11:18:05,431 - INFO - Validated that VN ctest-vn-04856990 is not in any agent 2025-10-09 11:18:05,448 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-04856990 info 2025-10-09 11:18:05,448 - INFO - Deleting VN ctest-vn-19145194 2025-10-09 11:18:05,571 - DEBUG - Response for deleting network () 2025-10-09 11:18:05,572 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/259d66e2-8728-4155-b6f0-b28d0a112777 2025-10-09 11:18:05,580 - DEBUG - Response Code: 404 2025-10-09 11:18:05,580 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-10-09 11:18:05,586 - DEBUG - Requesting: http://10.0.0.33:8082/domain/286565b9-1d7c-4b77-a6b8-f3c3c9c83afd 2025-10-09 11:18:05,641 - DEBUG - Requesting: http://10.0.0.33:8082/project/3482148b-8fdd-4b03-a6bb-ea9593ee9d10 2025-10-09 11:18:05,710 - INFO - Validated that VN ctest-vn-19145194 is not found in API Server 2025-10-09 11:18:05,721 - DEBUG - VN ctest-vn-19145194 is not present in Agent 10.0.0.33 2025-10-09 11:18:05,721 - INFO - Validated that VN ctest-vn-19145194 is not in any agent 2025-10-09 11:18:05,736 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19145194 info 2025-10-09 11:18:05,989 - DEBUG - No XMPP flaps were noticed during the test 2025-10-09 11:18:05,989 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-10-09 11:18:05,989 - INFO - -------------------------------------------------------------------------------- 2025-10-09 11:18:06,682 - INFO - Deleted project: ctest-TestBasicPolicy-70205138, ID : 3482148b-8fdd-4b03-a6bb-ea9593ee9d10