2025-02-04 20:53:41,735 - INFO - Domain Default found not creating 2025-02-04 20:53:41,870 - INFO - Project ctest-TestBasicPolicy-40360381 not found, creating it 2025-02-04 20:53:42,306 - INFO - Created Project:ctest-TestBasicPolicy-40360381, ID : 9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:53:43,697 - INFO - ================================================================================ 2025-02-04 20:53:43,697 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-04 20:53:43,697 - 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-02-04 20:53:43,962 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with 2025-02-04 20:53:43,962 - INFO - Initial checks done. Running the testcase now 2025-02-04 20:53:43,962 - INFO - 2025-02-04 20:53:44,563 - DEBUG - Response for create_network : {'network': {'id': '96ae3d56-fd79-4f1a-8a6f-5553cb422139', 'name': 'ctest-vn-27646682', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'project_id': '9419290a623047c5b9ad738f5c185d9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-vn-27646682'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:44,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d8ea63b-bf92-43b3-a996-7125f9c95041', 'name': '', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'network_id': '96ae3d56-fd79-4f1a-8a6f-5553cb422139', 'ip_version': 4, 'cidr': '17.251.189.64/26', 'allocation_pools': [{'start': '17.251.189.66', 'end': '17.251.189.126'}], 'gateway_ip': '17.251.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.251.189.66', 'tags': [], 'project_id': '9419290a623047c5b9ad738f5c185d9a'}} 2025-02-04 20:53:44,797 - INFO - Created VN ctest-vn-27646682 2025-02-04 20:53:44,848 - DEBUG - VN ctest-vn-27646682 UUID is 96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:45,134 - DEBUG - Response for create_network : {'network': {'id': 'a84f94e5-92e4-4dfc-b15a-04c9f90de8f1', 'name': 'ctest-vn-07893203', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'project_id': '9419290a623047c5b9ad738f5c185d9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-vn-07893203'], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:45,333 - DEBUG - Response for create_subnet : {'subnet': {'id': '72f9246e-3dd2-454a-8b2a-75d19d82afd6', 'name': '', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'network_id': 'a84f94e5-92e4-4dfc-b15a-04c9f90de8f1', 'ip_version': 4, 'cidr': '95.158.58.0/26', 'allocation_pools': [{'start': '95.158.58.2', 'end': '95.158.58.62'}], 'gateway_ip': '95.158.58.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.158.58.2', 'tags': [], 'project_id': '9419290a623047c5b9ad738f5c185d9a'}} 2025-02-04 20:53:45,351 - INFO - Created VN ctest-vn-07893203 2025-02-04 20:53:45,404 - DEBUG - VN ctest-vn-07893203 UUID is a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:45,556 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682, 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-40360381:ctest-vn-07893203, 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-02-04 20:53:45,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '96ae3d56-fd79-4f1a-8a6f-5553cb422139', 'name': 'ctest-vn-27646682', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'project_id': '9419290a623047c5b9ad738f5c185d9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9d8ea63b-bf92-43b3-a996-7125f9c95041'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-vn-27646682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-policy-allow-all-60052142']], 'subnet_ipam': [{'subnet_cidr': '17.251.189.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:46,108 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a84f94e5-92e4-4dfc-b15a-04c9f90de8f1', 'name': 'ctest-vn-07893203', 'tenant_id': '9419290a623047c5b9ad738f5c185d9a', 'project_id': '9419290a623047c5b9ad738f5c185d9a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72f9246e-3dd2-454a-8b2a-75d19d82afd6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-vn-07893203'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-policy-allow-all-60052142']], 'subnet_ipam': [{'subnet_cidr': '95.158.58.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-04 20:53:46,264 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:53:46,556 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:53:46,584 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:53:46,601 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:53:46,678 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,689 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,698 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:53:46,705 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:53:46,711 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/0e24c984-73d5-4023-9611-81a12144052e 2025-02-04 20:53:46,717 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-04 20:53:46,717 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,726 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:53:46,740 - INFO - Verified VN network id 9 for VN 96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,740 - INFO - Verifications in API Server for VN ctest-vn-27646682 passed 2025-02-04 20:53:46,740 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,749 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:53:46,756 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:53:46,763 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/0e24c984-73d5-4023-9611-81a12144052e 2025-02-04 20:53:46,775 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40360381', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10857683195465912090', 'uuid-lslong': '9975285518029693241'}, 'enable': 'true', 'created': '2025-02-04T20:53:44', 'last-modified': '2025-02-04T20:53:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948562'} 2025-02-04 20:53:46,782 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-04 20:53:46,782 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27646682 passed 2025-02-04 20:53:46,782 - DEBUG - ====Verifying policy data for ctest-vn-27646682 in API_Server ====== 2025-02-04 20:53:46,782 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:53:46,788 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:53:46,800 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:53:46,872 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/96ae3d56-fd79-4f1a-8a6f-5553cb422139 2025-02-04 20:53:46,883 - DEBUG - ==>Verifying data for policy with id: 95ab3a5f-b3ac-40b6-9499-c08b9843e5d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-policy-allow-all-60052142'] 2025-02-04 20:53:46,884 - INFO - VN ctest-vn-27646682 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-04 20:53:46,884 - DEBUG - Verifying the vn in opserver 2025-02-04 20:53:46,884 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682 virtual network link through opserver 10.0.0.23 2025-02-04 20:53:46,884 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-04 20:53:47,181 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-04 20:53:47,239 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682?flat'} 2025-02-04 20:53:47,239 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682 is found in opserver 2025-02-04 20:53:47,251 - DEBUG - Do not have enough data to verify VN in agent 2025-02-04 20:53:47,256 - DEBUG - VRF ids for VN ctest-vn-27646682: {} 2025-02-04 20:53:47,256 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:53:47,261 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:53:47,273 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:53:47,346 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,360 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,370 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:53:47,378 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:53:47,385 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/93ef127e-8d91-4963-87f9-b86853259d80 2025-02-04 20:53:47,392 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-04 20:53:47,392 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,401 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:53:47,417 - INFO - Verified VN network id 10 for VN a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,417 - INFO - Verifications in API Server for VN ctest-vn-07893203 passed 2025-02-04 20:53:47,417 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,428 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:53:47,435 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:53:47,442 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/93ef127e-8d91-4963-87f9-b86853259d80 2025-02-04 20:53:47,453 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-07893203', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40360381', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12128076035264892412', 'uuid-lslong': '12779532158130579697'}, 'enable': 'true', 'created': '2025-02-04T20:53:45', 'last-modified': '2025-02-04T20:53:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410029'} 2025-02-04 20:53:47,459 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-04 20:53:47,459 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07893203 passed 2025-02-04 20:53:47,459 - DEBUG - ====Verifying policy data for ctest-vn-07893203 in API_Server ====== 2025-02-04 20:53:47,459 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:53:47,464 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:53:47,477 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:53:47,555 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 2025-02-04 20:53:47,566 - DEBUG - ==>Verifying data for policy with id: 95ab3a5f-b3ac-40b6-9499-c08b9843e5d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-40360381', 'ctest-policy-allow-all-60052142'] 2025-02-04 20:53:47,566 - INFO - VN ctest-vn-07893203 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-04 20:53:47,566 - DEBUG - Verifying the vn in opserver 2025-02-04 20:53:47,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-07893203 virtual network link through opserver 10.0.0.23 2025-02-04 20:53:47,566 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-02-04 20:53:47,577 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-07893203', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-07893203?flat'} 2025-02-04 20:53:47,577 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-07893203 is found in opserver 2025-02-04 20:53:47,587 - DEBUG - Do not have enough data to verify VN in agent 2025-02-04 20:53:47,593 - DEBUG - VRF ids for VN ctest-vn-07893203: {} 2025-02-04 20:53:47,648 - DEBUG - Services list from nova: [, , ] 2025-02-04 20:53:48,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1) 2025-02-04 20:53:49,828 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2686-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2686-1) 2025-02-04 20:53:49,829 - INFO - Waiting for VM ctest-TestBasicPolicy-40360381-20369041 to be up.. 2025-02-04 20:53:49,903 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-04 20:53:54,986 - DEBUG - VM is in ACTIVE state now 2025-02-04 20:53:54,986 - INFO - VM name : ctest-TestBasicPolicy-40360381-20369041 2025-02-04 20:53:55,076 - DEBUG - VM ctest-TestBasicPolicy-40360381-20369041 ID is 3ae15c15-2603-4d4e-97c8-b5d4b2599056 2025-02-04 20:53:55,095 - DEBUG - VM ctest-TestBasicPolicy-40360381-20369041 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1 2025-02-04 20:53:55,175 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3ae15c15-2603-4d4e-97c8-b5d4b2599056 2025-02-04 20:53:55,185 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/8debcb88-f80c-479f-8742-b454dccfcd77 2025-02-04 20:53:58,394 - 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 1016ms') 2025-02-04 20:53:58,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40360381-20369041 failed! 2025-02-04 20:53:58,457 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40360381:ctest-vn-27646682 is 17.251.189.65 and allocation pool is NOT set 2025-02-04 20:54:00,524 - 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.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.378 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.378/1.900/3.422/1.522 ms') 2025-02-04 20:54:00,524 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40360381-20369041 passed 2025-02-04 20:54:00,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:54:00,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40360381-20369041, IP 17.251.189.67, Port 22 2025-02-04 20:54:00,835 - DEBUG - VM ctest-TestBasicPolicy-40360381-20369041 is ready for SSH connections 2025-02-04 20:54:00,836 - INFO - Waiting for VM ctest-TestBasicPolicy-40360381-94752019 to be up.. 2025-02-04 20:54:00,913 - DEBUG - VM is in ACTIVE state now 2025-02-04 20:54:00,913 - INFO - VM name : ctest-TestBasicPolicy-40360381-94752019 2025-02-04 20:54:01,047 - DEBUG - VM ctest-TestBasicPolicy-40360381-94752019 ID is 8cfc8617-61c8-4c3a-b834-128a5d5f1820 2025-02-04 20:54:01,047 - DEBUG - VM ctest-TestBasicPolicy-40360381-94752019 launched on Node cn-jenkins-deploy-platform-ansible-os-2686-1 2025-02-04 20:54:01,127 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/8cfc8617-61c8-4c3a-b834-128a5d5f1820 2025-02-04 20:54:01,135 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/18112ae9-eed3-4239-8884-8c0e0a1990c4 2025-02-04 20:54:02,385 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.524 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.524/1.695/2.867/1.171 ms') 2025-02-04 20:54:02,385 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40360381-94752019 passed 2025-02-04 20:54:02,540 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:54:02,540 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40360381-94752019, IP 95.158.58.3, Port 22 2025-02-04 20:54:02,704 - DEBUG - VM ctest-TestBasicPolicy-40360381-94752019 is ready for SSH connections 2025-02-04 20:54:02,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:54:02,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.158.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-04 20:54:02,704 - DEBUG - ping -s 56 -c 3 -W 1 95.158.58.3 2025-02-04 20:54:06,668 - DEBUG - PING 95.158.58.3 (95.158.58.3): 56 data bytes 64 bytes from 95.158.58.3: seq=0 ttl=63 time=4.874 ms 64 bytes from 95.158.58.3: seq=1 ttl=63 time=0.933 ms 64 bytes from 95.158.58.3: seq=2 ttl=63 time=1.016 ms --- 95.158.58.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.933/2.274/4.874 ms 2025-02-04 20:54:06,668 - INFO - Ping to IP 95.158.58.3 from VM ctest-TestBasicPolicy-40360381-20369041 passed 2025-02-04 20:54:06,860 - DEBUG - Policy Update Response {"network-policy": {"uuid": "95ab3a5f-b3ac-40b6-9499-c08b9843e5d4", "href": "http://10.0.0.23:8082/network-policy/95ab3a5f-b3ac-40b6-9499-c08b9843e5d4"}} 2025-02-04 20:54:06,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-04 20:54:06,860 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 95.158.58.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-02-04 20:54:06,861 - DEBUG - ping -s 56 -c 3 -W 1 95.158.58.3 2025-02-04 20:54:10,059 - DEBUG - PING 95.158.58.3 (95.158.58.3): 56 data bytes --- 95.158.58.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-04 20:54:10,059 - WARNING - Ping to IP 95.158.58.3 from VM ctest-TestBasicPolicy-40360381-20369041 failed 2025-02-04 20:54:10,059 - INFO - Deleting VM ctest-TestBasicPolicy-40360381-94752019 2025-02-04 20:54:10,141 - INFO - Deleting VM ctest-TestBasicPolicy-40360381-20369041 2025-02-04 20:54:10,492 - INFO - Deleted policy ctest-policy-allow-all-60052142 2025-02-04 20:54:10,492 - INFO - Deleting VN ctest-vn-07893203 2025-02-04 20:54:10,524 - DEBUG - VN a84f94e5-92e4-4dfc-b15a-04c9f90de8f1 still in use: Unable to complete operation on network a84f94e5-92e4-4dfc-b15a-04c9f90de8f1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-36cd4257-cc3b-441b-ba6f-c7fa262b8d93'] 2025-02-04 20:54:10,524 - WARNING - Deleting VN ctest-vn-07893203 failed..Will retry 2025-02-04 20:54:12,635 - DEBUG - Response for deleting network () 2025-02-04 20:54:12,636 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/01b7fe78-b65d-406b-95e3-98ffb3e51686 2025-02-04 20:54:12,641 - DEBUG - Response Code: 404 2025-02-04 20:54:12,641 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:54:12,648 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:54:12,710 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:54:12,783 - INFO - Validated that VN ctest-vn-07893203 is not found in API Server 2025-02-04 20:54:12,794 - DEBUG - VN ctest-vn-07893203 is not present in Agent 10.0.0.23 2025-02-04 20:54:12,794 - INFO - Validated that VN ctest-vn-07893203 is not in any agent 2025-02-04 20:54:12,810 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07893203 info 2025-02-04 20:54:12,810 - INFO - Deleting VN ctest-vn-27646682 2025-02-04 20:54:12,917 - DEBUG - Response for deleting network () 2025-02-04 20:54:12,917 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/2bcfd391-08af-4823-908c-351659d1d304 2025-02-04 20:54:12,922 - DEBUG - Response Code: 404 2025-02-04 20:54:12,922 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-02-04 20:54:12,927 - DEBUG - Requesting: http://10.0.0.23:8082/domain/481956bf-cb0b-4e1b-8d08-53b6181d07a9 2025-02-04 20:54:12,981 - DEBUG - Requesting: http://10.0.0.23:8082/project/9419290a-6230-47c5-b9ad-738f5c185d9a 2025-02-04 20:54:13,053 - INFO - Validated that VN ctest-vn-27646682 is not found in API Server 2025-02-04 20:54:13,064 - DEBUG - VN ctest-vn-27646682 is not present in Agent 10.0.0.23 2025-02-04 20:54:13,064 - INFO - Validated that VN ctest-vn-27646682 is not in any agent 2025-02-04 20:54:13,079 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27646682 info 2025-02-04 20:54:13,336 - DEBUG - No XMPP flaps were noticed during the test 2025-02-04 20:54:13,336 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-02-04 20:54:13,336 - INFO - -------------------------------------------------------------------------------- 2025-02-04 20:54:14,012 - INFO - Deleted project: ctest-TestBasicPolicy-40360381, ID : 9419290a-6230-47c5-b9ad-738f5c185d9a