2025-06-10 09:36:52,520 - INFO - Domain Default found not creating 2025-06-10 09:36:52,660 - INFO - Project ctest-TestBasicPolicy-21418406 not found, creating it 2025-06-10 09:36:53,120 - INFO - Created Project:ctest-TestBasicPolicy-21418406, ID : a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:36:54,541 - INFO - ================================================================================ 2025-06-10 09:36:54,541 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-06-10 09:36:54,541 - 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-10 09:36:54,797 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-06-10 09:36:54,797 - INFO - Initial checks done. Running the testcase now 2025-06-10 09:36:54,797 - INFO - 2025-06-10 09:36:55,376 - DEBUG - Response for create_network : {'network': {'id': '07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f', 'name': 'ctest-vn-51280727', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-vn-51280727'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:55,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '5928ff88-0368-4bb0-8f14-ce12ecb68794', 'name': '', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'network_id': '07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f', 'ip_version': 4, 'cidr': '53.31.127.128/26', 'allocation_pools': [{'start': '53.31.127.130', 'end': '53.31.127.190'}], 'gateway_ip': '53.31.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.31.127.130', 'tags': [], 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66'}} 2025-06-10 09:36:55,596 - INFO - Created VN ctest-vn-51280727 2025-06-10 09:36:55,647 - DEBUG - VN ctest-vn-51280727 UUID is 07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:55,983 - DEBUG - Response for create_network : {'network': {'id': 'c8e38d36-dd14-4155-93e3-49fcdaac6e0d', 'name': 'ctest-vn-88662513', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-vn-88662513'], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:56,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '9156ef79-dc43-4731-92c9-df38ae932077', 'name': '', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'network_id': 'c8e38d36-dd14-4155-93e3-49fcdaac6e0d', 'ip_version': 4, 'cidr': '28.156.31.192/26', 'allocation_pools': [{'start': '28.156.31.194', 'end': '28.156.31.254'}], 'gateway_ip': '28.156.31.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.156.31.194', 'tags': [], 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66'}} 2025-06-10 09:36:56,171 - INFO - Created VN ctest-vn-88662513 2025-06-10 09:36:56,223 - DEBUG - VN ctest-vn-88662513 UUID is c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:56,412 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727, 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-21418406:ctest-vn-88662513, 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-10 09:36:56,709 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f', 'name': 'ctest-vn-51280727', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5928ff88-0368-4bb0-8f14-ce12ecb68794'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-vn-51280727'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-policy-allow-all-43621361']], 'subnet_ipam': [{'subnet_cidr': '53.31.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:56,943 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c8e38d36-dd14-4155-93e3-49fcdaac6e0d', 'name': 'ctest-vn-88662513', 'tenant_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'project_id': 'a20dbce52e8947329b3fd0b85cbc7f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9156ef79-dc43-4731-92c9-df38ae932077'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-vn-88662513'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-policy-allow-all-43621361']], 'subnet_ipam': [{'subnet_cidr': '28.156.31.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-06-10 09:36:57,115 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:36:57,413 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:36:57,443 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:36:57,457 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:36:57,531 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,542 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,555 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:36:57,563 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:36:57,583 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fbc74121-f7f2-4a42-988b-c631ada6028d 2025-06-10 09:36:57,590 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 09:36:57,590 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,600 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:36:57,618 - INFO - Verified VN network id 8 for VN 07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,618 - INFO - Verifications in API Server for VN ctest-vn-51280727 passed 2025-06-10 09:36:57,618 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,629 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:36:57,636 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:36:57,644 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/fbc74121-f7f2-4a42-988b-c631ada6028d 2025-06-10 09:36:57,658 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21418406', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '552434970870370103', 'uuid-lslong': '9968872539344181551'}, 'enable': 'true', 'created': '2025-06-10T09:36:55', 'last-modified': '2025-06-10T09:36:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980176'} 2025-06-10 09:36:57,666 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-06-10 09:36:57,666 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51280727 passed 2025-06-10 09:36:57,666 - DEBUG - ====Verifying policy data for ctest-vn-51280727 in API_Server ====== 2025-06-10 09:36:57,666 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:36:57,673 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:36:57,684 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:36:57,758 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/07aaa4ad-d83b-4f37-8a58-8cc1d6c1992f 2025-06-10 09:36:57,767 - DEBUG - ==>Verifying data for policy with id: dae0315a-5c85-484f-91d2-783372109a17, fqn: ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-policy-allow-all-43621361'] 2025-06-10 09:36:57,768 - INFO - VN ctest-vn-51280727 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 09:36:57,768 - DEBUG - Verifying the vn in opserver 2025-06-10 09:36:57,768 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727 virtual network link through opserver 10.0.0.65 2025-06-10 09:36:57,768 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 09:36:58,064 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 09:36:58,117 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727?flat'} 2025-06-10 09:36:58,117 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727 is found in opserver 2025-06-10 09:36:58,128 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 09:36:58,134 - DEBUG - VRF ids for VN ctest-vn-51280727: {} 2025-06-10 09:36:58,134 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:36:58,139 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:36:58,150 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:36:58,221 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,233 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,242 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:36:58,249 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:36:58,257 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/af7b04e3-6a87-4359-b646-55b721ae9bc0 2025-06-10 09:36:58,265 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 09:36:58,265 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,275 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:36:58,289 - INFO - Verified VN network id 9 for VN c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,289 - INFO - Verifications in API Server for VN ctest-vn-88662513 passed 2025-06-10 09:36:58,289 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,299 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:36:58,307 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:36:58,315 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/af7b04e3-6a87-4359-b646-55b721ae9bc0 2025-06-10 09:36:58,329 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-88662513', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-21418406', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14475568894075748693', 'uuid-lslong': '10656442493638045197'}, 'enable': 'true', 'created': '2025-06-10T09:36:55', 'last-modified': '2025-06-10T09:36:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.411000'} 2025-06-10 09:36:58,336 - DEBUG - Route Targets: ['target:64512:8000006'] 2025-06-10 09:36:58,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88662513 passed 2025-06-10 09:36:58,337 - DEBUG - ====Verifying policy data for ctest-vn-88662513 in API_Server ====== 2025-06-10 09:36:58,337 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:36:58,343 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:36:58,354 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:36:58,425 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c8e38d36-dd14-4155-93e3-49fcdaac6e0d 2025-06-10 09:36:58,435 - DEBUG - ==>Verifying data for policy with id: dae0315a-5c85-484f-91d2-783372109a17, fqn: ['default-domain', 'ctest-TestBasicPolicy-21418406', 'ctest-policy-allow-all-43621361'] 2025-06-10 09:36:58,435 - INFO - VN ctest-vn-88662513 Policy verification: verify_vn_policy_in_api_server, status: True 2025-06-10 09:36:58,435 - DEBUG - Verifying the vn in opserver 2025-06-10 09:36:58,435 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-88662513 virtual network link through opserver 10.0.0.65 2025-06-10 09:36:58,435 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-06-10 09:36:58,444 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-88662513', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-88662513?flat'} 2025-06-10 09:36:58,444 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-88662513 is found in opserver 2025-06-10 09:36:58,455 - DEBUG - Do not have enough data to verify VN in agent 2025-06-10 09:36:58,460 - DEBUG - VRF ids for VN ctest-vn-88662513: {} 2025-06-10 09:36:58,513 - DEBUG - Services list from nova: [, , ] 2025-06-10 09:36:59,576 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3430-1) 2025-06-10 09:37:00,648 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3430-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3430-1) 2025-06-10 09:37:00,649 - INFO - Waiting for VM ctest-TestBasicPolicy-21418406-02463799 to be up.. 2025-06-10 09:37:00,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-06-10 09:37:05,818 - DEBUG - VM is in ACTIVE state now 2025-06-10 09:37:05,819 - INFO - VM name : ctest-TestBasicPolicy-21418406-02463799 2025-06-10 09:37:05,907 - DEBUG - VM ctest-TestBasicPolicy-21418406-02463799 ID is 1fa35eb2-d829-4f13-bab9-451d53c3dd10 2025-06-10 09:37:05,928 - DEBUG - VM ctest-TestBasicPolicy-21418406-02463799 launched on Node cn-jenkins-deploy-platform-ansible-os-3430-1 2025-06-10 09:37:06,015 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/1fa35eb2-d829-4f13-bab9-451d53c3dd10 2025-06-10 09:37:06,025 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/b3dd636a-87a8-423e-bfb3-28d3a23f60e3 2025-06-10 09:37:09,221 - 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 1003ms') 2025-06-10 09:37:09,221 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21418406-02463799 failed! 2025-06-10 09:37:09,279 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-21418406:ctest-vn-51280727 is 53.31.127.129 and allocation pool is NOT set 2025-06-10 09:37:11,342 - 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=9.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.748 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.748/5.099/9.451/4.351 ms') 2025-06-10 09:37:11,342 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-21418406-02463799 passed 2025-06-10 09:37:11,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:37:11,495 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21418406-02463799, IP 53.31.127.131, Port 22 2025-06-10 09:37:11,655 - DEBUG - VM ctest-TestBasicPolicy-21418406-02463799 is ready for SSH connections 2025-06-10 09:37:11,655 - INFO - Waiting for VM ctest-TestBasicPolicy-21418406-30669224 to be up.. 2025-06-10 09:37:11,738 - DEBUG - VM is in ACTIVE state now 2025-06-10 09:37:11,738 - INFO - VM name : ctest-TestBasicPolicy-21418406-30669224 2025-06-10 09:37:11,816 - DEBUG - VM ctest-TestBasicPolicy-21418406-30669224 ID is 82b11317-bfa8-40c5-897d-28dcf961600d 2025-06-10 09:37:11,817 - DEBUG - VM ctest-TestBasicPolicy-21418406-30669224 launched on Node cn-jenkins-deploy-platform-ansible-os-3430-1 2025-06-10 09:37:11,909 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/82b11317-bfa8-40c5-897d-28dcf961600d 2025-06-10 09:37:11,918 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/ce766d1e-cb16-4636-8467-f179e4143509 2025-06-10 09:37:13,175 - 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=2.49 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.505/1.499/2.493/0.994 ms') 2025-06-10 09:37:13,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-21418406-30669224 passed 2025-06-10 09:37:13,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:37:13,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-21418406-30669224, IP 28.156.31.195, Port 22 2025-06-10 09:37:13,493 - DEBUG - VM ctest-TestBasicPolicy-21418406-30669224 is ready for SSH connections 2025-06-10 09:37:13,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:37:13,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.156.31.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 09:37:13,493 - DEBUG - ping -s 56 -c 3 -W 1 28.156.31.195 2025-06-10 09:37:17,511 - DEBUG - PING 28.156.31.195 (28.156.31.195): 56 data bytes 64 bytes from 28.156.31.195: seq=0 ttl=63 time=3.198 ms 64 bytes from 28.156.31.195: seq=1 ttl=63 time=0.908 ms 64 bytes from 28.156.31.195: seq=2 ttl=63 time=1.671 ms --- 28.156.31.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.925/3.198 ms 2025-06-10 09:37:17,511 - INFO - Ping to IP 28.156.31.195 from VM ctest-TestBasicPolicy-21418406-02463799 passed 2025-06-10 09:37:17,691 - DEBUG - Policy Update Response {"network-policy": {"uuid": "dae0315a-5c85-484f-91d2-783372109a17", "href": "http://10.0.0.65:8082/network-policy/dae0315a-5c85-484f-91d2-783372109a17"}} 2025-06-10 09:37:17,691 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-06-10 09:37:17,691 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.156.31.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-06-10 09:37:17,691 - DEBUG - ping -s 56 -c 3 -W 1 28.156.31.195 2025-06-10 09:37:20,895 - DEBUG - PING 28.156.31.195 (28.156.31.195): 56 data bytes --- 28.156.31.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-06-10 09:37:20,896 - WARNING - Ping to IP 28.156.31.195 from VM ctest-TestBasicPolicy-21418406-02463799 failed 2025-06-10 09:37:20,897 - INFO - Deleting VM ctest-TestBasicPolicy-21418406-30669224 2025-06-10 09:37:20,971 - INFO - Deleting VM ctest-TestBasicPolicy-21418406-02463799 2025-06-10 09:37:21,367 - INFO - Deleted policy ctest-policy-allow-all-43621361 2025-06-10 09:37:21,367 - INFO - Deleting VN ctest-vn-88662513 2025-06-10 09:37:21,399 - DEBUG - VN c8e38d36-dd14-4155-93e3-49fcdaac6e0d still in use: Unable to complete operation on network c8e38d36-dd14-4155-93e3-49fcdaac6e0d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-159da360-56c3-4875-994a-a183d20212fb'] 2025-06-10 09:37:21,399 - WARNING - Deleting VN ctest-vn-88662513 failed..Will retry 2025-06-10 09:37:23,517 - DEBUG - Response for deleting network () 2025-06-10 09:37:23,517 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/adc9b23b-8748-4d9a-a652-e58523f9ba3b 2025-06-10 09:37:23,522 - DEBUG - Response Code: 404 2025-06-10 09:37:23,522 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:37:23,527 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:37:23,584 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:37:23,652 - INFO - Validated that VN ctest-vn-88662513 is not found in API Server 2025-06-10 09:37:23,662 - DEBUG - VN ctest-vn-88662513 is not present in Agent 10.0.0.65 2025-06-10 09:37:23,663 - INFO - Validated that VN ctest-vn-88662513 is not in any agent 2025-06-10 09:37:23,678 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88662513 info 2025-06-10 09:37:23,678 - INFO - Deleting VN ctest-vn-51280727 2025-06-10 09:37:23,774 - DEBUG - Response for deleting network () 2025-06-10 09:37:23,774 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/493e60c5-b85c-4020-86c9-4b0dfa774baa 2025-06-10 09:37:23,779 - DEBUG - Response Code: 404 2025-06-10 09:37:23,779 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-06-10 09:37:23,788 - DEBUG - Requesting: http://10.0.0.65:8082/domain/5f1e0883-4b0d-4a2d-a890-7b1b04890a66 2025-06-10 09:37:23,841 - DEBUG - Requesting: http://10.0.0.65:8082/project/a20dbce5-2e89-4732-9b3f-d0b85cbc7f66 2025-06-10 09:37:23,912 - INFO - Validated that VN ctest-vn-51280727 is not found in API Server 2025-06-10 09:37:23,923 - DEBUG - VN ctest-vn-51280727 is not present in Agent 10.0.0.65 2025-06-10 09:37:23,923 - INFO - Validated that VN ctest-vn-51280727 is not in any agent 2025-06-10 09:37:23,943 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51280727 info 2025-06-10 09:37:24,197 - DEBUG - No XMPP flaps were noticed during the test
2025-06-10 09:37:24,198 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-06-10 09:37:24,198 - INFO - -------------------------------------------------------------------------------- 2025-06-10 09:37:24,886 - INFO - Deleted project: ctest-TestBasicPolicy-21418406, ID : a20dbce5-2e89-4732-9b3f-d0b85cbc7f66