2025-07-16 14:56:40,736 - INFO - Domain Default found not creating 2025-07-16 14:56:40,888 - INFO - Project ctest-TestBasicPolicy-30879079 not found, creating it 2025-07-16 14:56:41,369 - INFO - Created Project:ctest-TestBasicPolicy-30879079, ID : 8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:56:42,865 - INFO - ================================================================================ 2025-07-16 14:56:42,866 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-07-16 14:56:42,866 - 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-07-16 14:56:43,120 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.129': '0'}} with 2025-07-16 14:56:43,120 - INFO - Initial checks done. Running the testcase now 2025-07-16 14:56:43,120 - INFO - 2025-07-16 14:56:43,660 - DEBUG - Response for create_network : {'network': {'id': 'e3a0ecf6-5734-4f92-b5cb-0c89464df35d', 'name': 'ctest-vn-78502594', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'project_id': '8b2607c7f681409a9dbc69e7b55aba97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-vn-78502594'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 14:56:43,825 - DEBUG - Response for create_subnet : {'subnet': {'id': '09703549-a5e5-44f6-bd58-fb7453a3941e', 'name': '', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'network_id': 'e3a0ecf6-5734-4f92-b5cb-0c89464df35d', 'ip_version': 4, 'cidr': '211.4.221.0/26', 'allocation_pools': [{'start': '211.4.221.2', 'end': '211.4.221.62'}], 'gateway_ip': '211.4.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.4.221.2', 'tags': [], 'project_id': '8b2607c7f681409a9dbc69e7b55aba97'}} 2025-07-16 14:56:43,844 - INFO - Created VN ctest-vn-78502594 2025-07-16 14:56:43,897 - DEBUG - VN ctest-vn-78502594 UUID is e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:44,183 - DEBUG - Response for create_network : {'network': {'id': '4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f', 'name': 'ctest-vn-66722608', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'project_id': '8b2607c7f681409a9dbc69e7b55aba97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-vn-66722608'], 'port_security_enabled': True, 'description': ''}} 2025-07-16 14:56:44,356 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd0e7539d-3321-45f6-af18-4d555983a80e', 'name': '', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'network_id': '4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f', 'ip_version': 4, 'cidr': '166.115.186.64/26', 'allocation_pools': [{'start': '166.115.186.66', 'end': '166.115.186.126'}], 'gateway_ip': '166.115.186.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.115.186.66', 'tags': [], 'project_id': '8b2607c7f681409a9dbc69e7b55aba97'}} 2025-07-16 14:56:44,374 - INFO - Created VN ctest-vn-66722608 2025-07-16 14:56:44,424 - DEBUG - VN ctest-vn-66722608 UUID is 4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:44,581 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594, 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-30879079:ctest-vn-66722608, 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-07-16 14:56:44,881 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e3a0ecf6-5734-4f92-b5cb-0c89464df35d', 'name': 'ctest-vn-78502594', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'project_id': '8b2607c7f681409a9dbc69e7b55aba97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['09703549-a5e5-44f6-bd58-fb7453a3941e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-vn-78502594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-policy-allow-all-12852228']], 'subnet_ipam': [{'subnet_cidr': '211.4.221.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 14:56:45,122 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f', 'name': 'ctest-vn-66722608', 'tenant_id': '8b2607c7f681409a9dbc69e7b55aba97', 'project_id': '8b2607c7f681409a9dbc69e7b55aba97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d0e7539d-3321-45f6-af18-4d555983a80e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-vn-66722608'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-policy-allow-all-12852228']], 'subnet_ipam': [{'subnet_cidr': '166.115.186.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-07-16 14:56:45,269 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:56:45,570 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:56:45,601 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:56:45,615 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:56:45,688 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,700 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,712 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:56:45,720 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:56:45,727 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/74261456-7723-4c65-8772-f882a0c57fcf 2025-07-16 14:56:45,734 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 14:56:45,735 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,745 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:56:45,761 - INFO - Verified VN network id 8 for VN e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,761 - INFO - Verifications in API Server for VN ctest-vn-78502594 passed 2025-07-16 14:56:45,761 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,771 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:56:45,780 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:56:45,787 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/74261456-7723-4c65-8772-f882a0c57fcf 2025-07-16 14:56:45,802 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30879079', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16402370385652502418', 'uuid-lslong': '13099577724866786141'}, 'enable': 'true', 'created': '2025-07-16T14:56:43', 'last-modified': '2025-07-16T14:56:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.943604'} 2025-07-16 14:56:45,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-16 14:56:45,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78502594 passed 2025-07-16 14:56:45,809 - DEBUG - ====Verifying policy data for ctest-vn-78502594 in API_Server ====== 2025-07-16 14:56:45,809 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:56:45,815 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:56:45,827 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:56:45,904 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/e3a0ecf6-5734-4f92-b5cb-0c89464df35d 2025-07-16 14:56:45,915 - DEBUG - ==>Verifying data for policy with id: ed33b7eb-6cd4-45a1-9419-fcac6e9e8fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-policy-allow-all-12852228'] 2025-07-16 14:56:45,915 - INFO - VN ctest-vn-78502594 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 14:56:45,915 - DEBUG - Verifying the vn in opserver 2025-07-16 14:56:45,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594 virtual network link through opserver 10.0.0.241 2025-07-16 14:56:45,916 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 14:56:46,219 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 14:56:46,275 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594?flat'} 2025-07-16 14:56:46,275 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594 is found in opserver 2025-07-16 14:56:46,286 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 14:56:46,292 - DEBUG - VRF ids for VN ctest-vn-78502594: {} 2025-07-16 14:56:46,292 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:56:46,297 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:56:46,310 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:56:46,393 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,407 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,420 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:56:46,428 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:56:46,436 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/c2ee487d-bb17-4e6e-84d9-ed81d97af3d6 2025-07-16 14:56:46,445 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 14:56:46,445 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,457 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:56:46,475 - INFO - Verified VN network id 9 for VN 4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,475 - INFO - Verifications in API Server for VN ctest-vn-66722608 passed 2025-07-16 14:56:46,476 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,488 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:56:46,498 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:56:46,507 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/c2ee487d-bb17-4e6e-84d9-ed81d97af3d6 2025-07-16 14:56:46,523 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-66722608', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30879079', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5375696236044963588', 'uuid-lslong': '11011938163472676911'}, 'enable': 'true', 'created': '2025-07-16T14:56:44', 'last-modified': '2025-07-16T14:56:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413771'} 2025-07-16 14:56:46,533 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-07-16 14:56:46,533 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66722608 passed 2025-07-16 14:56:46,533 - DEBUG - ====Verifying policy data for ctest-vn-66722608 in API_Server ====== 2025-07-16 14:56:46,533 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:56:46,542 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:56:46,558 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:56:46,631 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f 2025-07-16 14:56:46,644 - DEBUG - ==>Verifying data for policy with id: ed33b7eb-6cd4-45a1-9419-fcac6e9e8fd6, fqn: ['default-domain', 'ctest-TestBasicPolicy-30879079', 'ctest-policy-allow-all-12852228'] 2025-07-16 14:56:46,644 - INFO - VN ctest-vn-66722608 Policy verification: verify_vn_policy_in_api_server, status: True 2025-07-16 14:56:46,644 - DEBUG - Verifying the vn in opserver 2025-07-16 14:56:46,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-66722608 virtual network link through opserver 10.0.0.241 2025-07-16 14:56:46,644 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks 2025-07-16 14:56:46,655 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-66722608', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-66722608?flat'} 2025-07-16 14:56:46,655 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-66722608 is found in opserver 2025-07-16 14:56:46,671 - DEBUG - Do not have enough data to verify VN in agent 2025-07-16 14:56:46,678 - DEBUG - VRF ids for VN ctest-vn-66722608: {} 2025-07-16 14:56:46,736 - DEBUG - Services list from nova: [, , ] 2025-07-16 14:56:47,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3644-1) 2025-07-16 14:56:49,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3644-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3644-1) 2025-07-16 14:56:49,020 - INFO - Waiting for VM ctest-TestBasicPolicy-30879079-96801740 to be up.. 2025-07-16 14:56:49,094 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-16 14:56:54,178 - DEBUG - VM is in ACTIVE state now 2025-07-16 14:56:54,178 - INFO - VM name : ctest-TestBasicPolicy-30879079-96801740 2025-07-16 14:56:54,261 - DEBUG - VM ctest-TestBasicPolicy-30879079-96801740 ID is 0e41114f-7721-4561-90ce-f92a434d2311 2025-07-16 14:56:54,285 - DEBUG - VM ctest-TestBasicPolicy-30879079-96801740 launched on Node cn-jenkins-deploy-platform-ansible-os-3644-1 2025-07-16 14:56:54,362 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/0e41114f-7721-4561-90ce-f92a434d2311 2025-07-16 14:56:54,376 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/0d5ed6f1-5bfe-48b2-9ec8-f1ff0d43b311 2025-07-16 14:56:57,626 - 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 1035ms') 2025-07-16 14:56:57,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30879079-96801740 failed! 2025-07-16 14:56:57,681 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30879079:ctest-vn-78502594 is 211.4.221.1 and allocation pool is NOT set 2025-07-16 14:56:59,743 - 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=14.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.462 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.462/7.690/14.919/7.228 ms') 2025-07-16 14:56:59,744 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30879079-96801740 passed 2025-07-16 14:56:59,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 14:56:59,897 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30879079-96801740, IP 211.4.221.3, Port 22 2025-07-16 14:57:00,074 - DEBUG - VM ctest-TestBasicPolicy-30879079-96801740 is ready for SSH connections 2025-07-16 14:57:00,074 - INFO - Waiting for VM ctest-TestBasicPolicy-30879079-94572547 to be up.. 2025-07-16 14:57:00,162 - DEBUG - VM is in ACTIVE state now 2025-07-16 14:57:00,162 - INFO - VM name : ctest-TestBasicPolicy-30879079-94572547 2025-07-16 14:57:00,240 - DEBUG - VM ctest-TestBasicPolicy-30879079-94572547 ID is 941de632-59ca-4f3f-9c12-50b8d570e9d7 2025-07-16 14:57:00,241 - DEBUG - VM ctest-TestBasicPolicy-30879079-94572547 launched on Node cn-jenkins-deploy-platform-ansible-os-3644-1 2025-07-16 14:57:00,331 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine/941de632-59ca-4f3f-9c12-50b8d570e9d7 2025-07-16 14:57:00,341 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-machine-interface/f1886c04-7b20-43d7-b223-27c972e53bae 2025-07-16 14:57:01,590 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.891 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.891/2.271/3.652/1.380 ms') 2025-07-16 14:57:01,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30879079-94572547 passed 2025-07-16 14:57:01,741 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 14:57:01,741 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30879079-94572547, IP 166.115.186.67, Port 22 2025-07-16 14:57:01,897 - DEBUG - VM ctest-TestBasicPolicy-30879079-94572547 is ready for SSH connections 2025-07-16 14:57:01,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 14:57:01,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.115.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-16 14:57:01,897 - DEBUG - ping -s 56 -c 3 -W 1 166.115.186.67 2025-07-16 14:57:05,924 - DEBUG - PING 166.115.186.67 (166.115.186.67): 56 data bytes 64 bytes from 166.115.186.67: seq=0 ttl=63 time=4.294 ms 64 bytes from 166.115.186.67: seq=1 ttl=63 time=0.936 ms 64 bytes from 166.115.186.67: seq=2 ttl=63 time=1.010 ms --- 166.115.186.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.936/2.080/4.294 ms 2025-07-16 14:57:05,924 - INFO - Ping to IP 166.115.186.67 from VM ctest-TestBasicPolicy-30879079-96801740 passed 2025-07-16 14:57:06,120 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ed33b7eb-6cd4-45a1-9419-fcac6e9e8fd6", "href": "http://10.0.0.241:8082/network-policy/ed33b7eb-6cd4-45a1-9419-fcac6e9e8fd6"}} 2025-07-16 14:57:06,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-16 14:57:06,121 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.115.186.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.241, gateway password: c0ntrail123 2025-07-16 14:57:06,121 - DEBUG - ping -s 56 -c 3 -W 1 166.115.186.67 2025-07-16 14:57:09,329 - DEBUG - PING 166.115.186.67 (166.115.186.67): 56 data bytes 64 bytes from 166.115.186.67: seq=0 ttl=63 time=2.051 ms --- 166.115.186.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.051/2.051/2.051 ms 2025-07-16 14:57:09,329 - WARNING - Ping to IP 166.115.186.67 from VM ctest-TestBasicPolicy-30879079-96801740 failed 2025-07-16 14:57:09,329 - INFO - Deleting VM ctest-TestBasicPolicy-30879079-94572547 2025-07-16 14:57:09,405 - INFO - Deleting VM ctest-TestBasicPolicy-30879079-96801740 2025-07-16 14:57:09,862 - INFO - Deleted policy ctest-policy-allow-all-12852228 2025-07-16 14:57:09,862 - INFO - Deleting VN ctest-vn-66722608 2025-07-16 14:57:09,905 - DEBUG - VN 4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f still in use: Unable to complete operation on network 4a9a4f3e-b9dd-4f04-98d2-436a7a5b382f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9186462d-3e59-4825-ac35-6912173708ae'] 2025-07-16 14:57:09,905 - WARNING - Deleting VN ctest-vn-66722608 failed..Will retry 2025-07-16 14:57:12,038 - DEBUG - Response for deleting network () 2025-07-16 14:57:12,038 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d7ec20bd-e903-435a-b8d4-0b252981109f 2025-07-16 14:57:12,047 - DEBUG - Response Code: 404 2025-07-16 14:57:12,047 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:57:12,057 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:57:12,114 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:57:12,191 - INFO - Validated that VN ctest-vn-66722608 is not found in API Server 2025-07-16 14:57:12,202 - DEBUG - VN ctest-vn-66722608 is not present in Agent 10.0.0.241 2025-07-16 14:57:12,202 - INFO - Validated that VN ctest-vn-66722608 is not in any agent 2025-07-16 14:57:12,220 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66722608 info 2025-07-16 14:57:12,220 - INFO - Deleting VN ctest-vn-78502594 2025-07-16 14:57:12,344 - DEBUG - Response for deleting network () 2025-07-16 14:57:12,344 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/d44addb1-a7d0-4383-84a0-e02dfbfe90a4 2025-07-16 14:57:12,355 - DEBUG - Response Code: 404 2025-07-16 14:57:12,355 - DEBUG - Requesting: http://10.0.0.241:8082/domains 2025-07-16 14:57:12,363 - DEBUG - Requesting: http://10.0.0.241:8082/domain/3385aff5-66d5-4b33-8fdf-d0833f7e68e0 2025-07-16 14:57:12,422 - DEBUG - Requesting: http://10.0.0.241:8082/project/8b2607c7-f681-409a-9dbc-69e7b55aba97 2025-07-16 14:57:12,501 - INFO - Validated that VN ctest-vn-78502594 is not found in API Server 2025-07-16 14:57:12,514 - DEBUG - VN ctest-vn-78502594 is not present in Agent 10.0.0.241 2025-07-16 14:57:12,514 - INFO - Validated that VN ctest-vn-78502594 is not in any agent 2025-07-16 14:57:12,530 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78502594 info 2025-07-16 14:57:12,791 - DEBUG - No XMPP flaps were noticed during the test
2025-07-16 14:57:12,791 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-07-16 14:57:12,791 - INFO - -------------------------------------------------------------------------------- 2025-07-16 14:57:13,486 - INFO - Deleted project: ctest-TestBasicPolicy-30879079, ID : 8b2607c7-f681-409a-9dbc-69e7b55aba97