2025-10-19 16:11:43,453 - INFO - Domain Default found not creating 2025-10-19 16:11:43,610 - INFO - Project ctest-TestBasicPolicy-12555103 not found, creating it 2025-10-19 16:11:44,058 - INFO - Created Project:ctest-TestBasicPolicy-12555103, ID : bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:11:45,489 - INFO - ================================================================================ 2025-10-19 16:11:45,489 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-19 16:11:45,489 - 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-10-19 16:11:45,745 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-19 16:11:45,745 - INFO - Initial checks done. Running the testcase now 2025-10-19 16:11:45,745 - INFO - 2025-10-19 16:11:46,293 - DEBUG - Response for create_network : {'network': {'id': '4afe52f2-50e4-4543-ae43-6d5ef17b2bc3', 'name': 'ctest-vn-68553821', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-vn-68553821'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:11:46,455 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc9cfbb1-7193-4cb4-867f-9156266a30e9', 'name': '', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'network_id': '4afe52f2-50e4-4543-ae43-6d5ef17b2bc3', 'ip_version': 4, 'cidr': '16.209.74.192/26', 'allocation_pools': [{'start': '16.209.74.194', 'end': '16.209.74.254'}], 'gateway_ip': '16.209.74.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.209.74.194', 'tags': [], 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c'}} 2025-10-19 16:11:46,472 - INFO - Created VN ctest-vn-68553821 2025-10-19 16:11:46,526 - DEBUG - VN ctest-vn-68553821 UUID is 4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:46,802 - DEBUG - Response for create_network : {'network': {'id': '2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d', 'name': 'ctest-vn-21628581', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-vn-21628581'], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:11:46,961 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9a93ccb-6501-4fa0-bc6a-2075741199a7', 'name': '', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'network_id': '2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d', 'ip_version': 4, 'cidr': '37.229.249.64/26', 'allocation_pools': [{'start': '37.229.249.66', 'end': '37.229.249.126'}], 'gateway_ip': '37.229.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.229.249.66', 'tags': [], 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c'}} 2025-10-19 16:11:46,977 - INFO - Created VN ctest-vn-21628581 2025-10-19 16:11:47,026 - DEBUG - VN ctest-vn-21628581 UUID is 2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:47,141 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821, 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-12555103:ctest-vn-21628581, 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-10-19 16:11:47,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4afe52f2-50e4-4543-ae43-6d5ef17b2bc3', 'name': 'ctest-vn-68553821', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc9cfbb1-7193-4cb4-867f-9156266a30e9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-vn-68553821'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-policy-allow-all-00492489']], 'subnet_ipam': [{'subnet_cidr': '16.209.74.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:11:47,713 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d', 'name': 'ctest-vn-21628581', 'tenant_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'project_id': 'bba4ca88e9cf463cb185305fe595fb8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a9a93ccb-6501-4fa0-bc6a-2075741199a7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-vn-21628581'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-policy-allow-all-00492489']], 'subnet_ipam': [{'subnet_cidr': '37.229.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-19 16:11:47,862 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:11:48,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:11:48,180 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:11:48,191 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:11:48,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,271 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,279 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:11:48,285 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:11:48,290 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e8c52a2-b00b-432d-ad78-c68eb5b1ee38 2025-10-19 16:11:48,295 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 16:11:48,295 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,304 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:11:48,318 - INFO - Verified VN network id 11 for VN 4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,318 - INFO - Verifications in API Server for VN ctest-vn-68553821 passed 2025-10-19 16:11:48,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:11:48,333 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:11:48,339 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0e8c52a2-b00b-432d-ad78-c68eb5b1ee38 2025-10-19 16:11:48,349 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12555103', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5403847803583874371', 'uuid-lslong': '12557000440584809411'}, 'enable': 'true', 'created': '2025-10-19T16:11:46', 'last-modified': '2025-10-19T16:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933586'} 2025-10-19 16:11:48,354 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-19 16:11:48,354 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68553821 passed 2025-10-19 16:11:48,355 - DEBUG - ====Verifying policy data for ctest-vn-68553821 in API_Server ====== 2025-10-19 16:11:48,355 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:11:48,359 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:11:48,370 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:11:48,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4afe52f2-50e4-4543-ae43-6d5ef17b2bc3 2025-10-19 16:11:48,454 - DEBUG - ==>Verifying data for policy with id: 9c41adcc-e1d2-4aab-a17b-d22cfd9201b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-policy-allow-all-00492489'] 2025-10-19 16:11:48,454 - INFO - VN ctest-vn-68553821 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 16:11:48,454 - DEBUG - Verifying the vn in opserver 2025-10-19 16:11:48,454 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821 virtual network link through opserver 10.0.0.38 2025-10-19 16:11:48,454 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 16:11:48,748 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 16:11:48,801 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821?flat'} 2025-10-19 16:11:48,801 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821 is found in opserver 2025-10-19 16:11:48,810 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 16:11:48,815 - DEBUG - VRF ids for VN ctest-vn-68553821: {} 2025-10-19 16:11:48,815 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:11:48,820 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:11:48,830 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:11:48,896 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:48,907 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:48,915 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:11:48,922 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:11:48,929 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6676bd72-f38e-454b-8bb8-669d30cc2866 2025-10-19 16:11:48,935 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 16:11:48,936 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:48,944 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:11:48,956 - INFO - Verified VN network id 12 for VN 2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:48,956 - INFO - Verifications in API Server for VN ctest-vn-21628581 passed 2025-10-19 16:11:48,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:48,964 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:11:48,970 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:11:48,976 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6676bd72-f38e-454b-8bb8-669d30cc2866 2025-10-19 16:11:48,986 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-21628581', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12555103', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3155693861707599758', 'uuid-lslong': '13132479994914601821'}, 'enable': 'true', 'created': '2025-10-19T16:11:46', 'last-modified': '2025-10-19T16:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.340150'} 2025-10-19 16:11:48,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-19 16:11:48,991 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21628581 passed 2025-10-19 16:11:48,991 - DEBUG - ====Verifying policy data for ctest-vn-21628581 in API_Server ====== 2025-10-19 16:11:48,991 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:11:48,998 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:11:49,007 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:11:49,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d 2025-10-19 16:11:49,083 - DEBUG - ==>Verifying data for policy with id: 9c41adcc-e1d2-4aab-a17b-d22cfd9201b8, fqn: ['default-domain', 'ctest-TestBasicPolicy-12555103', 'ctest-policy-allow-all-00492489'] 2025-10-19 16:11:49,083 - INFO - VN ctest-vn-21628581 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-19 16:11:49,083 - DEBUG - Verifying the vn in opserver 2025-10-19 16:11:49,083 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-21628581 virtual network link through opserver 10.0.0.38 2025-10-19 16:11:49,083 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-19 16:11:49,092 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-21628581', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-21628581?flat'} 2025-10-19 16:11:49,092 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-21628581 is found in opserver 2025-10-19 16:11:49,100 - DEBUG - Do not have enough data to verify VN in agent 2025-10-19 16:11:49,104 - DEBUG - VRF ids for VN ctest-vn-21628581: {} 2025-10-19 16:11:49,164 - DEBUG - Services list from nova: [, , ] 2025-10-19 16:11:50,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:11:51,309 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4363-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4363-1) 2025-10-19 16:11:51,310 - INFO - Waiting for VM ctest-TestBasicPolicy-12555103-03457208 to be up.. 2025-10-19 16:11:51,382 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-19 16:11:56,460 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:11:56,460 - INFO - VM name : ctest-TestBasicPolicy-12555103-03457208 2025-10-19 16:11:56,539 - DEBUG - VM ctest-TestBasicPolicy-12555103-03457208 ID is ce82f7db-ca68-49b5-8e72-2c75dfaac0fe 2025-10-19 16:11:56,561 - DEBUG - VM ctest-TestBasicPolicy-12555103-03457208 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:11:56,635 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ce82f7db-ca68-49b5-8e72-2c75dfaac0fe 2025-10-19 16:11:56,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5fd29b48-7676-4e33-b4f1-f268d3b7a8bf 2025-10-19 16:11:59,880 - 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 1007ms') 2025-10-19 16:11:59,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12555103-03457208 failed! 2025-10-19 16:11:59,942 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-12555103:ctest-vn-68553821 is 16.209.74.193 and allocation pool is NOT set 2025-10-19 16:12:02,011 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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 = 2.001/5.354/8.707/3.353 ms') 2025-10-19 16:12:02,011 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-12555103-03457208 passed 2025-10-19 16:12:02,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:12:02,162 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12555103-03457208, IP 16.209.74.195, Port 22 2025-10-19 16:12:02,328 - DEBUG - VM ctest-TestBasicPolicy-12555103-03457208 is ready for SSH connections 2025-10-19 16:12:02,328 - INFO - Waiting for VM ctest-TestBasicPolicy-12555103-18602247 to be up.. 2025-10-19 16:12:02,409 - DEBUG - VM is in ACTIVE state now 2025-10-19 16:12:02,409 - INFO - VM name : ctest-TestBasicPolicy-12555103-18602247 2025-10-19 16:12:02,491 - DEBUG - VM ctest-TestBasicPolicy-12555103-18602247 ID is 6f4aff69-c0ec-4e27-91ea-10ff25435e88 2025-10-19 16:12:02,491 - DEBUG - VM ctest-TestBasicPolicy-12555103-18602247 launched on Node cn-jenkins-deploy-platform-ansible-os-4363-1 2025-10-19 16:12:02,581 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6f4aff69-c0ec-4e27-91ea-10ff25435e88 2025-10-19 16:12:02,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/98ac444e-f376-4565-8a5f-9881d1560a89 2025-10-19 16:12:03,842 - 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.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.494/2.890/3.287/0.396 ms') 2025-10-19 16:12:03,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-12555103-18602247 passed 2025-10-19 16:12:03,994 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:12:03,994 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-12555103-18602247, IP 37.229.249.67, Port 22 2025-10-19 16:12:04,161 - DEBUG - VM ctest-TestBasicPolicy-12555103-18602247 is ready for SSH connections 2025-10-19 16:12:04,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:12:04,161 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.229.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 16:12:04,162 - DEBUG - ping -s 56 -c 3 -W 1 37.229.249.67 2025-10-19 16:12:08,215 - DEBUG - PING 37.229.249.67 (37.229.249.67): 56 data bytes 64 bytes from 37.229.249.67: seq=0 ttl=63 time=4.015 ms 64 bytes from 37.229.249.67: seq=1 ttl=63 time=1.058 ms 64 bytes from 37.229.249.67: seq=2 ttl=63 time=1.032 ms --- 37.229.249.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.032/2.035/4.015 ms 2025-10-19 16:12:08,215 - INFO - Ping to IP 37.229.249.67 from VM ctest-TestBasicPolicy-12555103-03457208 passed 2025-10-19 16:12:08,393 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9c41adcc-e1d2-4aab-a17b-d22cfd9201b8", "href": "http://10.0.0.38:8082/network-policy/9c41adcc-e1d2-4aab-a17b-d22cfd9201b8"}} 2025-10-19 16:12:08,394 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-19 16:12:08,394 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.229.249.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-19 16:12:08,394 - DEBUG - ping -s 56 -c 3 -W 1 37.229.249.67 2025-10-19 16:12:11,622 - DEBUG - PING 37.229.249.67 (37.229.249.67): 56 data bytes --- 37.229.249.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-19 16:12:11,623 - WARNING - Ping to IP 37.229.249.67 from VM ctest-TestBasicPolicy-12555103-03457208 failed 2025-10-19 16:12:11,623 - INFO - Deleting VM ctest-TestBasicPolicy-12555103-18602247 2025-10-19 16:12:11,714 - INFO - Deleting VM ctest-TestBasicPolicy-12555103-03457208 2025-10-19 16:12:12,128 - INFO - Deleted policy ctest-policy-allow-all-00492489 2025-10-19 16:12:12,128 - INFO - Deleting VN ctest-vn-21628581 2025-10-19 16:12:12,171 - DEBUG - VN 2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d still in use: Unable to complete operation on network 2bcb46d8-fef6-4f8e-b63f-f0f9fccefb5d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-02331a73-55a3-4ec6-9f45-f9fb5e0871ec'] 2025-10-19 16:12:12,171 - WARNING - Deleting VN ctest-vn-21628581 failed..Will retry 2025-10-19 16:12:14,272 - DEBUG - Response for deleting network () 2025-10-19 16:12:14,273 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/0489d033-f9f4-4b64-bf99-ef88f56f82bd 2025-10-19 16:12:14,281 - DEBUG - Response Code: 404 2025-10-19 16:12:14,282 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:12:14,288 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:12:14,339 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:12:14,413 - INFO - Validated that VN ctest-vn-21628581 is not found in API Server 2025-10-19 16:12:14,424 - DEBUG - VN ctest-vn-21628581 is not present in Agent 10.0.0.38 2025-10-19 16:12:14,424 - INFO - Validated that VN ctest-vn-21628581 is not in any agent 2025-10-19 16:12:14,438 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21628581 info 2025-10-19 16:12:14,438 - INFO - Deleting VN ctest-vn-68553821 2025-10-19 16:12:14,539 - DEBUG - Response for deleting network () 2025-10-19 16:12:14,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/08ef968d-ad64-4667-bfbc-69b91d62bf8c 2025-10-19 16:12:14,545 - DEBUG - Response Code: 404 2025-10-19 16:12:14,546 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-19 16:12:14,550 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4dc0c6e-82e5-43a1-b4de-ae9d09e19243 2025-10-19 16:12:14,602 - DEBUG - Requesting: http://10.0.0.38:8082/project/bba4ca88-e9cf-463c-b185-305fe595fb8c 2025-10-19 16:12:14,680 - INFO - Validated that VN ctest-vn-68553821 is not found in API Server 2025-10-19 16:12:14,692 - DEBUG - VN ctest-vn-68553821 is not present in Agent 10.0.0.38 2025-10-19 16:12:14,692 - INFO - Validated that VN ctest-vn-68553821 is not in any agent 2025-10-19 16:12:14,711 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68553821 info 2025-10-19 16:12:14,974 - DEBUG - No XMPP flaps were noticed during the test
2025-10-19 16:12:14,975 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2025-10-19 16:12:14,975 - INFO - -------------------------------------------------------------------------------- 2025-10-19 16:12:15,671 - INFO - Deleted project: ctest-TestBasicPolicy-12555103, ID : bba4ca88-e9cf-463c-b185-305fe595fb8c