2025-08-26 00:19:46,448 - INFO - Domain Default found not creating 2025-08-26 00:19:46,638 - INFO - Project ctest-TestBasicPolicy-93614494 not found, creating it 2025-08-26 00:19:47,202 - INFO - Created Project:ctest-TestBasicPolicy-93614494, ID : bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:19:48,954 - INFO - ================================================================================ 2025-08-26 00:19:48,954 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-26 00:19:48,954 - 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-08-26 00:19:49,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with 2025-08-26 00:19:49,218 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:19:49,218 - INFO - 2025-08-26 00:19:49,831 - DEBUG - Response for create_network : {'network': {'id': 'aff1c61e-b4a0-4f53-97bd-caf26f40ea10', 'name': 'ctest-vn-96857263', 'tenant_id': 'bf93da107716446c845931f0da243221', 'project_id': 'bf93da107716446c845931f0da243221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-vn-96857263'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:50,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '71457a26-4e7b-4da4-b5c6-5e8671f3f243', 'name': '', 'tenant_id': 'bf93da107716446c845931f0da243221', 'network_id': 'aff1c61e-b4a0-4f53-97bd-caf26f40ea10', 'ip_version': 4, 'cidr': '175.81.46.64/26', 'allocation_pools': [{'start': '175.81.46.66', 'end': '175.81.46.126'}], 'gateway_ip': '175.81.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.81.46.66', 'tags': [], 'project_id': 'bf93da107716446c845931f0da243221'}} 2025-08-26 00:19:50,037 - INFO - Created VN ctest-vn-96857263 2025-08-26 00:19:50,091 - DEBUG - VN ctest-vn-96857263 UUID is aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:50,454 - DEBUG - Response for create_network : {'network': {'id': '747447f3-f922-4a70-82ec-2b858f5a7b69', 'name': 'ctest-vn-86621218', 'tenant_id': 'bf93da107716446c845931f0da243221', 'project_id': 'bf93da107716446c845931f0da243221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-vn-86621218'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:50,723 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e5b6e31-b633-4097-9c10-0efb8ebe134e', 'name': '', 'tenant_id': 'bf93da107716446c845931f0da243221', 'network_id': '747447f3-f922-4a70-82ec-2b858f5a7b69', 'ip_version': 4, 'cidr': '110.120.78.192/26', 'allocation_pools': [{'start': '110.120.78.194', 'end': '110.120.78.254'}], 'gateway_ip': '110.120.78.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.120.78.194', 'tags': [], 'project_id': 'bf93da107716446c845931f0da243221'}} 2025-08-26 00:19:50,746 - INFO - Created VN ctest-vn-86621218 2025-08-26 00:19:50,804 - DEBUG - VN ctest-vn-86621218 UUID is 747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:50,938 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263, 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-93614494:ctest-vn-86621218, 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-08-26 00:19:51,273 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'aff1c61e-b4a0-4f53-97bd-caf26f40ea10', 'name': 'ctest-vn-96857263', 'tenant_id': 'bf93da107716446c845931f0da243221', 'project_id': 'bf93da107716446c845931f0da243221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71457a26-4e7b-4da4-b5c6-5e8671f3f243'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-vn-96857263'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-policy-allow-all-45756245']], 'subnet_ipam': [{'subnet_cidr': '175.81.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:51,560 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '747447f3-f922-4a70-82ec-2b858f5a7b69', 'name': 'ctest-vn-86621218', 'tenant_id': 'bf93da107716446c845931f0da243221', 'project_id': 'bf93da107716446c845931f0da243221', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e5b6e31-b633-4097-9c10-0efb8ebe134e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-vn-86621218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-policy-allow-all-45756245']], 'subnet_ipam': [{'subnet_cidr': '110.120.78.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:19:51,752 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:19:52,054 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:19:52,089 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:19:52,106 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:19:52,199 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,217 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,231 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:19:52,243 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:19:52,256 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1aad3e3a-5e7a-42b1-bf30-29fae490b7b2 2025-08-26 00:19:52,268 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 00:19:52,268 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,282 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:19:52,302 - INFO - Verified VN network id 11 for VN aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,302 - INFO - Verifications in API Server for VN ctest-vn-96857263 passed 2025-08-26 00:19:52,302 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,318 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:19:52,329 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:19:52,340 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1aad3e3a-5e7a-42b1-bf30-29fae490b7b2 2025-08-26 00:19:52,358 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93614494', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12678132261206380371', 'uuid-lslong': '10934118612922853904'}, 'enable': 'true', 'created': '2025-08-26T00:19:49', 'last-modified': '2025-08-26T00:19:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.117135'} 2025-08-26 00:19:52,365 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-26 00:19:52,365 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96857263 passed 2025-08-26 00:19:52,366 - DEBUG - ====Verifying policy data for ctest-vn-96857263 in API_Server ====== 2025-08-26 00:19:52,366 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:19:52,375 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:19:52,394 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:19:52,478 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/aff1c61e-b4a0-4f53-97bd-caf26f40ea10 2025-08-26 00:19:52,490 - DEBUG - ==>Verifying data for policy with id: c8bdaf23-c7c4-4d08-9f96-b20c34325a95, fqn: ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-policy-allow-all-45756245'] 2025-08-26 00:19:52,490 - INFO - VN ctest-vn-96857263 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 00:19:52,490 - DEBUG - Verifying the vn in opserver 2025-08-26 00:19:52,490 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263 virtual network link through opserver 10.0.0.249 2025-08-26 00:19:52,490 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-26 00:19:52,786 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-26 00:19:52,856 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263?flat'} 2025-08-26 00:19:52,856 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263 is found in opserver 2025-08-26 00:19:52,870 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 00:19:52,876 - DEBUG - VRF ids for VN ctest-vn-96857263: {} 2025-08-26 00:19:52,876 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:19:52,883 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:19:52,897 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:19:52,980 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:52,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:53,008 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:19:53,017 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:19:53,027 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0ec6de78-0cf3-4ecb-8fa5-fb840a358c68 2025-08-26 00:19:53,036 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 00:19:53,036 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:53,049 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:19:53,070 - INFO - Verified VN network id 12 for VN 747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:53,070 - INFO - Verifications in API Server for VN ctest-vn-86621218 passed 2025-08-26 00:19:53,071 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:53,086 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:19:53,097 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:19:53,108 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0ec6de78-0cf3-4ecb-8fa5-fb840a358c68 2025-08-26 00:19:53,128 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-86621218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93614494', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8391411118880475760', 'uuid-lslong': '9433963172070062953'}, 'enable': 'true', 'created': '2025-08-26T00:19:50', 'last-modified': '2025-08-26T00:19:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.607785'} 2025-08-26 00:19:53,136 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-26 00:19:53,136 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86621218 passed 2025-08-26 00:19:53,137 - DEBUG - ====Verifying policy data for ctest-vn-86621218 in API_Server ====== 2025-08-26 00:19:53,137 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:19:53,144 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:19:53,160 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:19:53,246 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/747447f3-f922-4a70-82ec-2b858f5a7b69 2025-08-26 00:19:53,258 - DEBUG - ==>Verifying data for policy with id: c8bdaf23-c7c4-4d08-9f96-b20c34325a95, fqn: ['default-domain', 'ctest-TestBasicPolicy-93614494', 'ctest-policy-allow-all-45756245'] 2025-08-26 00:19:53,258 - INFO - VN ctest-vn-86621218 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-26 00:19:53,258 - DEBUG - Verifying the vn in opserver 2025-08-26 00:19:53,258 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-86621218 virtual network link through opserver 10.0.0.249 2025-08-26 00:19:53,258 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-26 00:19:53,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-86621218', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-86621218?flat'} 2025-08-26 00:19:53,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-86621218 is found in opserver 2025-08-26 00:19:53,287 - DEBUG - Do not have enough data to verify VN in agent 2025-08-26 00:19:53,293 - DEBUG - VRF ids for VN ctest-vn-86621218: {} 2025-08-26 00:19:53,360 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:19:54,473 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:19:55,797 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3934-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3934-1) 2025-08-26 00:19:55,797 - INFO - Waiting for VM ctest-TestBasicPolicy-93614494-83690932 to be up.. 2025-08-26 00:19:55,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:20:01,032 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:20:01,032 - INFO - VM name : ctest-TestBasicPolicy-93614494-83690932 2025-08-26 00:20:01,141 - DEBUG - VM ctest-TestBasicPolicy-93614494-83690932 ID is 59a83304-67aa-4bc0-b919-26a67ac9516d 2025-08-26 00:20:01,165 - DEBUG - VM ctest-TestBasicPolicy-93614494-83690932 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:20:01,272 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/59a83304-67aa-4bc0-b919-26a67ac9516d 2025-08-26 00:20:01,290 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/5a7c1468-a54a-4062-860a-c96681166c45 2025-08-26 00:20:04,594 - 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 1023ms') 2025-08-26 00:20:04,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93614494-83690932 failed! 2025-08-26 00:20:04,652 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93614494:ctest-vn-96857263 is 175.81.46.65 and allocation pool is NOT set 2025-08-26 00:20:06,717 - 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=10.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.91 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 = 3.906/7.120/10.334/3.214 ms') 2025-08-26 00:20:06,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93614494-83690932 passed 2025-08-26 00:20:06,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:20:06,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93614494-83690932, IP 175.81.46.67, Port 22 2025-08-26 00:20:07,057 - DEBUG - VM ctest-TestBasicPolicy-93614494-83690932 is ready for SSH connections 2025-08-26 00:20:07,058 - INFO - Waiting for VM ctest-TestBasicPolicy-93614494-99062903 to be up.. 2025-08-26 00:20:07,166 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:20:07,166 - INFO - VM name : ctest-TestBasicPolicy-93614494-99062903 2025-08-26 00:20:07,287 - DEBUG - VM ctest-TestBasicPolicy-93614494-99062903 ID is 41661590-8194-494c-848d-ab67b395c3a4 2025-08-26 00:20:07,287 - DEBUG - VM ctest-TestBasicPolicy-93614494-99062903 launched on Node cn-jenkins-deploy-platform-ansible-os-3934-1 2025-08-26 00:20:07,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/41661590-8194-494c-848d-ab67b395c3a4 2025-08-26 00:20:07,415 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/641c76a7-2280-4738-b7e2-0235247cd721 2025-08-26 00:20:08,691 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.476 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.476/1.886/3.297/1.410 ms') 2025-08-26 00:20:08,691 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93614494-99062903 passed 2025-08-26 00:20:08,851 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:20:08,852 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93614494-99062903, IP 110.120.78.195, Port 22 2025-08-26 00:20:08,923 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-26 00:20:09,044 - DEBUG - VM ctest-TestBasicPolicy-93614494-99062903 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 00:20:14,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:20:14,045 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93614494-99062903, IP 110.120.78.195, Port 22 2025-08-26 00:20:14,207 - DEBUG - VM ctest-TestBasicPolicy-93614494-99062903 is ready for SSH connections 2025-08-26 00:20:14,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:20:14,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.120.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-26 00:20:14,207 - DEBUG - ping -s 56 -c 3 -W 1 110.120.78.195 2025-08-26 00:20:18,318 - DEBUG - PING 110.120.78.195 (110.120.78.195): 56 data bytes 64 bytes from 110.120.78.195: seq=0 ttl=63 time=3.788 ms 64 bytes from 110.120.78.195: seq=1 ttl=63 time=1.238 ms 64 bytes from 110.120.78.195: seq=2 ttl=63 time=1.155 ms --- 110.120.78.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.155/2.060/3.788 ms 2025-08-26 00:20:18,318 - INFO - Ping to IP 110.120.78.195 from VM ctest-TestBasicPolicy-93614494-83690932 passed 2025-08-26 00:20:18,527 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c8bdaf23-c7c4-4d08-9f96-b20c34325a95", "href": "http://10.0.0.249:8082/network-policy/c8bdaf23-c7c4-4d08-9f96-b20c34325a95"}} 2025-08-26 00:20:18,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:20:18,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.120.78.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-08-26 00:20:18,528 - DEBUG - ping -s 56 -c 3 -W 1 110.120.78.195 2025-08-26 00:20:21,765 - DEBUG - PING 110.120.78.195 (110.120.78.195): 56 data bytes --- 110.120.78.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-26 00:20:21,765 - WARNING - Ping to IP 110.120.78.195 from VM ctest-TestBasicPolicy-93614494-83690932 failed 2025-08-26 00:20:21,765 - INFO - Deleting VM ctest-TestBasicPolicy-93614494-99062903 2025-08-26 00:20:21,852 - INFO - Deleting VM ctest-TestBasicPolicy-93614494-83690932 2025-08-26 00:20:22,391 - INFO - Deleted policy ctest-policy-allow-all-45756245 2025-08-26 00:20:22,391 - INFO - Deleting VN ctest-vn-86621218 2025-08-26 00:20:22,442 - DEBUG - VN 747447f3-f922-4a70-82ec-2b858f5a7b69 still in use: Unable to complete operation on network 747447f3-f922-4a70-82ec-2b858f5a7b69. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6fb07d61-7d6d-4629-8d85-32505528a21b'] 2025-08-26 00:20:22,442 - WARNING - Deleting VN ctest-vn-86621218 failed..Will retry 2025-08-26 00:20:24,588 - DEBUG - Response for deleting network () 2025-08-26 00:20:24,588 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/045cac7c-182a-4884-85a2-aeec503a587b 2025-08-26 00:20:24,598 - DEBUG - Response Code: 404 2025-08-26 00:20:24,599 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:20:24,606 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:20:24,665 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:20:24,744 - INFO - Validated that VN ctest-vn-86621218 is not found in API Server 2025-08-26 00:20:24,761 - DEBUG - VN ctest-vn-86621218 is not present in Agent 10.0.0.249 2025-08-26 00:20:24,761 - INFO - Validated that VN ctest-vn-86621218 is not in any agent 2025-08-26 00:20:24,780 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86621218 info 2025-08-26 00:20:24,781 - INFO - Deleting VN ctest-vn-96857263 2025-08-26 00:20:24,939 - DEBUG - Response for deleting network () 2025-08-26 00:20:24,939 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/e909c0fa-4bf9-4d5e-970e-9f5544ddd427 2025-08-26 00:20:24,948 - DEBUG - Response Code: 404 2025-08-26 00:20:24,948 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-08-26 00:20:24,956 - DEBUG - Requesting: http://10.0.0.249:8082/domain/4eb524ad-d28a-468b-a4e7-1992f24ba989 2025-08-26 00:20:25,013 - DEBUG - Requesting: http://10.0.0.249:8082/project/bf93da10-7716-446c-8459-31f0da243221 2025-08-26 00:20:25,098 - INFO - Validated that VN ctest-vn-96857263 is not found in API Server 2025-08-26 00:20:25,110 - DEBUG - VN ctest-vn-96857263 is not present in Agent 10.0.0.249 2025-08-26 00:20:25,110 - INFO - Validated that VN ctest-vn-96857263 is not in any agent 2025-08-26 00:20:25,130 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96857263 info 2025-08-26 00:20:25,386 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:20:25,386 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2025-08-26 00:20:25,386 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:20:26,463 - INFO - Deleted project: ctest-TestBasicPolicy-93614494, ID : bf93da10-7716-446c-8459-31f0da243221