2025-02-10 09:06:40,784 - INFO - Domain Default found not creating 2025-02-10 09:06:40,980 - INFO - Project ctest-TestBasicPolicy-76892168 not found, creating it 2025-02-10 09:06:41,469 - INFO - Created Project:ctest-TestBasicPolicy-76892168, ID : 12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:06:43,142 - INFO - ================================================================================ 2025-02-10 09:06:43,142 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-02-10 09:06:43,142 - 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-10 09:06:43,403 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.13': '0'}} with 2025-02-10 09:06:43,403 - INFO - Initial checks done. Running the testcase now 2025-02-10 09:06:43,403 - INFO - 2025-02-10 09:06:44,044 - DEBUG - Response for create_network : {'network': {'id': 'c421310b-b660-462a-9611-163a5e8b288f', 'name': 'ctest-vn-46059612', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'project_id': '12730716e7874d45bc896e7e32552020', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-vn-46059612'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 09:06:44,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '1648cfac-65ea-467d-b166-2e60b9ec5a47', 'name': '', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'network_id': 'c421310b-b660-462a-9611-163a5e8b288f', 'ip_version': 4, 'cidr': '156.120.164.0/26', 'allocation_pools': [{'start': '156.120.164.2', 'end': '156.120.164.62'}], 'gateway_ip': '156.120.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.120.164.2', 'tags': [], 'project_id': '12730716e7874d45bc896e7e32552020'}} 2025-02-10 09:06:44,237 - INFO - Created VN ctest-vn-46059612 2025-02-10 09:06:44,292 - DEBUG - VN ctest-vn-46059612 UUID is c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:44,610 - DEBUG - Response for create_network : {'network': {'id': '348e8462-9421-4c2a-b0aa-55348953f361', 'name': 'ctest-vn-23799121', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'project_id': '12730716e7874d45bc896e7e32552020', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-vn-23799121'], 'port_security_enabled': True, 'description': ''}} 2025-02-10 09:06:44,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a0018f6-528d-402b-85c2-d3c512dff016', 'name': '', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'network_id': '348e8462-9421-4c2a-b0aa-55348953f361', 'ip_version': 4, 'cidr': '63.122.245.192/26', 'allocation_pools': [{'start': '63.122.245.194', 'end': '63.122.245.254'}], 'gateway_ip': '63.122.245.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.122.245.194', 'tags': [], 'project_id': '12730716e7874d45bc896e7e32552020'}} 2025-02-10 09:06:44,867 - INFO - Created VN ctest-vn-23799121 2025-02-10 09:06:44,924 - DEBUG - VN ctest-vn-23799121 UUID is 348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:45,048 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612, 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-76892168:ctest-vn-23799121, 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-10 09:06:45,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c421310b-b660-462a-9611-163a5e8b288f', 'name': 'ctest-vn-46059612', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'project_id': '12730716e7874d45bc896e7e32552020', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1648cfac-65ea-467d-b166-2e60b9ec5a47'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-vn-46059612'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-policy-allow-all-10706813']], 'subnet_ipam': [{'subnet_cidr': '156.120.164.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 09:06:45,649 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '348e8462-9421-4c2a-b0aa-55348953f361', 'name': 'ctest-vn-23799121', 'tenant_id': '12730716e7874d45bc896e7e32552020', 'project_id': '12730716e7874d45bc896e7e32552020', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4a0018f6-528d-402b-85c2-d3c512dff016'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-vn-23799121'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-policy-allow-all-10706813']], 'subnet_ipam': [{'subnet_cidr': '63.122.245.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-02-10 09:06:45,808 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:06:46,154 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:06:46,189 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:06:46,204 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:06:46,288 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,306 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,318 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:06:46,329 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:06:46,338 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/49074fc8-ab23-45b3-8458-6dced0399e2b 2025-02-10 09:06:46,348 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 09:06:46,348 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,359 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:06:46,378 - INFO - Verified VN network id 7 for VN c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,378 - INFO - Verifications in API Server for VN ctest-vn-46059612 passed 2025-02-10 09:06:46,379 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,393 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:06:46,402 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:06:46,413 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/49074fc8-ab23-45b3-8458-6dced0399e2b 2025-02-10 09:06:46,429 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76892168', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14132631032039491114', 'uuid-lslong': '10813448620243363983'}, 'enable': 'true', 'created': '2025-02-10T09:06:44', 'last-modified': '2025-02-10T09:06:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.097553'} 2025-02-10 09:06:46,437 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-02-10 09:06:46,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46059612 passed 2025-02-10 09:06:46,438 - DEBUG - ====Verifying policy data for ctest-vn-46059612 in API_Server ====== 2025-02-10 09:06:46,438 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:06:46,444 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:06:46,459 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:06:46,548 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/c421310b-b660-462a-9611-163a5e8b288f 2025-02-10 09:06:46,563 - DEBUG - ==>Verifying data for policy with id: 61045131-778e-439b-be5f-fe44c310a114, fqn: ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-policy-allow-all-10706813'] 2025-02-10 09:06:46,563 - INFO - VN ctest-vn-46059612 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 09:06:46,563 - DEBUG - Verifying the vn in opserver 2025-02-10 09:06:46,563 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612 virtual network link through opserver 10.0.0.35 2025-02-10 09:06:46,563 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-10 09:06:46,899 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-10 09:06:46,960 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612?flat'} 2025-02-10 09:06:46,961 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612 is found in opserver 2025-02-10 09:06:46,974 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 09:06:46,980 - DEBUG - VRF ids for VN ctest-vn-46059612: {} 2025-02-10 09:06:46,980 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:06:46,986 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:06:46,999 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:06:47,080 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,095 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,107 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:06:47,117 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:06:47,125 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/60ccdc91-ed70-4ca3-a3c9-194aa841b37c 2025-02-10 09:06:47,134 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 09:06:47,134 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,147 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:06:47,164 - INFO - Verified VN network id 8 for VN 348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,165 - INFO - Verifications in API Server for VN ctest-vn-23799121 passed 2025-02-10 09:06:47,165 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,178 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:06:47,186 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:06:47,195 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/60ccdc91-ed70-4ca3-a3c9-194aa841b37c 2025-02-10 09:06:47,213 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-23799121', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-76892168', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3787109895592037418', 'uuid-lslong': '12730080980846768993'}, 'enable': 'true', 'created': '2025-02-10T09:06:44', 'last-modified': '2025-02-10T09:06:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.624964'} 2025-02-10 09:06:47,222 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-02-10 09:06:47,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23799121 passed 2025-02-10 09:06:47,222 - DEBUG - ====Verifying policy data for ctest-vn-23799121 in API_Server ====== 2025-02-10 09:06:47,222 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:06:47,230 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:06:47,246 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:06:47,322 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/348e8462-9421-4c2a-b0aa-55348953f361 2025-02-10 09:06:47,334 - DEBUG - ==>Verifying data for policy with id: 61045131-778e-439b-be5f-fe44c310a114, fqn: ['default-domain', 'ctest-TestBasicPolicy-76892168', 'ctest-policy-allow-all-10706813'] 2025-02-10 09:06:47,334 - INFO - VN ctest-vn-23799121 Policy verification: verify_vn_policy_in_api_server, status: True 2025-02-10 09:06:47,334 - DEBUG - Verifying the vn in opserver 2025-02-10 09:06:47,334 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-23799121 virtual network link through opserver 10.0.0.35 2025-02-10 09:06:47,334 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2025-02-10 09:06:47,346 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-23799121', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-23799121?flat'} 2025-02-10 09:06:47,346 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-23799121 is found in opserver 2025-02-10 09:06:47,358 - DEBUG - Do not have enough data to verify VN in agent 2025-02-10 09:06:47,364 - DEBUG - VRF ids for VN ctest-vn-23799121: {} 2025-02-10 09:06:47,427 - DEBUG - Services list from nova: [, , ] 2025-02-10 09:06:48,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2710-1) 2025-02-10 09:06:49,967 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2710-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2710-1) 2025-02-10 09:06:49,967 - INFO - Waiting for VM ctest-TestBasicPolicy-76892168-88928606 to be up.. 2025-02-10 09:06:50,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-02-10 09:06:55,152 - DEBUG - VM is in ACTIVE state now 2025-02-10 09:06:55,152 - INFO - VM name : ctest-TestBasicPolicy-76892168-88928606 2025-02-10 09:06:55,242 - DEBUG - VM ctest-TestBasicPolicy-76892168-88928606 ID is 1a7e66c3-346b-4bf5-9d76-16953f9c54b3 2025-02-10 09:06:55,266 - DEBUG - VM ctest-TestBasicPolicy-76892168-88928606 launched on Node cn-jenkins-deploy-platform-ansible-os-2710-1 2025-02-10 09:06:55,366 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/1a7e66c3-346b-4bf5-9d76-16953f9c54b3 2025-02-10 09:06:55,377 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/192a5056-e058-4670-aca9-0fdcb97ebd1a 2025-02-10 09:06:58,631 - 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 1009ms') 2025-02-10 09:06:58,631 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76892168-88928606 failed! 2025-02-10 09:06:58,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-76892168:ctest-vn-46059612 is 156.120.164.1 and allocation pool is NOT set 2025-02-10 09:07:00,749 - 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.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.466/4.502/7.538/3.036 ms') 2025-02-10 09:07:00,749 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-76892168-88928606 passed 2025-02-10 09:07:00,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:07:00,912 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76892168-88928606, IP 156.120.164.3, Port 22 2025-02-10 09:07:01,092 - DEBUG - VM ctest-TestBasicPolicy-76892168-88928606 is ready for SSH connections 2025-02-10 09:07:01,092 - INFO - Waiting for VM ctest-TestBasicPolicy-76892168-62740181 to be up.. 2025-02-10 09:07:01,187 - DEBUG - VM is in ACTIVE state now 2025-02-10 09:07:01,187 - INFO - VM name : ctest-TestBasicPolicy-76892168-62740181 2025-02-10 09:07:01,272 - DEBUG - VM ctest-TestBasicPolicy-76892168-62740181 ID is 4f43a52d-1da7-4fd5-95df-344080bf0809 2025-02-10 09:07:01,272 - DEBUG - VM ctest-TestBasicPolicy-76892168-62740181 launched on Node cn-jenkins-deploy-platform-ansible-os-2710-1 2025-02-10 09:07:01,360 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/4f43a52d-1da7-4fd5-95df-344080bf0809 2025-02-10 09:07:01,372 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c7d0dc41-96e3-4dbc-a740-5008f1f5e52f 2025-02-10 09:07:02,621 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.951/3.469/1.517 ms') 2025-02-10 09:07:02,621 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-76892168-62740181 passed 2025-02-10 09:07:02,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:07:02,780 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-76892168-62740181, IP 63.122.245.195, Port 22 2025-02-10 09:07:02,936 - DEBUG - VM ctest-TestBasicPolicy-76892168-62740181 is ready for SSH connections 2025-02-10 09:07:02,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:07:02,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.122.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-10 09:07:02,937 - DEBUG - ping -s 56 -c 3 -W 1 63.122.245.195 2025-02-10 09:07:07,046 - DEBUG - PING 63.122.245.195 (63.122.245.195): 56 data bytes 64 bytes from 63.122.245.195: seq=0 ttl=63 time=3.684 ms 64 bytes from 63.122.245.195: seq=1 ttl=63 time=1.037 ms 64 bytes from 63.122.245.195: seq=2 ttl=63 time=0.848 ms --- 63.122.245.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.848/1.856/3.684 ms 2025-02-10 09:07:07,046 - INFO - Ping to IP 63.122.245.195 from VM ctest-TestBasicPolicy-76892168-88928606 passed 2025-02-10 09:07:07,244 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61045131-778e-439b-be5f-fe44c310a114", "href": "http://10.0.0.35:8082/network-policy/61045131-778e-439b-be5f-fe44c310a114"}} 2025-02-10 09:07:07,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-02-10 09:07:07,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 63.122.245.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2025-02-10 09:07:07,244 - DEBUG - ping -s 56 -c 3 -W 1 63.122.245.195 2025-02-10 09:07:10,469 - DEBUG - PING 63.122.245.195 (63.122.245.195): 56 data bytes --- 63.122.245.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-02-10 09:07:10,469 - WARNING - Ping to IP 63.122.245.195 from VM ctest-TestBasicPolicy-76892168-88928606 failed 2025-02-10 09:07:10,469 - INFO - Deleting VM ctest-TestBasicPolicy-76892168-62740181 2025-02-10 09:07:10,549 - INFO - Deleting VM ctest-TestBasicPolicy-76892168-88928606 2025-02-10 09:07:11,049 - INFO - Deleted policy ctest-policy-allow-all-10706813 2025-02-10 09:07:11,049 - INFO - Deleting VN ctest-vn-23799121 2025-02-10 09:07:11,109 - DEBUG - VN 348e8462-9421-4c2a-b0aa-55348953f361 still in use: Unable to complete operation on network 348e8462-9421-4c2a-b0aa-55348953f361. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c66953b4-6ae8-4b13-adfb-09ea4534ae4d'] 2025-02-10 09:07:11,109 - WARNING - Deleting VN ctest-vn-23799121 failed..Will retry 2025-02-10 09:07:13,230 - DEBUG - Response for deleting network () 2025-02-10 09:07:13,230 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/ba4fdf00-3774-4607-86c6-3c68679c5f3a 2025-02-10 09:07:13,240 - DEBUG - Response Code: 404 2025-02-10 09:07:13,240 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:07:13,246 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:07:13,302 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:07:13,378 - INFO - Validated that VN ctest-vn-23799121 is not found in API Server 2025-02-10 09:07:13,390 - DEBUG - VN ctest-vn-23799121 is not present in Agent 10.0.0.35 2025-02-10 09:07:13,390 - INFO - Validated that VN ctest-vn-23799121 is not in any agent 2025-02-10 09:07:13,410 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23799121 info 2025-02-10 09:07:13,410 - INFO - Deleting VN ctest-vn-46059612 2025-02-10 09:07:13,541 - DEBUG - Response for deleting network () 2025-02-10 09:07:13,541 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/52451afc-a233-4f8f-a25a-d6b0ff82bc95 2025-02-10 09:07:13,552 - DEBUG - Response Code: 404 2025-02-10 09:07:13,552 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2025-02-10 09:07:13,559 - DEBUG - Requesting: http://10.0.0.35:8082/domain/dd9002ba-0737-4446-a3d5-f9c183d71705 2025-02-10 09:07:13,618 - DEBUG - Requesting: http://10.0.0.35:8082/project/12730716-e787-4d45-bc89-6e7e32552020 2025-02-10 09:07:13,692 - INFO - Validated that VN ctest-vn-46059612 is not found in API Server 2025-02-10 09:07:13,707 - DEBUG - VN ctest-vn-46059612 is not present in Agent 10.0.0.35 2025-02-10 09:07:13,707 - INFO - Validated that VN ctest-vn-46059612 is not in any agent 2025-02-10 09:07:13,725 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46059612 info 2025-02-10 09:07:13,978 - DEBUG - No XMPP flaps were noticed during the test
2025-02-10 09:07:13,979 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-02-10 09:07:13,979 - INFO - -------------------------------------------------------------------------------- 2025-02-10 09:07:14,775 - INFO - Deleted project: ctest-TestBasicPolicy-76892168, ID : 12730716-e787-4d45-bc89-6e7e32552020