2026-01-03 03:48:45,682 - INFO - Domain Default found not creating 2026-01-03 03:48:45,846 - INFO - Project ctest-TestBasicPolicy-27211321 not found, creating it 2026-01-03 03:48:46,311 - INFO - Created Project:ctest-TestBasicPolicy-27211321, ID : cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:48:47,899 - INFO - ================================================================================ 2026-01-03 03:48:47,899 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-03 03:48:47,899 - 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 2026-01-03 03:48:48,157 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-01-03 03:48:48,157 - INFO - Initial checks done. Running the testcase now 2026-01-03 03:48:48,157 - INFO - 2026-01-03 03:48:48,738 - DEBUG - Response for create_network : {'network': {'id': '4d89463d-9d2a-428d-9d8e-59e786e9cb8a', 'name': 'ctest-vn-65677746', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'project_id': 'cde07c88543c4c6295f46f3788e47884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-vn-65677746'], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:48:48,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c62560c-e4da-4160-bedf-c9cc7c4068a8', 'name': '', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'network_id': '4d89463d-9d2a-428d-9d8e-59e786e9cb8a', 'ip_version': 4, 'cidr': '151.210.45.64/26', 'allocation_pools': [{'start': '151.210.45.66', 'end': '151.210.45.126'}], 'gateway_ip': '151.210.45.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.210.45.66', 'tags': [], 'project_id': 'cde07c88543c4c6295f46f3788e47884'}} 2026-01-03 03:48:48,922 - INFO - Created VN ctest-vn-65677746 2026-01-03 03:48:48,976 - DEBUG - VN ctest-vn-65677746 UUID is 4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:49,256 - DEBUG - Response for create_network : {'network': {'id': 'f618446e-40bd-4185-a00b-c3dfe6e20595', 'name': 'ctest-vn-37616910', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'project_id': 'cde07c88543c4c6295f46f3788e47884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-vn-37616910'], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:48:49,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '17de74c7-450c-47de-9ea4-76845622c0f9', 'name': '', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'network_id': 'f618446e-40bd-4185-a00b-c3dfe6e20595', 'ip_version': 4, 'cidr': '177.255.141.64/26', 'allocation_pools': [{'start': '177.255.141.66', 'end': '177.255.141.126'}], 'gateway_ip': '177.255.141.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.255.141.66', 'tags': [], 'project_id': 'cde07c88543c4c6295f46f3788e47884'}} 2026-01-03 03:48:49,491 - INFO - Created VN ctest-vn-37616910 2026-01-03 03:48:49,543 - DEBUG - VN ctest-vn-37616910 UUID is f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:49,664 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746, 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-27211321:ctest-vn-37616910, 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] 2026-01-03 03:48:49,960 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4d89463d-9d2a-428d-9d8e-59e786e9cb8a', 'name': 'ctest-vn-65677746', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'project_id': 'cde07c88543c4c6295f46f3788e47884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4c62560c-e4da-4160-bedf-c9cc7c4068a8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-vn-65677746'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-policy-allow-all-57932468']], 'subnet_ipam': [{'subnet_cidr': '151.210.45.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:48:50,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f618446e-40bd-4185-a00b-c3dfe6e20595', 'name': 'ctest-vn-37616910', 'tenant_id': 'cde07c88543c4c6295f46f3788e47884', 'project_id': 'cde07c88543c4c6295f46f3788e47884', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['17de74c7-450c-47de-9ea4-76845622c0f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-vn-37616910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-policy-allow-all-57932468']], 'subnet_ipam': [{'subnet_cidr': '177.255.141.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-03 03:48:50,400 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:48:50,753 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:48:50,790 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:48:50,803 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:48:50,874 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:50,886 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:50,896 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:48:50,903 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:48:50,910 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2842fa85-ba53-4245-925a-81f13fe68474 2026-01-03 03:48:50,916 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-03 03:48:50,916 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:50,925 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:48:50,939 - INFO - Verified VN network id 11 for VN 4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:50,939 - INFO - Verifications in API Server for VN ctest-vn-65677746 passed 2026-01-03 03:48:50,939 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:50,949 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:48:50,956 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:48:50,962 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2842fa85-ba53-4245-925a-81f13fe68474 2026-01-03 03:48:50,973 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27211321', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5587074043173552781', 'uuid-lslong': '11353110561583385482'}, 'enable': 'true', 'created': '2026-01-03T03:48:48', 'last-modified': '2026-01-03T03:48:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.032388'} 2026-01-03 03:48:50,979 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-03 03:48:50,979 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65677746 passed 2026-01-03 03:48:50,979 - DEBUG - ====Verifying policy data for ctest-vn-65677746 in API_Server ====== 2026-01-03 03:48:50,980 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:48:50,985 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:48:50,996 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:48:51,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4d89463d-9d2a-428d-9d8e-59e786e9cb8a 2026-01-03 03:48:51,071 - DEBUG - ==>Verifying data for policy with id: 83f8dafd-809c-4319-8ae1-f7afa8630543, fqn: ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-policy-allow-all-57932468'] 2026-01-03 03:48:51,071 - INFO - VN ctest-vn-65677746 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-03 03:48:51,071 - DEBUG - Verifying the vn in opserver 2026-01-03 03:48:51,071 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746 virtual network link through opserver 10.0.0.38 2026-01-03 03:48:51,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-03 03:48:51,407 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-03 03:48:51,474 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746?flat'} 2026-01-03 03:48:51,474 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746 is found in opserver 2026-01-03 03:48:51,486 - DEBUG - Do not have enough data to verify VN in agent 2026-01-03 03:48:51,490 - DEBUG - VRF ids for VN ctest-vn-65677746: {} 2026-01-03 03:48:51,491 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:48:51,496 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:48:51,509 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:48:51,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,588 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,598 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:48:51,606 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:48:51,612 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f77ce288-145c-4253-9762-3ac56eb816dd 2026-01-03 03:48:51,618 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-03 03:48:51,618 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:48:51,647 - INFO - Verified VN network id 12 for VN f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,647 - INFO - Verifications in API Server for VN ctest-vn-37616910 passed 2026-01-03 03:48:51,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,657 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:48:51,663 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:48:51,669 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f77ce288-145c-4253-9762-3ac56eb816dd 2026-01-03 03:48:51,679 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-37616910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27211321', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17732998773094564229', 'uuid-lslong': '11532526637230982549'}, 'enable': 'true', 'created': '2026-01-03T03:48:49', 'last-modified': '2026-01-03T03:48:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.494790'} 2026-01-03 03:48:51,685 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-03 03:48:51,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37616910 passed 2026-01-03 03:48:51,685 - DEBUG - ====Verifying policy data for ctest-vn-37616910 in API_Server ====== 2026-01-03 03:48:51,685 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:48:51,690 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:48:51,701 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:48:51,768 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f618446e-40bd-4185-a00b-c3dfe6e20595 2026-01-03 03:48:51,777 - DEBUG - ==>Verifying data for policy with id: 83f8dafd-809c-4319-8ae1-f7afa8630543, fqn: ['default-domain', 'ctest-TestBasicPolicy-27211321', 'ctest-policy-allow-all-57932468'] 2026-01-03 03:48:51,777 - INFO - VN ctest-vn-37616910 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-03 03:48:51,778 - DEBUG - Verifying the vn in opserver 2026-01-03 03:48:51,778 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-37616910 virtual network link through opserver 10.0.0.38 2026-01-03 03:48:51,778 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-03 03:48:51,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-37616910', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-37616910?flat'} 2026-01-03 03:48:51,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-37616910 is found in opserver 2026-01-03 03:48:51,796 - DEBUG - Do not have enough data to verify VN in agent 2026-01-03 03:48:51,800 - DEBUG - VRF ids for VN ctest-vn-37616910: {} 2026-01-03 03:48:51,857 - DEBUG - Services list from nova: [, , ] 2026-01-03 03:48:52,960 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4954-1) 2026-01-03 03:48:54,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4954-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4954-1) 2026-01-03 03:48:54,165 - INFO - Waiting for VM ctest-TestBasicPolicy-27211321-44259089 to be up.. 2026-01-03 03:48:54,247 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-03 03:48:59,324 - DEBUG - VM is in ACTIVE state now 2026-01-03 03:48:59,324 - INFO - VM name : ctest-TestBasicPolicy-27211321-44259089 2026-01-03 03:48:59,399 - DEBUG - VM ctest-TestBasicPolicy-27211321-44259089 ID is 230a7b26-61ed-43e1-a102-b004d80fc1ac 2026-01-03 03:48:59,418 - DEBUG - VM ctest-TestBasicPolicy-27211321-44259089 launched on Node cn-jenkins-deploy-platform-ansible-os-4954-1 2026-01-03 03:48:59,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/230a7b26-61ed-43e1-a102-b004d80fc1ac 2026-01-03 03:48:59,503 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80e5d587-5b82-4d52-9168-c1c0d0a1c4a7 2026-01-03 03:49:02,767 - 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 1030ms') 2026-01-03 03:49:02,767 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27211321-44259089 failed! 2026-01-03 03:49:02,823 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-27211321:ctest-vn-65677746 is 151.210.45.65 and allocation pool is NOT set 2026-01-03 03:49:04,881 - 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=8.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.321 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.321/4.644/8.967/4.323 ms') 2026-01-03 03:49:04,881 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-27211321-44259089 passed 2026-01-03 03:49:05,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:49:05,035 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27211321-44259089, IP 151.210.45.67, Port 22 2026-01-03 03:49:05,191 - DEBUG - VM ctest-TestBasicPolicy-27211321-44259089 is ready for SSH connections 2026-01-03 03:49:05,191 - INFO - Waiting for VM ctest-TestBasicPolicy-27211321-04514729 to be up.. 2026-01-03 03:49:05,268 - DEBUG - VM is in ACTIVE state now 2026-01-03 03:49:05,268 - INFO - VM name : ctest-TestBasicPolicy-27211321-04514729 2026-01-03 03:49:05,340 - DEBUG - VM ctest-TestBasicPolicy-27211321-04514729 ID is cbfd33b1-278a-47a5-a5e2-0f50989fd66c 2026-01-03 03:49:05,341 - DEBUG - VM ctest-TestBasicPolicy-27211321-04514729 launched on Node cn-jenkins-deploy-platform-ansible-os-4954-1 2026-01-03 03:49:05,413 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/cbfd33b1-278a-47a5-a5e2-0f50989fd66c 2026-01-03 03:49:05,420 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d17a8631-69de-40d5-9b12-2a66cb8d3842 2026-01-03 03:49:06,652 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.82 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.815/3.224/3.634/0.409 ms') 2026-01-03 03:49:06,653 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-27211321-04514729 passed 2026-01-03 03:49:06,803 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:49:06,804 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-27211321-04514729, IP 177.255.141.67, Port 22 2026-01-03 03:49:06,963 - DEBUG - VM ctest-TestBasicPolicy-27211321-04514729 is ready for SSH connections 2026-01-03 03:49:06,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:49:06,964 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.255.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-03 03:49:06,964 - DEBUG - ping -s 56 -c 3 -W 1 177.255.141.67 2026-01-03 03:49:11,109 - DEBUG - PING 177.255.141.67 (177.255.141.67): 56 data bytes 64 bytes from 177.255.141.67: seq=0 ttl=63 time=4.579 ms 64 bytes from 177.255.141.67: seq=1 ttl=63 time=0.942 ms 64 bytes from 177.255.141.67: seq=2 ttl=63 time=1.115 ms --- 177.255.141.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/2.212/4.579 ms 2026-01-03 03:49:11,109 - INFO - Ping to IP 177.255.141.67 from VM ctest-TestBasicPolicy-27211321-44259089 passed 2026-01-03 03:49:11,283 - DEBUG - Policy Update Response {"network-policy": {"uuid": "83f8dafd-809c-4319-8ae1-f7afa8630543", "href": "http://10.0.0.38:8082/network-policy/83f8dafd-809c-4319-8ae1-f7afa8630543"}} 2026-01-03 03:49:11,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-03 03:49:11,284 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.255.141.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-03 03:49:11,284 - DEBUG - ping -s 56 -c 3 -W 1 177.255.141.67 2026-01-03 03:49:14,512 - DEBUG - PING 177.255.141.67 (177.255.141.67): 56 data bytes --- 177.255.141.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-03 03:49:14,512 - WARNING - Ping to IP 177.255.141.67 from VM ctest-TestBasicPolicy-27211321-44259089 failed 2026-01-03 03:49:14,513 - INFO - Deleting VM ctest-TestBasicPolicy-27211321-04514729 2026-01-03 03:49:14,596 - INFO - Deleting VM ctest-TestBasicPolicy-27211321-44259089 2026-01-03 03:49:15,056 - INFO - Deleted policy ctest-policy-allow-all-57932468 2026-01-03 03:49:15,056 - INFO - Deleting VN ctest-vn-37616910 2026-01-03 03:49:15,105 - DEBUG - VN f618446e-40bd-4185-a00b-c3dfe6e20595 still in use: Unable to complete operation on network f618446e-40bd-4185-a00b-c3dfe6e20595. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-328fd11b-e7c4-479a-b003-f1c56e487f25'] 2026-01-03 03:49:15,105 - WARNING - Deleting VN ctest-vn-37616910 failed..Will retry 2026-01-03 03:49:17,211 - DEBUG - Response for deleting network () 2026-01-03 03:49:17,211 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/054dcc8f-fb33-45e8-acc6-4ab17eb0ad99 2026-01-03 03:49:17,218 - DEBUG - Response Code: 404 2026-01-03 03:49:17,218 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:49:17,223 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:49:17,282 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:49:17,353 - INFO - Validated that VN ctest-vn-37616910 is not found in API Server 2026-01-03 03:49:17,363 - DEBUG - VN ctest-vn-37616910 is not present in Agent 10.0.0.38 2026-01-03 03:49:17,363 - INFO - Validated that VN ctest-vn-37616910 is not in any agent 2026-01-03 03:49:17,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37616910 info 2026-01-03 03:49:17,377 - INFO - Deleting VN ctest-vn-65677746 2026-01-03 03:49:17,481 - DEBUG - Response for deleting network () 2026-01-03 03:49:17,481 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/702cc706-ce43-4b88-aae7-89c1778aeea0 2026-01-03 03:49:17,490 - DEBUG - Response Code: 404 2026-01-03 03:49:17,490 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-03 03:49:17,498 - DEBUG - Requesting: http://10.0.0.38:8082/domain/040713c8-3282-4beb-9a7a-58465f8bde45 2026-01-03 03:49:17,557 - DEBUG - Requesting: http://10.0.0.38:8082/project/cde07c88-543c-4c62-95f4-6f3788e47884 2026-01-03 03:49:17,633 - INFO - Validated that VN ctest-vn-65677746 is not found in API Server 2026-01-03 03:49:17,643 - DEBUG - VN ctest-vn-65677746 is not present in Agent 10.0.0.38 2026-01-03 03:49:17,643 - INFO - Validated that VN ctest-vn-65677746 is not in any agent 2026-01-03 03:49:17,656 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65677746 info 2026-01-03 03:49:17,912 - DEBUG - No XMPP flaps were noticed during the test 2026-01-03 03:49:17,912 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-01-03 03:49:17,912 - INFO - -------------------------------------------------------------------------------- 2026-01-03 03:49:18,644 - INFO - Deleted project: ctest-TestBasicPolicy-27211321, ID : cde07c88-543c-4c62-95f4-6f3788e47884