2025-11-22 09:46:14,410 - INFO - Domain Default found not creating 2025-11-22 09:46:14,582 - INFO - Project ctest-TestBasicPolicy-97151543 not found, creating it 2025-11-22 09:46:15,050 - INFO - Created Project:ctest-TestBasicPolicy-97151543, ID : 5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:16,560 - INFO - ================================================================================ 2025-11-22 09:46:16,560 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-22 09:46:16,560 - 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-22 09:46:16,822 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-11-22 09:46:16,822 - INFO - Initial checks done. Running the testcase now 2025-11-22 09:46:16,822 - INFO - 2025-11-22 09:46:17,374 - DEBUG - Response for create_network : {'network': {'id': '8fa8192e-5e3f-4847-b421-43cdd60e17f6', 'name': 'ctest-vn-12523213', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'project_id': '5fe19bc9f4774028b4f4f4679247d212', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-vn-12523213'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:46:17,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c6610fa2-da15-402b-999c-852d901e6b98', 'name': '', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'network_id': '8fa8192e-5e3f-4847-b421-43cdd60e17f6', 'ip_version': 4, 'cidr': '201.141.82.0/26', 'allocation_pools': [{'start': '201.141.82.2', 'end': '201.141.82.62'}], 'gateway_ip': '201.141.82.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.141.82.2', 'tags': [], 'project_id': '5fe19bc9f4774028b4f4f4679247d212'}} 2025-11-22 09:46:17,587 - INFO - Created VN ctest-vn-12523213 2025-11-22 09:46:17,640 - DEBUG - VN ctest-vn-12523213 UUID is 8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:17,937 - DEBUG - Response for create_network : {'network': {'id': 'b521e971-94cb-463c-9064-300f31a57b39', 'name': 'ctest-vn-39736088', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'project_id': '5fe19bc9f4774028b4f4f4679247d212', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-vn-39736088'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:46:18,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '810ad6dc-b0b9-4253-9719-d459b341688b', 'name': '', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'network_id': 'b521e971-94cb-463c-9064-300f31a57b39', 'ip_version': 4, 'cidr': '200.244.70.192/26', 'allocation_pools': [{'start': '200.244.70.194', 'end': '200.244.70.254'}], 'gateway_ip': '200.244.70.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.244.70.194', 'tags': [], 'project_id': '5fe19bc9f4774028b4f4f4679247d212'}} 2025-11-22 09:46:18,112 - INFO - Created VN ctest-vn-39736088 2025-11-22 09:46:18,163 - DEBUG - VN ctest-vn-39736088 UUID is b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:18,278 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213, 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-97151543:ctest-vn-39736088, 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-22 09:46:18,566 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8fa8192e-5e3f-4847-b421-43cdd60e17f6', 'name': 'ctest-vn-12523213', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'project_id': '5fe19bc9f4774028b4f4f4679247d212', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c6610fa2-da15-402b-999c-852d901e6b98'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-vn-12523213'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-policy-allow-all-40279267']], 'subnet_ipam': [{'subnet_cidr': '201.141.82.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:46:18,790 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b521e971-94cb-463c-9064-300f31a57b39', 'name': 'ctest-vn-39736088', 'tenant_id': '5fe19bc9f4774028b4f4f4679247d212', 'project_id': '5fe19bc9f4774028b4f4f4679247d212', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['810ad6dc-b0b9-4253-9719-d459b341688b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-vn-39736088'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-policy-allow-all-40279267']], 'subnet_ipam': [{'subnet_cidr': '200.244.70.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-22 09:46:18,959 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:19,263 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:19,295 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:19,307 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:19,379 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,390 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,400 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:19,407 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:19,414 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8174bd6e-7efc-4d50-8efd-8606debcec8e 2025-11-22 09:46:19,420 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-22 09:46:19,420 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,429 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:19,443 - INFO - Verified VN network id 11 for VN 8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,443 - INFO - Verifications in API Server for VN ctest-vn-12523213 passed 2025-11-22 09:46:19,443 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,452 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:19,458 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:19,465 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8174bd6e-7efc-4d50-8efd-8606debcec8e 2025-11-22 09:46:19,477 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97151543', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10351551430451480647', 'uuid-lslong': '12979730152397084662'}, 'enable': 'true', 'created': '2025-11-22T09:46:17', 'last-modified': '2025-11-22T09:46:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935849'} 2025-11-22 09:46:19,482 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-22 09:46:19,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12523213 passed 2025-11-22 09:46:19,483 - DEBUG - ====Verifying policy data for ctest-vn-12523213 in API_Server ====== 2025-11-22 09:46:19,483 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:19,488 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:19,498 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:19,569 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/8fa8192e-5e3f-4847-b421-43cdd60e17f6 2025-11-22 09:46:19,580 - DEBUG - ==>Verifying data for policy with id: 7f45d420-9095-4eca-ae6a-d297cf286770, fqn: ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-policy-allow-all-40279267'] 2025-11-22 09:46:19,581 - INFO - VN ctest-vn-12523213 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-22 09:46:19,581 - DEBUG - Verifying the vn in opserver 2025-11-22 09:46:19,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213 virtual network link through opserver 10.0.0.249 2025-11-22 09:46:19,581 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-22 09:46:19,881 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-22 09:46:19,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213?flat'} 2025-11-22 09:46:19,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213 is found in opserver 2025-11-22 09:46:19,964 - DEBUG - Do not have enough data to verify VN in agent 2025-11-22 09:46:19,969 - DEBUG - VRF ids for VN ctest-vn-12523213: {} 2025-11-22 09:46:19,969 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:19,975 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:19,987 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:20,060 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,073 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,090 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:20,097 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:20,103 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/18304495-d2b3-4f72-957f-ad8d519403cf 2025-11-22 09:46:20,110 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-22 09:46:20,110 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,119 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:20,132 - INFO - Verified VN network id 12 for VN b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,132 - INFO - Verifications in API Server for VN ctest-vn-39736088 passed 2025-11-22 09:46:20,132 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,141 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:20,148 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:20,154 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/18304495-d2b3-4f72-957f-ad8d519403cf 2025-11-22 09:46:20,168 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-39736088', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-97151543', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13051969869133334076', 'uuid-lslong': '10404493880948259641'}, 'enable': 'true', 'created': '2025-11-22T09:46:17', 'last-modified': '2025-11-22T09:46:18', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398913'} 2025-11-22 09:46:20,175 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-22 09:46:20,175 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39736088 passed 2025-11-22 09:46:20,175 - DEBUG - ====Verifying policy data for ctest-vn-39736088 in API_Server ====== 2025-11-22 09:46:20,175 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:20,181 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:20,193 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:20,265 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/b521e971-94cb-463c-9064-300f31a57b39 2025-11-22 09:46:20,274 - DEBUG - ==>Verifying data for policy with id: 7f45d420-9095-4eca-ae6a-d297cf286770, fqn: ['default-domain', 'ctest-TestBasicPolicy-97151543', 'ctest-policy-allow-all-40279267'] 2025-11-22 09:46:20,274 - INFO - VN ctest-vn-39736088 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-22 09:46:20,274 - DEBUG - Verifying the vn in opserver 2025-11-22 09:46:20,274 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-39736088 virtual network link through opserver 10.0.0.249 2025-11-22 09:46:20,274 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-11-22 09:46:20,284 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-39736088', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-39736088?flat'} 2025-11-22 09:46:20,284 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-39736088 is found in opserver 2025-11-22 09:46:20,293 - DEBUG - Do not have enough data to verify VN in agent 2025-11-22 09:46:20,298 - DEBUG - VRF ids for VN ctest-vn-39736088: {} 2025-11-22 09:46:20,356 - DEBUG - Services list from nova: [, , ] 2025-11-22 09:46:21,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:46:22,579 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1) 2025-11-22 09:46:22,579 - INFO - Waiting for VM ctest-TestBasicPolicy-97151543-24178757 to be up.. 2025-11-22 09:46:22,666 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 09:46:27,743 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:46:27,744 - INFO - VM name : ctest-TestBasicPolicy-97151543-24178757 2025-11-22 09:46:27,820 - DEBUG - VM ctest-TestBasicPolicy-97151543-24178757 ID is 2f571121-f634-487b-8ff2-9ed37fc07df7 2025-11-22 09:46:27,839 - DEBUG - VM ctest-TestBasicPolicy-97151543-24178757 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:46:27,918 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/2f571121-f634-487b-8ff2-9ed37fc07df7 2025-11-22 09:46:27,929 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/7b18ea69-45a4-49d8-8fb6-7c82938243a9 2025-11-22 09:46:31,192 - 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 1022ms') 2025-11-22 09:46:31,193 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97151543-24178757 failed! 2025-11-22 09:46:31,247 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-97151543:ctest-vn-12523213 is 201.141.82.1 and allocation pool is NOT set 2025-11-22 09:46:33,310 - 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=7.56 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 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 = 3.043/5.300/7.557/2.257 ms') 2025-11-22 09:46:33,310 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-97151543-24178757 passed 2025-11-22 09:46:33,464 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:46:33,464 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97151543-24178757, IP 201.141.82.3, Port 22 2025-11-22 09:46:33,519 - 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-22 09:46:33,595 - DEBUG - VM ctest-TestBasicPolicy-97151543-24178757 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-22 09:46:38,595 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:46:38,596 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97151543-24178757, IP 201.141.82.3, Port 22 2025-11-22 09:46:38,755 - DEBUG - VM ctest-TestBasicPolicy-97151543-24178757 is ready for SSH connections 2025-11-22 09:46:38,755 - INFO - Waiting for VM ctest-TestBasicPolicy-97151543-46447935 to be up.. 2025-11-22 09:46:38,836 - DEBUG - VM is in ACTIVE state now 2025-11-22 09:46:38,836 - INFO - VM name : ctest-TestBasicPolicy-97151543-46447935 2025-11-22 09:46:38,917 - DEBUG - VM ctest-TestBasicPolicy-97151543-46447935 ID is 3c3ad287-d5fc-4f44-ba44-75fac484f233 2025-11-22 09:46:38,917 - DEBUG - VM ctest-TestBasicPolicy-97151543-46447935 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1 2025-11-22 09:46:38,988 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3c3ad287-d5fc-4f44-ba44-75fac484f233 2025-11-22 09:46:38,996 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a8304ec4-fb77-4995-b6cb-567b8843aa15 2025-11-22 09:46:40,237 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.420/1.712/3.005/1.292 ms') 2025-11-22 09:46:40,237 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-97151543-46447935 passed 2025-11-22 09:46:40,392 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:46:40,392 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-97151543-46447935, IP 200.244.70.195, Port 22 2025-11-22 09:46:40,548 - DEBUG - VM ctest-TestBasicPolicy-97151543-46447935 is ready for SSH connections 2025-11-22 09:46:40,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:46:40,548 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.244.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:46:40,548 - DEBUG - ping -s 56 -c 3 -W 1 200.244.70.195 2025-11-22 09:46:44,662 - DEBUG - PING 200.244.70.195 (200.244.70.195): 56 data bytes 64 bytes from 200.244.70.195: seq=0 ttl=63 time=4.691 ms 64 bytes from 200.244.70.195: seq=1 ttl=63 time=0.866 ms 64 bytes from 200.244.70.195: seq=2 ttl=63 time=0.920 ms --- 200.244.70.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/2.159/4.691 ms 2025-11-22 09:46:44,662 - INFO - Ping to IP 200.244.70.195 from VM ctest-TestBasicPolicy-97151543-24178757 passed 2025-11-22 09:46:44,847 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7f45d420-9095-4eca-ae6a-d297cf286770", "href": "http://10.0.0.249:8082/network-policy/7f45d420-9095-4eca-ae6a-d297cf286770"}} 2025-11-22 09:46:44,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 09:46:44,848 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.244.70.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-11-22 09:46:44,848 - DEBUG - ping -s 56 -c 3 -W 1 200.244.70.195 2025-11-22 09:46:48,081 - DEBUG - PING 200.244.70.195 (200.244.70.195): 56 data bytes --- 200.244.70.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 09:46:48,081 - WARNING - Ping to IP 200.244.70.195 from VM ctest-TestBasicPolicy-97151543-24178757 failed 2025-11-22 09:46:48,081 - INFO - Deleting VM ctest-TestBasicPolicy-97151543-46447935 2025-11-22 09:46:48,167 - INFO - Deleting VM ctest-TestBasicPolicy-97151543-24178757 2025-11-22 09:46:48,588 - INFO - Deleted policy ctest-policy-allow-all-40279267 2025-11-22 09:46:48,588 - INFO - Deleting VN ctest-vn-39736088 2025-11-22 09:46:48,627 - DEBUG - VN b521e971-94cb-463c-9064-300f31a57b39 still in use: Unable to complete operation on network b521e971-94cb-463c-9064-300f31a57b39. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-333a9439-8da6-48ad-89bf-13a7080f89a1'] 2025-11-22 09:46:48,627 - WARNING - Deleting VN ctest-vn-39736088 failed..Will retry 2025-11-22 09:46:50,744 - DEBUG - Response for deleting network () 2025-11-22 09:46:50,744 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2b2cfa17-203b-49b0-a0af-0176d397a687 2025-11-22 09:46:50,751 - DEBUG - Response Code: 404 2025-11-22 09:46:50,751 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:50,758 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:50,819 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:50,888 - INFO - Validated that VN ctest-vn-39736088 is not found in API Server 2025-11-22 09:46:50,899 - DEBUG - VN ctest-vn-39736088 is not present in Agent 10.0.0.249 2025-11-22 09:46:50,899 - INFO - Validated that VN ctest-vn-39736088 is not in any agent 2025-11-22 09:46:50,912 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39736088 info 2025-11-22 09:46:50,912 - INFO - Deleting VN ctest-vn-12523213 2025-11-22 09:46:51,004 - DEBUG - Response for deleting network () 2025-11-22 09:46:51,004 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0e656f63-58be-4d38-ae24-4bce1dc7bdf3 2025-11-22 09:46:51,009 - DEBUG - Response Code: 404 2025-11-22 09:46:51,009 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2025-11-22 09:46:51,016 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c7ece9bf-6624-4e3a-b318-c7aae69af5ff 2025-11-22 09:46:51,068 - DEBUG - Requesting: http://10.0.0.249:8082/project/5fe19bc9-f477-4028-b4f4-f4679247d212 2025-11-22 09:46:51,140 - INFO - Validated that VN ctest-vn-12523213 is not found in API Server 2025-11-22 09:46:51,149 - DEBUG - VN ctest-vn-12523213 is not present in Agent 10.0.0.249 2025-11-22 09:46:51,149 - INFO - Validated that VN ctest-vn-12523213 is not in any agent 2025-11-22 09:46:51,163 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12523213 info 2025-11-22 09:46:51,416 - DEBUG - No XMPP flaps were noticed during the test 2025-11-22 09:46:51,416 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-22 09:46:51,416 - INFO - -------------------------------------------------------------------------------- 2025-11-22 09:46:52,085 - INFO - Deleted project: ctest-TestBasicPolicy-97151543, ID : 5fe19bc9-f477-4028-b4f4-f4679247d212