2025-06-01 04:12:29,099 - INFO - Domain Default found not creating 2025-06-01 04:12:29,239 - INFO - Project ctest-TestBasicPolicy-03926015 not found, creating it 2025-06-01 04:12:29,693 - INFO - Created Project:ctest-TestBasicPolicy-03926015, ID : 06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:12:31,252 - INFO - ================================================================================ 2025-06-01 04:12:31,252 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-01 04:12:31,252 - 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-06-01 04:12:31,522 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-06-01 04:12:31,522 - INFO - Initial checks done. Running the testcase now 2025-06-01 04:12:31,523 - INFO - 2025-06-01 04:12:32,130 - DEBUG - Response for create_network : {'network': {'id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'name': 'ctest-vn-13110576', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-13110576'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 04:12:32,330 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd51a8f86-c43b-4a22-83a9-95f59a38860b', 'name': '', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'network_id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'ip_version': 4, 'cidr': '199.17.14.192/26', 'allocation_pools': [{'start': '199.17.14.194', 'end': '199.17.14.254'}], 'gateway_ip': '199.17.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.17.14.194', 'tags': [], 'project_id': '06c71591379041ee9d02ac3fd56e2e43'}} 2025-06-01 04:12:32,348 - INFO - Created VN ctest-vn-13110576 2025-06-01 04:12:32,400 - DEBUG - VN ctest-vn-13110576 UUID is 83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:32,704 - DEBUG - Response for create_network : {'network': {'id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'name': 'ctest-vn-29972915', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-29972915'], 'port_security_enabled': True, 'description': ''}} 2025-06-01 04:12:32,971 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b45e53d8-dd06-41a4-89eb-80c1e29871eb', 'name': '', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'network_id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'ip_version': 4, 'cidr': '164.1.27.192/26', 'allocation_pools': [{'start': '164.1.27.194', 'end': '164.1.27.254'}], 'gateway_ip': '164.1.27.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.1.27.194', 'tags': [], 'project_id': '06c71591379041ee9d02ac3fd56e2e43'}} 2025-06-01 04:12:32,990 - INFO - Created VN ctest-vn-29972915 2025-06-01 04:12:33,044 - DEBUG - VN ctest-vn-29972915 UUID is 17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:33,159 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576, 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-03926015:ctest-vn-29972915, 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-06-01 04:12:33,444 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83c17a11-d226-4d13-975d-233d42dd9f43', 'name': 'ctest-vn-13110576', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d51a8f86-c43b-4a22-83a9-95f59a38860b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-13110576'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']], 'subnet_ipam': [{'subnet_cidr': '199.17.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-01 04:12:33,687 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17574506-d636-4bba-99ea-ed24a1a7bb73', 'name': 'ctest-vn-29972915', 'tenant_id': '06c71591379041ee9d02ac3fd56e2e43', 'project_id': '06c71591379041ee9d02ac3fd56e2e43', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b45e53d8-dd06-41a4-89eb-80c1e29871eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-vn-29972915'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208']], 'subnet_ipam': [{'subnet_cidr': '164.1.27.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-01 04:12:33,860 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:12:34,191 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:12:34,223 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:12:34,237 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:12:34,315 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,327 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,337 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:12:34,345 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:12:34,352 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df73d474-8151-4d1b-9b4e-f70931d21c58 2025-06-01 04:12:34,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-01 04:12:34,359 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,369 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:12:34,385 - INFO - Verified VN network id 8 for VN 83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,385 - INFO - Verifications in API Server for VN ctest-vn-13110576 passed 2025-06-01 04:12:34,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,396 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:12:34,403 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:12:34,410 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/df73d474-8151-4d1b-9b4e-f70931d21c58 2025-06-01 04:12:34,422 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03926015', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9494003706432474387', 'uuid-lslong': '10906912618583007043'}, 'enable': 'true', 'created': '2025-06-01T04:12:32', 'last-modified': '2025-06-01T04:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.999979'} 2025-06-01 04:12:34,429 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-01 04:12:34,429 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13110576 passed 2025-06-01 04:12:34,430 - DEBUG - ====Verifying policy data for ctest-vn-13110576 in API_Server ====== 2025-06-01 04:12:34,430 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:12:34,436 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:12:34,448 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:12:34,519 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/83c17a11-d226-4d13-975d-233d42dd9f43 2025-06-01 04:12:34,531 - DEBUG - ==>Verifying data for policy with id: 7fb3965c-e999-4a32-8bf9-1a3b74946466, fqn: ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208'] 2025-06-01 04:12:34,531 - INFO - VN ctest-vn-13110576 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-01 04:12:34,531 - DEBUG - Verifying the vn in opserver 2025-06-01 04:12:34,531 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576 virtual network link through opserver 10.0.0.254 2025-06-01 04:12:34,531 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 04:12:34,863 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 04:12:34,916 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576?flat'} 2025-06-01 04:12:34,916 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576 is found in opserver 2025-06-01 04:12:34,927 - DEBUG - Do not have enough data to verify VN in agent 2025-06-01 04:12:34,932 - DEBUG - VRF ids for VN ctest-vn-13110576: {} 2025-06-01 04:12:34,932 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:12:34,938 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:12:34,949 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:12:35,026 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,040 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,051 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:12:35,058 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:12:35,065 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5724234-5dd3-4323-b3fb-6aa90588238e 2025-06-01 04:12:35,073 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-01 04:12:35,073 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,083 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:12:35,099 - INFO - Verified VN network id 9 for VN 17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,099 - INFO - Verifications in API Server for VN ctest-vn-29972915 passed 2025-06-01 04:12:35,099 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,110 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:12:35,116 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:12:35,123 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/b5724234-5dd3-4323-b3fb-6aa90588238e 2025-06-01 04:12:35,134 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03926015', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1681888881512172474', 'uuid-lslong': '11090937773939997555'}, 'enable': 'true', 'created': '2025-06-01T04:12:32', 'last-modified': '2025-06-01T04:12:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469820'} 2025-06-01 04:12:35,141 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-01 04:12:35,141 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29972915 passed 2025-06-01 04:12:35,141 - DEBUG - ====Verifying policy data for ctest-vn-29972915 in API_Server ====== 2025-06-01 04:12:35,141 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:12:35,146 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:12:35,157 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:12:35,235 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/17574506-d636-4bba-99ea-ed24a1a7bb73 2025-06-01 04:12:35,248 - DEBUG - ==>Verifying data for policy with id: 7fb3965c-e999-4a32-8bf9-1a3b74946466, fqn: ['default-domain', 'ctest-TestBasicPolicy-03926015', 'ctest-policy-allow-all-26672208'] 2025-06-01 04:12:35,248 - INFO - VN ctest-vn-29972915 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-01 04:12:35,248 - DEBUG - Verifying the vn in opserver 2025-06-01 04:12:35,248 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915 virtual network link through opserver 10.0.0.254 2025-06-01 04:12:35,248 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-06-01 04:12:35,260 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915?flat'} 2025-06-01 04:12:35,260 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-29972915 is found in opserver 2025-06-01 04:12:35,272 - DEBUG - Do not have enough data to verify VN in agent 2025-06-01 04:12:35,277 - DEBUG - VRF ids for VN ctest-vn-29972915: {} 2025-06-01 04:12:35,333 - DEBUG - Services list from nova: [, , ] 2025-06-01 04:12:36,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3378-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3378-1) 2025-06-01 04:12:37,735 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3378-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3378-1) 2025-06-01 04:12:37,735 - INFO - Waiting for VM ctest-TestBasicPolicy-03926015-90815194 to be up.. 2025-06-01 04:12:37,814 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-01 04:12:42,890 - DEBUG - VM is in ACTIVE state now 2025-06-01 04:12:42,891 - INFO - VM name : ctest-TestBasicPolicy-03926015-90815194 2025-06-01 04:12:42,977 - DEBUG - VM ctest-TestBasicPolicy-03926015-90815194 ID is 274d2d0f-180c-4add-90c1-cb558bcbddb0 2025-06-01 04:12:42,998 - DEBUG - VM ctest-TestBasicPolicy-03926015-90815194 launched on Node cn-jenkins-deploy-platform-ansible-os-3378-1 2025-06-01 04:12:43,096 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/274d2d0f-180c-4add-90c1-cb558bcbddb0 2025-06-01 04:12:43,105 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bb95fcdb-40bd-4350-8b61-0e503f721b1a 2025-06-01 04:12:46,386 - 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 1031ms') 2025-06-01 04:12:46,386 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03926015-90815194 failed! 2025-06-01 04:12:46,440 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03926015:ctest-vn-13110576 is 199.17.14.193 and allocation pool is NOT set 2025-06-01 04:12:48,500 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.92 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.457 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.457/3.688/6.919/3.231 ms') 2025-06-01 04:12:48,500 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03926015-90815194 passed 2025-06-01 04:12:48,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 04:12:48,652 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03926015-90815194, IP 199.17.14.195, Port 22 2025-06-01 04:12:48,808 - DEBUG - VM ctest-TestBasicPolicy-03926015-90815194 is ready for SSH connections 2025-06-01 04:12:48,808 - INFO - Waiting for VM ctest-TestBasicPolicy-03926015-49629169 to be up.. 2025-06-01 04:12:48,882 - DEBUG - VM is in ACTIVE state now 2025-06-01 04:12:48,882 - INFO - VM name : ctest-TestBasicPolicy-03926015-49629169 2025-06-01 04:12:48,953 - DEBUG - VM ctest-TestBasicPolicy-03926015-49629169 ID is 82cba05a-e8e8-4a08-87ee-ac8155f20b63 2025-06-01 04:12:48,953 - DEBUG - VM ctest-TestBasicPolicy-03926015-49629169 launched on Node cn-jenkins-deploy-platform-ansible-os-3378-1 2025-06-01 04:12:49,028 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/82cba05a-e8e8-4a08-87ee-ac8155f20b63 2025-06-01 04:12:49,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9ee85d08-c117-4f18-a07b-ca607235b2eb 2025-06-01 04:12:50,286 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.657 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.657/1.944/3.232/1.287 ms') 2025-06-01 04:12:50,286 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03926015-49629169 passed 2025-06-01 04:12:50,436 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 04:12:50,436 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03926015-49629169, IP 164.1.27.195, Port 22 2025-06-01 04:12:50,595 - DEBUG - VM ctest-TestBasicPolicy-03926015-49629169 is ready for SSH connections 2025-06-01 04:12:50,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 04:12:50,595 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.1.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-01 04:12:50,595 - DEBUG - ping -s 56 -c 3 -W 1 164.1.27.195 2025-06-01 04:12:54,303 - DEBUG - PING 164.1.27.195 (164.1.27.195): 56 data bytes 64 bytes from 164.1.27.195: seq=0 ttl=63 time=3.643 ms 64 bytes from 164.1.27.195: seq=1 ttl=63 time=0.818 ms 64 bytes from 164.1.27.195: seq=2 ttl=63 time=0.728 ms --- 164.1.27.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.728/1.729/3.643 ms 2025-06-01 04:12:54,303 - INFO - Ping to IP 164.1.27.195 from VM ctest-TestBasicPolicy-03926015-90815194 passed 2025-06-01 04:12:54,483 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7fb3965c-e999-4a32-8bf9-1a3b74946466", "href": "http://10.0.0.254:8082/network-policy/7fb3965c-e999-4a32-8bf9-1a3b74946466"}} 2025-06-01 04:12:54,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-01 04:12:54,484 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.1.27.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-06-01 04:12:54,484 - DEBUG - ping -s 56 -c 3 -W 1 164.1.27.195 2025-06-01 04:12:57,703 - DEBUG - PING 164.1.27.195 (164.1.27.195): 56 data bytes --- 164.1.27.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-01 04:12:57,703 - WARNING - Ping to IP 164.1.27.195 from VM ctest-TestBasicPolicy-03926015-90815194 failed 2025-06-01 04:12:57,703 - INFO - Deleting VM ctest-TestBasicPolicy-03926015-49629169 2025-06-01 04:12:57,767 - INFO - Deleting VM ctest-TestBasicPolicy-03926015-90815194 2025-06-01 04:12:58,123 - INFO - Deleted policy ctest-policy-allow-all-26672208 2025-06-01 04:12:58,123 - INFO - Deleting VN ctest-vn-29972915 2025-06-01 04:12:58,159 - DEBUG - VN 17574506-d636-4bba-99ea-ed24a1a7bb73 still in use: Unable to complete operation on network 17574506-d636-4bba-99ea-ed24a1a7bb73. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-93844d52-dcdb-4df6-8507-4ceae27a5c4a'] 2025-06-01 04:12:58,159 - WARNING - Deleting VN ctest-vn-29972915 failed..Will retry 2025-06-01 04:13:00,265 - DEBUG - Response for deleting network () 2025-06-01 04:13:00,265 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6bd83017-f4ed-44f0-916e-1c0c691201fd 2025-06-01 04:13:00,270 - DEBUG - Response Code: 404 2025-06-01 04:13:00,270 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:13:00,283 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:13:00,341 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:13:00,420 - INFO - Validated that VN ctest-vn-29972915 is not found in API Server 2025-06-01 04:13:00,434 - DEBUG - VN ctest-vn-29972915 is not present in Agent 10.0.0.254 2025-06-01 04:13:00,434 - INFO - Validated that VN ctest-vn-29972915 is not in any agent 2025-06-01 04:13:00,452 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-29972915 info 2025-06-01 04:13:00,452 - INFO - Deleting VN ctest-vn-13110576 2025-06-01 04:13:00,571 - DEBUG - Response for deleting network () 2025-06-01 04:13:00,571 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/62391352-d43f-4f40-8053-6cb8eb8a66e4 2025-06-01 04:13:00,578 - DEBUG - Response Code: 404 2025-06-01 04:13:00,579 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-06-01 04:13:00,586 - DEBUG - Requesting: http://10.0.0.254:8082/domain/1fd1c055-ce3e-4701-9862-01d3b9b93d95 2025-06-01 04:13:00,641 - DEBUG - Requesting: http://10.0.0.254:8082/project/06c71591-3790-41ee-9d02-ac3fd56e2e43 2025-06-01 04:13:00,721 - INFO - Validated that VN ctest-vn-13110576 is not found in API Server 2025-06-01 04:13:00,732 - DEBUG - VN ctest-vn-13110576 is not present in Agent 10.0.0.254 2025-06-01 04:13:00,732 - INFO - Validated that VN ctest-vn-13110576 is not in any agent 2025-06-01 04:13:00,748 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13110576 info 2025-06-01 04:13:01,005 - DEBUG - No XMPP flaps were noticed during the test 2025-06-01 04:13:01,005 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-01 04:13:01,005 - INFO - -------------------------------------------------------------------------------- 2025-06-01 04:13:01,702 - INFO - Deleted project: ctest-TestBasicPolicy-03926015, ID : 06c71591-3790-41ee-9d02-ac3fd56e2e43