2025-04-28 15:35:23,289 - INFO - Domain Default found not creating 2025-04-28 15:35:23,453 - INFO - Project ctest-TestBasicPolicy-59820923 not found, creating it 2025-04-28 15:35:23,868 - INFO - Created Project:ctest-TestBasicPolicy-59820923, ID : b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:25,424 - INFO - ================================================================================ 2025-04-28 15:35:25,424 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-28 15:35:25,424 - 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-28 15:35:25,556 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-04-28 15:35:25,556 - INFO - Initial checks done. Running the testcase now 2025-04-28 15:35:25,556 - INFO - 2025-04-28 15:35:26,115 - DEBUG - Response for create_network : {'network': {'id': '8324964d-6a6a-4a9b-bc95-3d75e5d1c110', 'name': 'ctest-vn-53321762', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-vn-53321762'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:35:26,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '75e8ae45-f0ff-4eb0-9c31-6b8b5382c8f2', 'name': '', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'network_id': '8324964d-6a6a-4a9b-bc95-3d75e5d1c110', 'ip_version': 4, 'cidr': '194.136.21.192/26', 'allocation_pools': [{'start': '194.136.21.194', 'end': '194.136.21.254'}], 'gateway_ip': '194.136.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.136.21.194', 'tags': [], 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4'}} 2025-04-28 15:35:26,352 - INFO - Created VN ctest-vn-53321762 2025-04-28 15:35:26,362 - DEBUG - VN ctest-vn-53321762 UUID is 8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:26,623 - DEBUG - Response for create_network : {'network': {'id': '4b2bcb4b-40b6-49c5-b94e-47713f6c651c', 'name': 'ctest-vn-35515101', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-vn-35515101'], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:35:26,810 - DEBUG - Response for create_subnet : {'subnet': {'id': '645b3c67-396b-4155-a808-d4776e10e003', 'name': '', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'network_id': '4b2bcb4b-40b6-49c5-b94e-47713f6c651c', 'ip_version': 4, 'cidr': '20.17.254.0/26', 'allocation_pools': [{'start': '20.17.254.2', 'end': '20.17.254.62'}], 'gateway_ip': '20.17.254.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.17.254.2', 'tags': [], 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4'}} 2025-04-28 15:35:26,828 - INFO - Created VN ctest-vn-35515101 2025-04-28 15:35:26,886 - DEBUG - VN ctest-vn-35515101 UUID is 4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:26,952 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762, 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-59820923:ctest-vn-35515101, 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-28 15:35:27,179 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8324964d-6a6a-4a9b-bc95-3d75e5d1c110', 'name': 'ctest-vn-53321762', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['75e8ae45-f0ff-4eb0-9c31-6b8b5382c8f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-vn-53321762'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-policy-allow-all-25552607']], 'subnet_ipam': [{'subnet_cidr': '194.136.21.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:35:27,333 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4b2bcb4b-40b6-49c5-b94e-47713f6c651c', 'name': 'ctest-vn-35515101', 'tenant_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'project_id': 'b32d7f85ff054d0c9e692fb0b321b1f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['645b3c67-396b-4155-a808-d4776e10e003'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-vn-35515101'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-policy-allow-all-25552607']], 'subnet_ipam': [{'subnet_cidr': '20.17.254.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-28 15:35:27,469 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:27,810 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:27,840 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:27,854 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:27,930 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:27,941 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:27,951 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:27,958 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:27,964 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/98b2dc40-c11c-4730-aa2d-311c86deee3d 2025-04-28 15:35:27,972 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:35:27,972 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:27,982 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:27,996 - INFO - Verified VN network id 8 for VN 8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:27,996 - INFO - Verifications in API Server for VN ctest-vn-53321762 passed 2025-04-28 15:35:27,996 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:28,006 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:28,014 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:28,021 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/98b2dc40-c11c-4730-aa2d-311c86deee3d 2025-04-28 15:35:28,033 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59820923', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9449843177372142235', 'uuid-lslong': '13588835027236536592'}, 'enable': 'true', 'created': '2025-04-28T15:35:26', 'last-modified': '2025-04-28T15:35:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.880636'} 2025-04-28 15:35:28,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-28 15:35:28,040 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53321762 passed 2025-04-28 15:35:28,040 - DEBUG - ====Verifying policy data for ctest-vn-53321762 in API_Server ====== 2025-04-28 15:35:28,040 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:28,046 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:28,058 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:28,090 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/8324964d-6a6a-4a9b-bc95-3d75e5d1c110 2025-04-28 15:35:28,102 - DEBUG - ==>Verifying data for policy with id: 7c218604-8a9a-4618-942d-bfbd2e315003, fqn: ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-policy-allow-all-25552607'] 2025-04-28 15:35:28,102 - INFO - VN ctest-vn-53321762 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:35:28,102 - DEBUG - Verifying the vn in opserver 2025-04-28 15:35:28,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762 virtual network link through opserver 10.0.0.242 2025-04-28 15:35:28,102 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-04-28 15:35:28,433 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-04-28 15:35:28,489 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762?flat'} 2025-04-28 15:35:28,489 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762 is found in opserver 2025-04-28 15:35:28,500 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:35:28,506 - DEBUG - VRF ids for VN ctest-vn-53321762: {} 2025-04-28 15:35:28,506 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:28,513 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:28,525 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:28,562 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,581 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,592 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:28,599 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:28,606 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ec77a09d-b233-49d1-ba89-6a97f6ba937f 2025-04-28 15:35:28,615 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:35:28,615 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,627 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:28,644 - INFO - Verified VN network id 9 for VN 4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,644 - INFO - Verifications in API Server for VN ctest-vn-35515101 passed 2025-04-28 15:35:28,645 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,656 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:28,665 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:28,674 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/ec77a09d-b233-49d1-ba89-6a97f6ba937f 2025-04-28 15:35:28,689 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-35515101', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59820923', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5416646500911827397', 'uuid-lslong': '13352688496921044252'}, 'enable': 'true', 'created': '2025-04-28T15:35:26', 'last-modified': '2025-04-28T15:35:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390738'} 2025-04-28 15:35:28,696 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-04-28 15:35:28,696 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35515101 passed 2025-04-28 15:35:28,696 - DEBUG - ====Verifying policy data for ctest-vn-35515101 in API_Server ====== 2025-04-28 15:35:28,697 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:28,703 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:28,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:28,749 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/4b2bcb4b-40b6-49c5-b94e-47713f6c651c 2025-04-28 15:35:28,760 - DEBUG - ==>Verifying data for policy with id: 7c218604-8a9a-4618-942d-bfbd2e315003, fqn: ['default-domain', 'ctest-TestBasicPolicy-59820923', 'ctest-policy-allow-all-25552607'] 2025-04-28 15:35:28,760 - INFO - VN ctest-vn-35515101 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-28 15:35:28,760 - DEBUG - Verifying the vn in opserver 2025-04-28 15:35:28,760 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-35515101 virtual network link through opserver 10.0.0.242 2025-04-28 15:35:28,760 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-04-28 15:35:28,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-35515101', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-35515101?flat'} 2025-04-28 15:35:28,771 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-35515101 is found in opserver 2025-04-28 15:35:28,782 - DEBUG - Do not have enough data to verify VN in agent 2025-04-28 15:35:28,788 - DEBUG - VRF ids for VN ctest-vn-35515101: {} 2025-04-28 15:35:28,843 - DEBUG - Services list from nova: [, , ] 2025-04-28 15:35:29,881 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3239-1) 2025-04-28 15:35:31,190 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3239-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3239-1) 2025-04-28 15:35:31,191 - INFO - Waiting for VM ctest-TestBasicPolicy-59820923-66409629 to be up.. 2025-04-28 15:35:31,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-28 15:35:36,364 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:35:36,364 - INFO - VM name : ctest-TestBasicPolicy-59820923-66409629 2025-04-28 15:35:36,453 - DEBUG - VM ctest-TestBasicPolicy-59820923-66409629 ID is 7311f7db-f9e4-4299-ae32-75ce346e72cc 2025-04-28 15:35:36,477 - DEBUG - VM ctest-TestBasicPolicy-59820923-66409629 launched on Node cn-jenkins-deploy-platform-ansible-os-3239-1 2025-04-28 15:35:36,559 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/7311f7db-f9e4-4299-ae32-75ce346e72cc 2025-04-28 15:35:36,568 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/0c178fb9-8ac3-49c0-9e5d-df96983fda77 2025-04-28 15:35:39,691 - 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 1013ms') 2025-04-28 15:35:39,691 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59820923-66409629 failed! 2025-04-28 15:35:39,707 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59820923:ctest-vn-53321762 is 194.136.21.193 and allocation pool is NOT set 2025-04-28 15:35:41,773 - 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=6.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.10 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 = 5.098/6.030/6.962/0.932 ms') 2025-04-28 15:35:41,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59820923-66409629 passed 2025-04-28 15:35:41,848 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:35:41,848 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59820923-66409629, IP 194.136.21.195, Port 22 2025-04-28 15:35:41,940 - DEBUG - VM ctest-TestBasicPolicy-59820923-66409629 is ready for SSH connections 2025-04-28 15:35:41,940 - INFO - Waiting for VM ctest-TestBasicPolicy-59820923-72097373 to be up.. 2025-04-28 15:35:42,024 - DEBUG - VM is in ACTIVE state now 2025-04-28 15:35:42,024 - INFO - VM name : ctest-TestBasicPolicy-59820923-72097373 2025-04-28 15:35:42,098 - DEBUG - VM ctest-TestBasicPolicy-59820923-72097373 ID is 4298a72a-7fcd-478d-be88-67c5fbc181d3 2025-04-28 15:35:42,098 - DEBUG - VM ctest-TestBasicPolicy-59820923-72097373 launched on Node cn-jenkins-deploy-platform-ansible-os-3239-1 2025-04-28 15:35:42,176 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4298a72a-7fcd-478d-be88-67c5fbc181d3 2025-04-28 15:35:42,185 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/525900f7-e517-4310-85b5-ae4ddee7e2b6 2025-04-28 15:35:43,309 - 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=5.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.09 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 = 2.093/3.580/5.067/1.487 ms') 2025-04-28 15:35:43,309 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59820923-72097373 passed 2025-04-28 15:35:43,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:35:43,380 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59820923-72097373, IP 20.17.254.3, Port 22 2025-04-28 15:35:43,473 - DEBUG - VM ctest-TestBasicPolicy-59820923-72097373 is ready for SSH connections 2025-04-28 15:35:43,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:35:43,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.17.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-04-28 15:35:43,473 - DEBUG - ping -s 56 -c 3 -W 1 20.17.254.3 2025-04-28 15:35:47,479 - DEBUG - PING 20.17.254.3 (20.17.254.3): 56 data bytes 64 bytes from 20.17.254.3: seq=0 ttl=63 time=4.186 ms 64 bytes from 20.17.254.3: seq=1 ttl=63 time=0.992 ms 64 bytes from 20.17.254.3: seq=2 ttl=63 time=0.846 ms --- 20.17.254.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.846/2.008/4.186 ms 2025-04-28 15:35:47,479 - INFO - Ping to IP 20.17.254.3 from VM ctest-TestBasicPolicy-59820923-66409629 passed 2025-04-28 15:35:47,576 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7c218604-8a9a-4618-942d-bfbd2e315003", "href": "http://10.0.0.242:8082/network-policy/7c218604-8a9a-4618-942d-bfbd2e315003"}} 2025-04-28 15:35:47,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-28 15:35:47,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 20.17.254.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-04-28 15:35:47,576 - DEBUG - ping -s 56 -c 3 -W 1 20.17.254.3 2025-04-28 15:35:50,760 - DEBUG - PING 20.17.254.3 (20.17.254.3): 56 data bytes --- 20.17.254.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-28 15:35:50,761 - WARNING - Ping to IP 20.17.254.3 from VM ctest-TestBasicPolicy-59820923-66409629 failed 2025-04-28 15:35:50,761 - INFO - Deleting VM ctest-TestBasicPolicy-59820923-72097373 2025-04-28 15:35:50,831 - INFO - Deleting VM ctest-TestBasicPolicy-59820923-66409629 2025-04-28 15:35:51,184 - INFO - Deleted policy ctest-policy-allow-all-25552607 2025-04-28 15:35:51,184 - INFO - Deleting VN ctest-vn-35515101 2025-04-28 15:35:51,224 - DEBUG - VN 4b2bcb4b-40b6-49c5-b94e-47713f6c651c still in use: Unable to complete operation on network 4b2bcb4b-40b6-49c5-b94e-47713f6c651c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f191a78-d7ac-45c3-b656-fa51716b4a7a'] 2025-04-28 15:35:51,224 - WARNING - Deleting VN ctest-vn-35515101 failed..Will retry 2025-04-28 15:35:53,358 - DEBUG - Response for deleting network () 2025-04-28 15:35:53,358 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ceeaae6d-d0bf-48c3-8230-d5126fcfca33 2025-04-28 15:35:53,365 - DEBUG - Response Code: 404 2025-04-28 15:35:53,366 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:53,373 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:53,389 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:53,426 - INFO - Validated that VN ctest-vn-35515101 is not found in API Server 2025-04-28 15:35:53,440 - DEBUG - VN ctest-vn-35515101 is not present in Agent 10.0.0.242 2025-04-28 15:35:53,440 - INFO - Validated that VN ctest-vn-35515101 is not in any agent 2025-04-28 15:35:53,459 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35515101 info 2025-04-28 15:35:53,459 - INFO - Deleting VN ctest-vn-53321762 2025-04-28 15:35:53,600 - DEBUG - Response for deleting network () 2025-04-28 15:35:53,600 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/95f99d1a-f178-4294-b639-e2ff27c31b1b 2025-04-28 15:35:53,609 - DEBUG - Response Code: 404 2025-04-28 15:35:53,609 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-04-28 15:35:53,617 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9e2bcec0-0ae6-4df0-a99f-45c06c7cdccf 2025-04-28 15:35:53,672 - DEBUG - Requesting: http://10.0.0.242:8082/project/b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4 2025-04-28 15:35:53,714 - INFO - Validated that VN ctest-vn-53321762 is not found in API Server 2025-04-28 15:35:53,726 - DEBUG - VN ctest-vn-53321762 is not present in Agent 10.0.0.242 2025-04-28 15:35:53,726 - INFO - Validated that VN ctest-vn-53321762 is not in any agent 2025-04-28 15:35:53,742 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53321762 info 2025-04-28 15:35:53,833 - DEBUG - No XMPP flaps were noticed during the test 2025-04-28 15:35:53,833 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:28] 2025-04-28 15:35:53,833 - INFO - -------------------------------------------------------------------------------- 2025-04-28 15:35:54,474 - INFO - Deleted project: ctest-TestBasicPolicy-59820923, ID : b32d7f85-ff05-4d0c-9e69-2fb0b321b1f4