2025-11-07 19:54:33,876 - INFO - Domain Default found not creating 2025-11-07 19:54:34,026 - INFO - Project ctest-TestBasicPolicy-20248570 not found, creating it 2025-11-07 19:54:34,480 - INFO - Created Project:ctest-TestBasicPolicy-20248570, ID : 9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:54:36,100 - INFO - ================================================================================ 2025-11-07 19:54:36,100 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-07 19:54:36,101 - 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-07 19:54:36,372 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-07 19:54:36,372 - INFO - Initial checks done. Running the testcase now 2025-11-07 19:54:36,373 - INFO - 2025-11-07 19:54:36,945 - DEBUG - Response for create_network : {'network': {'id': '2db6d102-e44d-4668-abed-1976dec75b59', 'name': 'ctest-vn-25627176', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'project_id': '9dcf65112fd84d89839f98102891d602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-vn-25627176'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:54:37,110 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b944edd-e9b8-4a7b-a3e4-7418bd61823f', 'name': '', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'network_id': '2db6d102-e44d-4668-abed-1976dec75b59', 'ip_version': 4, 'cidr': '143.11.201.128/26', 'allocation_pools': [{'start': '143.11.201.130', 'end': '143.11.201.190'}], 'gateway_ip': '143.11.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.11.201.130', 'tags': [], 'project_id': '9dcf65112fd84d89839f98102891d602'}} 2025-11-07 19:54:37,128 - INFO - Created VN ctest-vn-25627176 2025-11-07 19:54:37,181 - DEBUG - VN ctest-vn-25627176 UUID is 2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:37,508 - DEBUG - Response for create_network : {'network': {'id': 'eb7e4bfa-5562-4872-87fe-4353dc9befe6', 'name': 'ctest-vn-78701961', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'project_id': '9dcf65112fd84d89839f98102891d602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-vn-78701961'], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:54:37,690 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3d7d9e4-65d0-4a8e-8fdf-91a01b0e3b82', 'name': '', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'network_id': 'eb7e4bfa-5562-4872-87fe-4353dc9befe6', 'ip_version': 4, 'cidr': '167.20.143.0/26', 'allocation_pools': [{'start': '167.20.143.2', 'end': '167.20.143.62'}], 'gateway_ip': '167.20.143.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.20.143.2', 'tags': [], 'project_id': '9dcf65112fd84d89839f98102891d602'}} 2025-11-07 19:54:37,707 - INFO - Created VN ctest-vn-78701961 2025-11-07 19:54:37,761 - DEBUG - VN ctest-vn-78701961 UUID is eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:37,889 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176, 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-20248570:ctest-vn-78701961, 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-07 19:54:38,186 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2db6d102-e44d-4668-abed-1976dec75b59', 'name': 'ctest-vn-25627176', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'project_id': '9dcf65112fd84d89839f98102891d602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b944edd-e9b8-4a7b-a3e4-7418bd61823f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-vn-25627176'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-policy-allow-all-57565586']], 'subnet_ipam': [{'subnet_cidr': '143.11.201.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:54:38,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb7e4bfa-5562-4872-87fe-4353dc9befe6', 'name': 'ctest-vn-78701961', 'tenant_id': '9dcf65112fd84d89839f98102891d602', 'project_id': '9dcf65112fd84d89839f98102891d602', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3d7d9e4-65d0-4a8e-8fdf-91a01b0e3b82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-vn-78701961'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-policy-allow-all-57565586']], 'subnet_ipam': [{'subnet_cidr': '167.20.143.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-07 19:54:38,565 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:54:38,896 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:54:38,921 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:54:38,936 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:54:39,015 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:54:39,044 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:54:39,051 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7fd4f19-aee4-4557-aeb8-ab60c635158a 2025-11-07 19:54:39,058 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 19:54:39,058 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:54:39,080 - INFO - Verified VN network id 12 for VN 2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,081 - INFO - Verifications in API Server for VN ctest-vn-25627176 passed 2025-11-07 19:54:39,081 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,089 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:54:39,096 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:54:39,103 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f7fd4f19-aee4-4557-aeb8-ab60c635158a 2025-11-07 19:54:39,116 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20248570', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3294049987818505832', 'uuid-lslong': '12388586148300544857'}, 'enable': 'true', 'created': '2025-11-07T19:54:36', 'last-modified': '2025-11-07T19:54:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954020'} 2025-11-07 19:54:39,122 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-07 19:54:39,122 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25627176 passed 2025-11-07 19:54:39,122 - DEBUG - ====Verifying policy data for ctest-vn-25627176 in API_Server ====== 2025-11-07 19:54:39,122 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:54:39,128 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:54:39,138 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:54:39,204 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2db6d102-e44d-4668-abed-1976dec75b59 2025-11-07 19:54:39,214 - DEBUG - ==>Verifying data for policy with id: 844d513a-1fa7-4f03-bdad-da638c676c4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-policy-allow-all-57565586'] 2025-11-07 19:54:39,214 - INFO - VN ctest-vn-25627176 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 19:54:39,214 - DEBUG - Verifying the vn in opserver 2025-11-07 19:54:39,214 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176 virtual network link through opserver 10.0.0.38 2025-11-07 19:54:39,214 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 19:54:39,533 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 19:54:39,577 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176?flat'} 2025-11-07 19:54:39,577 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176 is found in opserver 2025-11-07 19:54:39,586 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 19:54:39,591 - DEBUG - VRF ids for VN ctest-vn-25627176: {} 2025-11-07 19:54:39,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:54:39,598 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:54:39,608 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:54:39,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,690 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,699 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:54:39,706 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:54:39,712 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5bc3887-dba3-495b-b7f7-4a6305f739d6 2025-11-07 19:54:39,719 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 19:54:39,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:54:39,743 - INFO - Verified VN network id 13 for VN eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,744 - INFO - Verifications in API Server for VN ctest-vn-78701961 passed 2025-11-07 19:54:39,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:54:39,762 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:54:39,769 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e5bc3887-dba3-495b-b7f7-4a6305f739d6 2025-11-07 19:54:39,781 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-78701961', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-20248570', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16969083984525019250', 'uuid-lslong': '9799343866667331558'}, 'enable': 'true', 'created': '2025-11-07T19:54:37', 'last-modified': '2025-11-07T19:54:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396881'} 2025-11-07 19:54:39,786 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-07 19:54:39,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78701961 passed 2025-11-07 19:54:39,787 - DEBUG - ====Verifying policy data for ctest-vn-78701961 in API_Server ====== 2025-11-07 19:54:39,787 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:54:39,792 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:54:39,802 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:54:39,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/eb7e4bfa-5562-4872-87fe-4353dc9befe6 2025-11-07 19:54:39,884 - DEBUG - ==>Verifying data for policy with id: 844d513a-1fa7-4f03-bdad-da638c676c4d, fqn: ['default-domain', 'ctest-TestBasicPolicy-20248570', 'ctest-policy-allow-all-57565586'] 2025-11-07 19:54:39,884 - INFO - VN ctest-vn-78701961 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-07 19:54:39,884 - DEBUG - Verifying the vn in opserver 2025-11-07 19:54:39,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-78701961 virtual network link through opserver 10.0.0.38 2025-11-07 19:54:39,884 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-07 19:54:39,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-78701961', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-78701961?flat'} 2025-11-07 19:54:39,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-78701961 is found in opserver 2025-11-07 19:54:39,903 - DEBUG - Do not have enough data to verify VN in agent 2025-11-07 19:54:39,907 - DEBUG - VRF ids for VN ctest-vn-78701961: {} 2025-11-07 19:54:39,968 - DEBUG - Services list from nova: [, , ] 2025-11-07 19:54:41,030 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1) 2025-11-07 19:54:42,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4671-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4671-1) 2025-11-07 19:54:42,233 - INFO - Waiting for VM ctest-TestBasicPolicy-20248570-94730369 to be up.. 2025-11-07 19:54:42,328 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-07 19:54:47,401 - DEBUG - VM is in ACTIVE state now 2025-11-07 19:54:47,401 - INFO - VM name : ctest-TestBasicPolicy-20248570-94730369 2025-11-07 19:54:47,477 - DEBUG - VM ctest-TestBasicPolicy-20248570-94730369 ID is b68693f0-00d7-401f-9d7a-650ac951d790 2025-11-07 19:54:47,501 - DEBUG - VM ctest-TestBasicPolicy-20248570-94730369 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1 2025-11-07 19:54:47,580 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b68693f0-00d7-401f-9d7a-650ac951d790 2025-11-07 19:54:47,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/229c78c6-5ecd-47ac-b772-74471bf263f7 2025-11-07 19:54:50,837 - 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 1010ms') 2025-11-07 19:54:50,838 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20248570-94730369 failed! 2025-11-07 19:54:50,893 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-20248570:ctest-vn-25627176 is 143.11.201.129 and allocation pool is NOT set 2025-11-07 19:54:52,957 - 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.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.629 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.629/1.903/3.178/1.274 ms') 2025-11-07 19:54:52,958 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-20248570-94730369 passed 2025-11-07 19:54:53,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:54:53,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20248570-94730369, IP 143.11.201.131, Port 22 2025-11-07 19:54:53,292 - DEBUG - VM ctest-TestBasicPolicy-20248570-94730369 is ready for SSH connections 2025-11-07 19:54:53,292 - INFO - Waiting for VM ctest-TestBasicPolicy-20248570-07835472 to be up.. 2025-11-07 19:54:53,373 - DEBUG - VM is in ACTIVE state now 2025-11-07 19:54:53,373 - INFO - VM name : ctest-TestBasicPolicy-20248570-07835472 2025-11-07 19:54:53,449 - DEBUG - VM ctest-TestBasicPolicy-20248570-07835472 ID is 0c7ce0e4-2dcc-479e-ad3c-13b2cda3ab17 2025-11-07 19:54:53,449 - DEBUG - VM ctest-TestBasicPolicy-20248570-07835472 launched on Node cn-jenkins-deploy-platform-ansible-os-4671-1 2025-11-07 19:54:53,519 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c7ce0e4-2dcc-479e-ad3c-13b2cda3ab17 2025-11-07 19:54:53,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a5a6add-9bd5-4af2-a794-725ab1e7aa43 2025-11-07 19:54:54,772 - 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.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.40 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 = 2.403/3.265/4.128/0.862 ms') 2025-11-07 19:54:54,772 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-20248570-07835472 passed 2025-11-07 19:54:54,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:54:54,937 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-20248570-07835472, IP 167.20.143.3, Port 22 2025-11-07 19:54:55,091 - DEBUG - VM ctest-TestBasicPolicy-20248570-07835472 is ready for SSH connections 2025-11-07 19:54:55,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:54:55,092 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.20.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:54:55,092 - DEBUG - ping -s 56 -c 3 -W 1 167.20.143.3 2025-11-07 19:54:59,112 - DEBUG - PING 167.20.143.3 (167.20.143.3): 56 data bytes 64 bytes from 167.20.143.3: seq=0 ttl=63 time=5.121 ms 64 bytes from 167.20.143.3: seq=1 ttl=63 time=0.974 ms 64 bytes from 167.20.143.3: seq=2 ttl=63 time=1.024 ms --- 167.20.143.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.974/2.373/5.121 ms 2025-11-07 19:54:59,112 - INFO - Ping to IP 167.20.143.3 from VM ctest-TestBasicPolicy-20248570-94730369 passed 2025-11-07 19:54:59,296 - DEBUG - Policy Update Response {"network-policy": {"uuid": "844d513a-1fa7-4f03-bdad-da638c676c4d", "href": "http://10.0.0.38:8082/network-policy/844d513a-1fa7-4f03-bdad-da638c676c4d"}} 2025-11-07 19:54:59,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-07 19:54:59,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.20.143.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-07 19:54:59,297 - DEBUG - ping -s 56 -c 3 -W 1 167.20.143.3 2025-11-07 19:55:02,425 - DEBUG - PING 167.20.143.3 (167.20.143.3): 56 data bytes --- 167.20.143.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-07 19:55:02,425 - WARNING - Ping to IP 167.20.143.3 from VM ctest-TestBasicPolicy-20248570-94730369 failed 2025-11-07 19:55:02,425 - INFO - Deleting VM ctest-TestBasicPolicy-20248570-07835472 2025-11-07 19:55:02,497 - INFO - Deleting VM ctest-TestBasicPolicy-20248570-94730369 2025-11-07 19:55:02,954 - INFO - Deleted policy ctest-policy-allow-all-57565586 2025-11-07 19:55:02,955 - INFO - Deleting VN ctest-vn-78701961 2025-11-07 19:55:02,986 - DEBUG - VN eb7e4bfa-5562-4872-87fe-4353dc9befe6 still in use: Unable to complete operation on network eb7e4bfa-5562-4872-87fe-4353dc9befe6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f1a292c-7076-4889-a9c2-7bf30cabcb26'] 2025-11-07 19:55:02,987 - WARNING - Deleting VN ctest-vn-78701961 failed..Will retry 2025-11-07 19:55:05,114 - DEBUG - Response for deleting network () 2025-11-07 19:55:05,114 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/184afd0d-b650-4214-a283-9a2933080175 2025-11-07 19:55:05,120 - DEBUG - Response Code: 404 2025-11-07 19:55:05,120 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:55:05,134 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:55:05,191 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:55:05,263 - INFO - Validated that VN ctest-vn-78701961 is not found in API Server 2025-11-07 19:55:05,277 - DEBUG - VN ctest-vn-78701961 is not present in Agent 10.0.0.38 2025-11-07 19:55:05,277 - INFO - Validated that VN ctest-vn-78701961 is not in any agent 2025-11-07 19:55:05,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78701961 info 2025-11-07 19:55:05,296 - INFO - Deleting VN ctest-vn-25627176 2025-11-07 19:55:05,392 - DEBUG - Response for deleting network () 2025-11-07 19:55:05,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3f64e950-c723-4eef-a51d-9bcda14928b8 2025-11-07 19:55:05,401 - DEBUG - Response Code: 404 2025-11-07 19:55:05,402 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-07 19:55:05,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/0673fd90-b593-433c-8b30-9d615c58c4b0 2025-11-07 19:55:05,461 - DEBUG - Requesting: http://10.0.0.38:8082/project/9dcf6511-2fd8-4d89-839f-98102891d602 2025-11-07 19:55:05,527 - INFO - Validated that VN ctest-vn-25627176 is not found in API Server 2025-11-07 19:55:05,540 - DEBUG - VN ctest-vn-25627176 is not present in Agent 10.0.0.38 2025-11-07 19:55:05,540 - INFO - Validated that VN ctest-vn-25627176 is not in any agent 2025-11-07 19:55:05,556 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25627176 info 2025-11-07 19:55:05,829 - DEBUG - No XMPP flaps were noticed during the test 2025-11-07 19:55:05,829 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2025-11-07 19:55:05,829 - INFO - -------------------------------------------------------------------------------- 2025-11-07 19:55:06,545 - INFO - Deleted project: ctest-TestBasicPolicy-20248570, ID : 9dcf6511-2fd8-4d89-839f-98102891d602