2025-04-09 16:30:07,564 - INFO - Domain Default found not creating 2025-04-09 16:30:07,883 - INFO - Project ctest-TestBasicPolicy-75469671 not found, creating it 2025-04-09 16:30:08,688 - INFO - Created Project:ctest-TestBasicPolicy-75469671, ID : a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:10,346 - INFO - ================================================================================ 2025-04-09 16:30:10,347 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-09 16:30:10,347 - 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-09 16:30:10,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-04-09 16:30:10,608 - INFO - Initial checks done. Running the testcase now 2025-04-09 16:30:10,608 - INFO - 2025-04-09 16:30:11,219 - DEBUG - Response for create_network : {'network': {'id': '4e40c29e-cacd-4142-9c1b-b392da7c0de3', 'name': 'ctest-vn-54084441', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-vn-54084441'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:30:11,435 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c205534-09b4-45e4-9232-b279277e9e26', 'name': '', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'network_id': '4e40c29e-cacd-4142-9c1b-b392da7c0de3', 'ip_version': 4, 'cidr': '217.187.142.192/26', 'allocation_pools': [{'start': '217.187.142.194', 'end': '217.187.142.254'}], 'gateway_ip': '217.187.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '217.187.142.194', 'tags': [], 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec'}} 2025-04-09 16:30:11,462 - INFO - Created VN ctest-vn-54084441 2025-04-09 16:30:11,521 - DEBUG - VN ctest-vn-54084441 UUID is 4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:11,873 - DEBUG - Response for create_network : {'network': {'id': 'b00c9079-1313-456f-a72b-0d97418e9ae0', 'name': 'ctest-vn-22207604', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-vn-22207604'], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:30:12,103 - DEBUG - Response for create_subnet : {'subnet': {'id': '56619f0e-46c5-412a-b20e-caf7cbde1853', 'name': '', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'network_id': 'b00c9079-1313-456f-a72b-0d97418e9ae0', 'ip_version': 4, 'cidr': '83.135.8.64/26', 'allocation_pools': [{'start': '83.135.8.66', 'end': '83.135.8.126'}], 'gateway_ip': '83.135.8.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.135.8.66', 'tags': [], 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec'}} 2025-04-09 16:30:12,126 - INFO - Created VN ctest-vn-22207604 2025-04-09 16:30:12,181 - DEBUG - VN ctest-vn-22207604 UUID is b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:12,319 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441, 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-75469671:ctest-vn-22207604, 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-09 16:30:12,674 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4e40c29e-cacd-4142-9c1b-b392da7c0de3', 'name': 'ctest-vn-54084441', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c205534-09b4-45e4-9232-b279277e9e26'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-vn-54084441'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-policy-allow-all-70251743']], 'subnet_ipam': [{'subnet_cidr': '217.187.142.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:30:12,954 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b00c9079-1313-456f-a72b-0d97418e9ae0', 'name': 'ctest-vn-22207604', 'tenant_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'project_id': 'a94a4efed7c54bafb3a6c89b7c9c59ec', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56619f0e-46c5-412a-b20e-caf7cbde1853'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-vn-22207604'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-policy-allow-all-70251743']], 'subnet_ipam': [{'subnet_cidr': '83.135.8.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-09 16:30:13,140 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:13,519 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:13,569 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:13,585 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:13,670 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,685 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,697 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:13,707 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:13,716 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/b4d249ce-af38-4173-98c2-eb0622adec11 2025-04-09 16:30:13,725 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 16:30:13,725 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,738 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:13,756 - INFO - Verified VN network id 8 for VN 4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,757 - INFO - Verifications in API Server for VN ctest-vn-54084441 passed 2025-04-09 16:30:13,757 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,768 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:13,777 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:13,787 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/b4d249ce-af38-4173-98c2-eb0622adec11 2025-04-09 16:30:13,802 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75469671', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5638720720730931522', 'uuid-lslong': '11248781937600105955'}, 'enable': 'true', 'created': '2025-04-09T16:30:11', 'last-modified': '2025-04-09T16:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.157629'} 2025-04-09 16:30:13,810 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-09 16:30:13,810 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54084441 passed 2025-04-09 16:30:13,810 - DEBUG - ====Verifying policy data for ctest-vn-54084441 in API_Server ====== 2025-04-09 16:30:13,810 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:13,819 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:13,836 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:13,917 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/4e40c29e-cacd-4142-9c1b-b392da7c0de3 2025-04-09 16:30:13,931 - DEBUG - ==>Verifying data for policy with id: 360eb33f-20e7-46ef-986b-d1410a1001af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-policy-allow-all-70251743'] 2025-04-09 16:30:13,931 - INFO - VN ctest-vn-54084441 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 16:30:13,931 - DEBUG - Verifying the vn in opserver 2025-04-09 16:30:13,931 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441 virtual network link through opserver 10.0.0.48 2025-04-09 16:30:13,931 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-09 16:30:14,228 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-09 16:30:14,304 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441?flat'} 2025-04-09 16:30:14,304 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441 is found in opserver 2025-04-09 16:30:14,318 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 16:30:14,325 - DEBUG - VRF ids for VN ctest-vn-54084441: {} 2025-04-09 16:30:14,326 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:14,334 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:14,350 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:14,426 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,442 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,455 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:14,465 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:14,476 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f2a2286a-3b9d-4ee2-a027-6ddb951f09ed 2025-04-09 16:30:14,487 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-09 16:30:14,487 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,500 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:14,519 - INFO - Verified VN network id 9 for VN b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,519 - INFO - Verifications in API Server for VN ctest-vn-22207604 passed 2025-04-09 16:30:14,519 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,533 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:14,543 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:14,553 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/f2a2286a-3b9d-4ee2-a027-6ddb951f09ed 2025-04-09 16:30:14,569 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-22207604', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-75469671', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12685673100081317231', 'uuid-lslong': '12045736571623611104'}, 'enable': 'true', 'created': '2025-04-09T16:30:11', 'last-modified': '2025-04-09T16:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.649152'} 2025-04-09 16:30:14,577 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-09 16:30:14,577 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-22207604 passed 2025-04-09 16:30:14,578 - DEBUG - ====Verifying policy data for ctest-vn-22207604 in API_Server ====== 2025-04-09 16:30:14,578 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:14,599 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:14,617 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:14,701 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/b00c9079-1313-456f-a72b-0d97418e9ae0 2025-04-09 16:30:14,716 - DEBUG - ==>Verifying data for policy with id: 360eb33f-20e7-46ef-986b-d1410a1001af, fqn: ['default-domain', 'ctest-TestBasicPolicy-75469671', 'ctest-policy-allow-all-70251743'] 2025-04-09 16:30:14,716 - INFO - VN ctest-vn-22207604 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-09 16:30:14,717 - DEBUG - Verifying the vn in opserver 2025-04-09 16:30:14,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-22207604 virtual network link through opserver 10.0.0.48 2025-04-09 16:30:14,717 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-04-09 16:30:14,732 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-22207604', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-22207604?flat'} 2025-04-09 16:30:14,732 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-22207604 is found in opserver 2025-04-09 16:30:14,745 - DEBUG - Do not have enough data to verify VN in agent 2025-04-09 16:30:14,752 - DEBUG - VRF ids for VN ctest-vn-22207604: {} 2025-04-09 16:30:14,828 - DEBUG - Services list from nova: [, , ] 2025-04-09 16:30:15,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3071-1) 2025-04-09 16:30:17,311 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3071-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3071-1) 2025-04-09 16:30:17,311 - INFO - Waiting for VM ctest-TestBasicPolicy-75469671-22231725 to be up.. 2025-04-09 16:30:17,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-09 16:30:22,524 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:30:22,524 - INFO - VM name : ctest-TestBasicPolicy-75469671-22231725 2025-04-09 16:30:22,642 - DEBUG - VM ctest-TestBasicPolicy-75469671-22231725 ID is abdb0db6-de5f-414b-88e5-e62fd7911da2 2025-04-09 16:30:22,669 - DEBUG - VM ctest-TestBasicPolicy-75469671-22231725 launched on Node cn-jenkins-deploy-platform-ansible-os-3071-1 2025-04-09 16:30:22,773 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/abdb0db6-de5f-414b-88e5-e62fd7911da2 2025-04-09 16:30:22,784 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5543cafb-e129-42a5-b5cd-84c4d4940be3 2025-04-09 16:30:26,046 - 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 1008ms') 2025-04-09 16:30:26,047 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75469671-22231725 failed! 2025-04-09 16:30:26,109 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-75469671:ctest-vn-54084441 is 217.187.142.193 and allocation pool is NOT set 2025-04-09 16:30:28,178 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=10.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.49 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 = 2.490/6.326/10.163/3.836 ms') 2025-04-09 16:30:28,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-75469671-22231725 passed 2025-04-09 16:30:28,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:30:28,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75469671-22231725, IP 217.187.142.195, Port 22 2025-04-09 16:30:28,507 - DEBUG - VM ctest-TestBasicPolicy-75469671-22231725 is ready for SSH connections 2025-04-09 16:30:28,507 - INFO - Waiting for VM ctest-TestBasicPolicy-75469671-86934601 to be up.. 2025-04-09 16:30:28,611 - DEBUG - VM is in ACTIVE state now 2025-04-09 16:30:28,611 - INFO - VM name : ctest-TestBasicPolicy-75469671-86934601 2025-04-09 16:30:28,729 - DEBUG - VM ctest-TestBasicPolicy-75469671-86934601 ID is 3f81e0a0-461e-4a3d-9866-ac02f309f707 2025-04-09 16:30:28,729 - DEBUG - VM ctest-TestBasicPolicy-75469671-86934601 launched on Node cn-jenkins-deploy-platform-ansible-os-3071-1 2025-04-09 16:30:28,831 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/3f81e0a0-461e-4a3d-9866-ac02f309f707 2025-04-09 16:30:28,843 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/23f36301-33a6-4d34-a33b-2738684f5dd6 2025-04-09 16:30:30,118 - 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.30 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.781 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.781/2.041/3.302/1.260 ms') 2025-04-09 16:30:30,119 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-75469671-86934601 passed 2025-04-09 16:30:30,297 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:30:30,297 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-75469671-86934601, IP 83.135.8.67, Port 22 2025-04-09 16:30:30,468 - DEBUG - VM ctest-TestBasicPolicy-75469671-86934601 is ready for SSH connections 2025-04-09 16:30:30,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:30:30,468 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.135.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-09 16:30:30,468 - DEBUG - ping -s 56 -c 3 -W 1 83.135.8.67 2025-04-09 16:30:34,674 - DEBUG - PING 83.135.8.67 (83.135.8.67): 56 data bytes 64 bytes from 83.135.8.67: seq=0 ttl=63 time=4.904 ms 64 bytes from 83.135.8.67: seq=1 ttl=63 time=0.889 ms 64 bytes from 83.135.8.67: seq=2 ttl=63 time=1.254 ms --- 83.135.8.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/2.349/4.904 ms 2025-04-09 16:30:34,674 - INFO - Ping to IP 83.135.8.67 from VM ctest-TestBasicPolicy-75469671-22231725 passed 2025-04-09 16:30:34,880 - DEBUG - Policy Update Response {"network-policy": {"uuid": "360eb33f-20e7-46ef-986b-d1410a1001af", "href": "http://10.0.0.48:8082/network-policy/360eb33f-20e7-46ef-986b-d1410a1001af"}} 2025-04-09 16:30:34,880 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-09 16:30:34,881 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 83.135.8.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-04-09 16:30:34,881 - DEBUG - ping -s 56 -c 3 -W 1 83.135.8.67 2025-04-09 16:30:38,127 - DEBUG - PING 83.135.8.67 (83.135.8.67): 56 data bytes 64 bytes from 83.135.8.67: seq=0 ttl=63 time=6.517 ms --- 83.135.8.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 6.517/6.517/6.517 ms 2025-04-09 16:30:38,128 - WARNING - Ping to IP 83.135.8.67 from VM ctest-TestBasicPolicy-75469671-22231725 failed 2025-04-09 16:30:38,128 - INFO - Deleting VM ctest-TestBasicPolicy-75469671-86934601 2025-04-09 16:30:38,214 - INFO - Deleting VM ctest-TestBasicPolicy-75469671-22231725 2025-04-09 16:30:38,687 - INFO - Deleted policy ctest-policy-allow-all-70251743 2025-04-09 16:30:38,687 - INFO - Deleting VN ctest-vn-22207604 2025-04-09 16:30:38,740 - DEBUG - VN b00c9079-1313-456f-a72b-0d97418e9ae0 still in use: Unable to complete operation on network b00c9079-1313-456f-a72b-0d97418e9ae0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7ad5345-0042-477b-a36e-328b202a3793'] 2025-04-09 16:30:38,741 - WARNING - Deleting VN ctest-vn-22207604 failed..Will retry 2025-04-09 16:30:40,903 - DEBUG - Response for deleting network () 2025-04-09 16:30:40,903 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c8c589c3-5b8d-4de8-9ba4-465d2dcec378 2025-04-09 16:30:40,912 - DEBUG - Response Code: 404 2025-04-09 16:30:40,912 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:40,922 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:40,944 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:41,031 - INFO - Validated that VN ctest-vn-22207604 is not found in API Server 2025-04-09 16:30:41,046 - DEBUG - VN ctest-vn-22207604 is not present in Agent 10.0.0.48 2025-04-09 16:30:41,046 - INFO - Validated that VN ctest-vn-22207604 is not in any agent 2025-04-09 16:30:41,070 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-22207604 info 2025-04-09 16:30:41,070 - INFO - Deleting VN ctest-vn-54084441 2025-04-09 16:30:41,231 - DEBUG - Response for deleting network () 2025-04-09 16:30:41,231 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/1769cc03-dc42-4065-b2fe-d9551208c2ac 2025-04-09 16:30:41,241 - DEBUG - Response Code: 404 2025-04-09 16:30:41,242 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-04-09 16:30:41,254 - DEBUG - Requesting: http://10.0.0.48:8082/domain/7668f027-eb57-47cc-91d2-f0ace78159ef 2025-04-09 16:30:41,273 - DEBUG - Requesting: http://10.0.0.48:8082/project/a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec 2025-04-09 16:30:41,357 - INFO - Validated that VN ctest-vn-54084441 is not found in API Server 2025-04-09 16:30:41,374 - DEBUG - VN ctest-vn-54084441 is not present in Agent 10.0.0.48 2025-04-09 16:30:41,374 - INFO - Validated that VN ctest-vn-54084441 is not in any agent 2025-04-09 16:30:41,396 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54084441 info 2025-04-09 16:30:41,677 - DEBUG - No XMPP flaps were noticed during the test 2025-04-09 16:30:41,677 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-09 16:30:41,677 - INFO - -------------------------------------------------------------------------------- 2025-04-09 16:30:42,432 - INFO - Deleted project: ctest-TestBasicPolicy-75469671, ID : a94a4efe-d7c5-4baf-b3a6-c89b7c9c59ec