2025-09-11 19:18:49,409 - INFO - Domain Default found not creating 2025-09-11 19:18:49,579 - INFO - Project ctest-TestBasicPolicy-93844035 not found, creating it 2025-09-11 19:18:50,072 - INFO - Created Project:ctest-TestBasicPolicy-93844035, ID : a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:18:51,541 - INFO - ================================================================================ 2025-09-11 19:18:51,542 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-11 19:18:51,542 - 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-09-11 19:18:51,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 19:18:51,796 - INFO - Initial checks done. Running the testcase now 2025-09-11 19:18:51,796 - INFO - 2025-09-11 19:18:52,336 - DEBUG - Response for create_network : {'network': {'id': 'f3068acf-7955-4bb8-8167-37b2733570f7', 'name': 'ctest-vn-72399687', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'project_id': 'a3bd5e4ac4234a109fce4815abb04950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-vn-72399687'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:52,548 - DEBUG - Response for create_subnet : {'subnet': {'id': '55ed460a-84c4-4429-a39b-dc2198e8b353', 'name': '', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'network_id': 'f3068acf-7955-4bb8-8167-37b2733570f7', 'ip_version': 4, 'cidr': '118.58.113.128/26', 'allocation_pools': [{'start': '118.58.113.130', 'end': '118.58.113.190'}], 'gateway_ip': '118.58.113.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.58.113.130', 'tags': [], 'project_id': 'a3bd5e4ac4234a109fce4815abb04950'}} 2025-09-11 19:18:52,568 - INFO - Created VN ctest-vn-72399687 2025-09-11 19:18:52,622 - DEBUG - VN ctest-vn-72399687 UUID is f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:52,910 - DEBUG - Response for create_network : {'network': {'id': 'f6c48cf8-e62c-4421-9125-68cefd720137', 'name': 'ctest-vn-21099201', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'project_id': 'a3bd5e4ac4234a109fce4815abb04950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-vn-21099201'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:53,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d70524f-0033-4ad9-9a0b-9b0d23f6edc7', 'name': '', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'network_id': 'f6c48cf8-e62c-4421-9125-68cefd720137', 'ip_version': 4, 'cidr': '31.200.155.64/26', 'allocation_pools': [{'start': '31.200.155.66', 'end': '31.200.155.126'}], 'gateway_ip': '31.200.155.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.200.155.66', 'tags': [], 'project_id': 'a3bd5e4ac4234a109fce4815abb04950'}} 2025-09-11 19:18:53,108 - INFO - Created VN ctest-vn-21099201 2025-09-11 19:18:53,158 - DEBUG - VN ctest-vn-21099201 UUID is f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:53,314 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687, 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-93844035:ctest-vn-21099201, 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-09-11 19:18:53,606 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f3068acf-7955-4bb8-8167-37b2733570f7', 'name': 'ctest-vn-72399687', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'project_id': 'a3bd5e4ac4234a109fce4815abb04950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55ed460a-84c4-4429-a39b-dc2198e8b353'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-vn-72399687'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-policy-allow-all-99372290']], 'subnet_ipam': [{'subnet_cidr': '118.58.113.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:53,883 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f6c48cf8-e62c-4421-9125-68cefd720137', 'name': 'ctest-vn-21099201', 'tenant_id': 'a3bd5e4ac4234a109fce4815abb04950', 'project_id': 'a3bd5e4ac4234a109fce4815abb04950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8d70524f-0033-4ad9-9a0b-9b0d23f6edc7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-vn-21099201'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-policy-allow-all-99372290']], 'subnet_ipam': [{'subnet_cidr': '31.200.155.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-11 19:18:54,030 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:18:54,326 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:18:54,359 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:18:54,371 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:18:54,446 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,457 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,467 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:18:54,474 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:18:54,481 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b3898894-5dd6-4823-825f-07bb28c8a2a3 2025-09-11 19:18:54,487 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 19:18:54,487 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,496 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:18:54,510 - INFO - Verified VN network id 11 for VN f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,510 - INFO - Verifications in API Server for VN ctest-vn-72399687 passed 2025-09-11 19:18:54,510 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,518 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:18:54,525 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:18:54,533 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/b3898894-5dd6-4823-825f-07bb28c8a2a3 2025-09-11 19:18:54,546 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93844035', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17511836824775248824', 'uuid-lslong': '9324482793070489847'}, 'enable': 'true', 'created': '2025-09-11T19:18:52', 'last-modified': '2025-09-11T19:18:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.965538'} 2025-09-11 19:18:54,552 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-11 19:18:54,552 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72399687 passed 2025-09-11 19:18:54,552 - DEBUG - ====Verifying policy data for ctest-vn-72399687 in API_Server ====== 2025-09-11 19:18:54,552 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:18:54,557 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:18:54,567 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:18:54,638 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f3068acf-7955-4bb8-8167-37b2733570f7 2025-09-11 19:18:54,648 - DEBUG - ==>Verifying data for policy with id: 1b146895-8014-4ac7-a3e8-83e4361d241f, fqn: ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-policy-allow-all-99372290'] 2025-09-11 19:18:54,648 - INFO - VN ctest-vn-72399687 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 19:18:54,648 - DEBUG - Verifying the vn in opserver 2025-09-11 19:18:54,648 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687 virtual network link through opserver 10.0.0.22 2025-09-11 19:18:54,648 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 19:18:54,936 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 19:18:54,991 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687?flat'} 2025-09-11 19:18:54,991 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687 is found in opserver 2025-09-11 19:18:55,000 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 19:18:55,004 - DEBUG - VRF ids for VN ctest-vn-72399687: {} 2025-09-11 19:18:55,004 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:18:55,010 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:18:55,023 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:18:55,092 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,111 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:18:55,118 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:18:55,125 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0eca82a9-6c6f-40b5-867b-8a78b7f1b6b5 2025-09-11 19:18:55,131 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 19:18:55,132 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,140 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:18:55,153 - INFO - Verified VN network id 12 for VN f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,153 - INFO - Verifications in API Server for VN ctest-vn-21099201 passed 2025-09-11 19:18:55,153 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,161 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:18:55,167 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:18:55,174 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/0eca82a9-6c6f-40b5-867b-8a78b7f1b6b5 2025-09-11 19:18:55,185 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-21099201', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93844035', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17781492229406999585', 'uuid-lslong': '10458880947862503735'}, 'enable': 'true', 'created': '2025-09-11T19:18:52', 'last-modified': '2025-09-11T19:18:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.368717'} 2025-09-11 19:18:55,190 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-11 19:18:55,192 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21099201 passed 2025-09-11 19:18:55,192 - DEBUG - ====Verifying policy data for ctest-vn-21099201 in API_Server ====== 2025-09-11 19:18:55,192 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:18:55,198 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:18:55,208 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:18:55,277 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f6c48cf8-e62c-4421-9125-68cefd720137 2025-09-11 19:18:55,288 - DEBUG - ==>Verifying data for policy with id: 1b146895-8014-4ac7-a3e8-83e4361d241f, fqn: ['default-domain', 'ctest-TestBasicPolicy-93844035', 'ctest-policy-allow-all-99372290'] 2025-09-11 19:18:55,288 - INFO - VN ctest-vn-21099201 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-11 19:18:55,288 - DEBUG - Verifying the vn in opserver 2025-09-11 19:18:55,288 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-21099201 virtual network link through opserver 10.0.0.22 2025-09-11 19:18:55,288 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2025-09-11 19:18:55,298 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-21099201', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-21099201?flat'} 2025-09-11 19:18:55,298 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-21099201 is found in opserver 2025-09-11 19:18:55,309 - DEBUG - Do not have enough data to verify VN in agent 2025-09-11 19:18:55,313 - DEBUG - VRF ids for VN ctest-vn-21099201: {} 2025-09-11 19:18:55,371 - DEBUG - Services list from nova: [, , ] 2025-09-11 19:18:56,440 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:18:57,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4097-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4097-1) 2025-09-11 19:18:57,591 - INFO - Waiting for VM ctest-TestBasicPolicy-93844035-91196207 to be up.. 2025-09-11 19:18:57,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 19:19:02,762 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:19:02,762 - INFO - VM name : ctest-TestBasicPolicy-93844035-91196207 2025-09-11 19:19:02,839 - DEBUG - VM ctest-TestBasicPolicy-93844035-91196207 ID is bf046933-96de-4339-a839-bdf36076af7c 2025-09-11 19:19:02,860 - DEBUG - VM ctest-TestBasicPolicy-93844035-91196207 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:19:02,936 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/bf046933-96de-4339-a839-bdf36076af7c 2025-09-11 19:19:02,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/33261f6b-4044-45d3-8c7a-0232bbc90c48 2025-09-11 19:19:06,184 - 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 1006ms') 2025-09-11 19:19:06,184 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93844035-91196207 failed! 2025-09-11 19:19:06,238 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93844035:ctest-vn-72399687 is 118.58.113.129 and allocation pool is NOT set 2025-09-11 19:19:08,301 - 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=5.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/2.884/5.294/2.410 ms') 2025-09-11 19:19:08,301 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93844035-91196207 passed 2025-09-11 19:19:08,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:08,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93844035-91196207, IP 118.58.113.131, Port 22 2025-09-11 19:19:08,610 - DEBUG - VM ctest-TestBasicPolicy-93844035-91196207 is ready for SSH connections 2025-09-11 19:19:08,610 - INFO - Waiting for VM ctest-TestBasicPolicy-93844035-46664391 to be up.. 2025-09-11 19:19:08,688 - DEBUG - VM is in ACTIVE state now 2025-09-11 19:19:08,688 - INFO - VM name : ctest-TestBasicPolicy-93844035-46664391 2025-09-11 19:19:08,775 - DEBUG - VM ctest-TestBasicPolicy-93844035-46664391 ID is b285a516-8e36-42ba-9ed1-0a8a5fc15c5f 2025-09-11 19:19:08,775 - DEBUG - VM ctest-TestBasicPolicy-93844035-46664391 launched on Node cn-jenkins-deploy-platform-ansible-os-4097-1 2025-09-11 19:19:08,848 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b285a516-8e36-42ba-9ed1-0a8a5fc15c5f 2025-09-11 19:19:08,857 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0f9ce7d1-fce8-4fa4-b049-ef8409b3339a 2025-09-11 19:19:10,093 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.699/2.901/1.201 ms') 2025-09-11 19:19:10,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93844035-46664391 passed 2025-09-11 19:19:10,242 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:10,242 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93844035-46664391, IP 31.200.155.67, Port 22 2025-09-11 19:19:10,397 - DEBUG - VM ctest-TestBasicPolicy-93844035-46664391 is ready for SSH connections 2025-09-11 19:19:10,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:10,397 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.200.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:19:10,398 - DEBUG - ping -s 56 -c 3 -W 1 31.200.155.67 2025-09-11 19:19:14,450 - DEBUG - PING 31.200.155.67 (31.200.155.67): 56 data bytes 64 bytes from 31.200.155.67: seq=0 ttl=63 time=3.595 ms 64 bytes from 31.200.155.67: seq=1 ttl=63 time=0.916 ms 64 bytes from 31.200.155.67: seq=2 ttl=63 time=1.066 ms --- 31.200.155.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.859/3.595 ms 2025-09-11 19:19:14,450 - INFO - Ping to IP 31.200.155.67 from VM ctest-TestBasicPolicy-93844035-91196207 passed 2025-09-11 19:19:14,626 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1b146895-8014-4ac7-a3e8-83e4361d241f", "href": "http://10.0.0.22:8082/network-policy/1b146895-8014-4ac7-a3e8-83e4361d241f"}} 2025-09-11 19:19:14,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 19:19:14,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.200.155.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 19:19:14,626 - DEBUG - ping -s 56 -c 3 -W 1 31.200.155.67 2025-09-11 19:19:17,840 - DEBUG - PING 31.200.155.67 (31.200.155.67): 56 data bytes --- 31.200.155.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-11 19:19:17,840 - WARNING - Ping to IP 31.200.155.67 from VM ctest-TestBasicPolicy-93844035-91196207 failed 2025-09-11 19:19:17,840 - INFO - Deleting VM ctest-TestBasicPolicy-93844035-46664391 2025-09-11 19:19:17,910 - INFO - Deleting VM ctest-TestBasicPolicy-93844035-91196207 2025-09-11 19:19:18,272 - INFO - Deleted policy ctest-policy-allow-all-99372290 2025-09-11 19:19:18,272 - INFO - Deleting VN ctest-vn-21099201 2025-09-11 19:19:18,306 - DEBUG - VN f6c48cf8-e62c-4421-9125-68cefd720137 still in use: Unable to complete operation on network f6c48cf8-e62c-4421-9125-68cefd720137. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d42fc04e-208c-4f73-bcca-ba5990277250'] 2025-09-11 19:19:18,306 - WARNING - Deleting VN ctest-vn-21099201 failed..Will retry 2025-09-11 19:19:20,409 - DEBUG - Response for deleting network () 2025-09-11 19:19:20,409 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f0220e63-5d32-4fbd-8e0c-47a13b8dc41b 2025-09-11 19:19:20,418 - DEBUG - Response Code: 404 2025-09-11 19:19:20,418 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:19:20,423 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:19:20,475 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:19:20,545 - INFO - Validated that VN ctest-vn-21099201 is not found in API Server 2025-09-11 19:19:20,557 - DEBUG - VN ctest-vn-21099201 is not present in Agent 10.0.0.22 2025-09-11 19:19:20,557 - INFO - Validated that VN ctest-vn-21099201 is not in any agent 2025-09-11 19:19:20,571 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21099201 info 2025-09-11 19:19:20,571 - INFO - Deleting VN ctest-vn-72399687 2025-09-11 19:19:20,673 - DEBUG - Response for deleting network () 2025-09-11 19:19:20,673 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/11661ddf-9454-4976-8c89-d8c4852ec098 2025-09-11 19:19:20,678 - DEBUG - Response Code: 404 2025-09-11 19:19:20,678 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2025-09-11 19:19:20,684 - DEBUG - Requesting: http://10.0.0.22:8082/domain/10fca3b2-93f4-4535-8ba7-b618bcb6a5b2 2025-09-11 19:19:20,739 - DEBUG - Requesting: http://10.0.0.22:8082/project/a3bd5e4a-c423-4a10-9fce-4815abb04950 2025-09-11 19:19:20,807 - INFO - Validated that VN ctest-vn-72399687 is not found in API Server 2025-09-11 19:19:20,816 - DEBUG - VN ctest-vn-72399687 is not present in Agent 10.0.0.22 2025-09-11 19:19:20,816 - INFO - Validated that VN ctest-vn-72399687 is not in any agent 2025-09-11 19:19:20,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72399687 info 2025-09-11 19:19:21,085 - DEBUG - No XMPP flaps were noticed during the test 2025-09-11 19:19:21,086 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-11 19:19:21,086 - INFO - -------------------------------------------------------------------------------- 2025-09-11 19:19:21,764 - INFO - Deleted project: ctest-TestBasicPolicy-93844035, ID : a3bd5e4a-c423-4a10-9fce-4815abb04950