2025-11-18 01:11:42,798 - INFO - Domain Default found not creating 2025-11-18 01:11:43,001 - INFO - Project ctest-TestBasicPolicy-29012100 not found, creating it 2025-11-18 01:11:43,498 - INFO - Created Project:ctest-TestBasicPolicy-29012100, ID : 4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:11:45,154 - INFO - ================================================================================ 2025-11-18 01:11:45,154 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-18 01:11:45,154 - 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-11-18 01:11:45,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-11-18 01:11:45,415 - INFO - Initial checks done. Running the testcase now 2025-11-18 01:11:45,416 - INFO - 2025-11-18 01:11:46,021 - DEBUG - Response for create_network : {'network': {'id': '79788036-ad00-4062-844c-31c295dea5ec', 'name': 'ctest-vn-39294067', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'project_id': '4abd7e88b98b453b994762691e28e51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-vn-39294067'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:46,234 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc119f5f-59b7-440b-ad43-8156f188e0ac', 'name': '', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'network_id': '79788036-ad00-4062-844c-31c295dea5ec', 'ip_version': 4, 'cidr': '56.173.14.64/26', 'allocation_pools': [{'start': '56.173.14.66', 'end': '56.173.14.126'}], 'gateway_ip': '56.173.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.173.14.66', 'tags': [], 'project_id': '4abd7e88b98b453b994762691e28e51a'}} 2025-11-18 01:11:46,258 - INFO - Created VN ctest-vn-39294067 2025-11-18 01:11:46,318 - DEBUG - VN ctest-vn-39294067 UUID is 79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:46,626 - DEBUG - Response for create_network : {'network': {'id': '5d12a98b-cac5-4a25-9a7f-429d57c1c43b', 'name': 'ctest-vn-54966157', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'project_id': '4abd7e88b98b453b994762691e28e51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-vn-54966157'], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:46,791 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be27da82-434e-42d6-acff-2a697d4f0208', 'name': '', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'network_id': '5d12a98b-cac5-4a25-9a7f-429d57c1c43b', 'ip_version': 4, 'cidr': '52.80.135.64/26', 'allocation_pools': [{'start': '52.80.135.66', 'end': '52.80.135.126'}], 'gateway_ip': '52.80.135.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.80.135.66', 'tags': [], 'project_id': '4abd7e88b98b453b994762691e28e51a'}} 2025-11-18 01:11:46,810 - INFO - Created VN ctest-vn-54966157 2025-11-18 01:11:46,866 - DEBUG - VN ctest-vn-54966157 UUID is 5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:46,988 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067, 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-29012100:ctest-vn-54966157, 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-11-18 01:11:47,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79788036-ad00-4062-844c-31c295dea5ec', 'name': 'ctest-vn-39294067', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'project_id': '4abd7e88b98b453b994762691e28e51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc119f5f-59b7-440b-ad43-8156f188e0ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-vn-39294067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-policy-allow-all-52791681']], 'subnet_ipam': [{'subnet_cidr': '56.173.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:47,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d12a98b-cac5-4a25-9a7f-429d57c1c43b', 'name': 'ctest-vn-54966157', 'tenant_id': '4abd7e88b98b453b994762691e28e51a', 'project_id': '4abd7e88b98b453b994762691e28e51a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['be27da82-434e-42d6-acff-2a697d4f0208'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-vn-54966157'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-policy-allow-all-52791681']], 'subnet_ipam': [{'subnet_cidr': '52.80.135.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-18 01:11:47,694 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:11:47,993 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:11:48,023 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:11:48,035 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:11:48,108 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,117 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,128 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:11:48,137 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:11:48,145 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2aebd4b7-5dd6-4560-bd0e-e83a41764959 2025-11-18 01:11:48,154 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 01:11:48,154 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,166 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:11:48,186 - INFO - Verified VN network id 11 for VN 79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,186 - INFO - Verifications in API Server for VN ctest-vn-39294067 passed 2025-11-18 01:11:48,186 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,196 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:11:48,205 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:11:48,212 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2aebd4b7-5dd6-4560-bd0e-e83a41764959 2025-11-18 01:11:48,224 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29012100', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8752886848113623138', 'uuid-lslong': '9533049223044310508'}, 'enable': 'true', 'created': '2025-11-18T01:11:45', 'last-modified': '2025-11-18T01:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962532'} 2025-11-18 01:11:48,232 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-18 01:11:48,232 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39294067 passed 2025-11-18 01:11:48,232 - DEBUG - ====Verifying policy data for ctest-vn-39294067 in API_Server ====== 2025-11-18 01:11:48,232 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:11:48,240 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:11:48,256 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:11:48,327 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/79788036-ad00-4062-844c-31c295dea5ec 2025-11-18 01:11:48,340 - DEBUG - ==>Verifying data for policy with id: c4239a43-581b-4072-8396-683a5020a479, fqn: ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-policy-allow-all-52791681'] 2025-11-18 01:11:48,340 - INFO - VN ctest-vn-39294067 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 01:11:48,340 - DEBUG - Verifying the vn in opserver 2025-11-18 01:11:48,340 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067 virtual network link through opserver 10.0.0.242 2025-11-18 01:11:48,340 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-18 01:11:48,636 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-18 01:11:48,702 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067?flat'} 2025-11-18 01:11:48,702 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067 is found in opserver 2025-11-18 01:11:48,712 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 01:11:48,717 - DEBUG - VRF ids for VN ctest-vn-39294067: {} 2025-11-18 01:11:48,717 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:11:48,722 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:11:48,734 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:11:48,806 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:48,818 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:48,827 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:11:48,834 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:11:48,840 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8a8222d4-7e0b-4aff-86b8-7db65a46cff4 2025-11-18 01:11:48,847 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 01:11:48,847 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:48,856 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:11:48,874 - INFO - Verified VN network id 12 for VN 5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:48,874 - INFO - Verifications in API Server for VN ctest-vn-54966157 passed 2025-11-18 01:11:48,874 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:48,885 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:11:48,894 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:11:48,901 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/8a8222d4-7e0b-4aff-86b8-7db65a46cff4 2025-11-18 01:11:48,912 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-54966157', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29012100', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6706609212975565349', 'uuid-lslong': '11132690047432770619'}, 'enable': 'true', 'created': '2025-11-18T01:11:46', 'last-modified': '2025-11-18T01:11:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405016'} 2025-11-18 01:11:48,917 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-18 01:11:48,917 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54966157 passed 2025-11-18 01:11:48,917 - DEBUG - ====Verifying policy data for ctest-vn-54966157 in API_Server ====== 2025-11-18 01:11:48,917 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:11:48,923 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:11:48,932 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:11:49,006 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/5d12a98b-cac5-4a25-9a7f-429d57c1c43b 2025-11-18 01:11:49,016 - DEBUG - ==>Verifying data for policy with id: c4239a43-581b-4072-8396-683a5020a479, fqn: ['default-domain', 'ctest-TestBasicPolicy-29012100', 'ctest-policy-allow-all-52791681'] 2025-11-18 01:11:49,016 - INFO - VN ctest-vn-54966157 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-18 01:11:49,016 - DEBUG - Verifying the vn in opserver 2025-11-18 01:11:49,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-54966157 virtual network link through opserver 10.0.0.242 2025-11-18 01:11:49,017 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2025-11-18 01:11:49,027 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-54966157', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-54966157?flat'} 2025-11-18 01:11:49,027 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-54966157 is found in opserver 2025-11-18 01:11:49,038 - DEBUG - Do not have enough data to verify VN in agent 2025-11-18 01:11:49,043 - DEBUG - VRF ids for VN ctest-vn-54966157: {} 2025-11-18 01:11:49,105 - DEBUG - Services list from nova: [, , ] 2025-11-18 01:11:50,179 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:11:51,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4751-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4751-1) 2025-11-18 01:11:51,467 - INFO - Waiting for VM ctest-TestBasicPolicy-29012100-77542648 to be up.. 2025-11-18 01:11:51,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-18 01:11:56,678 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:11:56,678 - INFO - VM name : ctest-TestBasicPolicy-29012100-77542648 2025-11-18 01:11:56,773 - DEBUG - VM ctest-TestBasicPolicy-29012100-77542648 ID is 81924ff7-a82c-45dd-92c6-4f3418d31b42 2025-11-18 01:11:56,803 - DEBUG - VM ctest-TestBasicPolicy-29012100-77542648 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:11:56,889 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/81924ff7-a82c-45dd-92c6-4f3418d31b42 2025-11-18 01:11:56,900 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/1edc2bd6-9e70-4915-a92d-602e370d98ed 2025-11-18 01:12:00,151 - 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 1014ms') 2025-11-18 01:12:00,151 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29012100-77542648 failed! 2025-11-18 01:12:00,214 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29012100:ctest-vn-39294067 is 56.173.14.65 and allocation pool is NOT set 2025-11-18 01:12:04,279 - 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=2 ttl=63 time=3.71 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 3.711/3.711/3.711/0.000 ms') 2025-11-18 01:12:04,279 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29012100-77542648 passed 2025-11-18 01:12:04,426 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:04,426 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29012100-77542648, IP 56.173.14.67, Port 22 2025-11-18 01:12:04,585 - DEBUG - VM ctest-TestBasicPolicy-29012100-77542648 is ready for SSH connections 2025-11-18 01:12:04,585 - INFO - Waiting for VM ctest-TestBasicPolicy-29012100-73725915 to be up.. 2025-11-18 01:12:04,681 - DEBUG - VM is in ACTIVE state now 2025-11-18 01:12:04,681 - INFO - VM name : ctest-TestBasicPolicy-29012100-73725915 2025-11-18 01:12:04,764 - DEBUG - VM ctest-TestBasicPolicy-29012100-73725915 ID is 911a4415-a7f4-4826-95e9-8d5524f2efc1 2025-11-18 01:12:04,765 - DEBUG - VM ctest-TestBasicPolicy-29012100-73725915 launched on Node cn-jenkins-deploy-platform-ansible-os-4751-1 2025-11-18 01:12:04,844 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/911a4415-a7f4-4826-95e9-8d5524f2efc1 2025-11-18 01:12:04,853 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/97e5aa2b-aa3e-4ffa-a474-6d3c39e7ebb8 2025-11-18 01:12:06,096 - 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.26 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.565 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.565/1.913/3.261/1.348 ms') 2025-11-18 01:12:06,096 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29012100-73725915 passed 2025-11-18 01:12:06,250 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:06,250 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29012100-73725915, IP 52.80.135.67, Port 22 2025-11-18 01:12:06,405 - DEBUG - VM ctest-TestBasicPolicy-29012100-73725915 is ready for SSH connections 2025-11-18 01:12:06,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:06,405 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.80.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-18 01:12:06,406 - DEBUG - ping -s 56 -c 3 -W 1 52.80.135.67 2025-11-18 01:12:10,548 - DEBUG - PING 52.80.135.67 (52.80.135.67): 56 data bytes 64 bytes from 52.80.135.67: seq=0 ttl=63 time=4.104 ms 64 bytes from 52.80.135.67: seq=1 ttl=63 time=0.997 ms 64 bytes from 52.80.135.67: seq=2 ttl=63 time=0.935 ms --- 52.80.135.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.012/4.104 ms 2025-11-18 01:12:10,548 - INFO - Ping to IP 52.80.135.67 from VM ctest-TestBasicPolicy-29012100-77542648 passed 2025-11-18 01:12:10,738 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c4239a43-581b-4072-8396-683a5020a479", "href": "http://10.0.0.242:8082/network-policy/c4239a43-581b-4072-8396-683a5020a479"}} 2025-11-18 01:12:10,738 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-18 01:12:10,738 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.80.135.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-11-18 01:12:10,738 - DEBUG - ping -s 56 -c 3 -W 1 52.80.135.67 2025-11-18 01:12:13,990 - DEBUG - PING 52.80.135.67 (52.80.135.67): 56 data bytes --- 52.80.135.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-18 01:12:13,990 - WARNING - Ping to IP 52.80.135.67 from VM ctest-TestBasicPolicy-29012100-77542648 failed 2025-11-18 01:12:13,990 - INFO - Deleting VM ctest-TestBasicPolicy-29012100-73725915 2025-11-18 01:12:14,079 - INFO - Deleting VM ctest-TestBasicPolicy-29012100-77542648 2025-11-18 01:12:14,563 - INFO - Deleted policy ctest-policy-allow-all-52791681 2025-11-18 01:12:14,564 - INFO - Deleting VN ctest-vn-54966157 2025-11-18 01:12:14,608 - DEBUG - VN 5d12a98b-cac5-4a25-9a7f-429d57c1c43b still in use: Unable to complete operation on network 5d12a98b-cac5-4a25-9a7f-429d57c1c43b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91984a46-9c8a-4ec0-aa4e-1cf87b3604e5'] 2025-11-18 01:12:14,608 - WARNING - Deleting VN ctest-vn-54966157 failed..Will retry 2025-11-18 01:12:16,744 - DEBUG - Response for deleting network () 2025-11-18 01:12:16,745 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/3a496507-c5f6-4c8f-b020-79ed9f2d245c 2025-11-18 01:12:16,753 - DEBUG - Response Code: 404 2025-11-18 01:12:16,754 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:12:16,762 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:12:16,825 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:12:16,912 - INFO - Validated that VN ctest-vn-54966157 is not found in API Server 2025-11-18 01:12:16,922 - DEBUG - VN ctest-vn-54966157 is not present in Agent 10.0.0.242 2025-11-18 01:12:16,922 - INFO - Validated that VN ctest-vn-54966157 is not in any agent 2025-11-18 01:12:16,939 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54966157 info 2025-11-18 01:12:16,940 - INFO - Deleting VN ctest-vn-39294067 2025-11-18 01:12:17,092 - DEBUG - Response for deleting network () 2025-11-18 01:12:17,092 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/0966c345-aeff-4932-a226-5728ef6ac4d6 2025-11-18 01:12:17,100 - DEBUG - Response Code: 404 2025-11-18 01:12:17,101 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2025-11-18 01:12:17,114 - DEBUG - Requesting: http://10.0.0.242:8082/domain/678c227f-ddb5-4488-9f90-b45c1e3b9c96 2025-11-18 01:12:17,171 - DEBUG - Requesting: http://10.0.0.242:8082/project/4abd7e88-b98b-453b-9947-62691e28e51a 2025-11-18 01:12:17,263 - INFO - Validated that VN ctest-vn-39294067 is not found in API Server 2025-11-18 01:12:17,282 - DEBUG - VN ctest-vn-39294067 is not present in Agent 10.0.0.242 2025-11-18 01:12:17,282 - INFO - Validated that VN ctest-vn-39294067 is not in any agent 2025-11-18 01:12:17,301 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39294067 info 2025-11-18 01:12:17,581 - DEBUG - No XMPP flaps were noticed during the test
2025-11-18 01:12:17,581 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32]
2025-11-18 01:12:17,581 - INFO - -------------------------------------------------------------------------------- 2025-11-18 01:12:18,435 - INFO - Deleted project: ctest-TestBasicPolicy-29012100, ID : 4abd7e88-b98b-453b-9947-62691e28e51a