2025-12-22 16:59:53,343 - INFO - Domain Default found not creating 2025-12-22 16:59:53,513 - INFO - Project ctest-TestBasicPolicy-58061029 not found, creating it 2025-12-22 16:59:53,963 - INFO - Created Project:ctest-TestBasicPolicy-58061029, ID : 44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 16:59:55,559 - INFO - ================================================================================ 2025-12-22 16:59:55,559 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-22 16:59:55,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-12-22 16:59:55,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-22 16:59:55,813 - INFO - Initial checks done. Running the testcase now 2025-12-22 16:59:55,813 - INFO - 2025-12-22 16:59:56,408 - DEBUG - Response for create_network : {'network': {'id': 'ff046885-5338-45bf-b42b-676c5647363a', 'name': 'ctest-vn-33403190', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-33403190'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:56,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '21d00d48-46e0-48d8-9d77-3f571e1da35e', 'name': '', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'network_id': 'ff046885-5338-45bf-b42b-676c5647363a', 'ip_version': 4, 'cidr': '142.98.10.192/26', 'allocation_pools': [{'start': '142.98.10.194', 'end': '142.98.10.254'}], 'gateway_ip': '142.98.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.98.10.194', 'tags': [], 'project_id': '44162c33ae604871b9ab2b8304207454'}} 2025-12-22 16:59:56,621 - INFO - Created VN ctest-vn-33403190 2025-12-22 16:59:56,671 - DEBUG - VN ctest-vn-33403190 UUID is ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:56,996 - DEBUG - Response for create_network : {'network': {'id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'name': 'ctest-vn-30096578', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-30096578'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:57,141 - DEBUG - Response for create_subnet : {'subnet': {'id': '2070ef23-3ffb-49bc-af59-8edaa8e68e88', 'name': '', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'network_id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'ip_version': 4, 'cidr': '108.108.46.192/26', 'allocation_pools': [{'start': '108.108.46.194', 'end': '108.108.46.254'}], 'gateway_ip': '108.108.46.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.108.46.194', 'tags': [], 'project_id': '44162c33ae604871b9ab2b8304207454'}} 2025-12-22 16:59:57,159 - INFO - Created VN ctest-vn-30096578 2025-12-22 16:59:57,211 - DEBUG - VN ctest-vn-30096578 UUID is 1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:57,329 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190, 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-58061029:ctest-vn-30096578, 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-12-22 16:59:57,620 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ff046885-5338-45bf-b42b-676c5647363a', 'name': 'ctest-vn-33403190', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['21d00d48-46e0-48d8-9d77-3f571e1da35e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-33403190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']], 'subnet_ipam': [{'subnet_cidr': '142.98.10.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:57,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1d5a6fdd-accd-404e-8320-8e44caeff1f7', 'name': 'ctest-vn-30096578', 'tenant_id': '44162c33ae604871b9ab2b8304207454', 'project_id': '44162c33ae604871b9ab2b8304207454', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2070ef23-3ffb-49bc-af59-8edaa8e68e88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-vn-30096578'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618']], 'subnet_ipam': [{'subnet_cidr': '108.108.46.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-22 16:59:58,043 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 16:59:58,381 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 16:59:58,413 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 16:59:58,426 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 16:59:58,498 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,509 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,518 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 16:59:58,524 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 16:59:58,530 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bccbd094-760d-43b3-aad6-d890a275a6eb 2025-12-22 16:59:58,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 16:59:58,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,543 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 16:59:58,556 - INFO - Verified VN network id 11 for VN ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,556 - INFO - Verifications in API Server for VN ctest-vn-33403190 passed 2025-12-22 16:59:58,557 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,566 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 16:59:58,576 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 16:59:58,584 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/bccbd094-760d-43b3-aad6-d890a275a6eb 2025-12-22 16:59:58,596 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58061029', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18375927301414602175', 'uuid-lslong': '12982584065827223098'}, 'enable': 'true', 'created': '2025-12-22T16:59:56', 'last-modified': '2025-12-22T16:59:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995713'} 2025-12-22 16:59:58,604 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-22 16:59:58,604 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33403190 passed 2025-12-22 16:59:58,604 - DEBUG - ====Verifying policy data for ctest-vn-33403190 in API_Server ====== 2025-12-22 16:59:58,604 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 16:59:58,610 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 16:59:58,623 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 16:59:58,693 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ff046885-5338-45bf-b42b-676c5647363a 2025-12-22 16:59:58,703 - DEBUG - ==>Verifying data for policy with id: 52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618'] 2025-12-22 16:59:58,703 - INFO - VN ctest-vn-33403190 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 16:59:58,703 - DEBUG - Verifying the vn in opserver 2025-12-22 16:59:58,704 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190 virtual network link through opserver 10.0.0.33 2025-12-22 16:59:58,704 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-22 16:59:59,043 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-22 16:59:59,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190?flat'} 2025-12-22 16:59:59,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190 is found in opserver 2025-12-22 16:59:59,118 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 16:59:59,123 - DEBUG - VRF ids for VN ctest-vn-33403190: {} 2025-12-22 16:59:59,123 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 16:59:59,128 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 16:59:59,139 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 16:59:59,208 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,220 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,230 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 16:59:59,237 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 16:59:59,244 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9c17452-a6b9-4d9b-824f-94e3fd27d7ce 2025-12-22 16:59:59,251 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 16:59:59,251 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,259 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 16:59:59,273 - INFO - Verified VN network id 12 for VN 1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,273 - INFO - Verifications in API Server for VN ctest-vn-30096578 passed 2025-12-22 16:59:59,273 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,283 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 16:59:59,290 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 16:59:59,298 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9c17452-a6b9-4d9b-824f-94e3fd27d7ce 2025-12-22 16:59:59,309 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-58061029', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2115125972881457230', 'uuid-lslong': '9448708444336943607'}, 'enable': 'true', 'created': '2025-12-22T16:59:56', 'last-modified': '2025-12-22T16:59:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.483038'} 2025-12-22 16:59:59,315 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-22 16:59:59,315 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30096578 passed 2025-12-22 16:59:59,315 - DEBUG - ====Verifying policy data for ctest-vn-30096578 in API_Server ====== 2025-12-22 16:59:59,316 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 16:59:59,321 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 16:59:59,334 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 16:59:59,408 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1d5a6fdd-accd-404e-8320-8e44caeff1f7 2025-12-22 16:59:59,418 - DEBUG - ==>Verifying data for policy with id: 52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0, fqn: ['default-domain', 'ctest-TestBasicPolicy-58061029', 'ctest-policy-allow-all-81860618'] 2025-12-22 16:59:59,418 - INFO - VN ctest-vn-30096578 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-22 16:59:59,418 - DEBUG - Verifying the vn in opserver 2025-12-22 16:59:59,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578 virtual network link through opserver 10.0.0.33 2025-12-22 16:59:59,418 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-12-22 16:59:59,428 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578?flat'} 2025-12-22 16:59:59,429 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-30096578 is found in opserver 2025-12-22 16:59:59,438 - DEBUG - Do not have enough data to verify VN in agent 2025-12-22 16:59:59,443 - DEBUG - VRF ids for VN ctest-vn-30096578: {} 2025-12-22 16:59:59,509 - DEBUG - Services list from nova: [, , ] 2025-12-22 17:00:00,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 17:00:02,039 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4921-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4921-1) 2025-12-22 17:00:02,039 - INFO - Waiting for VM ctest-TestBasicPolicy-58061029-20832397 to be up.. 2025-12-22 17:00:02,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 17:00:07,227 - DEBUG - VM is in ACTIVE state now 2025-12-22 17:00:07,227 - INFO - VM name : ctest-TestBasicPolicy-58061029-20832397 2025-12-22 17:00:07,319 - DEBUG - VM ctest-TestBasicPolicy-58061029-20832397 ID is 5b6e1e71-6436-4c0e-93e1-8870875fe1c2 2025-12-22 17:00:07,344 - DEBUG - VM ctest-TestBasicPolicy-58061029-20832397 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 17:00:07,432 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/5b6e1e71-6436-4c0e-93e1-8870875fe1c2 2025-12-22 17:00:07,441 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/5bf0c973-0601-453c-baf0-e416cef903e2 2025-12-22 17:00:10,702 - 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 1010ms') 2025-12-22 17:00:10,702 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58061029-20832397 failed! 2025-12-22 17:00:10,759 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-58061029:ctest-vn-33403190 is 142.98.10.193 and allocation pool is NOT set 2025-12-22 17:00:12,828 - 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=13.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.31 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.313/7.776/13.240/5.463 ms') 2025-12-22 17:00:12,828 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-58061029-20832397 passed 2025-12-22 17:00:12,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 17:00:12,979 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58061029-20832397, IP 142.98.10.195, Port 22 2025-12-22 17:00:13,045 - 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-12-22 17:00:13,137 - DEBUG - VM ctest-TestBasicPolicy-58061029-20832397 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-22 17:00:18,139 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 17:00:18,139 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58061029-20832397, IP 142.98.10.195, Port 22 2025-12-22 17:00:18,298 - DEBUG - VM ctest-TestBasicPolicy-58061029-20832397 is ready for SSH connections 2025-12-22 17:00:18,298 - INFO - Waiting for VM ctest-TestBasicPolicy-58061029-43847632 to be up.. 2025-12-22 17:00:18,377 - DEBUG - VM is in ACTIVE state now 2025-12-22 17:00:18,377 - INFO - VM name : ctest-TestBasicPolicy-58061029-43847632 2025-12-22 17:00:18,459 - DEBUG - VM ctest-TestBasicPolicy-58061029-43847632 ID is 6d66b01b-ae29-479c-8a96-fd38deda6631 2025-12-22 17:00:18,459 - DEBUG - VM ctest-TestBasicPolicy-58061029-43847632 launched on Node cn-jenkins-deploy-platform-ansible-os-4921-1 2025-12-22 17:00:18,537 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/6d66b01b-ae29-479c-8a96-fd38deda6631 2025-12-22 17:00:18,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ec010fd8-7825-42b2-b42d-4c3b2bfe10ec 2025-12-22 17:00:19,787 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/1.829/3.193/1.364 ms') 2025-12-22 17:00:19,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-58061029-43847632 passed 2025-12-22 17:00:19,935 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 17:00:19,935 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-58061029-43847632, IP 108.108.46.195, Port 22 2025-12-22 17:00:20,090 - DEBUG - VM ctest-TestBasicPolicy-58061029-43847632 is ready for SSH connections 2025-12-22 17:00:20,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 17:00:20,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.108.46.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 17:00:20,090 - DEBUG - ping -s 56 -c 3 -W 1 108.108.46.195 2025-12-22 17:00:24,245 - DEBUG - PING 108.108.46.195 (108.108.46.195): 56 data bytes 64 bytes from 108.108.46.195: seq=0 ttl=63 time=3.938 ms 64 bytes from 108.108.46.195: seq=1 ttl=63 time=1.087 ms 64 bytes from 108.108.46.195: seq=2 ttl=63 time=1.174 ms --- 108.108.46.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.087/2.066/3.938 ms 2025-12-22 17:00:24,245 - INFO - Ping to IP 108.108.46.195 from VM ctest-TestBasicPolicy-58061029-20832397 passed 2025-12-22 17:00:24,430 - DEBUG - Policy Update Response {"network-policy": {"uuid": "52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0", "href": "http://10.0.0.33:8082/network-policy/52c4f5ce-0e72-4fc4-8ddf-9c39b96865e0"}} 2025-12-22 17:00:24,431 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 17:00:24,431 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.108.46.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-22 17:00:24,431 - DEBUG - ping -s 56 -c 3 -W 1 108.108.46.195 2025-12-22 17:00:27,677 - DEBUG - PING 108.108.46.195 (108.108.46.195): 56 data bytes --- 108.108.46.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-22 17:00:27,677 - WARNING - Ping to IP 108.108.46.195 from VM ctest-TestBasicPolicy-58061029-20832397 failed 2025-12-22 17:00:27,677 - INFO - Deleting VM ctest-TestBasicPolicy-58061029-43847632 2025-12-22 17:00:27,754 - INFO - Deleting VM ctest-TestBasicPolicy-58061029-20832397 2025-12-22 17:00:28,138 - INFO - Deleted policy ctest-policy-allow-all-81860618 2025-12-22 17:00:28,138 - INFO - Deleting VN ctest-vn-30096578 2025-12-22 17:00:28,186 - DEBUG - VN 1d5a6fdd-accd-404e-8320-8e44caeff1f7 still in use: Unable to complete operation on network 1d5a6fdd-accd-404e-8320-8e44caeff1f7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d61b5a7-1127-46c3-88d9-d3abe350733b'] 2025-12-22 17:00:28,186 - WARNING - Deleting VN ctest-vn-30096578 failed..Will retry 2025-12-22 17:00:30,282 - DEBUG - Response for deleting network () 2025-12-22 17:00:30,282 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/a5563d24-9aeb-4a59-a753-9a32537f48b4 2025-12-22 17:00:30,292 - DEBUG - Response Code: 404 2025-12-22 17:00:30,293 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 17:00:30,301 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 17:00:30,357 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 17:00:30,427 - INFO - Validated that VN ctest-vn-30096578 is not found in API Server 2025-12-22 17:00:30,439 - DEBUG - VN ctest-vn-30096578 is not present in Agent 10.0.0.33 2025-12-22 17:00:30,439 - INFO - Validated that VN ctest-vn-30096578 is not in any agent 2025-12-22 17:00:30,453 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30096578 info 2025-12-22 17:00:30,453 - INFO - Deleting VN ctest-vn-33403190 2025-12-22 17:00:30,549 - DEBUG - Response for deleting network () 2025-12-22 17:00:30,549 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/cbd59d48-35f7-4748-beb7-406ce7e9a691 2025-12-22 17:00:30,558 - DEBUG - Response Code: 404 2025-12-22 17:00:30,558 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-12-22 17:00:30,562 - DEBUG - Requesting: http://10.0.0.33:8082/domain/a03c1bba-5e9d-44d8-bf64-fcfaa3f31012 2025-12-22 17:00:30,616 - DEBUG - Requesting: http://10.0.0.33:8082/project/44162c33-ae60-4871-b9ab-2b8304207454 2025-12-22 17:00:30,683 - INFO - Validated that VN ctest-vn-33403190 is not found in API Server 2025-12-22 17:00:30,694 - DEBUG - VN ctest-vn-33403190 is not present in Agent 10.0.0.33 2025-12-22 17:00:30,694 - INFO - Validated that VN ctest-vn-33403190 is not in any agent 2025-12-22 17:00:30,708 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33403190 info 2025-12-22 17:00:30,964 - DEBUG - No XMPP flaps were noticed during the test
2025-12-22 17:00:30,964 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-12-22 17:00:30,964 - INFO - -------------------------------------------------------------------------------- 2025-12-22 17:00:31,703 - INFO - Deleted project: ctest-TestBasicPolicy-58061029, ID : 44162c33-ae60-4871-b9ab-2b8304207454