2025-06-19 12:36:14,266 - INFO - Domain Default found not creating 2025-06-19 12:36:14,406 - INFO - Project ctest-TestBasicPolicy-53436411 not found, creating it 2025-06-19 12:36:14,856 - INFO - Created Project:ctest-TestBasicPolicy-53436411, ID : 8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:16,304 - INFO - ================================================================================ 2025-06-19 12:36:16,304 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 12:36:16,304 - 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-06-19 12:36:16,559 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2025-06-19 12:36:16,559 - INFO - Initial checks done. Running the testcase now 2025-06-19 12:36:16,559 - INFO - 2025-06-19 12:36:17,087 - DEBUG - Response for create_network : {'network': {'id': 'ab335c2f-8708-462d-af24-5b362546f06d', 'name': 'ctest-vn-77638886', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-vn-77638886'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:36:17,247 - DEBUG - Response for create_subnet : {'subnet': {'id': '59ac9e62-82f3-4d7e-8517-a479d66f5329', 'name': '', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'network_id': 'ab335c2f-8708-462d-af24-5b362546f06d', 'ip_version': 4, 'cidr': '179.36.102.192/26', 'allocation_pools': [{'start': '179.36.102.194', 'end': '179.36.102.254'}], 'gateway_ip': '179.36.102.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.36.102.194', 'tags': [], 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf'}} 2025-06-19 12:36:17,264 - INFO - Created VN ctest-vn-77638886 2025-06-19 12:36:17,317 - DEBUG - VN ctest-vn-77638886 UUID is ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:17,643 - DEBUG - Response for create_network : {'network': {'id': '5358eeef-ce18-401a-ad52-485ecb8bc9b7', 'name': 'ctest-vn-53847333', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-vn-53847333'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:36:17,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '29c8097b-de4c-4844-b4b2-06084f3130dd', 'name': '', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'network_id': '5358eeef-ce18-401a-ad52-485ecb8bc9b7', 'ip_version': 4, 'cidr': '40.119.115.128/26', 'allocation_pools': [{'start': '40.119.115.130', 'end': '40.119.115.190'}], 'gateway_ip': '40.119.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.119.115.130', 'tags': [], 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf'}} 2025-06-19 12:36:17,894 - INFO - Created VN ctest-vn-53847333 2025-06-19 12:36:17,949 - DEBUG - VN ctest-vn-53847333 UUID is 5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:18,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886, 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-53436411:ctest-vn-53847333, 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-06-19 12:36:18,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab335c2f-8708-462d-af24-5b362546f06d', 'name': 'ctest-vn-77638886', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59ac9e62-82f3-4d7e-8517-a479d66f5329'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-vn-77638886'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-policy-allow-all-34139782']], 'subnet_ipam': [{'subnet_cidr': '179.36.102.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:36:18,594 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5358eeef-ce18-401a-ad52-485ecb8bc9b7', 'name': 'ctest-vn-53847333', 'tenant_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'project_id': '8ac26314b5a54e9b9adc85bf66d8accf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29c8097b-de4c-4844-b4b2-06084f3130dd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-vn-53847333'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-policy-allow-all-34139782']], 'subnet_ipam': [{'subnet_cidr': '40.119.115.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 12:36:18,761 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:19,059 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:19,086 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:19,098 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:19,172 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,192 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:19,200 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:19,207 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/560d2318-fb00-47dd-ad58-1e44219837a0 2025-06-19 12:36:19,213 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 12:36:19,213 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,221 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:19,234 - INFO - Verified VN network id 8 for VN ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,234 - INFO - Verifications in API Server for VN ctest-vn-77638886 passed 2025-06-19 12:36:19,234 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,243 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:19,249 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:19,256 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/560d2318-fb00-47dd-ad58-1e44219837a0 2025-06-19 12:36:19,269 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53436411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12336305163496605229', 'uuid-lslong': '12620312343910740077'}, 'enable': 'true', 'created': '2025-06-19T12:36:17', 'last-modified': '2025-06-19T12:36:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933999'} 2025-06-19 12:36:19,276 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 12:36:19,276 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77638886 passed 2025-06-19 12:36:19,277 - DEBUG - ====Verifying policy data for ctest-vn-77638886 in API_Server ====== 2025-06-19 12:36:19,277 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:19,282 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:19,294 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:19,371 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ab335c2f-8708-462d-af24-5b362546f06d 2025-06-19 12:36:19,382 - DEBUG - ==>Verifying data for policy with id: 53620b68-e1dc-48af-bd2b-aab85110a77d, fqn: ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-policy-allow-all-34139782'] 2025-06-19 12:36:19,382 - INFO - VN ctest-vn-77638886 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 12:36:19,382 - DEBUG - Verifying the vn in opserver 2025-06-19 12:36:19,382 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886 virtual network link through opserver 10.0.0.33 2025-06-19 12:36:19,382 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-19 12:36:19,680 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-19 12:36:19,735 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886?flat'} 2025-06-19 12:36:19,735 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886 is found in opserver 2025-06-19 12:36:19,746 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 12:36:19,751 - DEBUG - VRF ids for VN ctest-vn-77638886: {} 2025-06-19 12:36:19,751 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:19,757 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:19,770 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:19,839 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:19,852 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:19,862 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:19,869 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:19,876 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e065dbc-e218-4c2f-b5d6-393f4e9fcdb0 2025-06-19 12:36:19,882 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 12:36:19,882 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:19,890 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:19,903 - INFO - Verified VN network id 9 for VN 5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:19,903 - INFO - Verifications in API Server for VN ctest-vn-53847333 passed 2025-06-19 12:36:19,903 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:19,912 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:19,919 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:19,926 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e065dbc-e218-4c2f-b5d6-393f4e9fcdb0 2025-06-19 12:36:19,937 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-53847333', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53436411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6005812816820846618', 'uuid-lslong': '12489124288630868407'}, 'enable': 'true', 'created': '2025-06-19T12:36:17', 'last-modified': '2025-06-19T12:36:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.371905'} 2025-06-19 12:36:19,943 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 12:36:19,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53847333 passed 2025-06-19 12:36:19,943 - DEBUG - ====Verifying policy data for ctest-vn-53847333 in API_Server ====== 2025-06-19 12:36:19,944 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:19,950 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:19,962 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:20,032 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5358eeef-ce18-401a-ad52-485ecb8bc9b7 2025-06-19 12:36:20,041 - DEBUG - ==>Verifying data for policy with id: 53620b68-e1dc-48af-bd2b-aab85110a77d, fqn: ['default-domain', 'ctest-TestBasicPolicy-53436411', 'ctest-policy-allow-all-34139782'] 2025-06-19 12:36:20,041 - INFO - VN ctest-vn-53847333 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 12:36:20,041 - DEBUG - Verifying the vn in opserver 2025-06-19 12:36:20,042 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-53847333 virtual network link through opserver 10.0.0.33 2025-06-19 12:36:20,042 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-06-19 12:36:20,051 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-53847333', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-53847333?flat'} 2025-06-19 12:36:20,051 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-53847333 is found in opserver 2025-06-19 12:36:20,062 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 12:36:20,066 - DEBUG - VRF ids for VN ctest-vn-53847333: {} 2025-06-19 12:36:20,118 - DEBUG - Services list from nova: [, , ] 2025-06-19 12:36:21,106 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3493-1) 2025-06-19 12:36:22,332 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3493-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3493-1) 2025-06-19 12:36:22,332 - INFO - Waiting for VM ctest-TestBasicPolicy-53436411-21526844 to be up.. 2025-06-19 12:36:22,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 12:36:27,490 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:36:27,490 - INFO - VM name : ctest-TestBasicPolicy-53436411-21526844 2025-06-19 12:36:27,560 - DEBUG - VM ctest-TestBasicPolicy-53436411-21526844 ID is b2dd5d3f-2214-43d9-a674-b859660be839 2025-06-19 12:36:27,578 - DEBUG - VM ctest-TestBasicPolicy-53436411-21526844 launched on Node cn-jenkins-deploy-platform-ansible-os-3493-1 2025-06-19 12:36:27,661 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b2dd5d3f-2214-43d9-a674-b859660be839 2025-06-19 12:36:27,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cbd95788-5a38-4e70-b25b-628aa32171b8 2025-06-19 12:36:30,911 - 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-06-19 12:36:30,911 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53436411-21526844 failed! 2025-06-19 12:36:30,965 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-53436411:ctest-vn-77638886 is 179.36.102.193 and allocation pool is NOT set 2025-06-19 12:36:33,025 - 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=3.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.476 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.476/1.778/3.080/1.302 ms') 2025-06-19 12:36:33,025 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-53436411-21526844 passed 2025-06-19 12:36:33,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:36:33,181 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53436411-21526844, IP 179.36.102.195, Port 22 2025-06-19 12:36:33,345 - DEBUG - VM ctest-TestBasicPolicy-53436411-21526844 is ready for SSH connections 2025-06-19 12:36:33,345 - INFO - Waiting for VM ctest-TestBasicPolicy-53436411-65867453 to be up.. 2025-06-19 12:36:33,418 - DEBUG - VM is in ACTIVE state now 2025-06-19 12:36:33,419 - INFO - VM name : ctest-TestBasicPolicy-53436411-65867453 2025-06-19 12:36:33,491 - DEBUG - VM ctest-TestBasicPolicy-53436411-65867453 ID is 5c8ac56f-1091-41ca-b9d6-5af039503e6b 2025-06-19 12:36:33,491 - DEBUG - VM ctest-TestBasicPolicy-53436411-65867453 launched on Node cn-jenkins-deploy-platform-ansible-os-3493-1 2025-06-19 12:36:33,561 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5c8ac56f-1091-41ca-b9d6-5af039503e6b 2025-06-19 12:36:33,570 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/98cffa34-542f-4324-9c90-e6417d12a25a 2025-06-19 12:36:34,809 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.015/2.429/3.843/1.414 ms') 2025-06-19 12:36:34,810 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-53436411-65867453 passed 2025-06-19 12:36:34,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:36:34,961 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-53436411-65867453, IP 40.119.115.131, Port 22 2025-06-19 12:36:35,117 - DEBUG - VM ctest-TestBasicPolicy-53436411-65867453 is ready for SSH connections 2025-06-19 12:36:35,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:36:35,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.119.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-19 12:36:35,118 - DEBUG - ping -s 56 -c 3 -W 1 40.119.115.131 2025-06-19 12:36:38,795 - DEBUG - PING 40.119.115.131 (40.119.115.131): 56 data bytes 64 bytes from 40.119.115.131: seq=0 ttl=63 time=3.836 ms 64 bytes from 40.119.115.131: seq=1 ttl=63 time=0.889 ms 64 bytes from 40.119.115.131: seq=2 ttl=63 time=0.824 ms --- 40.119.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.824/1.849/3.836 ms 2025-06-19 12:36:38,795 - INFO - Ping to IP 40.119.115.131 from VM ctest-TestBasicPolicy-53436411-21526844 passed 2025-06-19 12:36:38,977 - DEBUG - Policy Update Response {"network-policy": {"uuid": "53620b68-e1dc-48af-bd2b-aab85110a77d", "href": "http://10.0.0.33:8082/network-policy/53620b68-e1dc-48af-bd2b-aab85110a77d"}} 2025-06-19 12:36:38,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 12:36:38,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.119.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-06-19 12:36:38,977 - DEBUG - ping -s 56 -c 3 -W 1 40.119.115.131 2025-06-19 12:36:42,193 - DEBUG - PING 40.119.115.131 (40.119.115.131): 56 data bytes --- 40.119.115.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-19 12:36:42,193 - WARNING - Ping to IP 40.119.115.131 from VM ctest-TestBasicPolicy-53436411-21526844 failed 2025-06-19 12:36:42,194 - INFO - Deleting VM ctest-TestBasicPolicy-53436411-65867453 2025-06-19 12:36:42,256 - INFO - Deleting VM ctest-TestBasicPolicy-53436411-21526844 2025-06-19 12:36:42,642 - INFO - Deleted policy ctest-policy-allow-all-34139782 2025-06-19 12:36:42,642 - INFO - Deleting VN ctest-vn-53847333 2025-06-19 12:36:42,683 - DEBUG - VN 5358eeef-ce18-401a-ad52-485ecb8bc9b7 still in use: Unable to complete operation on network 5358eeef-ce18-401a-ad52-485ecb8bc9b7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b0bd65a1-c0be-43d4-98a2-457878e1f3bb'] 2025-06-19 12:36:42,683 - WARNING - Deleting VN ctest-vn-53847333 failed..Will retry 2025-06-19 12:36:44,802 - DEBUG - Response for deleting network () 2025-06-19 12:36:44,802 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/872fa7a1-dce6-4487-9712-d235b2efaca0 2025-06-19 12:36:44,812 - DEBUG - Response Code: 404 2025-06-19 12:36:44,812 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:44,819 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:44,875 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:44,947 - INFO - Validated that VN ctest-vn-53847333 is not found in API Server 2025-06-19 12:36:44,960 - DEBUG - VN ctest-vn-53847333 is not present in Agent 10.0.0.33 2025-06-19 12:36:44,960 - INFO - Validated that VN ctest-vn-53847333 is not in any agent 2025-06-19 12:36:44,978 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53847333 info 2025-06-19 12:36:44,978 - INFO - Deleting VN ctest-vn-77638886 2025-06-19 12:36:45,102 - DEBUG - Response for deleting network () 2025-06-19 12:36:45,103 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/60b1c984-71ec-4f5c-abcd-64a1f0658a4d 2025-06-19 12:36:45,113 - DEBUG - Response Code: 404 2025-06-19 12:36:45,113 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-06-19 12:36:45,122 - DEBUG - Requesting: http://10.0.0.33:8082/domain/2f83ff3a-cf53-4759-8661-0ed47021069a 2025-06-19 12:36:45,179 - DEBUG - Requesting: http://10.0.0.33:8082/project/8ac26314-b5a5-4e9b-9adc-85bf66d8accf 2025-06-19 12:36:45,261 - INFO - Validated that VN ctest-vn-77638886 is not found in API Server 2025-06-19 12:36:45,272 - DEBUG - VN ctest-vn-77638886 is not present in Agent 10.0.0.33 2025-06-19 12:36:45,272 - INFO - Validated that VN ctest-vn-77638886 is not in any agent 2025-06-19 12:36:45,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77638886 info 2025-06-19 12:36:45,543 - DEBUG - No XMPP flaps were noticed during the test
2025-06-19 12:36:45,543 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-06-19 12:36:45,544 - INFO - -------------------------------------------------------------------------------- 2025-06-19 12:36:46,225 - INFO - Deleted project: ctest-TestBasicPolicy-53436411, ID : 8ac26314-b5a5-4e9b-9adc-85bf66d8accf