2025-10-28 19:45:29,790 - INFO - Domain Default found not creating 2025-10-28 19:45:29,956 - INFO - Project ctest-TestBasicPolicy-03008741 not found, creating it 2025-10-28 19:45:30,384 - INFO - Created Project:ctest-TestBasicPolicy-03008741, ID : fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:45:31,808 - INFO - ================================================================================ 2025-10-28 19:45:31,809 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-28 19:45:31,809 - 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-28 19:45:32,066 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.17': '0'}} with 2025-10-28 19:45:32,067 - INFO - Initial checks done. Running the testcase now 2025-10-28 19:45:32,067 - INFO - 2025-10-28 19:45:32,764 - DEBUG - Response for create_network : {'network': {'id': 'c26f36a8-e308-4463-9c94-f3d7c989ce8e', 'name': 'ctest-vn-03099284', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-vn-03099284'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 19:45:33,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ac2a26f5-0e56-4d67-81d0-07c59222f06e', 'name': '', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'network_id': 'c26f36a8-e308-4463-9c94-f3d7c989ce8e', 'ip_version': 4, 'cidr': '53.60.208.64/26', 'allocation_pools': [{'start': '53.60.208.66', 'end': '53.60.208.126'}], 'gateway_ip': '53.60.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.60.208.66', 'tags': [], 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982'}} 2025-10-28 19:45:33,137 - INFO - Created VN ctest-vn-03099284 2025-10-28 19:45:33,197 - DEBUG - VN ctest-vn-03099284 UUID is c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:33,518 - DEBUG - Response for create_network : {'network': {'id': 'c93f5a5c-fb54-47f7-962b-cc5836ea112c', 'name': 'ctest-vn-35189253', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-vn-35189253'], 'port_security_enabled': True, 'description': ''}} 2025-10-28 19:45:33,679 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe509dae-e0a8-4359-ac21-d138148a9625', 'name': '', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'network_id': 'c93f5a5c-fb54-47f7-962b-cc5836ea112c', 'ip_version': 4, 'cidr': '91.22.46.128/26', 'allocation_pools': [{'start': '91.22.46.130', 'end': '91.22.46.190'}], 'gateway_ip': '91.22.46.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.22.46.130', 'tags': [], 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982'}} 2025-10-28 19:45:33,697 - INFO - Created VN ctest-vn-35189253 2025-10-28 19:45:33,749 - DEBUG - VN ctest-vn-35189253 UUID is c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:33,862 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284, 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-03008741:ctest-vn-35189253, 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-28 19:45:34,148 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c26f36a8-e308-4463-9c94-f3d7c989ce8e', 'name': 'ctest-vn-03099284', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ac2a26f5-0e56-4d67-81d0-07c59222f06e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-vn-03099284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-policy-allow-all-94180904']], 'subnet_ipam': [{'subnet_cidr': '53.60.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 19:45:34,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c93f5a5c-fb54-47f7-962b-cc5836ea112c', 'name': 'ctest-vn-35189253', 'tenant_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'project_id': 'fd2b0dfd6be547a5aaa73c6643dcf982', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe509dae-e0a8-4359-ac21-d138148a9625'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-vn-35189253'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-policy-allow-all-94180904']], 'subnet_ipam': [{'subnet_cidr': '91.22.46.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-28 19:45:34,517 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:45:34,811 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:45:34,840 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:45:34,850 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:45:34,923 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:34,934 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:34,944 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:45:34,950 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:45:34,956 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/eeb9b933-3a36-4136-8145-ea41085ba92f 2025-10-28 19:45:34,963 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 19:45:34,963 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:34,974 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:45:34,988 - INFO - Verified VN network id 12 for VN c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:34,988 - INFO - Verifications in API Server for VN ctest-vn-03099284 passed 2025-10-28 19:45:34,988 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:34,996 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:45:35,002 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:45:35,008 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/eeb9b933-3a36-4136-8145-ea41085ba92f 2025-10-28 19:45:35,019 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03008741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14010477064764277859', 'uuid-lslong': '11282911074594705038'}, 'enable': 'true', 'created': '2025-10-28T19:45:32', 'last-modified': '2025-10-28T19:45:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895670'} 2025-10-28 19:45:35,025 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-28 19:45:35,025 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03099284 passed 2025-10-28 19:45:35,025 - DEBUG - ====Verifying policy data for ctest-vn-03099284 in API_Server ====== 2025-10-28 19:45:35,025 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:45:35,030 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:45:35,039 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:45:35,112 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c26f36a8-e308-4463-9c94-f3d7c989ce8e 2025-10-28 19:45:35,121 - DEBUG - ==>Verifying data for policy with id: 971cf189-c1d5-43b5-a169-89f6327fd3c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-policy-allow-all-94180904'] 2025-10-28 19:45:35,121 - INFO - VN ctest-vn-03099284 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 19:45:35,121 - DEBUG - Verifying the vn in opserver 2025-10-28 19:45:35,122 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284 virtual network link through opserver 10.0.0.65 2025-10-28 19:45:35,122 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-28 19:45:35,423 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-28 19:45:35,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284?flat'} 2025-10-28 19:45:35,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284 is found in opserver 2025-10-28 19:45:35,486 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 19:45:35,489 - DEBUG - VRF ids for VN ctest-vn-03099284: {} 2025-10-28 19:45:35,489 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:45:35,510 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:45:35,520 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:45:35,592 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,603 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,611 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:45:35,618 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:45:35,625 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/c6a10a58-7abf-4c3f-8001-e179d2b50cb7 2025-10-28 19:45:35,633 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 19:45:35,633 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,642 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:45:35,657 - INFO - Verified VN network id 13 for VN c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,657 - INFO - Verifications in API Server for VN ctest-vn-35189253 passed 2025-10-28 19:45:35,657 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,670 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:45:35,677 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:45:35,683 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/c6a10a58-7abf-4c3f-8001-e179d2b50cb7 2025-10-28 19:45:35,696 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-35189253', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03008741', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14501408680556382199', 'uuid-lslong': '10820967208938246444'}, 'enable': 'true', 'created': '2025-10-28T19:45:33', 'last-modified': '2025-10-28T19:45:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.346701'} 2025-10-28 19:45:35,702 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-28 19:45:35,702 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35189253 passed 2025-10-28 19:45:35,703 - DEBUG - ====Verifying policy data for ctest-vn-35189253 in API_Server ====== 2025-10-28 19:45:35,703 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:45:35,708 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:45:35,719 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:45:35,787 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/c93f5a5c-fb54-47f7-962b-cc5836ea112c 2025-10-28 19:45:35,797 - DEBUG - ==>Verifying data for policy with id: 971cf189-c1d5-43b5-a169-89f6327fd3c0, fqn: ['default-domain', 'ctest-TestBasicPolicy-03008741', 'ctest-policy-allow-all-94180904'] 2025-10-28 19:45:35,798 - INFO - VN ctest-vn-35189253 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-28 19:45:35,798 - DEBUG - Verifying the vn in opserver 2025-10-28 19:45:35,798 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-35189253 virtual network link through opserver 10.0.0.65 2025-10-28 19:45:35,798 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks 2025-10-28 19:45:35,808 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-35189253', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-35189253?flat'} 2025-10-28 19:45:35,808 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-35189253 is found in opserver 2025-10-28 19:45:35,816 - DEBUG - Do not have enough data to verify VN in agent 2025-10-28 19:45:35,821 - DEBUG - VRF ids for VN ctest-vn-35189253: {} 2025-10-28 19:45:35,878 - DEBUG - Services list from nova: [, , ] 2025-10-28 19:45:36,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4516-1) 2025-10-28 19:45:38,034 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4516-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4516-1) 2025-10-28 19:45:38,035 - INFO - Waiting for VM ctest-TestBasicPolicy-03008741-14210066 to be up.. 2025-10-28 19:45:38,120 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-28 19:45:43,207 - DEBUG - VM is in ACTIVE state now 2025-10-28 19:45:43,207 - INFO - VM name : ctest-TestBasicPolicy-03008741-14210066 2025-10-28 19:45:43,282 - DEBUG - VM ctest-TestBasicPolicy-03008741-14210066 ID is 03c24c99-365b-40eb-b836-d64e329c7892 2025-10-28 19:45:43,302 - DEBUG - VM ctest-TestBasicPolicy-03008741-14210066 launched on Node cn-jenkins-deploy-platform-ansible-os-4516-1 2025-10-28 19:45:43,372 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/03c24c99-365b-40eb-b836-d64e329c7892 2025-10-28 19:45:43,381 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/dd948858-1f82-483b-b9fb-ae30eabc5720 2025-10-28 19:45:46,574 - 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 1009ms') 2025-10-28 19:45:46,574 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03008741-14210066 failed! 2025-10-28 19:45:46,629 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03008741:ctest-vn-03099284 is 53.60.208.65 and allocation pool is NOT set 2025-10-28 19:45:48,695 - 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.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.32 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 = 1.324/5.412/9.501/4.088 ms') 2025-10-28 19:45:48,695 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03008741-14210066 passed 2025-10-28 19:45:48,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 19:45:48,841 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03008741-14210066, IP 53.60.208.67, Port 22 2025-10-28 19:45:48,997 - DEBUG - VM ctest-TestBasicPolicy-03008741-14210066 is ready for SSH connections 2025-10-28 19:45:48,997 - INFO - Waiting for VM ctest-TestBasicPolicy-03008741-43367940 to be up.. 2025-10-28 19:45:49,078 - DEBUG - VM is in ACTIVE state now 2025-10-28 19:45:49,078 - INFO - VM name : ctest-TestBasicPolicy-03008741-43367940 2025-10-28 19:45:49,148 - DEBUG - VM ctest-TestBasicPolicy-03008741-43367940 ID is abd4eee4-ecf8-4bf2-b687-76773bcfc2dd 2025-10-28 19:45:49,148 - DEBUG - VM ctest-TestBasicPolicy-03008741-43367940 launched on Node cn-jenkins-deploy-platform-ansible-os-4516-1 2025-10-28 19:45:49,221 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/abd4eee4-ecf8-4bf2-b687-76773bcfc2dd 2025-10-28 19:45:49,229 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4f3ed0c4-8239-40e2-9148-27933871fdfd 2025-10-28 19:45:50,453 - 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=0.452 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.452/1.869/3.286/1.417 ms') 2025-10-28 19:45:50,454 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03008741-43367940 passed 2025-10-28 19:45:50,601 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 19:45:50,601 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03008741-43367940, IP 91.22.46.131, Port 22 2025-10-28 19:45:50,761 - DEBUG - VM ctest-TestBasicPolicy-03008741-43367940 is ready for SSH connections 2025-10-28 19:45:50,761 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 19:45:50,761 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.22.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-28 19:45:50,761 - DEBUG - ping -s 56 -c 3 -W 1 91.22.46.131 2025-10-28 19:45:54,475 - DEBUG - PING 91.22.46.131 (91.22.46.131): 56 data bytes 64 bytes from 91.22.46.131: seq=0 ttl=63 time=3.637 ms 64 bytes from 91.22.46.131: seq=1 ttl=63 time=0.879 ms 64 bytes from 91.22.46.131: seq=2 ttl=63 time=1.838 ms --- 91.22.46.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/2.118/3.637 ms 2025-10-28 19:45:54,475 - INFO - Ping to IP 91.22.46.131 from VM ctest-TestBasicPolicy-03008741-14210066 passed 2025-10-28 19:45:54,653 - DEBUG - Policy Update Response {"network-policy": {"uuid": "971cf189-c1d5-43b5-a169-89f6327fd3c0", "href": "http://10.0.0.65:8082/network-policy/971cf189-c1d5-43b5-a169-89f6327fd3c0"}} 2025-10-28 19:45:54,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-28 19:45:54,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.22.46.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-10-28 19:45:54,653 - DEBUG - ping -s 56 -c 3 -W 1 91.22.46.131 2025-10-28 19:45:57,859 - DEBUG - PING 91.22.46.131 (91.22.46.131): 56 data bytes --- 91.22.46.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-28 19:45:57,859 - WARNING - Ping to IP 91.22.46.131 from VM ctest-TestBasicPolicy-03008741-14210066 failed 2025-10-28 19:45:57,859 - INFO - Deleting VM ctest-TestBasicPolicy-03008741-43367940 2025-10-28 19:45:57,973 - INFO - Deleting VM ctest-TestBasicPolicy-03008741-14210066 2025-10-28 19:45:58,335 - INFO - Deleted policy ctest-policy-allow-all-94180904 2025-10-28 19:45:58,335 - INFO - Deleting VN ctest-vn-35189253 2025-10-28 19:45:58,369 - DEBUG - VN c93f5a5c-fb54-47f7-962b-cc5836ea112c still in use: Unable to complete operation on network c93f5a5c-fb54-47f7-962b-cc5836ea112c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2ae3b1c6-4e4b-4d4a-bdd2-fa433bdbc65f'] 2025-10-28 19:45:58,369 - WARNING - Deleting VN ctest-vn-35189253 failed..Will retry 2025-10-28 19:46:00,469 - DEBUG - Response for deleting network () 2025-10-28 19:46:00,470 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/1c6622a4-14f1-4230-abd0-d726ccbc3745 2025-10-28 19:46:00,475 - DEBUG - Response Code: 404 2025-10-28 19:46:00,475 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:46:00,480 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:46:00,534 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:46:00,603 - INFO - Validated that VN ctest-vn-35189253 is not found in API Server 2025-10-28 19:46:00,613 - DEBUG - VN ctest-vn-35189253 is not present in Agent 10.0.0.65 2025-10-28 19:46:00,613 - INFO - Validated that VN ctest-vn-35189253 is not in any agent 2025-10-28 19:46:00,626 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-35189253 info 2025-10-28 19:46:00,626 - INFO - Deleting VN ctest-vn-03099284 2025-10-28 19:46:00,723 - DEBUG - Response for deleting network () 2025-10-28 19:46:00,723 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/b4244555-51d0-46d5-94ee-880ae086d1e2 2025-10-28 19:46:00,728 - DEBUG - Response Code: 404 2025-10-28 19:46:00,729 - DEBUG - Requesting: http://10.0.0.65:8082/domains 2025-10-28 19:46:00,733 - DEBUG - Requesting: http://10.0.0.65:8082/domain/90046ac9-105d-4fe5-bdd5-957fa9054fcf 2025-10-28 19:46:00,785 - DEBUG - Requesting: http://10.0.0.65:8082/project/fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982 2025-10-28 19:46:00,852 - INFO - Validated that VN ctest-vn-03099284 is not found in API Server 2025-10-28 19:46:00,862 - DEBUG - VN ctest-vn-03099284 is not present in Agent 10.0.0.65 2025-10-28 19:46:00,862 - INFO - Validated that VN ctest-vn-03099284 is not in any agent 2025-10-28 19:46:00,875 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03099284 info 2025-10-28 19:46:01,135 - DEBUG - No XMPP flaps were noticed during the test
2025-10-28 19:46:01,135 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-28 19:46:01,135 - INFO - -------------------------------------------------------------------------------- 2025-10-28 19:46:01,797 - INFO - Deleted project: ctest-TestBasicPolicy-03008741, ID : fd2b0dfd-6be5-47a5-aaa7-3c6643dcf982