2025-06-12 02:12:49,292 - INFO - Domain Default found not creating 2025-06-12 02:12:49,436 - INFO - Project ctest-TestBasicPolicy-70276786 not found, creating it 2025-06-12 02:12:49,996 - INFO - Created Project:ctest-TestBasicPolicy-70276786, ID : 112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:12:51,522 - INFO - ================================================================================ 2025-06-12 02:12:51,522 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-12 02:12:51,522 - 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-12 02:12:51,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-06-12 02:12:51,787 - INFO - Initial checks done. Running the testcase now 2025-06-12 02:12:51,787 - INFO - 2025-06-12 02:12:52,336 - DEBUG - Response for create_network : {'network': {'id': 'b16eec5a-23b0-443b-8f17-624e11938a83', 'name': 'ctest-vn-24605370', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'project_id': '112a2433aa3641f9bd62c98172f37421', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-vn-24605370'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:12:52,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '065fd0f6-53e9-434f-b8c3-bd5de5cf7f0c', 'name': '', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'network_id': 'b16eec5a-23b0-443b-8f17-624e11938a83', 'ip_version': 4, 'cidr': '72.143.153.64/26', 'allocation_pools': [{'start': '72.143.153.66', 'end': '72.143.153.126'}], 'gateway_ip': '72.143.153.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '72.143.153.66', 'tags': [], 'project_id': '112a2433aa3641f9bd62c98172f37421'}} 2025-06-12 02:12:52,563 - INFO - Created VN ctest-vn-24605370 2025-06-12 02:12:52,616 - DEBUG - VN ctest-vn-24605370 UUID is b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:52,909 - DEBUG - Response for create_network : {'network': {'id': 'a605ca54-a3c4-44bc-bd57-06f4f28872ab', 'name': 'ctest-vn-16792637', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'project_id': '112a2433aa3641f9bd62c98172f37421', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-vn-16792637'], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:12:53,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '59914d66-e5fd-4fcf-8cc2-efbc758b11f9', 'name': '', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'network_id': 'a605ca54-a3c4-44bc-bd57-06f4f28872ab', 'ip_version': 4, 'cidr': '153.237.231.128/26', 'allocation_pools': [{'start': '153.237.231.130', 'end': '153.237.231.190'}], 'gateway_ip': '153.237.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.237.231.130', 'tags': [], 'project_id': '112a2433aa3641f9bd62c98172f37421'}} 2025-06-12 02:12:53,144 - INFO - Created VN ctest-vn-16792637 2025-06-12 02:12:53,196 - DEBUG - VN ctest-vn-16792637 UUID is a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:53,321 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370, 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-70276786:ctest-vn-16792637, 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-12 02:12:53,638 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b16eec5a-23b0-443b-8f17-624e11938a83', 'name': 'ctest-vn-24605370', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'project_id': '112a2433aa3641f9bd62c98172f37421', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['065fd0f6-53e9-434f-b8c3-bd5de5cf7f0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-vn-24605370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-policy-allow-all-89951447']], 'subnet_ipam': [{'subnet_cidr': '72.143.153.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:12:53,928 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a605ca54-a3c4-44bc-bd57-06f4f28872ab', 'name': 'ctest-vn-16792637', 'tenant_id': '112a2433aa3641f9bd62c98172f37421', 'project_id': '112a2433aa3641f9bd62c98172f37421', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59914d66-e5fd-4fcf-8cc2-efbc758b11f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-vn-16792637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-policy-allow-all-89951447']], 'subnet_ipam': [{'subnet_cidr': '153.237.231.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-12 02:12:54,068 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:12:54,363 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:12:54,391 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:12:54,404 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:12:54,478 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,493 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,505 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:12:54,515 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:12:54,523 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/43a84027-f8f5-44a0-87b4-0ee6520a4756 2025-06-12 02:12:54,530 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:12:54,531 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,544 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:12:54,566 - INFO - Verified VN network id 8 for VN b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,566 - INFO - Verifications in API Server for VN ctest-vn-24605370 passed 2025-06-12 02:12:54,566 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,579 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:12:54,588 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:12:54,596 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/43a84027-f8f5-44a0-87b4-0ee6520a4756 2025-06-12 02:12:54,611 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70276786', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12785416264041382971', 'uuid-lslong': '10310817959329892995'}, 'enable': 'true', 'created': '2025-06-12T02:12:52', 'last-modified': '2025-06-12T02:12:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994585'} 2025-06-12 02:12:54,618 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-12 02:12:54,618 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24605370 passed 2025-06-12 02:12:54,618 - DEBUG - ====Verifying policy data for ctest-vn-24605370 in API_Server ====== 2025-06-12 02:12:54,618 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:12:54,625 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:12:54,639 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:12:54,712 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/b16eec5a-23b0-443b-8f17-624e11938a83 2025-06-12 02:12:54,724 - DEBUG - ==>Verifying data for policy with id: 09eee038-cca5-4f72-9e86-9021e6355279, fqn: ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-policy-allow-all-89951447'] 2025-06-12 02:12:54,724 - INFO - VN ctest-vn-24605370 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:12:54,724 - DEBUG - Verifying the vn in opserver 2025-06-12 02:12:54,724 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370 virtual network link through opserver 10.0.0.141 2025-06-12 02:12:54,724 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-12 02:12:55,023 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-12 02:12:55,086 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370?flat'} 2025-06-12 02:12:55,086 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370 is found in opserver 2025-06-12 02:12:55,098 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:12:55,103 - DEBUG - VRF ids for VN ctest-vn-24605370: {} 2025-06-12 02:12:55,103 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:12:55,110 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:12:55,124 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:12:55,202 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,216 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,227 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:12:55,237 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:12:55,244 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b2a20218-e4d6-432b-8f1e-5bec686503e7 2025-06-12 02:12:55,251 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:12:55,251 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,261 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:12:55,277 - INFO - Verified VN network id 9 for VN a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,277 - INFO - Verifications in API Server for VN ctest-vn-16792637 passed 2025-06-12 02:12:55,278 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,288 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:12:55,296 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:12:55,304 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/b2a20218-e4d6-432b-8f1e-5bec686503e7 2025-06-12 02:12:55,319 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-16792637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70276786', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11963190450053203132', 'uuid-lslong': '13643381245253022379'}, 'enable': 'true', 'created': '2025-06-12T02:12:52', 'last-modified': '2025-06-12T02:12:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464597'} 2025-06-12 02:12:55,325 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-12 02:12:55,325 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16792637 passed 2025-06-12 02:12:55,325 - DEBUG - ====Verifying policy data for ctest-vn-16792637 in API_Server ====== 2025-06-12 02:12:55,325 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:12:55,331 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:12:55,342 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:12:55,422 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/a605ca54-a3c4-44bc-bd57-06f4f28872ab 2025-06-12 02:12:55,433 - DEBUG - ==>Verifying data for policy with id: 09eee038-cca5-4f72-9e86-9021e6355279, fqn: ['default-domain', 'ctest-TestBasicPolicy-70276786', 'ctest-policy-allow-all-89951447'] 2025-06-12 02:12:55,433 - INFO - VN ctest-vn-16792637 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-12 02:12:55,433 - DEBUG - Verifying the vn in opserver 2025-06-12 02:12:55,433 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-16792637 virtual network link through opserver 10.0.0.141 2025-06-12 02:12:55,433 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-06-12 02:12:55,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-16792637', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-16792637?flat'} 2025-06-12 02:12:55,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-16792637 is found in opserver 2025-06-12 02:12:55,459 - DEBUG - Do not have enough data to verify VN in agent 2025-06-12 02:12:55,465 - DEBUG - VRF ids for VN ctest-vn-16792637: {} 2025-06-12 02:12:55,536 - DEBUG - Services list from nova: [, , ] 2025-06-12 02:12:56,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3447-1) 2025-06-12 02:12:57,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3447-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3447-1) 2025-06-12 02:12:57,819 - INFO - Waiting for VM ctest-TestBasicPolicy-70276786-51163072 to be up.. 2025-06-12 02:12:57,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-12 02:13:02,970 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:13:02,970 - INFO - VM name : ctest-TestBasicPolicy-70276786-51163072 2025-06-12 02:13:03,049 - DEBUG - VM ctest-TestBasicPolicy-70276786-51163072 ID is 4a8b80da-8218-44c0-b24f-9421d9b01ba8 2025-06-12 02:13:03,067 - DEBUG - VM ctest-TestBasicPolicy-70276786-51163072 launched on Node cn-jenkins-deploy-platform-ansible-os-3447-1 2025-06-12 02:13:03,146 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4a8b80da-8218-44c0-b24f-9421d9b01ba8 2025-06-12 02:13:03,154 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f32fc3a3-0fdd-40ea-b8e6-f87515bd1cdc 2025-06-12 02:13:06,369 - 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 1022ms') 2025-06-12 02:13:06,369 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70276786-51163072 failed! 2025-06-12 02:13:06,424 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-70276786:ctest-vn-24605370 is 72.143.153.65 and allocation pool is NOT set 2025-06-12 02:13:08,486 - 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=2.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.394 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.394/1.668/2.943/1.274 ms') 2025-06-12 02:13:08,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-70276786-51163072 passed 2025-06-12 02:13:08,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:13:08,644 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70276786-51163072, IP 72.143.153.67, Port 22 2025-06-12 02:13:08,813 - DEBUG - VM ctest-TestBasicPolicy-70276786-51163072 is ready for SSH connections 2025-06-12 02:13:08,813 - INFO - Waiting for VM ctest-TestBasicPolicy-70276786-70548273 to be up.. 2025-06-12 02:13:08,897 - DEBUG - VM is in ACTIVE state now 2025-06-12 02:13:08,897 - INFO - VM name : ctest-TestBasicPolicy-70276786-70548273 2025-06-12 02:13:08,975 - DEBUG - VM ctest-TestBasicPolicy-70276786-70548273 ID is 629d330a-4ee4-446b-8d44-b1368780f281 2025-06-12 02:13:08,975 - DEBUG - VM ctest-TestBasicPolicy-70276786-70548273 launched on Node cn-jenkins-deploy-platform-ansible-os-3447-1 2025-06-12 02:13:09,047 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/629d330a-4ee4-446b-8d44-b1368780f281 2025-06-12 02:13:09,056 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/f42aaff1-43db-4e7a-8009-a102c8a3b364 2025-06-12 02:13:10,296 - 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.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.322 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.322/1.517/2.712/1.195 ms') 2025-06-12 02:13:10,297 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-70276786-70548273 passed 2025-06-12 02:13:10,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:13:10,444 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-70276786-70548273, IP 153.237.231.131, Port 22 2025-06-12 02:13:10,600 - DEBUG - VM ctest-TestBasicPolicy-70276786-70548273 is ready for SSH connections 2025-06-12 02:13:10,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:13:10,600 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.237.231.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-06-12 02:13:10,600 - DEBUG - ping -s 56 -c 3 -W 1 153.237.231.131 2025-06-12 02:13:14,571 - DEBUG - PING 153.237.231.131 (153.237.231.131): 56 data bytes 64 bytes from 153.237.231.131: seq=0 ttl=63 time=3.287 ms 64 bytes from 153.237.231.131: seq=1 ttl=63 time=0.876 ms 64 bytes from 153.237.231.131: seq=2 ttl=63 time=0.891 ms --- 153.237.231.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.684/3.287 ms 2025-06-12 02:13:14,572 - INFO - Ping to IP 153.237.231.131 from VM ctest-TestBasicPolicy-70276786-51163072 passed 2025-06-12 02:13:14,756 - DEBUG - Policy Update Response {"network-policy": {"uuid": "09eee038-cca5-4f72-9e86-9021e6355279", "href": "http://10.0.0.141:8082/network-policy/09eee038-cca5-4f72-9e86-9021e6355279"}} 2025-06-12 02:13:14,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-12 02:13:14,756 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.237.231.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-06-12 02:13:14,756 - DEBUG - ping -s 56 -c 3 -W 1 153.237.231.131 2025-06-12 02:13:17,962 - DEBUG - PING 153.237.231.131 (153.237.231.131): 56 data bytes --- 153.237.231.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-12 02:13:17,962 - WARNING - Ping to IP 153.237.231.131 from VM ctest-TestBasicPolicy-70276786-51163072 failed 2025-06-12 02:13:17,962 - INFO - Deleting VM ctest-TestBasicPolicy-70276786-70548273 2025-06-12 02:13:18,023 - INFO - Deleting VM ctest-TestBasicPolicy-70276786-51163072 2025-06-12 02:13:18,408 - INFO - Deleted policy ctest-policy-allow-all-89951447 2025-06-12 02:13:18,408 - INFO - Deleting VN ctest-vn-16792637 2025-06-12 02:13:18,449 - DEBUG - VN a605ca54-a3c4-44bc-bd57-06f4f28872ab still in use: Unable to complete operation on network a605ca54-a3c4-44bc-bd57-06f4f28872ab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9b5691ee-7722-48f3-9175-5c4ae3364da1'] 2025-06-12 02:13:18,449 - WARNING - Deleting VN ctest-vn-16792637 failed..Will retry 2025-06-12 02:13:20,548 - DEBUG - Response for deleting network () 2025-06-12 02:13:20,548 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/d7a412f8-c11c-4e6d-b06c-2bc7d4599cc7 2025-06-12 02:13:20,554 - DEBUG - Response Code: 404 2025-06-12 02:13:20,554 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:13:20,560 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:13:20,613 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:13:20,684 - INFO - Validated that VN ctest-vn-16792637 is not found in API Server 2025-06-12 02:13:20,696 - DEBUG - VN ctest-vn-16792637 is not present in Agent 10.0.0.141 2025-06-12 02:13:20,696 - INFO - Validated that VN ctest-vn-16792637 is not in any agent 2025-06-12 02:13:20,712 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16792637 info 2025-06-12 02:13:20,712 - INFO - Deleting VN ctest-vn-24605370 2025-06-12 02:13:20,804 - DEBUG - Response for deleting network () 2025-06-12 02:13:20,804 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/ebacd130-2d9b-489b-a847-25b6eb884fa0 2025-06-12 02:13:20,810 - DEBUG - Response Code: 404 2025-06-12 02:13:20,810 - DEBUG - Requesting: http://10.0.0.141:8082/domains 2025-06-12 02:13:20,818 - DEBUG - Requesting: http://10.0.0.141:8082/domain/b10bd767-5873-43d2-aadb-9ccaff208eb1 2025-06-12 02:13:20,876 - DEBUG - Requesting: http://10.0.0.141:8082/project/112a2433-aa36-41f9-bd62-c98172f37421 2025-06-12 02:13:20,951 - INFO - Validated that VN ctest-vn-24605370 is not found in API Server 2025-06-12 02:13:20,961 - DEBUG - VN ctest-vn-24605370 is not present in Agent 10.0.0.141 2025-06-12 02:13:20,961 - INFO - Validated that VN ctest-vn-24605370 is not in any agent 2025-06-12 02:13:20,976 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24605370 info 2025-06-12 02:13:21,231 - DEBUG - No XMPP flaps were noticed during the test 2025-06-12 02:13:21,231 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-12 02:13:21,231 - INFO - -------------------------------------------------------------------------------- 2025-06-12 02:13:21,912 - INFO - Deleted project: ctest-TestBasicPolicy-70276786, ID : 112a2433-aa36-41f9-bd62-c98172f37421