2025-11-17 10:09:42,892 - INFO - Domain Default found not creating 2025-11-17 10:09:43,068 - INFO - Project ctest-TestBasicPolicy-65792706 not found, creating it 2025-11-17 10:09:43,572 - INFO - Created Project:ctest-TestBasicPolicy-65792706, ID : 42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:09:45,151 - INFO - ================================================================================ 2025-11-17 10:09:45,151 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-17 10:09:45,151 - 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-17 10:09:45,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 10:09:45,416 - INFO - Initial checks done. Running the testcase now 2025-11-17 10:09:45,416 - INFO - 2025-11-17 10:09:45,987 - DEBUG - Response for create_network : {'network': {'id': '0eee11c9-5855-4d85-9fbe-c78c1abb9993', 'name': 'ctest-vn-25846846', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'project_id': '42f9743ee30a40ffa866228fa7a9ce97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-vn-25846846'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:09:46,207 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7067db6-9f8c-4799-b30b-ae67a1725b36', 'name': '', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'network_id': '0eee11c9-5855-4d85-9fbe-c78c1abb9993', 'ip_version': 4, 'cidr': '27.164.179.192/26', 'allocation_pools': [{'start': '27.164.179.194', 'end': '27.164.179.254'}], 'gateway_ip': '27.164.179.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.164.179.194', 'tags': [], 'project_id': '42f9743ee30a40ffa866228fa7a9ce97'}} 2025-11-17 10:09:46,228 - INFO - Created VN ctest-vn-25846846 2025-11-17 10:09:46,281 - DEBUG - VN ctest-vn-25846846 UUID is 0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:46,586 - DEBUG - Response for create_network : {'network': {'id': '48391737-68ed-4884-ae1b-84d835951aa1', 'name': 'ctest-vn-51183231', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'project_id': '42f9743ee30a40ffa866228fa7a9ce97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-vn-51183231'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:09:46,764 - DEBUG - Response for create_subnet : {'subnet': {'id': '45a2725c-1f16-4b60-bf5e-6ce0c3274af2', 'name': '', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'network_id': '48391737-68ed-4884-ae1b-84d835951aa1', 'ip_version': 4, 'cidr': '173.220.221.128/26', 'allocation_pools': [{'start': '173.220.221.130', 'end': '173.220.221.190'}], 'gateway_ip': '173.220.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.220.221.130', 'tags': [], 'project_id': '42f9743ee30a40ffa866228fa7a9ce97'}} 2025-11-17 10:09:46,784 - INFO - Created VN ctest-vn-51183231 2025-11-17 10:09:46,837 - DEBUG - VN ctest-vn-51183231 UUID is 48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:46,956 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846, 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-65792706:ctest-vn-51183231, 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-17 10:09:47,245 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0eee11c9-5855-4d85-9fbe-c78c1abb9993', 'name': 'ctest-vn-25846846', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'project_id': '42f9743ee30a40ffa866228fa7a9ce97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7067db6-9f8c-4799-b30b-ae67a1725b36'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-vn-25846846'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-policy-allow-all-96035069']], 'subnet_ipam': [{'subnet_cidr': '27.164.179.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:09:47,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48391737-68ed-4884-ae1b-84d835951aa1', 'name': 'ctest-vn-51183231', 'tenant_id': '42f9743ee30a40ffa866228fa7a9ce97', 'project_id': '42f9743ee30a40ffa866228fa7a9ce97', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45a2725c-1f16-4b60-bf5e-6ce0c3274af2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-vn-51183231'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-policy-allow-all-96035069']], 'subnet_ipam': [{'subnet_cidr': '173.220.221.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-17 10:09:47,661 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:09:47,962 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:09:47,993 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:09:48,006 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:09:48,085 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,097 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,106 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:09:48,113 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:09:48,120 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e6966f2-896d-4daf-b42e-bc16e64606fa 2025-11-17 10:09:48,126 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 10:09:48,126 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,135 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:09:48,153 - INFO - Verified VN network id 11 for VN 0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,153 - INFO - Verifications in API Server for VN ctest-vn-25846846 passed 2025-11-17 10:09:48,153 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,163 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:09:48,170 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:09:48,177 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/1e6966f2-896d-4daf-b42e-bc16e64606fa 2025-11-17 10:09:48,190 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65792706', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1075816917456211333', 'uuid-lslong': '11510857102163417491'}, 'enable': 'true', 'created': '2025-11-17T10:09:45', 'last-modified': '2025-11-17T10:09:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967771'} 2025-11-17 10:09:48,197 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-17 10:09:48,197 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25846846 passed 2025-11-17 10:09:48,197 - DEBUG - ====Verifying policy data for ctest-vn-25846846 in API_Server ====== 2025-11-17 10:09:48,197 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:09:48,203 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:09:48,214 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:09:48,287 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0eee11c9-5855-4d85-9fbe-c78c1abb9993 2025-11-17 10:09:48,298 - DEBUG - ==>Verifying data for policy with id: 692ceace-ccc5-4efc-9965-be8caf62a69a, fqn: ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-policy-allow-all-96035069'] 2025-11-17 10:09:48,298 - INFO - VN ctest-vn-25846846 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 10:09:48,298 - DEBUG - Verifying the vn in opserver 2025-11-17 10:09:48,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846 virtual network link through opserver 10.0.0.33 2025-11-17 10:09:48,298 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 10:09:48,605 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 10:09:48,676 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846?flat'} 2025-11-17 10:09:48,676 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846 is found in opserver 2025-11-17 10:09:48,686 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 10:09:48,691 - DEBUG - VRF ids for VN ctest-vn-25846846: {} 2025-11-17 10:09:48,691 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:09:48,696 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:09:48,708 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:09:48,783 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:48,796 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:48,807 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:09:48,814 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:09:48,821 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ef95aff9-ed39-4c8d-acd7-552f8b458ccc 2025-11-17 10:09:48,829 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 10:09:48,829 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:48,839 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:09:48,856 - INFO - Verified VN network id 12 for VN 48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:48,856 - INFO - Verifications in API Server for VN ctest-vn-51183231 passed 2025-11-17 10:09:48,857 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:48,868 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:09:48,876 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:09:48,884 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/ef95aff9-ed39-4c8d-acd7-552f8b458ccc 2025-11-17 10:09:48,899 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-51183231', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65792706', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5204216371154339972', 'uuid-lslong': '12545767251117415073'}, 'enable': 'true', 'created': '2025-11-17T10:09:46', 'last-modified': '2025-11-17T10:09:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.450034'} 2025-11-17 10:09:48,906 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-17 10:09:48,906 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51183231 passed 2025-11-17 10:09:48,906 - DEBUG - ====Verifying policy data for ctest-vn-51183231 in API_Server ====== 2025-11-17 10:09:48,906 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:09:48,913 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:09:48,927 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:09:49,015 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48391737-68ed-4884-ae1b-84d835951aa1 2025-11-17 10:09:49,024 - DEBUG - ==>Verifying data for policy with id: 692ceace-ccc5-4efc-9965-be8caf62a69a, fqn: ['default-domain', 'ctest-TestBasicPolicy-65792706', 'ctest-policy-allow-all-96035069'] 2025-11-17 10:09:49,024 - INFO - VN ctest-vn-51183231 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-17 10:09:49,024 - DEBUG - Verifying the vn in opserver 2025-11-17 10:09:49,024 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-51183231 virtual network link through opserver 10.0.0.33 2025-11-17 10:09:49,024 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-17 10:09:49,034 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-51183231', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-51183231?flat'} 2025-11-17 10:09:49,034 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-51183231 is found in opserver 2025-11-17 10:09:49,045 - DEBUG - Do not have enough data to verify VN in agent 2025-11-17 10:09:49,049 - DEBUG - VRF ids for VN ctest-vn-51183231: {} 2025-11-17 10:09:49,112 - DEBUG - Services list from nova: [, , ] 2025-11-17 10:09:50,210 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1) 2025-11-17 10:09:51,467 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4740-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4740-1) 2025-11-17 10:09:51,467 - INFO - Waiting for VM ctest-TestBasicPolicy-65792706-56307245 to be up.. 2025-11-17 10:09:51,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 10:09:56,645 - DEBUG - VM is in ACTIVE state now 2025-11-17 10:09:56,645 - INFO - VM name : ctest-TestBasicPolicy-65792706-56307245 2025-11-17 10:09:56,726 - DEBUG - VM ctest-TestBasicPolicy-65792706-56307245 ID is 673ead7d-7e4e-4398-b9f8-68791a72f906 2025-11-17 10:09:56,746 - DEBUG - VM ctest-TestBasicPolicy-65792706-56307245 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1 2025-11-17 10:09:56,837 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/673ead7d-7e4e-4398-b9f8-68791a72f906 2025-11-17 10:09:56,846 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/639493af-bacf-4ea0-9cf7-3a509c272055 2025-11-17 10:10:00,097 - 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 1008ms') 2025-11-17 10:10:00,097 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65792706-56307245 failed! 2025-11-17 10:10:00,157 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65792706:ctest-vn-25846846 is 27.164.179.193 and allocation pool is NOT set 2025-11-17 10:10:02,224 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.547 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.547/4.382/8.218/3.835 ms') 2025-11-17 10:10:02,224 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65792706-56307245 passed 2025-11-17 10:10:02,382 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:10:02,382 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65792706-56307245, IP 27.164.179.195, Port 22 2025-11-17 10:10:02,451 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-17 10:10:02,553 - DEBUG - VM ctest-TestBasicPolicy-65792706-56307245 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-17 10:10:07,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:10:07,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65792706-56307245, IP 27.164.179.195, Port 22 2025-11-17 10:10:07,727 - DEBUG - VM ctest-TestBasicPolicy-65792706-56307245 is ready for SSH connections 2025-11-17 10:10:07,728 - INFO - Waiting for VM ctest-TestBasicPolicy-65792706-78285838 to be up.. 2025-11-17 10:10:07,808 - DEBUG - VM is in ACTIVE state now 2025-11-17 10:10:07,808 - INFO - VM name : ctest-TestBasicPolicy-65792706-78285838 2025-11-17 10:10:07,905 - DEBUG - VM ctest-TestBasicPolicy-65792706-78285838 ID is b89b62d2-3e1c-4ae8-a622-c6d6ae8de727 2025-11-17 10:10:07,905 - DEBUG - VM ctest-TestBasicPolicy-65792706-78285838 launched on Node cn-jenkins-deploy-platform-ansible-os-4740-1 2025-11-17 10:10:07,981 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b89b62d2-3e1c-4ae8-a622-c6d6ae8de727 2025-11-17 10:10:07,990 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1f169ce4-314c-4cf2-84d2-387e1b79743a 2025-11-17 10:10:09,224 - 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.50 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.443/1.970/3.498/1.527 ms') 2025-11-17 10:10:09,224 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65792706-78285838 passed 2025-11-17 10:10:09,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:10:09,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65792706-78285838, IP 173.220.221.131, Port 22 2025-11-17 10:10:09,538 - DEBUG - VM ctest-TestBasicPolicy-65792706-78285838 is ready for SSH connections 2025-11-17 10:10:09,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:10:09,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.220.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:10:09,539 - DEBUG - ping -s 56 -c 3 -W 1 173.220.221.131 2025-11-17 10:10:13,648 - DEBUG - PING 173.220.221.131 (173.220.221.131): 56 data bytes 64 bytes from 173.220.221.131: seq=0 ttl=63 time=4.975 ms 64 bytes from 173.220.221.131: seq=1 ttl=63 time=1.058 ms 64 bytes from 173.220.221.131: seq=2 ttl=63 time=0.776 ms --- 173.220.221.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.776/2.269/4.975 ms 2025-11-17 10:10:13,648 - INFO - Ping to IP 173.220.221.131 from VM ctest-TestBasicPolicy-65792706-56307245 passed 2025-11-17 10:10:13,825 - DEBUG - Policy Update Response {"network-policy": {"uuid": "692ceace-ccc5-4efc-9965-be8caf62a69a", "href": "http://10.0.0.33:8082/network-policy/692ceace-ccc5-4efc-9965-be8caf62a69a"}} 2025-11-17 10:10:13,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 10:10:13,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.220.221.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 10:10:13,825 - DEBUG - ping -s 56 -c 3 -W 1 173.220.221.131 2025-11-17 10:10:17,071 - DEBUG - PING 173.220.221.131 (173.220.221.131): 56 data bytes --- 173.220.221.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 10:10:17,071 - WARNING - Ping to IP 173.220.221.131 from VM ctest-TestBasicPolicy-65792706-56307245 failed 2025-11-17 10:10:17,071 - INFO - Deleting VM ctest-TestBasicPolicy-65792706-78285838 2025-11-17 10:10:17,149 - INFO - Deleting VM ctest-TestBasicPolicy-65792706-56307245 2025-11-17 10:10:17,562 - INFO - Deleted policy ctest-policy-allow-all-96035069 2025-11-17 10:10:17,562 - INFO - Deleting VN ctest-vn-51183231 2025-11-17 10:10:17,602 - DEBUG - VN 48391737-68ed-4884-ae1b-84d835951aa1 still in use: Unable to complete operation on network 48391737-68ed-4884-ae1b-84d835951aa1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cc929bcf-c425-497a-a876-7c46c8af7d98'] 2025-11-17 10:10:17,602 - WARNING - Deleting VN ctest-vn-51183231 failed..Will retry 2025-11-17 10:10:19,813 - DEBUG - Response for deleting network () 2025-11-17 10:10:19,813 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9d9e053b-49b6-49f6-a599-f27a97f084ec 2025-11-17 10:10:19,820 - DEBUG - Response Code: 404 2025-11-17 10:10:19,821 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:10:19,828 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:10:19,886 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:10:19,957 - INFO - Validated that VN ctest-vn-51183231 is not found in API Server 2025-11-17 10:10:19,967 - DEBUG - VN ctest-vn-51183231 is not present in Agent 10.0.0.33 2025-11-17 10:10:19,968 - INFO - Validated that VN ctest-vn-51183231 is not in any agent 2025-11-17 10:10:19,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-51183231 info 2025-11-17 10:10:19,982 - INFO - Deleting VN ctest-vn-25846846 2025-11-17 10:10:20,100 - DEBUG - Response for deleting network () 2025-11-17 10:10:20,100 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ae9f0337-004c-43d7-8965-e6e034f1a1e2 2025-11-17 10:10:20,106 - DEBUG - Response Code: 404 2025-11-17 10:10:20,106 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-17 10:10:20,111 - DEBUG - Requesting: http://10.0.0.33:8082/domain/9568a52a-9a1a-4748-b06a-817f93b312db 2025-11-17 10:10:20,166 - DEBUG - Requesting: http://10.0.0.33:8082/project/42f9743e-e30a-40ff-a866-228fa7a9ce97 2025-11-17 10:10:20,236 - INFO - Validated that VN ctest-vn-25846846 is not found in API Server 2025-11-17 10:10:20,247 - DEBUG - VN ctest-vn-25846846 is not present in Agent 10.0.0.33 2025-11-17 10:10:20,247 - INFO - Validated that VN ctest-vn-25846846 is not in any agent 2025-11-17 10:10:20,262 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25846846 info 2025-11-17 10:10:20,518 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 10:10:20,518 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-11-17 10:10:20,518 - INFO - -------------------------------------------------------------------------------- 2025-11-17 10:10:21,242 - INFO - Deleted project: ctest-TestBasicPolicy-65792706, ID : 42f9743e-e30a-40ff-a866-228fa7a9ce97