2025-01-09 07:35:51,638 - INFO - Domain Default found not creating 2025-01-09 07:35:51,790 - INFO - Project ctest-TestBasicPolicy-73208092 not found, creating it 2025-01-09 07:35:52,621 - INFO - Created Project:ctest-TestBasicPolicy-73208092, ID : 11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:35:54,215 - INFO - ================================================================================ 2025-01-09 07:35:54,215 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-01-09 07:35:54,215 - 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-01-09 07:35:54,474 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.26': '0'}} with 2025-01-09 07:35:54,475 - INFO - Initial checks done. Running the testcase now 2025-01-09 07:35:54,475 - INFO - 2025-01-09 07:35:55,059 - DEBUG - Response for create_network : {'network': {'id': '69740a08-5e1a-4766-83f2-7a866aeea51c', 'name': 'ctest-vn-85540377', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-vn-85540377'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:35:55,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f893e7c9-1a8a-47c7-8917-ff7c4f19c5b9', 'name': '', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'network_id': '69740a08-5e1a-4766-83f2-7a866aeea51c', 'ip_version': 4, 'cidr': '132.74.0.0/26', 'allocation_pools': [{'start': '132.74.0.2', 'end': '132.74.0.62'}], 'gateway_ip': '132.74.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.74.0.2', 'tags': [], 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66'}} 2025-01-09 07:35:55,240 - INFO - Created VN ctest-vn-85540377 2025-01-09 07:35:55,292 - DEBUG - VN ctest-vn-85540377 UUID is 69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:55,599 - DEBUG - Response for create_network : {'network': {'id': '1f56ecff-4062-4265-95a6-136613fb56f2', 'name': 'ctest-vn-33889396', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-vn-33889396'], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:35:55,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c5afb4f-573a-4a60-af7e-ccc9f32bb809', 'name': '', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'network_id': '1f56ecff-4062-4265-95a6-136613fb56f2', 'ip_version': 4, 'cidr': '43.0.232.192/26', 'allocation_pools': [{'start': '43.0.232.194', 'end': '43.0.232.254'}], 'gateway_ip': '43.0.232.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.0.232.194', 'tags': [], 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66'}} 2025-01-09 07:35:55,810 - INFO - Created VN ctest-vn-33889396 2025-01-09 07:35:55,864 - DEBUG - VN ctest-vn-33889396 UUID is 1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:55,990 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377, 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-73208092:ctest-vn-33889396, 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-01-09 07:35:56,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69740a08-5e1a-4766-83f2-7a866aeea51c', 'name': 'ctest-vn-85540377', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f893e7c9-1a8a-47c7-8917-ff7c4f19c5b9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-vn-85540377'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-policy-allow-all-80458747']], 'subnet_ipam': [{'subnet_cidr': '132.74.0.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:35:56,559 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1f56ecff-4062-4265-95a6-136613fb56f2', 'name': 'ctest-vn-33889396', 'tenant_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'project_id': '11077475ebab4d0faf4c4b5e6d8f9b66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5c5afb4f-573a-4a60-af7e-ccc9f32bb809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-vn-33889396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-policy-allow-all-80458747']], 'subnet_ipam': [{'subnet_cidr': '43.0.232.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-01-09 07:35:56,708 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:35:57,027 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:35:57,063 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:35:57,078 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:35:57,156 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,167 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:35:57,185 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:35:57,193 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/60f048c8-43bb-4345-97a4-e953b9839af7 2025-01-09 07:35:57,199 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 07:35:57,199 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,209 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:35:57,225 - INFO - Verified VN network id 7 for VN 69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,225 - INFO - Verifications in API Server for VN ctest-vn-85540377 passed 2025-01-09 07:35:57,225 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,236 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:35:57,243 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:35:57,250 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/60f048c8-43bb-4345-97a4-e953b9839af7 2025-01-09 07:35:57,262 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73208092', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7598709502335666022', 'uuid-lslong': '9507796481070769436'}, 'enable': 'true', 'created': '2025-01-09T07:35:55', 'last-modified': '2025-01-09T07:35:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980271'} 2025-01-09 07:35:57,268 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-01-09 07:35:57,268 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85540377 passed 2025-01-09 07:35:57,268 - DEBUG - ====Verifying policy data for ctest-vn-85540377 in API_Server ====== 2025-01-09 07:35:57,268 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:35:57,274 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:35:57,285 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:35:57,361 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/69740a08-5e1a-4766-83f2-7a866aeea51c 2025-01-09 07:35:57,372 - DEBUG - ==>Verifying data for policy with id: 3676f500-5ca7-48d7-9ed6-3cc7f5ddddd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-policy-allow-all-80458747'] 2025-01-09 07:35:57,372 - INFO - VN ctest-vn-85540377 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 07:35:57,372 - DEBUG - Verifying the vn in opserver 2025-01-09 07:35:57,372 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377 virtual network link through opserver 10.0.0.33 2025-01-09 07:35:57,373 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-09 07:35:57,720 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-09 07:35:57,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377?flat'} 2025-01-09 07:35:57,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377 is found in opserver 2025-01-09 07:35:57,810 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 07:35:57,815 - DEBUG - VRF ids for VN ctest-vn-85540377: {} 2025-01-09 07:35:57,815 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:35:57,822 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:35:57,836 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:35:57,910 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:57,925 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:57,935 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:35:57,942 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:35:57,950 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/61d227e2-0fe2-4fee-989e-c10755a1ebb7 2025-01-09 07:35:57,957 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 07:35:57,957 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:57,969 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:35:57,984 - INFO - Verified VN network id 8 for VN 1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:57,985 - INFO - Verifications in API Server for VN ctest-vn-33889396 passed 2025-01-09 07:35:57,985 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:57,998 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:35:58,008 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:35:58,017 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/61d227e2-0fe2-4fee-989e-c10755a1ebb7 2025-01-09 07:35:58,035 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-33889396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-73208092', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2258252844213879397', 'uuid-lslong': '10783327686928062194'}, 'enable': 'true', 'created': '2025-01-09T07:35:55', 'last-modified': '2025-01-09T07:35:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.509607'} 2025-01-09 07:35:58,043 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-01-09 07:35:58,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33889396 passed 2025-01-09 07:35:58,043 - DEBUG - ====Verifying policy data for ctest-vn-33889396 in API_Server ====== 2025-01-09 07:35:58,043 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:35:58,050 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:35:58,065 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:35:58,148 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1f56ecff-4062-4265-95a6-136613fb56f2 2025-01-09 07:35:58,160 - DEBUG - ==>Verifying data for policy with id: 3676f500-5ca7-48d7-9ed6-3cc7f5ddddd9, fqn: ['default-domain', 'ctest-TestBasicPolicy-73208092', 'ctest-policy-allow-all-80458747'] 2025-01-09 07:35:58,160 - INFO - VN ctest-vn-33889396 Policy verification: verify_vn_policy_in_api_server, status: True 2025-01-09 07:35:58,160 - DEBUG - Verifying the vn in opserver 2025-01-09 07:35:58,160 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-33889396 virtual network link through opserver 10.0.0.33 2025-01-09 07:35:58,160 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-01-09 07:35:58,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-33889396', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-33889396?flat'} 2025-01-09 07:35:58,215 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-33889396 is found in opserver 2025-01-09 07:35:58,228 - DEBUG - Do not have enough data to verify VN in agent 2025-01-09 07:35:58,234 - DEBUG - VRF ids for VN ctest-vn-33889396: {} 2025-01-09 07:35:58,301 - DEBUG - Services list from nova: [, , ] 2025-01-09 07:35:59,489 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:36:00,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2580-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2580-1) 2025-01-09 07:36:00,688 - INFO - Waiting for VM ctest-TestBasicPolicy-73208092-25495405 to be up.. 2025-01-09 07:36:00,797 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:36:05,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:36:10,989 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:36:16,087 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-01-09 07:36:21,181 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:36:21,181 - INFO - VM name : ctest-TestBasicPolicy-73208092-25495405 2025-01-09 07:36:21,268 - DEBUG - VM ctest-TestBasicPolicy-73208092-25495405 ID is 7d709836-6f7b-4892-8594-c474f473183a 2025-01-09 07:36:21,288 - DEBUG - VM ctest-TestBasicPolicy-73208092-25495405 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:36:21,377 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/7d709836-6f7b-4892-8594-c474f473183a 2025-01-09 07:36:21,392 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/b6cea14e-2625-4c60-a7a3-ace64f2a3a5d 2025-01-09 07:36:24,676 - 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 1029ms') 2025-01-09 07:36:24,676 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73208092-25495405 failed! 2025-01-09 07:36:24,732 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-73208092:ctest-vn-85540377 is 132.74.0.1 and allocation pool is NOT set 2025-01-09 07:36:26,803 - 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=18.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 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.313/10.237/18.162/7.924 ms') 2025-01-09 07:36:26,803 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-73208092-25495405 passed 2025-01-09 07:36:26,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:36:26,964 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73208092-25495405, IP 132.74.0.3, Port 22 2025-01-09 07:36:27,030 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-01-09 07:36:27,133 - DEBUG - VM ctest-TestBasicPolicy-73208092-25495405 is NOT ready for SSH connections, VM status: ACTIVE 2025-01-09 07:36:32,134 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:36:32,135 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73208092-25495405, IP 132.74.0.3, Port 22 2025-01-09 07:36:32,302 - DEBUG - VM ctest-TestBasicPolicy-73208092-25495405 is ready for SSH connections 2025-01-09 07:36:32,302 - INFO - Waiting for VM ctest-TestBasicPolicy-73208092-64897881 to be up.. 2025-01-09 07:36:32,391 - DEBUG - VM is in ACTIVE state now 2025-01-09 07:36:32,391 - INFO - VM name : ctest-TestBasicPolicy-73208092-64897881 2025-01-09 07:36:32,484 - DEBUG - VM ctest-TestBasicPolicy-73208092-64897881 ID is c7041891-5f5a-488b-8e61-ebfc73a259f8 2025-01-09 07:36:32,484 - DEBUG - VM ctest-TestBasicPolicy-73208092-64897881 launched on Node cn-jenkins-deploy-platform-ansible-os-2580-1 2025-01-09 07:36:32,586 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c7041891-5f5a-488b-8e61-ebfc73a259f8 2025-01-09 07:36:32,597 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/aa1d300e-6794-4809-88be-abaa7bf9b8b5 2025-01-09 07:36:33,872 - 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=9.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/4.841/9.277/4.435 ms') 2025-01-09 07:36:33,872 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-73208092-64897881 passed 2025-01-09 07:36:34,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:36:34,028 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-73208092-64897881, IP 43.0.232.195, Port 22 2025-01-09 07:36:34,191 - DEBUG - VM ctest-TestBasicPolicy-73208092-64897881 is ready for SSH connections 2025-01-09 07:36:34,191 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:36:34,191 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.0.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-09 07:36:34,192 - DEBUG - ping -s 56 -c 3 -W 1 43.0.232.195 2025-01-09 07:36:37,866 - DEBUG - PING 43.0.232.195 (43.0.232.195): 56 data bytes 64 bytes from 43.0.232.195: seq=0 ttl=63 time=3.705 ms 64 bytes from 43.0.232.195: seq=1 ttl=63 time=1.149 ms 64 bytes from 43.0.232.195: seq=2 ttl=63 time=0.931 ms --- 43.0.232.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.928/3.705 ms 2025-01-09 07:36:37,866 - INFO - Ping to IP 43.0.232.195 from VM ctest-TestBasicPolicy-73208092-25495405 passed 2025-01-09 07:36:38,056 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3676f500-5ca7-48d7-9ed6-3cc7f5ddddd9", "href": "http://10.0.0.33:8082/network-policy/3676f500-5ca7-48d7-9ed6-3cc7f5ddddd9"}} 2025-01-09 07:36:38,056 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-01-09 07:36:38,056 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.0.232.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-01-09 07:36:38,056 - DEBUG - ping -s 56 -c 3 -W 1 43.0.232.195 2025-01-09 07:36:41,277 - DEBUG - PING 43.0.232.195 (43.0.232.195): 56 data bytes --- 43.0.232.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-01-09 07:36:41,277 - WARNING - Ping to IP 43.0.232.195 from VM ctest-TestBasicPolicy-73208092-25495405 failed 2025-01-09 07:36:41,277 - INFO - Deleting VM ctest-TestBasicPolicy-73208092-64897881 2025-01-09 07:36:41,362 - INFO - Deleting VM ctest-TestBasicPolicy-73208092-25495405 2025-01-09 07:36:41,812 - INFO - Deleted policy ctest-policy-allow-all-80458747 2025-01-09 07:36:41,813 - INFO - Deleting VN ctest-vn-33889396 2025-01-09 07:36:41,856 - DEBUG - VN 1f56ecff-4062-4265-95a6-136613fb56f2 still in use: Unable to complete operation on network 1f56ecff-4062-4265-95a6-136613fb56f2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5af4d97e-e28a-410d-bf5e-b3bbc99acf02'] 2025-01-09 07:36:41,856 - WARNING - Deleting VN ctest-vn-33889396 failed..Will retry 2025-01-09 07:36:43,983 - DEBUG - Response for deleting network () 2025-01-09 07:36:43,983 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/6bd63f33-8a18-4705-acb2-a263e57067bc 2025-01-09 07:36:43,993 - DEBUG - Response Code: 404 2025-01-09 07:36:43,993 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:36:44,001 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:36:44,057 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:36:44,130 - INFO - Validated that VN ctest-vn-33889396 is not found in API Server 2025-01-09 07:36:44,143 - DEBUG - VN ctest-vn-33889396 is not present in Agent 10.0.0.33 2025-01-09 07:36:44,143 - INFO - Validated that VN ctest-vn-33889396 is not in any agent 2025-01-09 07:36:44,160 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33889396 info 2025-01-09 07:36:44,160 - INFO - Deleting VN ctest-vn-85540377 2025-01-09 07:36:44,272 - DEBUG - Response for deleting network () 2025-01-09 07:36:44,272 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ba5c4c80-d1c3-4208-99f6-8a03cffa9ff4 2025-01-09 07:36:44,278 - DEBUG - Response Code: 404 2025-01-09 07:36:44,278 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-01-09 07:36:44,286 - DEBUG - Requesting: http://10.0.0.33:8082/domain/6c4b7374-6d2d-4bf3-930c-c798162f437b 2025-01-09 07:36:44,341 - DEBUG - Requesting: http://10.0.0.33:8082/project/11077475-ebab-4d0f-af4c-4b5e6d8f9b66 2025-01-09 07:36:44,418 - INFO - Validated that VN ctest-vn-85540377 is not found in API Server 2025-01-09 07:36:44,431 - DEBUG - VN ctest-vn-85540377 is not present in Agent 10.0.0.33 2025-01-09 07:36:44,431 - INFO - Validated that VN ctest-vn-85540377 is not in any agent 2025-01-09 07:36:44,450 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85540377 info 2025-01-09 07:36:44,707 - DEBUG - No XMPP flaps were noticed during the test 2025-01-09 07:36:44,707 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:50] 2025-01-09 07:36:44,707 - INFO - -------------------------------------------------------------------------------- 2025-01-09 07:36:45,400 - INFO - Deleted project: ctest-TestBasicPolicy-73208092, ID : 11077475-ebab-4d0f-af4c-4b5e6d8f9b66