2025-11-12 18:16:50,157 - INFO - Domain Default found not creating 2025-11-12 18:16:50,300 - INFO - Project ctest-TestBasicPolicy-93647558 not found, creating it 2025-11-12 18:16:50,722 - INFO - Created Project:ctest-TestBasicPolicy-93647558, ID : ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:16:52,083 - INFO - ================================================================================ 2025-11-12 18:16:52,083 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-12 18:16:52,083 - 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-12 18:16:52,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2025-11-12 18:16:52,337 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:16:52,337 - INFO - 2025-11-12 18:16:52,858 - DEBUG - Response for create_network : {'network': {'id': '74dc0af3-3c66-483c-bd41-4fe8e61fc17b', 'name': 'ctest-vn-37129719', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'project_id': 'ba70510b2fb34921bf0e262df76e5296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-vn-37129719'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:16:53,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '4cd6fd36-e94b-453e-aa14-dbecd20833a6', 'name': '', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'network_id': '74dc0af3-3c66-483c-bd41-4fe8e61fc17b', 'ip_version': 4, 'cidr': '107.86.77.192/26', 'allocation_pools': [{'start': '107.86.77.194', 'end': '107.86.77.254'}], 'gateway_ip': '107.86.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.86.77.194', 'tags': [], 'project_id': 'ba70510b2fb34921bf0e262df76e5296'}} 2025-11-12 18:16:53,037 - INFO - Created VN ctest-vn-37129719 2025-11-12 18:16:53,088 - DEBUG - VN ctest-vn-37129719 UUID is 74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:53,392 - DEBUG - Response for create_network : {'network': {'id': 'eb02518f-938a-47cd-8ab4-c8f0646cab97', 'name': 'ctest-vn-09127466', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'project_id': 'ba70510b2fb34921bf0e262df76e5296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-vn-09127466'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:16:53,539 - DEBUG - Response for create_subnet : {'subnet': {'id': '77b8556e-673f-4bf5-b621-81bc05e9d1bc', 'name': '', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'network_id': 'eb02518f-938a-47cd-8ab4-c8f0646cab97', 'ip_version': 4, 'cidr': '122.118.185.64/26', 'allocation_pools': [{'start': '122.118.185.66', 'end': '122.118.185.126'}], 'gateway_ip': '122.118.185.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.118.185.66', 'tags': [], 'project_id': 'ba70510b2fb34921bf0e262df76e5296'}} 2025-11-12 18:16:53,554 - INFO - Created VN ctest-vn-09127466 2025-11-12 18:16:53,604 - DEBUG - VN ctest-vn-09127466 UUID is eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:53,752 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719, 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-93647558:ctest-vn-09127466, 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-12 18:16:54,036 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74dc0af3-3c66-483c-bd41-4fe8e61fc17b', 'name': 'ctest-vn-37129719', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'project_id': 'ba70510b2fb34921bf0e262df76e5296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4cd6fd36-e94b-453e-aa14-dbecd20833a6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-vn-37129719'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-policy-allow-all-53125548']], 'subnet_ipam': [{'subnet_cidr': '107.86.77.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:16:54,293 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb02518f-938a-47cd-8ab4-c8f0646cab97', 'name': 'ctest-vn-09127466', 'tenant_id': 'ba70510b2fb34921bf0e262df76e5296', 'project_id': 'ba70510b2fb34921bf0e262df76e5296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['77b8556e-673f-4bf5-b621-81bc05e9d1bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-vn-09127466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-policy-allow-all-53125548']], 'subnet_ipam': [{'subnet_cidr': '122.118.185.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-12 18:16:54,436 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:16:54,727 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:16:54,765 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:16:54,778 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:16:54,844 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:54,854 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:54,862 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:16:54,867 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:16:54,873 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dd755a3d-c93b-4431-8536-50f8d0a33c37 2025-11-12 18:16:54,877 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 18:16:54,877 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:54,885 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:16:54,896 - INFO - Verified VN network id 11 for VN 74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:54,897 - INFO - Verifications in API Server for VN ctest-vn-37129719 passed 2025-11-12 18:16:54,897 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:54,903 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:16:54,908 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:16:54,913 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/dd755a3d-c93b-4431-8536-50f8d0a33c37 2025-11-12 18:16:54,922 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93647558', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8420617443082651708', 'uuid-lslong': '13637269008366420347'}, 'enable': 'true', 'created': '2025-11-12T18:16:52', 'last-modified': '2025-11-12T18:16:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.913672'} 2025-11-12 18:16:54,927 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-12 18:16:54,927 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37129719 passed 2025-11-12 18:16:54,928 - DEBUG - ====Verifying policy data for ctest-vn-37129719 in API_Server ====== 2025-11-12 18:16:54,928 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:16:54,932 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:16:54,940 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:16:55,007 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/74dc0af3-3c66-483c-bd41-4fe8e61fc17b 2025-11-12 18:16:55,014 - DEBUG - ==>Verifying data for policy with id: b63f1927-351b-4067-a3a2-8943c704fd07, fqn: ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-policy-allow-all-53125548'] 2025-11-12 18:16:55,015 - INFO - VN ctest-vn-37129719 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 18:16:55,015 - DEBUG - Verifying the vn in opserver 2025-11-12 18:16:55,015 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719 virtual network link through opserver 10.0.0.22 2025-11-12 18:16:55,015 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 18:16:55,303 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 18:16:55,358 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719?flat'} 2025-11-12 18:16:55,358 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719 is found in opserver 2025-11-12 18:16:55,367 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 18:16:55,371 - DEBUG - VRF ids for VN ctest-vn-37129719: {} 2025-11-12 18:16:55,371 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:16:55,376 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:16:55,384 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:16:55,453 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,463 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,470 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:16:55,476 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:16:55,481 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6bf5b5b5-9a61-4138-92cf-93f77c5d1a6c 2025-11-12 18:16:55,487 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 18:16:55,487 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,494 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:16:55,505 - INFO - Verified VN network id 12 for VN eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,505 - INFO - Verifications in API Server for VN ctest-vn-09127466 passed 2025-11-12 18:16:55,505 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,513 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:16:55,519 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:16:55,524 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/6bf5b5b5-9a61-4138-92cf-93f77c5d1a6c 2025-11-12 18:16:55,533 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-09127466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93647558', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16934187225963972557', 'uuid-lslong': '9994834407844522903'}, 'enable': 'true', 'created': '2025-11-12T18:16:53', 'last-modified': '2025-11-12T18:16:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.302934'} 2025-11-12 18:16:55,538 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-12 18:16:55,539 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-09127466 passed 2025-11-12 18:16:55,539 - DEBUG - ====Verifying policy data for ctest-vn-09127466 in API_Server ====== 2025-11-12 18:16:55,539 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:16:55,543 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:16:55,551 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:16:55,613 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/eb02518f-938a-47cd-8ab4-c8f0646cab97 2025-11-12 18:16:55,620 - DEBUG - ==>Verifying data for policy with id: b63f1927-351b-4067-a3a2-8943c704fd07, fqn: ['default-domain', 'ctest-TestBasicPolicy-93647558', 'ctest-policy-allow-all-53125548'] 2025-11-12 18:16:55,620 - INFO - VN ctest-vn-09127466 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-12 18:16:55,620 - DEBUG - Verifying the vn in opserver 2025-11-12 18:16:55,620 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-09127466 virtual network link through opserver 10.0.0.22 2025-11-12 18:16:55,620 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-11-12 18:16:55,628 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-09127466', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-09127466?flat'} 2025-11-12 18:16:55,628 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-09127466 is found in opserver 2025-11-12 18:16:55,635 - DEBUG - Do not have enough data to verify VN in agent 2025-11-12 18:16:55,639 - DEBUG - VRF ids for VN ctest-vn-09127466: {} 2025-11-12 18:16:55,687 - DEBUG - Services list from nova: [, , ] 2025-11-12 18:16:56,678 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:16:57,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4708-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4708-1) 2025-11-12 18:16:57,761 - INFO - Waiting for VM ctest-TestBasicPolicy-93647558-33954394 to be up.. 2025-11-12 18:16:57,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 18:17:02,899 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:17:02,899 - INFO - VM name : ctest-TestBasicPolicy-93647558-33954394 2025-11-12 18:17:02,965 - DEBUG - VM ctest-TestBasicPolicy-93647558-33954394 ID is 9fd72102-8a4b-4ddd-bb9a-7a6730268c8a 2025-11-12 18:17:02,987 - DEBUG - VM ctest-TestBasicPolicy-93647558-33954394 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:17:03,055 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9fd72102-8a4b-4ddd-bb9a-7a6730268c8a 2025-11-12 18:17:03,063 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a2e12e47-7077-4f3e-b41a-62ba93594597 2025-11-12 18:17:06,306 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2025-11-12 18:17:06,306 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93647558-33954394 failed! 2025-11-12 18:17:06,360 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93647558:ctest-vn-37129719 is 107.86.77.193 and allocation pool is NOT set 2025-11-12 18:17:08,414 - 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.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.352 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.352/1.676/3.000/1.324 ms') 2025-11-12 18:17:08,414 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93647558-33954394 passed 2025-11-12 18:17:08,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:17:08,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93647558-33954394, IP 107.86.77.195, Port 22 2025-11-12 18:17:08,711 - DEBUG - VM ctest-TestBasicPolicy-93647558-33954394 is ready for SSH connections 2025-11-12 18:17:08,712 - INFO - Waiting for VM ctest-TestBasicPolicy-93647558-09361086 to be up.. 2025-11-12 18:17:08,774 - DEBUG - VM is in ACTIVE state now 2025-11-12 18:17:08,774 - INFO - VM name : ctest-TestBasicPolicy-93647558-09361086 2025-11-12 18:17:08,835 - DEBUG - VM ctest-TestBasicPolicy-93647558-09361086 ID is b9abf543-cce9-4e0b-a968-e74f9ad1d63a 2025-11-12 18:17:08,835 - DEBUG - VM ctest-TestBasicPolicy-93647558-09361086 launched on Node cn-jenkins-deploy-platform-ansible-os-4708-1 2025-11-12 18:17:08,898 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b9abf543-cce9-4e0b-a968-e74f9ad1d63a 2025-11-12 18:17:08,905 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/56957b8e-7389-447b-996b-7bfefe67fc9d 2025-11-12 18:17:10,135 - 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.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.502/2.655/1.153 ms') 2025-11-12 18:17:10,135 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93647558-09361086 passed 2025-11-12 18:17:10,284 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:17:10,284 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93647558-09361086, IP 122.118.185.67, Port 22 2025-11-12 18:17:10,443 - DEBUG - VM ctest-TestBasicPolicy-93647558-09361086 is ready for SSH connections 2025-11-12 18:17:10,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:17:10,443 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.118.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:17:10,443 - DEBUG - ping -s 56 -c 3 -W 1 122.118.185.67 2025-11-12 18:17:14,436 - DEBUG - PING 122.118.185.67 (122.118.185.67): 56 data bytes 64 bytes from 122.118.185.67: seq=0 ttl=63 time=3.126 ms 64 bytes from 122.118.185.67: seq=1 ttl=63 time=0.717 ms 64 bytes from 122.118.185.67: seq=2 ttl=63 time=0.803 ms --- 122.118.185.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.548/3.126 ms 2025-11-12 18:17:14,436 - INFO - Ping to IP 122.118.185.67 from VM ctest-TestBasicPolicy-93647558-33954394 passed 2025-11-12 18:17:14,608 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b63f1927-351b-4067-a3a2-8943c704fd07", "href": "http://10.0.0.22:8082/network-policy/b63f1927-351b-4067-a3a2-8943c704fd07"}} 2025-11-12 18:17:14,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 18:17:14,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.118.185.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-12 18:17:14,608 - DEBUG - ping -s 56 -c 3 -W 1 122.118.185.67 2025-11-12 18:17:17,811 - DEBUG - PING 122.118.185.67 (122.118.185.67): 56 data bytes 64 bytes from 122.118.185.67: seq=0 ttl=63 time=1.330 ms --- 122.118.185.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.330/1.330/1.330 ms 2025-11-12 18:17:17,811 - WARNING - Ping to IP 122.118.185.67 from VM ctest-TestBasicPolicy-93647558-33954394 failed 2025-11-12 18:17:17,811 - INFO - Deleting VM ctest-TestBasicPolicy-93647558-09361086 2025-11-12 18:17:17,870 - INFO - Deleting VM ctest-TestBasicPolicy-93647558-33954394 2025-11-12 18:17:18,181 - INFO - Deleted policy ctest-policy-allow-all-53125548 2025-11-12 18:17:18,181 - INFO - Deleting VN ctest-vn-09127466 2025-11-12 18:17:18,220 - DEBUG - VN eb02518f-938a-47cd-8ab4-c8f0646cab97 still in use: Unable to complete operation on network eb02518f-938a-47cd-8ab4-c8f0646cab97. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2fe42a7-4eac-45cd-a675-4775994f0e08'] 2025-11-12 18:17:18,220 - WARNING - Deleting VN ctest-vn-09127466 failed..Will retry 2025-11-12 18:17:20,306 - DEBUG - Response for deleting network () 2025-11-12 18:17:20,306 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a386bd59-ad8d-49b4-be16-989410bd6151 2025-11-12 18:17:20,310 - DEBUG - Response Code: 404 2025-11-12 18:17:20,310 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:17:20,314 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:17:20,366 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:17:20,430 - INFO - Validated that VN ctest-vn-09127466 is not found in API Server 2025-11-12 18:17:20,438 - DEBUG - VN ctest-vn-09127466 is not present in Agent 10.0.0.22 2025-11-12 18:17:20,438 - INFO - Validated that VN ctest-vn-09127466 is not in any agent 2025-11-12 18:17:20,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-09127466 info 2025-11-12 18:17:20,450 - INFO - Deleting VN ctest-vn-37129719 2025-11-12 18:17:20,560 - DEBUG - Response for deleting network () 2025-11-12 18:17:20,560 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e243de35-001c-4122-a0cc-5d843b932916 2025-11-12 18:17:20,572 - DEBUG - Response Code: 404 2025-11-12 18:17:20,572 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-11-12 18:17:20,576 - DEBUG - Requesting: http://10.0.0.22:8082/domain/3935e5ee-c7fa-4be7-8ba4-4cb6f24aacfa 2025-11-12 18:17:20,629 - DEBUG - Requesting: http://10.0.0.22:8082/project/ba70510b-2fb3-4921-bf0e-262df76e5296 2025-11-12 18:17:20,700 - INFO - Validated that VN ctest-vn-37129719 is not found in API Server 2025-11-12 18:17:20,709 - DEBUG - VN ctest-vn-37129719 is not present in Agent 10.0.0.22 2025-11-12 18:17:20,709 - INFO - Validated that VN ctest-vn-37129719 is not in any agent 2025-11-12 18:17:20,722 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37129719 info 2025-11-12 18:17:20,978 - DEBUG - No XMPP flaps were noticed during the test 2025-11-12 18:17:20,978 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-11-12 18:17:20,978 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:17:22,035 - INFO - Deleted project: ctest-TestBasicPolicy-93647558, ID : ba70510b-2fb3-4921-bf0e-262df76e5296