2025-04-14 11:02:33,483 - INFO - Domain Default found not creating 2025-04-14 11:02:33,645 - INFO - Project ctest-TestBasicPolicy-29344746 not found, creating it 2025-04-14 11:02:34,130 - INFO - Created Project:ctest-TestBasicPolicy-29344746, ID : 95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:02:35,712 - INFO - ================================================================================ 2025-04-14 11:02:35,713 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-14 11:02:35,713 - 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-04-14 11:02:35,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-04-14 11:02:35,971 - INFO - Initial checks done. Running the testcase now 2025-04-14 11:02:35,971 - INFO - 2025-04-14 11:02:36,570 - DEBUG - Response for create_network : {'network': {'id': '9a151a63-37ab-4912-9154-464ed87a3f94', 'name': 'ctest-vn-87756039', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'project_id': '95bcfdc644814f088069c34e2106aba7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-vn-87756039'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:02:36,772 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e4dbeb5-df22-4cce-b55d-931ffb5d545f', 'name': '', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'network_id': '9a151a63-37ab-4912-9154-464ed87a3f94', 'ip_version': 4, 'cidr': '218.163.159.128/26', 'allocation_pools': [{'start': '218.163.159.130', 'end': '218.163.159.190'}], 'gateway_ip': '218.163.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.163.159.130', 'tags': [], 'project_id': '95bcfdc644814f088069c34e2106aba7'}} 2025-04-14 11:02:36,792 - INFO - Created VN ctest-vn-87756039 2025-04-14 11:02:36,847 - DEBUG - VN ctest-vn-87756039 UUID is 9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:37,195 - DEBUG - Response for create_network : {'network': {'id': '28aa3fa4-3a47-4298-aa05-1f7791cb09db', 'name': 'ctest-vn-14477218', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'project_id': '95bcfdc644814f088069c34e2106aba7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-vn-14477218'], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:02:37,371 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f5ec4f8-c158-4fbb-9c66-d691939daad7', 'name': '', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'network_id': '28aa3fa4-3a47-4298-aa05-1f7791cb09db', 'ip_version': 4, 'cidr': '65.69.180.192/26', 'allocation_pools': [{'start': '65.69.180.194', 'end': '65.69.180.254'}], 'gateway_ip': '65.69.180.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.69.180.194', 'tags': [], 'project_id': '95bcfdc644814f088069c34e2106aba7'}} 2025-04-14 11:02:37,394 - INFO - Created VN ctest-vn-14477218 2025-04-14 11:02:37,452 - DEBUG - VN ctest-vn-14477218 UUID is 28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:37,587 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039, 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-29344746:ctest-vn-14477218, 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-04-14 11:02:37,932 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9a151a63-37ab-4912-9154-464ed87a3f94', 'name': 'ctest-vn-87756039', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'project_id': '95bcfdc644814f088069c34e2106aba7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0e4dbeb5-df22-4cce-b55d-931ffb5d545f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-vn-87756039'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-policy-allow-all-19417281']], 'subnet_ipam': [{'subnet_cidr': '218.163.159.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:02:38,194 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28aa3fa4-3a47-4298-aa05-1f7791cb09db', 'name': 'ctest-vn-14477218', 'tenant_id': '95bcfdc644814f088069c34e2106aba7', 'project_id': '95bcfdc644814f088069c34e2106aba7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2f5ec4f8-c158-4fbb-9c66-d691939daad7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-vn-14477218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-policy-allow-all-19417281']], 'subnet_ipam': [{'subnet_cidr': '65.69.180.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-14 11:02:38,351 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:02:38,648 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:02:38,683 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:02:38,699 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:02:38,781 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:38,796 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:38,808 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:02:38,817 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:02:38,826 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4e8ba460-0ee9-4780-90c4-e8d8b8dc4761 2025-04-14 11:02:38,835 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 11:02:38,835 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:38,846 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:02:38,865 - INFO - Verified VN network id 8 for VN 9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:38,866 - INFO - Verifications in API Server for VN ctest-vn-87756039 passed 2025-04-14 11:02:38,866 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:38,877 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:02:38,887 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:02:38,898 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/4e8ba460-0ee9-4780-90c4-e8d8b8dc4761 2025-04-14 11:02:38,916 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29344746', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11102809469789882642', 'uuid-lslong': '10472072337996529556'}, 'enable': 'true', 'created': '2025-04-14T11:02:36', 'last-modified': '2025-04-14T11:02:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.019716'} 2025-04-14 11:02:38,925 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-14 11:02:38,925 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87756039 passed 2025-04-14 11:02:38,925 - DEBUG - ====Verifying policy data for ctest-vn-87756039 in API_Server ====== 2025-04-14 11:02:38,925 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:02:38,933 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:02:38,947 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:02:39,033 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/9a151a63-37ab-4912-9154-464ed87a3f94 2025-04-14 11:02:39,047 - DEBUG - ==>Verifying data for policy with id: 772dab5d-411f-4ed1-9ba3-6ec9e4b7f54e, fqn: ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-policy-allow-all-19417281'] 2025-04-14 11:02:39,047 - INFO - VN ctest-vn-87756039 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 11:02:39,047 - DEBUG - Verifying the vn in opserver 2025-04-14 11:02:39,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039 virtual network link through opserver 10.0.0.254 2025-04-14 11:02:39,047 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 11:02:39,343 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 11:02:39,407 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039?flat'} 2025-04-14 11:02:39,407 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039 is found in opserver 2025-04-14 11:02:39,421 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 11:02:39,428 - DEBUG - VRF ids for VN ctest-vn-87756039: {} 2025-04-14 11:02:39,428 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:02:39,435 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:02:39,452 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:02:39,537 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,551 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,563 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:02:39,572 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:02:39,582 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/22120393-844f-4ced-985a-816fd7a34ff4 2025-04-14 11:02:39,591 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 11:02:39,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,604 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:02:39,625 - INFO - Verified VN network id 9 for VN 28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,625 - INFO - Verifications in API Server for VN ctest-vn-14477218 passed 2025-04-14 11:02:39,625 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,637 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:02:39,647 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:02:39,658 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/22120393-844f-4ced-985a-816fd7a34ff4 2025-04-14 11:02:39,675 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-14477218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29344746', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2930224482142864024', 'uuid-lslong': '12251232959738874331'}, 'enable': 'true', 'created': '2025-04-14T11:02:37', 'last-modified': '2025-04-14T11:02:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509320'} 2025-04-14 11:02:39,684 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-14 11:02:39,684 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14477218 passed 2025-04-14 11:02:39,684 - DEBUG - ====Verifying policy data for ctest-vn-14477218 in API_Server ====== 2025-04-14 11:02:39,684 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:02:39,693 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:02:39,709 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:02:39,789 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/28aa3fa4-3a47-4298-aa05-1f7791cb09db 2025-04-14 11:02:39,803 - DEBUG - ==>Verifying data for policy with id: 772dab5d-411f-4ed1-9ba3-6ec9e4b7f54e, fqn: ['default-domain', 'ctest-TestBasicPolicy-29344746', 'ctest-policy-allow-all-19417281'] 2025-04-14 11:02:39,803 - INFO - VN ctest-vn-14477218 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-14 11:02:39,803 - DEBUG - Verifying the vn in opserver 2025-04-14 11:02:39,803 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-14477218 virtual network link through opserver 10.0.0.254 2025-04-14 11:02:39,803 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-04-14 11:02:39,818 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-14477218', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-14477218?flat'} 2025-04-14 11:02:39,818 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-14477218 is found in opserver 2025-04-14 11:02:39,832 - DEBUG - Do not have enough data to verify VN in agent 2025-04-14 11:02:39,838 - DEBUG - VRF ids for VN ctest-vn-14477218: {} 2025-04-14 11:02:39,907 - DEBUG - Services list from nova: [, , ] 2025-04-14 11:02:41,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3090-1) 2025-04-14 11:02:42,344 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3090-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3090-1) 2025-04-14 11:02:42,345 - INFO - Waiting for VM ctest-TestBasicPolicy-29344746-24189469 to be up.. 2025-04-14 11:02:42,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-14 11:02:47,534 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:02:47,535 - INFO - VM name : ctest-TestBasicPolicy-29344746-24189469 2025-04-14 11:02:47,624 - DEBUG - VM ctest-TestBasicPolicy-29344746-24189469 ID is 77a20d12-5af7-4610-a2ef-4cd67cace533 2025-04-14 11:02:47,648 - DEBUG - VM ctest-TestBasicPolicy-29344746-24189469 launched on Node cn-jenkins-deploy-platform-ansible-os-3090-1 2025-04-14 11:02:47,753 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/77a20d12-5af7-4610-a2ef-4cd67cace533 2025-04-14 11:02:47,763 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/520540d6-684d-4f4f-90af-99a95e77bd8b 2025-04-14 11:02:51,040 - 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 1031ms') 2025-04-14 11:02:51,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29344746-24189469 failed! 2025-04-14 11:02:51,095 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29344746:ctest-vn-87756039 is 218.163.159.129 and allocation pool is NOT set 2025-04-14 11:02:53,159 - 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=7.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.935 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.935/4.346/7.758/3.411 ms') 2025-04-14 11:02:53,159 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29344746-24189469 passed 2025-04-14 11:02:53,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:02:53,319 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29344746-24189469, IP 218.163.159.131, Port 22 2025-04-14 11:02:53,494 - DEBUG - VM ctest-TestBasicPolicy-29344746-24189469 is ready for SSH connections 2025-04-14 11:02:53,494 - INFO - Waiting for VM ctest-TestBasicPolicy-29344746-55161956 to be up.. 2025-04-14 11:02:53,597 - DEBUG - VM is in ACTIVE state now 2025-04-14 11:02:53,597 - INFO - VM name : ctest-TestBasicPolicy-29344746-55161956 2025-04-14 11:02:53,694 - DEBUG - VM ctest-TestBasicPolicy-29344746-55161956 ID is a218c140-c4da-462f-a02a-a2b83f454962 2025-04-14 11:02:53,694 - DEBUG - VM ctest-TestBasicPolicy-29344746-55161956 launched on Node cn-jenkins-deploy-platform-ansible-os-3090-1 2025-04-14 11:02:53,779 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a218c140-c4da-462f-a02a-a2b83f454962 2025-04-14 11:02:53,792 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b83ba3f5-0c11-443a-bd90-57c5156c1834 2025-04-14 11:02:55,042 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/1.857/3.230/1.373 ms') 2025-04-14 11:02:55,042 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29344746-55161956 passed 2025-04-14 11:02:55,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:02:55,199 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29344746-55161956, IP 65.69.180.195, Port 22 2025-04-14 11:02:55,355 - DEBUG - VM ctest-TestBasicPolicy-29344746-55161956 is ready for SSH connections 2025-04-14 11:02:55,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:02:55,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.69.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 11:02:55,355 - DEBUG - ping -s 56 -c 3 -W 1 65.69.180.195 2025-04-14 11:02:59,062 - DEBUG - PING 65.69.180.195 (65.69.180.195): 56 data bytes 64 bytes from 65.69.180.195: seq=0 ttl=63 time=5.014 ms 64 bytes from 65.69.180.195: seq=1 ttl=63 time=1.179 ms 64 bytes from 65.69.180.195: seq=2 ttl=63 time=1.037 ms --- 65.69.180.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.037/2.410/5.014 ms 2025-04-14 11:02:59,062 - INFO - Ping to IP 65.69.180.195 from VM ctest-TestBasicPolicy-29344746-24189469 passed 2025-04-14 11:02:59,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "772dab5d-411f-4ed1-9ba3-6ec9e4b7f54e", "href": "http://10.0.0.254:8082/network-policy/772dab5d-411f-4ed1-9ba3-6ec9e4b7f54e"}} 2025-04-14 11:02:59,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-14 11:02:59,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.69.180.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-04-14 11:02:59,251 - DEBUG - ping -s 56 -c 3 -W 1 65.69.180.195 2025-04-14 11:03:02,463 - DEBUG - PING 65.69.180.195 (65.69.180.195): 56 data bytes 64 bytes from 65.69.180.195: seq=0 ttl=63 time=1.411 ms --- 65.69.180.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.411/1.411/1.411 ms 2025-04-14 11:03:02,463 - WARNING - Ping to IP 65.69.180.195 from VM ctest-TestBasicPolicy-29344746-24189469 failed 2025-04-14 11:03:02,463 - INFO - Deleting VM ctest-TestBasicPolicy-29344746-55161956 2025-04-14 11:03:02,558 - INFO - Deleting VM ctest-TestBasicPolicy-29344746-24189469 2025-04-14 11:03:02,985 - INFO - Deleted policy ctest-policy-allow-all-19417281 2025-04-14 11:03:02,986 - INFO - Deleting VN ctest-vn-14477218 2025-04-14 11:03:03,032 - DEBUG - VN 28aa3fa4-3a47-4298-aa05-1f7791cb09db still in use: Unable to complete operation on network 28aa3fa4-3a47-4298-aa05-1f7791cb09db. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bc11c8cd-5fe4-4877-86ac-1b2b7e5e4a76'] 2025-04-14 11:03:03,033 - WARNING - Deleting VN ctest-vn-14477218 failed..Will retry 2025-04-14 11:03:05,147 - DEBUG - Response for deleting network () 2025-04-14 11:03:05,147 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/ad664bdb-ae10-4424-b397-e476a2dd83a9 2025-04-14 11:03:05,154 - DEBUG - Response Code: 404 2025-04-14 11:03:05,154 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:03:05,161 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:03:05,217 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:03:05,296 - INFO - Validated that VN ctest-vn-14477218 is not found in API Server 2025-04-14 11:03:05,310 - DEBUG - VN ctest-vn-14477218 is not present in Agent 10.0.0.254 2025-04-14 11:03:05,310 - INFO - Validated that VN ctest-vn-14477218 is not in any agent 2025-04-14 11:03:05,331 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14477218 info 2025-04-14 11:03:05,331 - INFO - Deleting VN ctest-vn-87756039 2025-04-14 11:03:05,434 - DEBUG - Response for deleting network () 2025-04-14 11:03:05,434 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/fe048c7a-2fa8-4ed1-9569-41231cf1ca35 2025-04-14 11:03:05,444 - DEBUG - Response Code: 404 2025-04-14 11:03:05,444 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-04-14 11:03:05,450 - DEBUG - Requesting: http://10.0.0.254:8082/domain/c62643ee-c90c-48e0-816d-388d1388287c 2025-04-14 11:03:05,505 - DEBUG - Requesting: http://10.0.0.254:8082/project/95bcfdc6-4481-4f08-8069-c34e2106aba7 2025-04-14 11:03:05,584 - INFO - Validated that VN ctest-vn-87756039 is not found in API Server 2025-04-14 11:03:05,598 - DEBUG - VN ctest-vn-87756039 is not present in Agent 10.0.0.254 2025-04-14 11:03:05,598 - INFO - Validated that VN ctest-vn-87756039 is not in any agent 2025-04-14 11:03:05,616 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87756039 info 2025-04-14 11:03:05,878 - DEBUG - No XMPP flaps were noticed during the test 2025-04-14 11:03:05,879 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-04-14 11:03:05,879 - INFO - -------------------------------------------------------------------------------- 2025-04-14 11:03:06,591 - INFO - Deleted project: ctest-TestBasicPolicy-29344746, ID : 95bcfdc6-4481-4f08-8069-c34e2106aba7