2025-04-23 07:53:18,465 - INFO - Domain Default found not creating 2025-04-23 07:53:18,595 - INFO - Project ctest-TestBasicPolicy-96000082 not found, creating it 2025-04-23 07:53:19,047 - INFO - Created Project:ctest-TestBasicPolicy-96000082, ID : 1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:20,406 - INFO - ================================================================================ 2025-04-23 07:53:20,406 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-23 07:53:20,406 - 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-23 07:53:20,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.56': {'10.20.0.17': '0'}} with 2025-04-23 07:53:20,658 - INFO - Initial checks done. Running the testcase now 2025-04-23 07:53:20,658 - INFO - 2025-04-23 07:53:21,176 - DEBUG - Response for create_network : {'network': {'id': 'd7ae0e8c-7561-40aa-968b-677b7e5e7584', 'name': 'ctest-vn-47544381', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-vn-47544381'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:53:21,366 - DEBUG - Response for create_subnet : {'subnet': {'id': 'eafe5578-a336-46bf-b7f9-1a6c8f5814b7', 'name': '', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'network_id': 'd7ae0e8c-7561-40aa-968b-677b7e5e7584', 'ip_version': 4, 'cidr': '219.36.69.64/26', 'allocation_pools': [{'start': '219.36.69.66', 'end': '219.36.69.126'}], 'gateway_ip': '219.36.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.36.69.66', 'tags': [], 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233'}} 2025-04-23 07:53:21,382 - INFO - Created VN ctest-vn-47544381 2025-04-23 07:53:21,440 - DEBUG - VN ctest-vn-47544381 UUID is d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:21,752 - DEBUG - Response for create_network : {'network': {'id': 'b3d24f4c-d6cb-46df-9687-e33a69bc036d', 'name': 'ctest-vn-62084165', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-vn-62084165'], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:53:21,954 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c09fbe8c-52cd-4795-8615-dbd1dc422795', 'name': '', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'network_id': 'b3d24f4c-d6cb-46df-9687-e33a69bc036d', 'ip_version': 4, 'cidr': '14.127.106.0/26', 'allocation_pools': [{'start': '14.127.106.2', 'end': '14.127.106.62'}], 'gateway_ip': '14.127.106.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.127.106.2', 'tags': [], 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233'}} 2025-04-23 07:53:21,970 - INFO - Created VN ctest-vn-62084165 2025-04-23 07:53:22,028 - DEBUG - VN ctest-vn-62084165 UUID is b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:22,138 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381, 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-96000082:ctest-vn-62084165, 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-23 07:53:22,424 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd7ae0e8c-7561-40aa-968b-677b7e5e7584', 'name': 'ctest-vn-47544381', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['eafe5578-a336-46bf-b7f9-1a6c8f5814b7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-vn-47544381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-policy-allow-all-15477974']], 'subnet_ipam': [{'subnet_cidr': '219.36.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:53:22,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b3d24f4c-d6cb-46df-9687-e33a69bc036d', 'name': 'ctest-vn-62084165', 'tenant_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'project_id': '1a59c681fcbb49b0abf7fdbc1da0f233', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c09fbe8c-52cd-4795-8615-dbd1dc422795'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-vn-62084165'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-policy-allow-all-15477974']], 'subnet_ipam': [{'subnet_cidr': '14.127.106.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-23 07:53:22,808 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:23,103 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:23,129 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:23,143 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:23,222 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,232 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,243 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:23,250 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:23,256 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/ea56f62f-9420-437f-af62-ed33250f5723 2025-04-23 07:53:23,262 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 07:53:23,262 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,270 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:23,282 - INFO - Verified VN network id 7 for VN d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,282 - INFO - Verifications in API Server for VN ctest-vn-47544381 passed 2025-04-23 07:53:23,282 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,291 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:23,297 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:23,303 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/ea56f62f-9420-437f-af62-ed33250f5723 2025-04-23 07:53:23,314 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96000082', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15541375360529678506', 'uuid-lslong': '10847877907550729604'}, 'enable': 'true', 'created': '2025-04-23T07:53:21', 'last-modified': '2025-04-23T07:53:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912882'} 2025-04-23 07:53:23,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-23 07:53:23,320 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47544381 passed 2025-04-23 07:53:23,320 - DEBUG - ====Verifying policy data for ctest-vn-47544381 in API_Server ====== 2025-04-23 07:53:23,320 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:23,327 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:23,338 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:23,404 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/d7ae0e8c-7561-40aa-968b-677b7e5e7584 2025-04-23 07:53:23,414 - DEBUG - ==>Verifying data for policy with id: 0c5d39c3-b4bc-408b-890b-f8329387c558, fqn: ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-policy-allow-all-15477974'] 2025-04-23 07:53:23,414 - INFO - VN ctest-vn-47544381 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 07:53:23,414 - DEBUG - Verifying the vn in opserver 2025-04-23 07:53:23,414 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381 virtual network link through opserver 10.0.0.56 2025-04-23 07:53:23,414 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-23 07:53:23,709 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-23 07:53:23,761 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381?flat'} 2025-04-23 07:53:23,761 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381 is found in opserver 2025-04-23 07:53:23,772 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 07:53:23,779 - DEBUG - VRF ids for VN ctest-vn-47544381: {} 2025-04-23 07:53:23,779 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:23,786 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:23,798 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:23,874 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:23,886 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:23,897 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:23,905 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:23,913 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1048d29e-6364-4b08-9cb1-2afbab0f26a6 2025-04-23 07:53:23,920 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 07:53:23,920 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:23,931 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:23,947 - INFO - Verified VN network id 8 for VN b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:23,947 - INFO - Verifications in API Server for VN ctest-vn-62084165 passed 2025-04-23 07:53:23,947 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:23,958 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:23,966 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:23,973 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/1048d29e-6364-4b08-9cb1-2afbab0f26a6 2025-04-23 07:53:23,986 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-62084165', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96000082', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12957506269338093279', 'uuid-lslong': '10846888067566666605'}, 'enable': 'true', 'created': '2025-04-23T07:53:21', 'last-modified': '2025-04-23T07:53:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361718'} 2025-04-23 07:53:23,992 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-23 07:53:23,993 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62084165 passed 2025-04-23 07:53:23,993 - DEBUG - ====Verifying policy data for ctest-vn-62084165 in API_Server ====== 2025-04-23 07:53:23,993 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:23,999 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:24,011 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:24,087 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/b3d24f4c-d6cb-46df-9687-e33a69bc036d 2025-04-23 07:53:24,101 - DEBUG - ==>Verifying data for policy with id: 0c5d39c3-b4bc-408b-890b-f8329387c558, fqn: ['default-domain', 'ctest-TestBasicPolicy-96000082', 'ctest-policy-allow-all-15477974'] 2025-04-23 07:53:24,101 - INFO - VN ctest-vn-62084165 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-23 07:53:24,102 - DEBUG - Verifying the vn in opserver 2025-04-23 07:53:24,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-62084165 virtual network link through opserver 10.0.0.56 2025-04-23 07:53:24,102 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-04-23 07:53:24,112 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-62084165', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-62084165?flat'} 2025-04-23 07:53:24,112 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-62084165 is found in opserver 2025-04-23 07:53:24,123 - DEBUG - Do not have enough data to verify VN in agent 2025-04-23 07:53:24,128 - DEBUG - VRF ids for VN ctest-vn-62084165: {} 2025-04-23 07:53:24,179 - DEBUG - Services list from nova: [, , ] 2025-04-23 07:53:25,156 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3177-1) 2025-04-23 07:53:26,324 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3177-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3177-1) 2025-04-23 07:53:26,324 - INFO - Waiting for VM ctest-TestBasicPolicy-96000082-07248817 to be up.. 2025-04-23 07:53:26,395 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-23 07:53:31,483 - DEBUG - VM is in ACTIVE state now 2025-04-23 07:53:31,483 - INFO - VM name : ctest-TestBasicPolicy-96000082-07248817 2025-04-23 07:53:31,555 - DEBUG - VM ctest-TestBasicPolicy-96000082-07248817 ID is 2cdc0211-1866-41b9-86a4-15c8d353b139 2025-04-23 07:53:31,573 - DEBUG - VM ctest-TestBasicPolicy-96000082-07248817 launched on Node cn-jenkins-deploy-platform-ansible-os-3177-1 2025-04-23 07:53:31,651 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/2cdc0211-1866-41b9-86a4-15c8d353b139 2025-04-23 07:53:31,659 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/99dc1acf-8547-4c75-9acc-2eb3dbce32df 2025-04-23 07:53:34,902 - 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-23 07:53:34,902 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96000082-07248817 failed! 2025-04-23 07:53:34,956 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-96000082:ctest-vn-47544381 is 219.36.69.65 and allocation pool is NOT set 2025-04-23 07:53:37,017 - 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=2.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.436 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.436/1.545/2.655/1.109 ms') 2025-04-23 07:53:37,018 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-96000082-07248817 passed 2025-04-23 07:53:37,168 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:37,168 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96000082-07248817, IP 219.36.69.67, Port 22 2025-04-23 07:53:37,319 - DEBUG - VM ctest-TestBasicPolicy-96000082-07248817 is ready for SSH connections 2025-04-23 07:53:37,319 - INFO - Waiting for VM ctest-TestBasicPolicy-96000082-09201540 to be up.. 2025-04-23 07:53:37,390 - DEBUG - VM is in ACTIVE state now 2025-04-23 07:53:37,391 - INFO - VM name : ctest-TestBasicPolicy-96000082-09201540 2025-04-23 07:53:37,470 - DEBUG - VM ctest-TestBasicPolicy-96000082-09201540 ID is d2588a0b-9474-43e1-8b41-0206e1be6845 2025-04-23 07:53:37,471 - DEBUG - VM ctest-TestBasicPolicy-96000082-09201540 launched on Node cn-jenkins-deploy-platform-ansible-os-3177-1 2025-04-23 07:53:37,540 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine/d2588a0b-9474-43e1-8b41-0206e1be6845 2025-04-23 07:53:37,549 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/a5d8e946-a15f-4304-a75e-6a5ab6e6e4d5 2025-04-23 07:53:38,783 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 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.343/1.594/2.845/1.251 ms') 2025-04-23 07:53:38,784 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-96000082-09201540 passed 2025-04-23 07:53:38,936 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:38,936 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-96000082-09201540, IP 14.127.106.3, Port 22 2025-04-23 07:53:39,095 - DEBUG - VM ctest-TestBasicPolicy-96000082-09201540 is ready for SSH connections 2025-04-23 07:53:39,096 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:39,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.127.106.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-23 07:53:39,096 - DEBUG - ping -s 56 -c 3 -W 1 14.127.106.3 2025-04-23 07:53:42,767 - DEBUG - PING 14.127.106.3 (14.127.106.3): 56 data bytes 64 bytes from 14.127.106.3: seq=0 ttl=63 time=3.265 ms 64 bytes from 14.127.106.3: seq=1 ttl=63 time=0.827 ms 64 bytes from 14.127.106.3: seq=2 ttl=63 time=0.712 ms --- 14.127.106.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.712/1.601/3.265 ms 2025-04-23 07:53:42,767 - INFO - Ping to IP 14.127.106.3 from VM ctest-TestBasicPolicy-96000082-07248817 passed 2025-04-23 07:53:42,948 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0c5d39c3-b4bc-408b-890b-f8329387c558", "href": "http://10.0.0.56:8082/network-policy/0c5d39c3-b4bc-408b-890b-f8329387c558"}} 2025-04-23 07:53:42,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-23 07:53:42,948 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.127.106.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-04-23 07:53:42,948 - DEBUG - ping -s 56 -c 3 -W 1 14.127.106.3 2025-04-23 07:53:46,141 - DEBUG - PING 14.127.106.3 (14.127.106.3): 56 data bytes --- 14.127.106.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-23 07:53:46,141 - WARNING - Ping to IP 14.127.106.3 from VM ctest-TestBasicPolicy-96000082-07248817 failed 2025-04-23 07:53:46,141 - INFO - Deleting VM ctest-TestBasicPolicy-96000082-09201540 2025-04-23 07:53:46,200 - INFO - Deleting VM ctest-TestBasicPolicy-96000082-07248817 2025-04-23 07:53:46,561 - INFO - Deleted policy ctest-policy-allow-all-15477974 2025-04-23 07:53:46,561 - INFO - Deleting VN ctest-vn-62084165 2025-04-23 07:53:46,592 - DEBUG - VN b3d24f4c-d6cb-46df-9687-e33a69bc036d still in use: Unable to complete operation on network b3d24f4c-d6cb-46df-9687-e33a69bc036d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3b608948-5365-458e-8d9d-8e90e0e19a55'] 2025-04-23 07:53:46,592 - WARNING - Deleting VN ctest-vn-62084165 failed..Will retry 2025-04-23 07:53:48,690 - DEBUG - Response for deleting network () 2025-04-23 07:53:48,690 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/9d387c75-7a9e-4e9f-b2cc-8554dae220b4 2025-04-23 07:53:48,701 - DEBUG - Response Code: 404 2025-04-23 07:53:48,701 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:48,707 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:48,766 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:48,838 - INFO - Validated that VN ctest-vn-62084165 is not found in API Server 2025-04-23 07:53:48,850 - DEBUG - VN ctest-vn-62084165 is not present in Agent 10.0.0.56 2025-04-23 07:53:48,850 - INFO - Validated that VN ctest-vn-62084165 is not in any agent 2025-04-23 07:53:48,865 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62084165 info 2025-04-23 07:53:48,865 - INFO - Deleting VN ctest-vn-47544381 2025-04-23 07:53:48,971 - DEBUG - Response for deleting network () 2025-04-23 07:53:48,971 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/f7e85a81-53d3-403b-9b46-a196480aee43 2025-04-23 07:53:48,977 - DEBUG - Response Code: 404 2025-04-23 07:53:48,977 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-04-23 07:53:48,982 - DEBUG - Requesting: http://10.0.0.56:8082/domain/4dec2203-7d3e-496b-ad65-3c0c3790f4c7 2025-04-23 07:53:49,037 - DEBUG - Requesting: http://10.0.0.56:8082/project/1a59c681-fcbb-49b0-abf7-fdbc1da0f233 2025-04-23 07:53:49,111 - INFO - Validated that VN ctest-vn-47544381 is not found in API Server 2025-04-23 07:53:49,125 - DEBUG - VN ctest-vn-47544381 is not present in Agent 10.0.0.56 2025-04-23 07:53:49,125 - INFO - Validated that VN ctest-vn-47544381 is not in any agent 2025-04-23 07:53:49,144 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47544381 info 2025-04-23 07:53:49,404 - DEBUG - No XMPP flaps were noticed during the test
2025-04-23 07:53:49,404 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-04-23 07:53:49,404 - INFO - -------------------------------------------------------------------------------- 2025-04-23 07:53:50,067 - INFO - Deleted project: ctest-TestBasicPolicy-96000082, ID : 1a59c681-fcbb-49b0-abf7-fdbc1da0f233