2026-09-29 18:09:49,523 - INFO - Domain Default found not creating 2026-09-29 18:09:49,759 - INFO - Project ctest-TestBasicPolicy-40898220 not found, creating it 2026-09-29 18:09:50,321 - INFO - Created Project:ctest-TestBasicPolicy-40898220, ID : 7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:09:52,333 - INFO - ================================================================================ 2026-09-29 18:09:52,333 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-29 18:09:52,333 - 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 2026-09-29 18:09:52,611 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.29': '0'}} with 2026-09-29 18:09:52,611 - INFO - Initial checks done. Running the testcase now 2026-09-29 18:09:52,611 - INFO - 2026-09-29 18:09:53,425 - DEBUG - Response for create_network : {'network': {'id': '9015c3d2-d543-404a-b626-d456f8db8d0a', 'name': 'ctest-vn-20022245', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'project_id': '7f2b953e06034b708a221e50e7732942', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-vn-20022245'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:09:53,679 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f0709a5-3ddd-4f57-8538-70e4fb37bd27', 'name': '', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'network_id': '9015c3d2-d543-404a-b626-d456f8db8d0a', 'ip_version': 4, 'cidr': '3.34.40.0/26', 'allocation_pools': [{'start': '3.34.40.2', 'end': '3.34.40.62'}], 'gateway_ip': '3.34.40.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.34.40.2', 'tags': [], 'project_id': '7f2b953e06034b708a221e50e7732942'}} 2026-09-29 18:09:53,703 - INFO - Created VN ctest-vn-20022245 2026-09-29 18:09:53,757 - DEBUG - VN ctest-vn-20022245 UUID is 9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:54,146 - DEBUG - Response for create_network : {'network': {'id': 'b81ce2c5-c6f2-45aa-9bd2-cb61327a585a', 'name': 'ctest-vn-57206763', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'project_id': '7f2b953e06034b708a221e50e7732942', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-vn-57206763'], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:09:54,440 - DEBUG - Response for create_subnet : {'subnet': {'id': '7ec7121d-355d-4c2f-b480-5c8ae1261840', 'name': '', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'network_id': 'b81ce2c5-c6f2-45aa-9bd2-cb61327a585a', 'ip_version': 4, 'cidr': '28.193.66.64/26', 'allocation_pools': [{'start': '28.193.66.66', 'end': '28.193.66.126'}], 'gateway_ip': '28.193.66.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.193.66.66', 'tags': [], 'project_id': '7f2b953e06034b708a221e50e7732942'}} 2026-09-29 18:09:54,464 - INFO - Created VN ctest-vn-57206763 2026-09-29 18:09:54,522 - DEBUG - VN ctest-vn-57206763 UUID is b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:54,651 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245, 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-40898220:ctest-vn-57206763, 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] 2026-09-29 18:09:55,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9015c3d2-d543-404a-b626-d456f8db8d0a', 'name': 'ctest-vn-20022245', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'project_id': '7f2b953e06034b708a221e50e7732942', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0f0709a5-3ddd-4f57-8538-70e4fb37bd27'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-vn-20022245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-policy-allow-all-26861442']], 'subnet_ipam': [{'subnet_cidr': '3.34.40.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:09:55,299 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b81ce2c5-c6f2-45aa-9bd2-cb61327a585a', 'name': 'ctest-vn-57206763', 'tenant_id': '7f2b953e06034b708a221e50e7732942', 'project_id': '7f2b953e06034b708a221e50e7732942', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7ec7121d-355d-4c2f-b480-5c8ae1261840'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-vn-57206763'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-policy-allow-all-26861442']], 'subnet_ipam': [{'subnet_cidr': '28.193.66.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-29 18:09:55,482 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:09:55,863 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:09:55,900 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:09:55,916 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:09:56,010 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,028 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,042 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:09:56,053 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:09:56,062 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0aecb76b-2eb4-431c-9544-61f4a338603c 2026-09-29 18:09:56,072 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 18:09:56,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,084 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:09:56,107 - INFO - Verified VN network id 10 for VN 9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,107 - INFO - Verifications in API Server for VN ctest-vn-20022245 passed 2026-09-29 18:09:56,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,119 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:09:56,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:09:56,140 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0aecb76b-2eb4-431c-9544-61f4a338603c 2026-09-29 18:09:56,159 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40898220', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10382419826261049418', 'uuid-lslong': '13125411634025303306'}, 'enable': 'true', 'created': '2026-09-29T18:09:53', 'last-modified': '2026-09-29T18:09:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.180501'} 2026-09-29 18:09:56,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-29 18:09:56,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20022245 passed 2026-09-29 18:09:56,169 - DEBUG - ====Verifying policy data for ctest-vn-20022245 in API_Server ====== 2026-09-29 18:09:56,169 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:09:56,177 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:09:56,191 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:09:56,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9015c3d2-d543-404a-b626-d456f8db8d0a 2026-09-29 18:09:56,308 - DEBUG - ==>Verifying data for policy with id: 84738355-5fad-4f9b-9d7d-d023e9b2b07a, fqn: ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-policy-allow-all-26861442'] 2026-09-29 18:09:56,309 - INFO - VN ctest-vn-20022245 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 18:09:56,309 - DEBUG - Verifying the vn in opserver 2026-09-29 18:09:56,309 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245 virtual network link through opserver 10.0.0.38 2026-09-29 18:09:56,309 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 18:09:56,696 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 18:09:56,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245?flat'} 2026-09-29 18:09:56,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245 is found in opserver 2026-09-29 18:09:56,789 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 18:09:56,796 - DEBUG - VRF ids for VN ctest-vn-20022245: {} 2026-09-29 18:09:56,796 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:09:56,804 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:09:56,819 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:09:56,910 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:56,928 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:56,942 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:09:56,955 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:09:56,965 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d7be865-4565-4b2a-bd90-525a31b44de7 2026-09-29 18:09:56,975 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 18:09:56,975 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:56,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:09:57,009 - INFO - Verified VN network id 11 for VN b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:57,009 - INFO - Verifications in API Server for VN ctest-vn-57206763 passed 2026-09-29 18:09:57,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:57,022 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:09:57,034 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:09:57,045 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/9d7be865-4565-4b2a-bd90-525a31b44de7 2026-09-29 18:09:57,065 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40898220', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13266727941400839594', 'uuid-lslong': '11228260439307212890'}, 'enable': 'true', 'created': '2026-09-29T18:09:54', 'last-modified': '2026-09-29T18:09:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.802797'} 2026-09-29 18:09:57,077 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-29 18:09:57,078 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57206763 passed 2026-09-29 18:09:57,078 - DEBUG - ====Verifying policy data for ctest-vn-57206763 in API_Server ====== 2026-09-29 18:09:57,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:09:57,086 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:09:57,103 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:09:57,200 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b81ce2c5-c6f2-45aa-9bd2-cb61327a585a 2026-09-29 18:09:57,213 - DEBUG - ==>Verifying data for policy with id: 84738355-5fad-4f9b-9d7d-d023e9b2b07a, fqn: ['default-domain', 'ctest-TestBasicPolicy-40898220', 'ctest-policy-allow-all-26861442'] 2026-09-29 18:09:57,213 - INFO - VN ctest-vn-57206763 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-29 18:09:57,213 - DEBUG - Verifying the vn in opserver 2026-09-29 18:09:57,213 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763 virtual network link through opserver 10.0.0.38 2026-09-29 18:09:57,213 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-29 18:09:57,226 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763?flat'} 2026-09-29 18:09:57,226 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763 is found in opserver 2026-09-29 18:09:57,239 - DEBUG - Do not have enough data to verify VN in agent 2026-09-29 18:09:57,246 - DEBUG - VRF ids for VN ctest-vn-57206763: {} 2026-09-29 18:09:57,323 - DEBUG - Services list from nova: [, , ] 2026-09-29 18:09:57,752 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1) 2026-09-29 18:09:58,262 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6329-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6329-1) 2026-09-29 18:09:58,262 - INFO - Waiting for VM ctest-TestBasicPolicy-40898220-90124790 to be up.. 2026-09-29 18:09:58,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:03,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:08,537 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:13,647 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:18,764 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:23,874 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:29,004 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:34,123 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:39,260 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-29 18:10:44,374 - DEBUG - VM is in ACTIVE state now 2026-09-29 18:10:44,374 - INFO - VM name : ctest-TestBasicPolicy-40898220-90124790 2026-09-29 18:10:44,486 - DEBUG - VM ctest-TestBasicPolicy-40898220-90124790 ID is 8030a425-5e58-4bed-a21b-138c9e7c2579 2026-09-29 18:10:44,519 - DEBUG - VM ctest-TestBasicPolicy-40898220-90124790 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1 2026-09-29 18:10:44,620 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8030a425-5e58-4bed-a21b-138c9e7c2579 2026-09-29 18:10:44,633 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cd3422be-dd5c-4fa5-9843-35aaef7f73b0 2026-09-29 18:10:47,938 - 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 1031ms') 2026-09-29 18:10:47,938 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40898220-90124790 failed! 2026-09-29 18:10:48,002 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-20022245 is 3.34.40.1 and allocation pool is NOT set 2026-09-29 18:10:50,079 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 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.171/5.478/7.785/2.307 ms') 2026-09-29 18:10:50,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40898220-90124790 passed 2026-09-29 18:10:50,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:10:50,234 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40898220-90124790, IP 3.34.40.3, Port 22 2026-09-29 18:10:50,408 - DEBUG - VM ctest-TestBasicPolicy-40898220-90124790 is ready for SSH connections 2026-09-29 18:10:50,408 - INFO - Waiting for VM ctest-TestBasicPolicy-40898220-21285878 to be up.. 2026-09-29 18:10:50,513 - DEBUG - VM is in ACTIVE state now 2026-09-29 18:10:50,514 - INFO - VM name : ctest-TestBasicPolicy-40898220-21285878 2026-09-29 18:10:50,633 - DEBUG - VM ctest-TestBasicPolicy-40898220-21285878 ID is 6fbf0bb6-4fde-4052-856a-80bf422c1e7a 2026-09-29 18:10:50,633 - DEBUG - VM ctest-TestBasicPolicy-40898220-21285878 launched on Node cn-jenkins-deploy-platform-ansible-os-6329-1 2026-09-29 18:10:50,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6fbf0bb6-4fde-4052-856a-80bf422c1e7a 2026-09-29 18:10:50,752 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d6ef0879-6da5-43bb-90c7-eddf8f865fb4 2026-09-29 18:10:54,052 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1028ms') 2026-09-29 18:10:54,052 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40898220-21285878 failed! 2026-09-29 18:10:54,114 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40898220:ctest-vn-57206763 is 28.193.66.65 and allocation pool is NOT set 2026-09-29 18:10:56,184 - 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=4.28 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.673 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.673/2.476/4.280/1.803 ms') 2026-09-29 18:10:56,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40898220-21285878 passed 2026-09-29 18:10:56,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:10:56,342 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40898220-21285878, IP 28.193.66.67, Port 22 2026-09-29 18:10:56,520 - DEBUG - VM ctest-TestBasicPolicy-40898220-21285878 is ready for SSH connections 2026-09-29 18:10:56,520 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:10:56,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.193.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 18:10:56,521 - DEBUG - ping -s 56 -c 3 -W 1 28.193.66.67 2026-09-29 18:11:00,680 - DEBUG - PING 28.193.66.67 (28.193.66.67): 56 data bytes 64 bytes from 28.193.66.67: seq=0 ttl=63 time=5.968 ms 64 bytes from 28.193.66.67: seq=1 ttl=63 time=1.270 ms 64 bytes from 28.193.66.67: seq=2 ttl=63 time=1.224 ms --- 28.193.66.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.224/2.820/5.968 ms 2026-09-29 18:11:00,681 - INFO - Ping to IP 28.193.66.67 from VM ctest-TestBasicPolicy-40898220-90124790 passed 2026-09-29 18:11:00,897 - DEBUG - Policy Update Response {"network-policy": {"uuid": "84738355-5fad-4f9b-9d7d-d023e9b2b07a", "href": "http://10.0.0.38:8082/network-policy/84738355-5fad-4f9b-9d7d-d023e9b2b07a"}} 2026-09-29 18:11:00,898 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-29 18:11:00,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.193.66.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-29 18:11:00,898 - DEBUG - ping -s 56 -c 3 -W 1 28.193.66.67 2026-09-29 18:11:04,094 - DEBUG - PING 28.193.66.67 (28.193.66.67): 56 data bytes 64 bytes from 28.193.66.67: seq=0 ttl=63 time=3.239 ms --- 28.193.66.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.239/3.239/3.239 ms 2026-09-29 18:11:04,094 - WARNING - Ping to IP 28.193.66.67 from VM ctest-TestBasicPolicy-40898220-90124790 failed 2026-09-29 18:11:04,094 - INFO - Deleting VM ctest-TestBasicPolicy-40898220-21285878 2026-09-29 18:11:04,191 - INFO - Deleting VM ctest-TestBasicPolicy-40898220-90124790 2026-09-29 18:11:04,744 - INFO - Deleted policy ctest-policy-allow-all-26861442 2026-09-29 18:11:04,744 - INFO - Deleting VN ctest-vn-57206763 2026-09-29 18:11:04,791 - DEBUG - VN b81ce2c5-c6f2-45aa-9bd2-cb61327a585a still in use: Unable to complete operation on network b81ce2c5-c6f2-45aa-9bd2-cb61327a585a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6d8d37e-6da7-4578-b48a-a2f76debbd40'] 2026-09-29 18:11:04,792 - WARNING - Deleting VN ctest-vn-57206763 failed..Will retry 2026-09-29 18:11:06,974 - DEBUG - Response for deleting network () 2026-09-29 18:11:06,975 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/47a011f1-0091-4277-9e09-2272e3fbccec 2026-09-29 18:11:06,983 - DEBUG - Response Code: 404 2026-09-29 18:11:06,983 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:11:06,991 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:11:07,021 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:11:07,116 - INFO - Validated that VN ctest-vn-57206763 is not found in API Server 2026-09-29 18:11:07,134 - DEBUG - VN ctest-vn-57206763 is not present in Agent 10.0.0.38 2026-09-29 18:11:07,134 - INFO - Validated that VN ctest-vn-57206763 is not in any agent 2026-09-29 18:11:07,165 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-57206763 info 2026-09-29 18:11:07,165 - INFO - Deleting VN ctest-vn-20022245 2026-09-29 18:11:07,375 - DEBUG - Response for deleting network () 2026-09-29 18:11:07,375 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/fb798ce1-7ee5-4516-ba41-01a20727b11c 2026-09-29 18:11:07,391 - DEBUG - Response Code: 404 2026-09-29 18:11:07,392 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-29 18:11:07,402 - DEBUG - Requesting: http://10.0.0.38:8082/domain/54b4b3e0-0773-4a4e-aeaa-13957d50c5a1 2026-09-29 18:11:07,424 - DEBUG - Requesting: http://10.0.0.38:8082/project/7f2b953e-0603-4b70-8a22-1e50e7732942 2026-09-29 18:11:07,530 - INFO - Validated that VN ctest-vn-20022245 is not found in API Server 2026-09-29 18:11:07,548 - DEBUG - VN ctest-vn-20022245 is not present in Agent 10.0.0.38 2026-09-29 18:11:07,548 - INFO - Validated that VN ctest-vn-20022245 is not in any agent 2026-09-29 18:11:07,579 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20022245 info 2026-09-29 18:11:07,864 - DEBUG - No XMPP flaps were noticed during the test 2026-09-29 18:11:07,864 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15] 2026-09-29 18:11:07,864 - INFO - -------------------------------------------------------------------------------- 2026-09-29 18:11:08,848 - INFO - Deleted project: ctest-TestBasicPolicy-40898220, ID : 7f2b953e-0603-4b70-8a22-1e50e7732942