2025-04-08 21:16:11,287 - INFO - Domain Default found not creating 2025-04-08 21:16:11,666 - INFO - Project ctest-TestBasicPolicy-16987761 not found, creating it 2025-04-08 21:16:12,201 - INFO - Created Project:ctest-TestBasicPolicy-16987761, ID : 17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:14,728 - INFO - ================================================================================ 2025-04-08 21:16:14,728 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-08 21:16:14,729 - 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-08 21:16:15,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.31': {'10.20.0.35': '0'}} with 2025-04-08 21:16:15,053 - INFO - Initial checks done. Running the testcase now 2025-04-08 21:16:15,053 - INFO - 2025-04-08 21:16:15,855 - DEBUG - Response for create_network : {'network': {'id': 'ebe1dace-c6ef-4337-b82a-69f5941936bd', 'name': 'ctest-vn-38778622', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'project_id': '17b9201cf70348feaf0a0352edc6d3de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-vn-38778622'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:16:16,148 - DEBUG - Response for create_subnet : {'subnet': {'id': '433ac375-f0e0-4256-9f4d-6b78d9798a05', 'name': '', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'network_id': 'ebe1dace-c6ef-4337-b82a-69f5941936bd', 'ip_version': 4, 'cidr': '16.112.28.192/26', 'allocation_pools': [{'start': '16.112.28.194', 'end': '16.112.28.254'}], 'gateway_ip': '16.112.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.112.28.194', 'tags': [], 'project_id': '17b9201cf70348feaf0a0352edc6d3de'}} 2025-04-08 21:16:16,179 - INFO - Created VN ctest-vn-38778622 2025-04-08 21:16:16,245 - DEBUG - VN ctest-vn-38778622 UUID is ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:16,773 - DEBUG - Response for create_network : {'network': {'id': 'b5ca8387-7aad-4371-afc9-1bd1d7f04c20', 'name': 'ctest-vn-65267158', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'project_id': '17b9201cf70348feaf0a0352edc6d3de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-vn-65267158'], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:16:17,027 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d4807f4-a7f4-417b-91c5-c0174e8b5457', 'name': '', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'network_id': 'b5ca8387-7aad-4371-afc9-1bd1d7f04c20', 'ip_version': 4, 'cidr': '167.22.78.64/26', 'allocation_pools': [{'start': '167.22.78.66', 'end': '167.22.78.126'}], 'gateway_ip': '167.22.78.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.22.78.66', 'tags': [], 'project_id': '17b9201cf70348feaf0a0352edc6d3de'}} 2025-04-08 21:16:17,053 - INFO - Created VN ctest-vn-65267158 2025-04-08 21:16:17,116 - DEBUG - VN ctest-vn-65267158 UUID is b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:17,313 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622, 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-16987761:ctest-vn-65267158, 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-08 21:16:17,847 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ebe1dace-c6ef-4337-b82a-69f5941936bd', 'name': 'ctest-vn-38778622', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'project_id': '17b9201cf70348feaf0a0352edc6d3de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['433ac375-f0e0-4256-9f4d-6b78d9798a05'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-vn-38778622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-policy-allow-all-75384711']], 'subnet_ipam': [{'subnet_cidr': '16.112.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:16:18,184 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5ca8387-7aad-4371-afc9-1bd1d7f04c20', 'name': 'ctest-vn-65267158', 'tenant_id': '17b9201cf70348feaf0a0352edc6d3de', 'project_id': '17b9201cf70348feaf0a0352edc6d3de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d4807f4-a7f4-417b-91c5-c0174e8b5457'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-vn-65267158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-policy-allow-all-75384711']], 'subnet_ipam': [{'subnet_cidr': '167.22.78.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-08 21:16:18,348 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:18,705 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:18,751 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:18,784 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:18,922 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:18,951 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:18,974 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:18,988 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:19,002 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/9af3a172-f30b-40ef-a70c-d5fa0f1f3299 2025-04-08 21:16:19,036 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 21:16:19,036 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:19,054 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:19,088 - INFO - Verified VN network id 8 for VN ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:19,089 - INFO - Verifications in API Server for VN ctest-vn-38778622 passed 2025-04-08 21:16:19,089 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:19,112 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:19,127 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:19,143 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/9af3a172-f30b-40ef-a70c-d5fa0f1f3299 2025-04-08 21:16:19,174 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16987761', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16997107050308649783', 'uuid-lslong': '13270535755473172157'}, 'enable': 'true', 'created': '2025-04-08T21:16:15', 'last-modified': '2025-04-08T21:16:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.392201'} 2025-04-08 21:16:19,196 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-08 21:16:19,197 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38778622 passed 2025-04-08 21:16:19,197 - DEBUG - ====Verifying policy data for ctest-vn-38778622 in API_Server ====== 2025-04-08 21:16:19,197 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:19,215 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:19,253 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:19,393 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/ebe1dace-c6ef-4337-b82a-69f5941936bd 2025-04-08 21:16:19,424 - DEBUG - ==>Verifying data for policy with id: 97dc9d66-0bdd-49d7-9a69-d081800c77d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-policy-allow-all-75384711'] 2025-04-08 21:16:19,424 - INFO - VN ctest-vn-38778622 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 21:16:19,424 - DEBUG - Verifying the vn in opserver 2025-04-08 21:16:19,424 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622 virtual network link through opserver 10.0.0.31 2025-04-08 21:16:19,425 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-04-08 21:16:19,768 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-04-08 21:16:19,840 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622?flat'} 2025-04-08 21:16:19,840 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622 is found in opserver 2025-04-08 21:16:19,854 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 21:16:19,865 - DEBUG - VRF ids for VN ctest-vn-38778622: {} 2025-04-08 21:16:19,865 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:19,877 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:19,907 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:20,029 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,066 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,096 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:20,120 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:20,142 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/f626534d-716b-4627-a455-13d985519580 2025-04-08 21:16:20,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 21:16:20,164 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,187 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:20,229 - INFO - Verified VN network id 9 for VN b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,229 - INFO - Verifications in API Server for VN ctest-vn-65267158 passed 2025-04-08 21:16:20,230 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,262 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:20,289 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:20,309 - DEBUG - Requesting: http://10.0.0.31:8082/route-target/f626534d-716b-4627-a455-13d985519580 2025-04-08 21:16:20,340 - DEBUG - Control-node 10.0.0.31 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-65267158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-16987761', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13099427084062507889', 'uuid-lslong': '12666686015041195040'}, 'enable': 'true', 'created': '2025-04-08T21:16:16', 'last-modified': '2025-04-08T21:16:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.200736'} 2025-04-08 21:16:20,359 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-08 21:16:20,359 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65267158 passed 2025-04-08 21:16:20,360 - DEBUG - ====Verifying policy data for ctest-vn-65267158 in API_Server ====== 2025-04-08 21:16:20,360 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:20,380 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:20,420 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:20,537 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-network/b5ca8387-7aad-4371-afc9-1bd1d7f04c20 2025-04-08 21:16:20,556 - DEBUG - ==>Verifying data for policy with id: 97dc9d66-0bdd-49d7-9a69-d081800c77d4, fqn: ['default-domain', 'ctest-TestBasicPolicy-16987761', 'ctest-policy-allow-all-75384711'] 2025-04-08 21:16:20,556 - INFO - VN ctest-vn-65267158 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-08 21:16:20,556 - DEBUG - Verifying the vn in opserver 2025-04-08 21:16:20,556 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-65267158 virtual network link through opserver 10.0.0.31 2025-04-08 21:16:20,556 - DEBUG - Requesting: http://10.0.0.31:8081/analytics/uves/virtual-networks 2025-04-08 21:16:20,572 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-65267158', 'href': 'http://10.0.0.31:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-65267158?flat'} 2025-04-08 21:16:20,572 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-65267158 is found in opserver 2025-04-08 21:16:20,603 - DEBUG - Do not have enough data to verify VN in agent 2025-04-08 21:16:20,622 - DEBUG - VRF ids for VN ctest-vn-65267158: {} 2025-04-08 21:16:20,754 - DEBUG - Services list from nova: [, , ] 2025-04-08 21:16:22,283 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1) 2025-04-08 21:16:23,974 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3059-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3059-1) 2025-04-08 21:16:23,974 - INFO - Waiting for VM ctest-TestBasicPolicy-16987761-85484770 to be up.. 2025-04-08 21:16:24,075 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-08 21:16:29,305 - DEBUG - VM is in ACTIVE state now 2025-04-08 21:16:29,306 - INFO - VM name : ctest-TestBasicPolicy-16987761-85484770 2025-04-08 21:16:29,465 - DEBUG - VM ctest-TestBasicPolicy-16987761-85484770 ID is 8e77db27-f662-4975-8671-288170022df8 2025-04-08 21:16:29,492 - DEBUG - VM ctest-TestBasicPolicy-16987761-85484770 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1 2025-04-08 21:16:29,642 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/8e77db27-f662-4975-8671-288170022df8 2025-04-08 21:16:29,661 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/21e62b25-dff9-4ae1-9bd8-4941c29f819f 2025-04-08 21:16:32,990 - 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 1004ms') 2025-04-08 21:16:32,990 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16987761-85484770 failed! 2025-04-08 21:16:33,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-16987761:ctest-vn-38778622 is 16.112.28.193 and allocation pool is NOT set 2025-04-08 21:16:35,141 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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.692/4.938/7.185/2.246 ms') 2025-04-08 21:16:35,141 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-16987761-85484770 passed 2025-04-08 21:16:35,304 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:16:35,304 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16987761-85484770, IP 16.112.28.195, Port 22 2025-04-08 21:16:35,484 - DEBUG - VM ctest-TestBasicPolicy-16987761-85484770 is ready for SSH connections 2025-04-08 21:16:35,485 - INFO - Waiting for VM ctest-TestBasicPolicy-16987761-80359332 to be up.. 2025-04-08 21:16:35,650 - DEBUG - VM is in ACTIVE state now 2025-04-08 21:16:35,651 - INFO - VM name : ctest-TestBasicPolicy-16987761-80359332 2025-04-08 21:16:35,791 - DEBUG - VM ctest-TestBasicPolicy-16987761-80359332 ID is c2dfcfed-1e80-4edb-aba3-127b6878e95f 2025-04-08 21:16:35,792 - DEBUG - VM ctest-TestBasicPolicy-16987761-80359332 launched on Node cn-jenkins-deploy-platform-ansible-os-3059-1 2025-04-08 21:16:35,997 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine/c2dfcfed-1e80-4edb-aba3-127b6878e95f 2025-04-08 21:16:36,013 - DEBUG - Requesting: http://10.0.0.31:8082/virtual-machine-interface/d8e72f67-437d-42d0-af99-3dedad97c06c 2025-04-08 21:16:37,287 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 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.566/2.023/3.481/1.457 ms') 2025-04-08 21:16:37,288 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-16987761-80359332 passed 2025-04-08 21:16:37,460 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:16:37,460 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-16987761-80359332, IP 167.22.78.67, Port 22 2025-04-08 21:16:37,650 - DEBUG - VM ctest-TestBasicPolicy-16987761-80359332 is ready for SSH connections 2025-04-08 21:16:37,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:16:37,650 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.22.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-08 21:16:37,650 - DEBUG - ping -s 56 -c 3 -W 1 167.22.78.67 2025-04-08 21:16:42,224 - DEBUG - PING 167.22.78.67 (167.22.78.67): 56 data bytes 64 bytes from 167.22.78.67: seq=0 ttl=63 time=4.420 ms 64 bytes from 167.22.78.67: seq=1 ttl=63 time=1.690 ms 64 bytes from 167.22.78.67: seq=2 ttl=63 time=1.834 ms --- 167.22.78.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.690/2.648/4.420 ms 2025-04-08 21:16:42,225 - INFO - Ping to IP 167.22.78.67 from VM ctest-TestBasicPolicy-16987761-85484770 passed 2025-04-08 21:16:42,439 - DEBUG - Policy Update Response {"network-policy": {"uuid": "97dc9d66-0bdd-49d7-9a69-d081800c77d4", "href": "http://10.0.0.31:8082/network-policy/97dc9d66-0bdd-49d7-9a69-d081800c77d4"}} 2025-04-08 21:16:42,440 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-08 21:16:42,440 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.22.78.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.31, gateway password: c0ntrail123 2025-04-08 21:16:42,440 - DEBUG - ping -s 56 -c 3 -W 1 167.22.78.67 2025-04-08 21:16:45,655 - DEBUG - PING 167.22.78.67 (167.22.78.67): 56 data bytes --- 167.22.78.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-08 21:16:45,655 - WARNING - Ping to IP 167.22.78.67 from VM ctest-TestBasicPolicy-16987761-85484770 failed 2025-04-08 21:16:45,655 - INFO - Deleting VM ctest-TestBasicPolicy-16987761-80359332 2025-04-08 21:16:45,752 - INFO - Deleting VM ctest-TestBasicPolicy-16987761-85484770 2025-04-08 21:16:46,200 - INFO - Deleted policy ctest-policy-allow-all-75384711 2025-04-08 21:16:46,200 - INFO - Deleting VN ctest-vn-65267158 2025-04-08 21:16:46,240 - DEBUG - VN b5ca8387-7aad-4371-afc9-1bd1d7f04c20 still in use: Unable to complete operation on network b5ca8387-7aad-4371-afc9-1bd1d7f04c20. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4615ff8a-31d9-4d96-83a6-b7654554d4a6'] 2025-04-08 21:16:46,240 - WARNING - Deleting VN ctest-vn-65267158 failed..Will retry 2025-04-08 21:16:48,501 - DEBUG - Response for deleting network () 2025-04-08 21:16:48,502 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/b1e16561-04f2-44bc-885a-8b69e19a2870 2025-04-08 21:16:48,517 - DEBUG - Response Code: 404 2025-04-08 21:16:48,517 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:48,525 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:48,543 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:48,642 - INFO - Validated that VN ctest-vn-65267158 is not found in API Server 2025-04-08 21:16:48,666 - DEBUG - VN ctest-vn-65267158 is not present in Agent 10.0.0.31 2025-04-08 21:16:48,666 - INFO - Validated that VN ctest-vn-65267158 is not in any agent 2025-04-08 21:16:48,705 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65267158 info 2025-04-08 21:16:48,705 - INFO - Deleting VN ctest-vn-38778622 2025-04-08 21:16:48,866 - DEBUG - Response for deleting network () 2025-04-08 21:16:48,866 - DEBUG - Requesting: http://10.0.0.31:8082/routing-instance/e1eeac99-0fac-4331-adfe-7cea8cb5638c 2025-04-08 21:16:48,880 - DEBUG - Response Code: 404 2025-04-08 21:16:48,880 - DEBUG - Requesting: http://10.0.0.31:8082/domains 2025-04-08 21:16:48,891 - DEBUG - Requesting: http://10.0.0.31:8082/domain/b51328c9-bc3b-4b4a-a1b1-1a060998dfcf 2025-04-08 21:16:48,912 - DEBUG - Requesting: http://10.0.0.31:8082/project/17b9201c-f703-48fe-af0a-0352edc6d3de 2025-04-08 21:16:49,009 - INFO - Validated that VN ctest-vn-38778622 is not found in API Server 2025-04-08 21:16:49,027 - DEBUG - VN ctest-vn-38778622 is not present in Agent 10.0.0.31 2025-04-08 21:16:49,027 - INFO - Validated that VN ctest-vn-38778622 is not in any agent 2025-04-08 21:16:49,063 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-38778622 info 2025-04-08 21:16:49,390 - DEBUG - No XMPP flaps were noticed during the test 2025-04-08 21:16:49,390 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-04-08 21:16:49,391 - INFO - -------------------------------------------------------------------------------- 2025-04-08 21:16:50,359 - INFO - Deleted project: ctest-TestBasicPolicy-16987761, ID : 17b9201c-f703-48fe-af0a-0352edc6d3de