2025-06-19 14:32:50,959 - INFO - Domain Default found not creating 2025-06-19 14:32:51,105 - INFO - Project ctest-TestBasicPolicy-19566197 not found, creating it 2025-06-19 14:32:51,565 - INFO - Created Project:ctest-TestBasicPolicy-19566197, ID : 938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:32:53,129 - INFO - ================================================================================ 2025-06-19 14:32:53,129 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-19 14:32:53,129 - 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 14:32:53,386 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-06-19 14:32:53,386 - INFO - Initial checks done. Running the testcase now 2025-06-19 14:32:53,386 - INFO - 2025-06-19 14:32:53,998 - DEBUG - Response for create_network : {'network': {'id': 'f29c4075-3cea-4d3c-b2cd-c731fd56f919', 'name': 'ctest-vn-02790302', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'project_id': '938a7af5a63a40ddadbc653cee36c04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-vn-02790302'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 14:32:54,180 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc82cd10-a97c-4dfb-afbb-98c715460881', 'name': '', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'network_id': 'f29c4075-3cea-4d3c-b2cd-c731fd56f919', 'ip_version': 4, 'cidr': '35.191.0.192/26', 'allocation_pools': [{'start': '35.191.0.194', 'end': '35.191.0.254'}], 'gateway_ip': '35.191.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.191.0.194', 'tags': [], 'project_id': '938a7af5a63a40ddadbc653cee36c04a'}} 2025-06-19 14:32:54,199 - INFO - Created VN ctest-vn-02790302 2025-06-19 14:32:54,251 - DEBUG - VN ctest-vn-02790302 UUID is f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:54,573 - DEBUG - Response for create_network : {'network': {'id': 'a499f7ff-ea55-438a-b54f-02a1d3ad6c1e', 'name': 'ctest-vn-77469525', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'project_id': '938a7af5a63a40ddadbc653cee36c04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-vn-77469525'], 'port_security_enabled': True, 'description': ''}} 2025-06-19 14:32:54,761 - DEBUG - Response for create_subnet : {'subnet': {'id': '95986db1-891b-4d22-91e3-b7d1e7b131a0', 'name': '', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'network_id': 'a499f7ff-ea55-438a-b54f-02a1d3ad6c1e', 'ip_version': 4, 'cidr': '165.18.137.0/26', 'allocation_pools': [{'start': '165.18.137.2', 'end': '165.18.137.62'}], 'gateway_ip': '165.18.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.18.137.2', 'tags': [], 'project_id': '938a7af5a63a40ddadbc653cee36c04a'}} 2025-06-19 14:32:54,785 - INFO - Created VN ctest-vn-77469525 2025-06-19 14:32:54,839 - DEBUG - VN ctest-vn-77469525 UUID is a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:54,960 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302, 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-19566197:ctest-vn-77469525, 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 14:32:55,258 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f29c4075-3cea-4d3c-b2cd-c731fd56f919', 'name': 'ctest-vn-02790302', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'project_id': '938a7af5a63a40ddadbc653cee36c04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc82cd10-a97c-4dfb-afbb-98c715460881'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-vn-02790302'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-policy-allow-all-43955914']], 'subnet_ipam': [{'subnet_cidr': '35.191.0.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 14:32:55,538 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a499f7ff-ea55-438a-b54f-02a1d3ad6c1e', 'name': 'ctest-vn-77469525', 'tenant_id': '938a7af5a63a40ddadbc653cee36c04a', 'project_id': '938a7af5a63a40ddadbc653cee36c04a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['95986db1-891b-4d22-91e3-b7d1e7b131a0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-vn-77469525'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-policy-allow-all-43955914']], 'subnet_ipam': [{'subnet_cidr': '165.18.137.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-19 14:32:55,687 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:32:56,030 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:32:56,058 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:32:56,074 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:32:56,157 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,170 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:32:56,188 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:32:56,196 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f6d11cb2-df2b-45c2-8697-0ab3904fe196 2025-06-19 14:32:56,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 14:32:56,209 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,220 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:32:56,235 - INFO - Verified VN network id 8 for VN f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,235 - INFO - Verifications in API Server for VN ctest-vn-02790302 passed 2025-06-19 14:32:56,235 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,245 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:32:56,252 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:32:56,260 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f6d11cb2-df2b-45c2-8697-0ab3904fe196 2025-06-19 14:32:56,273 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19566197', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17481918725822762300', 'uuid-lslong': '12884173126494517529'}, 'enable': 'true', 'created': '2025-06-19T14:32:53', 'last-modified': '2025-06-19T14:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.035542'} 2025-06-19 14:32:56,280 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-19 14:32:56,280 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02790302 passed 2025-06-19 14:32:56,280 - DEBUG - ====Verifying policy data for ctest-vn-02790302 in API_Server ====== 2025-06-19 14:32:56,280 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:32:56,287 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:32:56,300 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:32:56,370 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f29c4075-3cea-4d3c-b2cd-c731fd56f919 2025-06-19 14:32:56,383 - DEBUG - ==>Verifying data for policy with id: d416dee6-6efc-4ce3-bc20-3ceff0d0aff8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-policy-allow-all-43955914'] 2025-06-19 14:32:56,383 - INFO - VN ctest-vn-02790302 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 14:32:56,383 - DEBUG - Verifying the vn in opserver 2025-06-19 14:32:56,383 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302 virtual network link through opserver 10.0.0.38 2025-06-19 14:32:56,384 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 14:32:56,729 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 14:32:56,784 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302?flat'} 2025-06-19 14:32:56,784 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302 is found in opserver 2025-06-19 14:32:56,796 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 14:32:56,801 - DEBUG - VRF ids for VN ctest-vn-02790302: {} 2025-06-19 14:32:56,802 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:32:56,808 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:32:56,820 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:32:56,890 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:56,902 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:56,912 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:32:56,920 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:32:56,927 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1d19171-1369-4e85-8da6-74474f05d654 2025-06-19 14:32:56,934 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 14:32:56,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:56,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:32:56,957 - INFO - Verified VN network id 9 for VN a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:56,957 - INFO - Verifications in API Server for VN ctest-vn-77469525 passed 2025-06-19 14:32:56,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:56,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:32:56,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:32:56,982 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f1d19171-1369-4e85-8da6-74474f05d654 2025-06-19 14:32:56,994 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-77469525', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-19566197', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11860783772177089418', 'uuid-lslong': '13064663938089446430'}, 'enable': 'true', 'created': '2025-06-19T14:32:54', 'last-modified': '2025-06-19T14:32:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.528003'} 2025-06-19 14:32:57,001 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-19 14:32:57,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77469525 passed 2025-06-19 14:32:57,001 - DEBUG - ====Verifying policy data for ctest-vn-77469525 in API_Server ====== 2025-06-19 14:32:57,002 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:32:57,007 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:32:57,020 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:32:57,091 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a499f7ff-ea55-438a-b54f-02a1d3ad6c1e 2025-06-19 14:32:57,102 - DEBUG - ==>Verifying data for policy with id: d416dee6-6efc-4ce3-bc20-3ceff0d0aff8, fqn: ['default-domain', 'ctest-TestBasicPolicy-19566197', 'ctest-policy-allow-all-43955914'] 2025-06-19 14:32:57,102 - INFO - VN ctest-vn-77469525 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-19 14:32:57,102 - DEBUG - Verifying the vn in opserver 2025-06-19 14:32:57,102 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-77469525 virtual network link through opserver 10.0.0.38 2025-06-19 14:32:57,102 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-06-19 14:32:57,114 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-77469525', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-77469525?flat'} 2025-06-19 14:32:57,114 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-77469525 is found in opserver 2025-06-19 14:32:57,126 - DEBUG - Do not have enough data to verify VN in agent 2025-06-19 14:32:57,132 - DEBUG - VRF ids for VN ctest-vn-77469525: {} 2025-06-19 14:32:57,186 - DEBUG - Services list from nova: [, , ] 2025-06-19 14:32:58,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3497-1) 2025-06-19 14:32:59,651 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3497-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3497-1) 2025-06-19 14:32:59,651 - INFO - Waiting for VM ctest-TestBasicPolicy-19566197-15797690 to be up.. 2025-06-19 14:32:59,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-19 14:33:04,823 - DEBUG - VM is in ACTIVE state now 2025-06-19 14:33:04,823 - INFO - VM name : ctest-TestBasicPolicy-19566197-15797690 2025-06-19 14:33:04,900 - DEBUG - VM ctest-TestBasicPolicy-19566197-15797690 ID is 6900e37d-98f0-4f38-87fb-f1b8562cea0d 2025-06-19 14:33:04,919 - DEBUG - VM ctest-TestBasicPolicy-19566197-15797690 launched on Node cn-jenkins-deploy-platform-ansible-os-3497-1 2025-06-19 14:33:04,995 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6900e37d-98f0-4f38-87fb-f1b8562cea0d 2025-06-19 14:33:05,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25b760a9-0f90-4eb3-a340-a6e78a1e84f7 2025-06-19 14:33:08,265 - 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 1027ms') 2025-06-19 14:33:08,266 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19566197-15797690 failed! 2025-06-19 14:33:08,323 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-19566197:ctest-vn-02790302 is 35.191.0.193 and allocation pool is NOT set 2025-06-19 14:33:10,382 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/5.235/10.050/4.814 ms') 2025-06-19 14:33:10,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-19566197-15797690 passed 2025-06-19 14:33:10,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 14:33:10,535 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19566197-15797690, IP 35.191.0.195, Port 22 2025-06-19 14:33:10,694 - DEBUG - VM ctest-TestBasicPolicy-19566197-15797690 is ready for SSH connections 2025-06-19 14:33:10,695 - INFO - Waiting for VM ctest-TestBasicPolicy-19566197-68797553 to be up.. 2025-06-19 14:33:10,776 - DEBUG - VM is in ACTIVE state now 2025-06-19 14:33:10,776 - INFO - VM name : ctest-TestBasicPolicy-19566197-68797553 2025-06-19 14:33:10,859 - DEBUG - VM ctest-TestBasicPolicy-19566197-68797553 ID is 4157a8d3-bc32-43e2-b80b-86ace37aab05 2025-06-19 14:33:10,859 - DEBUG - VM ctest-TestBasicPolicy-19566197-68797553 launched on Node cn-jenkins-deploy-platform-ansible-os-3497-1 2025-06-19 14:33:10,940 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4157a8d3-bc32-43e2-b80b-86ace37aab05 2025-06-19 14:33:10,949 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/241419b7-a2b1-49b1-a631-f7f805cdff46 2025-06-19 14:33:12,201 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.435 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 = 0.435/1.929/3.423/1.494 ms') 2025-06-19 14:33:12,201 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-19566197-68797553 passed 2025-06-19 14:33:12,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 14:33:12,359 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-19566197-68797553, IP 165.18.137.3, Port 22 2025-06-19 14:33:12,515 - DEBUG - VM ctest-TestBasicPolicy-19566197-68797553 is ready for SSH connections 2025-06-19 14:33:12,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 14:33:12,515 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.18.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 14:33:12,516 - DEBUG - ping -s 56 -c 3 -W 1 165.18.137.3 2025-06-19 14:33:16,267 - DEBUG - PING 165.18.137.3 (165.18.137.3): 56 data bytes 64 bytes from 165.18.137.3: seq=0 ttl=63 time=3.599 ms 64 bytes from 165.18.137.3: seq=1 ttl=63 time=1.020 ms 64 bytes from 165.18.137.3: seq=2 ttl=63 time=0.825 ms --- 165.18.137.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.825/1.814/3.599 ms 2025-06-19 14:33:16,267 - INFO - Ping to IP 165.18.137.3 from VM ctest-TestBasicPolicy-19566197-15797690 passed 2025-06-19 14:33:16,451 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d416dee6-6efc-4ce3-bc20-3ceff0d0aff8", "href": "http://10.0.0.38:8082/network-policy/d416dee6-6efc-4ce3-bc20-3ceff0d0aff8"}} 2025-06-19 14:33:16,451 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-19 14:33:16,451 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 165.18.137.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-06-19 14:33:16,451 - DEBUG - ping -s 56 -c 3 -W 1 165.18.137.3 2025-06-19 14:33:19,680 - DEBUG - PING 165.18.137.3 (165.18.137.3): 56 data bytes 64 bytes from 165.18.137.3: seq=0 ttl=63 time=1.463 ms --- 165.18.137.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.463/1.463/1.463 ms 2025-06-19 14:33:19,681 - WARNING - Ping to IP 165.18.137.3 from VM ctest-TestBasicPolicy-19566197-15797690 failed 2025-06-19 14:33:19,681 - INFO - Deleting VM ctest-TestBasicPolicy-19566197-68797553 2025-06-19 14:33:19,746 - INFO - Deleting VM ctest-TestBasicPolicy-19566197-15797690 2025-06-19 14:33:20,165 - INFO - Deleted policy ctest-policy-allow-all-43955914 2025-06-19 14:33:20,165 - INFO - Deleting VN ctest-vn-77469525 2025-06-19 14:33:20,200 - DEBUG - VN a499f7ff-ea55-438a-b54f-02a1d3ad6c1e still in use: Unable to complete operation on network a499f7ff-ea55-438a-b54f-02a1d3ad6c1e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc856c0f-e24d-4706-8b5e-c719da1ca088'] 2025-06-19 14:33:20,200 - WARNING - Deleting VN ctest-vn-77469525 failed..Will retry 2025-06-19 14:33:22,313 - DEBUG - Response for deleting network () 2025-06-19 14:33:22,313 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/7c9c0e63-792c-420c-8971-cb41c9d28b51 2025-06-19 14:33:22,318 - DEBUG - Response Code: 404 2025-06-19 14:33:22,319 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:33:22,325 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:33:22,382 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:33:22,462 - INFO - Validated that VN ctest-vn-77469525 is not found in API Server 2025-06-19 14:33:22,474 - DEBUG - VN ctest-vn-77469525 is not present in Agent 10.0.0.38 2025-06-19 14:33:22,474 - INFO - Validated that VN ctest-vn-77469525 is not in any agent 2025-06-19 14:33:22,491 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77469525 info 2025-06-19 14:33:22,491 - INFO - Deleting VN ctest-vn-02790302 2025-06-19 14:33:22,612 - DEBUG - Response for deleting network () 2025-06-19 14:33:22,613 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/715a9b71-099a-4c97-aa90-c20e8aa5a182 2025-06-19 14:33:22,619 - DEBUG - Response Code: 404 2025-06-19 14:33:22,619 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-06-19 14:33:22,625 - DEBUG - Requesting: http://10.0.0.38:8082/domain/408fa638-d3b0-456a-b9d0-416ce21a7ae4 2025-06-19 14:33:22,680 - DEBUG - Requesting: http://10.0.0.38:8082/project/938a7af5-a63a-40dd-adbc-653cee36c04a 2025-06-19 14:33:22,755 - INFO - Validated that VN ctest-vn-02790302 is not found in API Server 2025-06-19 14:33:22,767 - DEBUG - VN ctest-vn-02790302 is not present in Agent 10.0.0.38 2025-06-19 14:33:22,767 - INFO - Validated that VN ctest-vn-02790302 is not in any agent 2025-06-19 14:33:22,784 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02790302 info 2025-06-19 14:33:23,041 - DEBUG - No XMPP flaps were noticed during the test 2025-06-19 14:33:23,041 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-06-19 14:33:23,041 - INFO - -------------------------------------------------------------------------------- 2025-06-19 14:33:23,748 - INFO - Deleted project: ctest-TestBasicPolicy-19566197, ID : 938a7af5-a63a-40dd-adbc-653cee36c04a