2025-08-30 22:21:49,571 - INFO - Domain Default found not creating 2025-08-30 22:21:49,943 - INFO - Project ctest-TestBasicPolicy-94887770 not found, creating it 2025-08-30 22:21:50,765 - INFO - Created Project:ctest-TestBasicPolicy-94887770, ID : 104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:21:52,793 - INFO - ================================================================================ 2025-08-30 22:21:52,793 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-08-30 22:21:52,793 - 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-30 22:21:53,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-08-30 22:21:53,122 - INFO - Initial checks done. Running the testcase now 2025-08-30 22:21:53,122 - INFO - 2025-08-30 22:21:53,930 - DEBUG - Response for create_network : {'network': {'id': '0e63a64f-b5f1-450b-bb4f-4d625f6e0abb', 'name': 'ctest-vn-88316186', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'project_id': '104a8f265799471e96a8a18a7244b8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-vn-88316186'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:54,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3ec0ff0-9308-4473-b8c3-b7f8b0ea0ce9', 'name': '', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'network_id': '0e63a64f-b5f1-450b-bb4f-4d625f6e0abb', 'ip_version': 4, 'cidr': '117.42.129.0/26', 'allocation_pools': [{'start': '117.42.129.2', 'end': '117.42.129.62'}], 'gateway_ip': '117.42.129.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.42.129.2', 'tags': [], 'project_id': '104a8f265799471e96a8a18a7244b8a9'}} 2025-08-30 22:21:54,217 - INFO - Created VN ctest-vn-88316186 2025-08-30 22:21:54,277 - DEBUG - VN ctest-vn-88316186 UUID is 0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:54,683 - DEBUG - Response for create_network : {'network': {'id': 'e182780e-2dd6-41ac-80e6-9ecba31aa0a8', 'name': 'ctest-vn-53941692', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'project_id': '104a8f265799471e96a8a18a7244b8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-vn-53941692'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:54,956 - DEBUG - Response for create_subnet : {'subnet': {'id': '177b6e5a-1e4d-4e65-9774-0507d98ea374', 'name': '', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'network_id': 'e182780e-2dd6-41ac-80e6-9ecba31aa0a8', 'ip_version': 4, 'cidr': '103.39.50.192/26', 'allocation_pools': [{'start': '103.39.50.194', 'end': '103.39.50.254'}], 'gateway_ip': '103.39.50.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.39.50.194', 'tags': [], 'project_id': '104a8f265799471e96a8a18a7244b8a9'}} 2025-08-30 22:21:54,976 - INFO - Created VN ctest-vn-53941692 2025-08-30 22:21:55,029 - DEBUG - VN ctest-vn-53941692 UUID is e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:55,190 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186, 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-94887770:ctest-vn-53941692, 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-30 22:21:55,594 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0e63a64f-b5f1-450b-bb4f-4d625f6e0abb', 'name': 'ctest-vn-88316186', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'project_id': '104a8f265799471e96a8a18a7244b8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a3ec0ff0-9308-4473-b8c3-b7f8b0ea0ce9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-vn-88316186'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-policy-allow-all-70377344']], 'subnet_ipam': [{'subnet_cidr': '117.42.129.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:55,893 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e182780e-2dd6-41ac-80e6-9ecba31aa0a8', 'name': 'ctest-vn-53941692', 'tenant_id': '104a8f265799471e96a8a18a7244b8a9', 'project_id': '104a8f265799471e96a8a18a7244b8a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['177b6e5a-1e4d-4e65-9774-0507d98ea374'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-vn-53941692'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-policy-allow-all-70377344']], 'subnet_ipam': [{'subnet_cidr': '103.39.50.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-08-30 22:21:56,017 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:21:56,344 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:21:56,388 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:21:56,425 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:21:56,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,546 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,561 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:21:56,573 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:21:56,583 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad912997-8493-4a8d-bb7f-1014c8fd742e 2025-08-30 22:21:56,590 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-30 22:21:56,590 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,601 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:21:56,618 - INFO - Verified VN network id 11 for VN 0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,618 - INFO - Verifications in API Server for VN ctest-vn-88316186 passed 2025-08-30 22:21:56,618 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,631 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:21:56,638 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:21:56,646 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/ad912997-8493-4a8d-bb7f-1014c8fd742e 2025-08-30 22:21:56,657 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94887770', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1036855200510461195', 'uuid-lslong': '13497091693155846843'}, 'enable': 'true', 'created': '2025-08-30T22:21:53', 'last-modified': '2025-08-30T22:21:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110500'} 2025-08-30 22:21:56,663 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-30 22:21:56,663 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88316186 passed 2025-08-30 22:21:56,663 - DEBUG - ====Verifying policy data for ctest-vn-88316186 in API_Server ====== 2025-08-30 22:21:56,663 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:21:56,668 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:21:56,678 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:21:56,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/0e63a64f-b5f1-450b-bb4f-4d625f6e0abb 2025-08-30 22:21:56,775 - DEBUG - ==>Verifying data for policy with id: a301bcd9-253b-416c-b4fa-8e2e57c027f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-policy-allow-all-70377344'] 2025-08-30 22:21:56,775 - INFO - VN ctest-vn-88316186 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-30 22:21:56,775 - DEBUG - Verifying the vn in opserver 2025-08-30 22:21:56,775 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186 virtual network link through opserver 10.0.0.254 2025-08-30 22:21:56,775 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-30 22:21:57,110 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-30 22:21:57,243 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186?flat'} 2025-08-30 22:21:57,243 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186 is found in opserver 2025-08-30 22:21:57,273 - DEBUG - Do not have enough data to verify VN in agent 2025-08-30 22:21:57,282 - DEBUG - VRF ids for VN ctest-vn-88316186: {} 2025-08-30 22:21:57,283 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:21:57,297 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:21:57,327 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:21:57,442 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,465 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,482 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:21:57,495 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:21:57,507 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/435c07cf-f013-4efa-b2c2-c5d51dd75566 2025-08-30 22:21:57,519 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-30 22:21:57,520 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,538 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:21:57,562 - INFO - Verified VN network id 12 for VN e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,563 - INFO - Verifications in API Server for VN ctest-vn-53941692 passed 2025-08-30 22:21:57,563 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,581 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:21:57,595 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:21:57,610 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/435c07cf-f013-4efa-b2c2-c5d51dd75566 2025-08-30 22:21:57,636 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-53941692', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94887770', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16249682407800062380', 'uuid-lslong': '9288285878950207656'}, 'enable': 'true', 'created': '2025-08-30T22:21:54', 'last-modified': '2025-08-30T22:21:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.813103'} 2025-08-30 22:21:57,653 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-08-30 22:21:57,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53941692 passed 2025-08-30 22:21:57,654 - DEBUG - ====Verifying policy data for ctest-vn-53941692 in API_Server ====== 2025-08-30 22:21:57,654 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:21:57,668 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:21:57,698 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:21:57,828 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e182780e-2dd6-41ac-80e6-9ecba31aa0a8 2025-08-30 22:21:57,851 - DEBUG - ==>Verifying data for policy with id: a301bcd9-253b-416c-b4fa-8e2e57c027f0, fqn: ['default-domain', 'ctest-TestBasicPolicy-94887770', 'ctest-policy-allow-all-70377344'] 2025-08-30 22:21:57,851 - INFO - VN ctest-vn-53941692 Policy verification: verify_vn_policy_in_api_server, status: True 2025-08-30 22:21:57,851 - DEBUG - Verifying the vn in opserver 2025-08-30 22:21:57,851 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-53941692 virtual network link through opserver 10.0.0.254 2025-08-30 22:21:57,852 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-30 22:21:57,873 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-53941692', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-53941692?flat'} 2025-08-30 22:21:57,874 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-53941692 is found in opserver 2025-08-30 22:21:57,895 - DEBUG - Do not have enough data to verify VN in agent 2025-08-30 22:21:57,907 - DEBUG - VRF ids for VN ctest-vn-53941692: {} 2025-08-30 22:21:58,009 - DEBUG - Services list from nova: [, , ] 2025-08-30 22:21:59,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:22:00,819 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3984-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3984-1) 2025-08-30 22:22:00,819 - INFO - Waiting for VM ctest-TestBasicPolicy-94887770-47158235 to be up.. 2025-08-30 22:22:00,905 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 22:22:06,094 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:22:06,095 - INFO - VM name : ctest-TestBasicPolicy-94887770-47158235 2025-08-30 22:22:06,256 - DEBUG - VM ctest-TestBasicPolicy-94887770-47158235 ID is 4894b431-d864-4416-9d7e-af74f7292252 2025-08-30 22:22:06,302 - DEBUG - VM ctest-TestBasicPolicy-94887770-47158235 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:22:06,467 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4894b431-d864-4416-9d7e-af74f7292252 2025-08-30 22:22:06,482 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/044ff7cc-b123-4cb8-8c2b-4a1093de724c 2025-08-30 22:22:09,794 - 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 1015ms') 2025-08-30 22:22:09,794 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94887770-47158235 failed! 2025-08-30 22:22:09,857 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-94887770:ctest-vn-88316186 is 117.42.129.1 and allocation pool is NOT set 2025-08-30 22:22:11,940 - 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.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.726 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.726/5.637/10.548/4.911 ms') 2025-08-30 22:22:11,941 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-94887770-47158235 passed 2025-08-30 22:22:12,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:22:12,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94887770-47158235, IP 117.42.129.3, Port 22 2025-08-30 22:22:12,299 - DEBUG - VM ctest-TestBasicPolicy-94887770-47158235 is ready for SSH connections 2025-08-30 22:22:12,299 - INFO - Waiting for VM ctest-TestBasicPolicy-94887770-30805894 to be up.. 2025-08-30 22:22:12,459 - DEBUG - VM is in ACTIVE state now 2025-08-30 22:22:12,459 - INFO - VM name : ctest-TestBasicPolicy-94887770-30805894 2025-08-30 22:22:12,628 - DEBUG - VM ctest-TestBasicPolicy-94887770-30805894 ID is 30f081d8-b221-40c9-b285-a90bce5b3c35 2025-08-30 22:22:12,628 - DEBUG - VM ctest-TestBasicPolicy-94887770-30805894 launched on Node cn-jenkins-deploy-platform-ansible-os-3984-1 2025-08-30 22:22:12,787 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/30f081d8-b221-40c9-b285-a90bce5b3c35 2025-08-30 22:22:12,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e1807f76-a4b8-4148-b75b-783a2cdc2174 2025-08-30 22:22:14,123 - 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=13.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.01 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.008/7.518/13.029/5.510 ms') 2025-08-30 22:22:14,123 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-94887770-30805894 passed 2025-08-30 22:22:14,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:22:14,294 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-94887770-30805894, IP 103.39.50.195, Port 22 2025-08-30 22:22:14,499 - DEBUG - VM ctest-TestBasicPolicy-94887770-30805894 is ready for SSH connections 2025-08-30 22:22:14,499 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:22:14,499 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.39.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-30 22:22:14,500 - DEBUG - ping -s 56 -c 3 -W 1 103.39.50.195 2025-08-30 22:22:19,038 - DEBUG - PING 103.39.50.195 (103.39.50.195): 56 data bytes 64 bytes from 103.39.50.195: seq=0 ttl=63 time=4.158 ms 64 bytes from 103.39.50.195: seq=1 ttl=63 time=1.708 ms 64 bytes from 103.39.50.195: seq=2 ttl=63 time=5.204 ms --- 103.39.50.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.708/3.690/5.204 ms 2025-08-30 22:22:19,038 - INFO - Ping to IP 103.39.50.195 from VM ctest-TestBasicPolicy-94887770-47158235 passed 2025-08-30 22:22:19,296 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a301bcd9-253b-416c-b4fa-8e2e57c027f0", "href": "http://10.0.0.254:8082/network-policy/a301bcd9-253b-416c-b4fa-8e2e57c027f0"}} 2025-08-30 22:22:19,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 22:22:19,297 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 103.39.50.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-30 22:22:19,297 - DEBUG - ping -s 56 -c 3 -W 1 103.39.50.195 2025-08-30 22:22:22,575 - DEBUG - PING 103.39.50.195 (103.39.50.195): 56 data bytes --- 103.39.50.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-30 22:22:22,575 - WARNING - Ping to IP 103.39.50.195 from VM ctest-TestBasicPolicy-94887770-47158235 failed 2025-08-30 22:22:22,575 - INFO - Deleting VM ctest-TestBasicPolicy-94887770-30805894 2025-08-30 22:22:22,750 - INFO - Deleting VM ctest-TestBasicPolicy-94887770-47158235 2025-08-30 22:22:23,294 - INFO - Deleted policy ctest-policy-allow-all-70377344 2025-08-30 22:22:23,295 - INFO - Deleting VN ctest-vn-53941692 2025-08-30 22:22:23,336 - DEBUG - VN e182780e-2dd6-41ac-80e6-9ecba31aa0a8 still in use: Unable to complete operation on network e182780e-2dd6-41ac-80e6-9ecba31aa0a8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a44a9aee-8bb1-4406-b91a-711a9efa6e0d'] 2025-08-30 22:22:23,336 - WARNING - Deleting VN ctest-vn-53941692 failed..Will retry 2025-08-30 22:22:25,571 - DEBUG - Response for deleting network () 2025-08-30 22:22:25,571 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/bf67a9fd-a16a-429c-a32e-d6869cfc0fc6 2025-08-30 22:22:25,581 - DEBUG - Response Code: 404 2025-08-30 22:22:25,581 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:22:25,589 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:22:25,609 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:22:25,711 - INFO - Validated that VN ctest-vn-53941692 is not found in API Server 2025-08-30 22:22:25,730 - DEBUG - VN ctest-vn-53941692 is not present in Agent 10.0.0.254 2025-08-30 22:22:25,730 - INFO - Validated that VN ctest-vn-53941692 is not in any agent 2025-08-30 22:22:25,759 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53941692 info 2025-08-30 22:22:25,759 - INFO - Deleting VN ctest-vn-88316186 2025-08-30 22:22:25,932 - DEBUG - Response for deleting network () 2025-08-30 22:22:25,932 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/04f1e143-731e-4124-ad9c-3e4925c1a0f2 2025-08-30 22:22:25,937 - DEBUG - Response Code: 404 2025-08-30 22:22:25,937 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-08-30 22:22:25,947 - DEBUG - Requesting: http://10.0.0.254:8082/domain/3c24ae13-eac3-4be1-b3a2-68d8d7829016 2025-08-30 22:22:26,014 - DEBUG - Requesting: http://10.0.0.254:8082/project/104a8f26-5799-471e-96a8-a18a7244b8a9 2025-08-30 22:22:26,131 - INFO - Validated that VN ctest-vn-88316186 is not found in API Server 2025-08-30 22:22:26,159 - DEBUG - VN ctest-vn-88316186 is not present in Agent 10.0.0.254 2025-08-30 22:22:26,159 - INFO - Validated that VN ctest-vn-88316186 is not in any agent 2025-08-30 22:22:26,200 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88316186 info 2025-08-30 22:22:26,534 - DEBUG - No XMPP flaps were noticed during the test
2025-08-30 22:22:26,534 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2025-08-30 22:22:26,535 - INFO - -------------------------------------------------------------------------------- 2025-08-30 22:22:27,463 - INFO - Deleted project: ctest-TestBasicPolicy-94887770, ID : 104a8f26-5799-471e-96a8-a18a7244b8a9