2026-09-17 20:39:49,385 - INFO - Domain Default found not creating 2026-09-17 20:39:49,567 - INFO - Project ctest-TestBasicPolicy-90003900 not found, creating it 2026-09-17 20:39:50,064 - INFO - Created Project:ctest-TestBasicPolicy-90003900, ID : fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:39:51,679 - INFO - ================================================================================ 2026-09-17 20:39:51,679 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-17 20:39:51,679 - 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-17 20:39:51,942 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with 2026-09-17 20:39:51,943 - INFO - Initial checks done. Running the testcase now 2026-09-17 20:39:51,943 - INFO - 2026-09-17 20:39:52,551 - DEBUG - Response for create_network : {'network': {'id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'name': 'ctest-vn-25650936', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-25650936'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 20:39:52,781 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1e32615-39a8-4900-9143-90f325f6cf0f', 'name': '', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'network_id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'ip_version': 4, 'cidr': '76.153.162.128/26', 'allocation_pools': [{'start': '76.153.162.130', 'end': '76.153.162.190'}], 'gateway_ip': '76.153.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.153.162.130', 'tags': [], 'project_id': 'fe8e7c62b6434a249f8996a53d976b31'}} 2026-09-17 20:39:52,799 - INFO - Created VN ctest-vn-25650936 2026-09-17 20:39:52,850 - DEBUG - VN ctest-vn-25650936 UUID is 3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:53,144 - DEBUG - Response for create_network : {'network': {'id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'name': 'ctest-vn-27102838', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-27102838'], 'port_security_enabled': True, 'description': ''}} 2026-09-17 20:39:53,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b8369357-0d26-4d44-967e-e6863681e3bf', 'name': '', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'network_id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'ip_version': 4, 'cidr': '147.85.242.128/26', 'allocation_pools': [{'start': '147.85.242.130', 'end': '147.85.242.190'}], 'gateway_ip': '147.85.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.85.242.130', 'tags': [], 'project_id': 'fe8e7c62b6434a249f8996a53d976b31'}} 2026-09-17 20:39:53,383 - INFO - Created VN ctest-vn-27102838 2026-09-17 20:39:53,434 - DEBUG - VN ctest-vn-27102838 UUID is 98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:53,547 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936, 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-90003900:ctest-vn-27102838, 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-17 20:39:53,874 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3f64b19c-bfd7-416b-b83a-5669b85ac368', 'name': 'ctest-vn-25650936', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b1e32615-39a8-4900-9143-90f325f6cf0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-25650936'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']], 'subnet_ipam': [{'subnet_cidr': '76.153.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 20:39:54,119 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '98ad9811-cb05-4e42-ad4e-51eb152de02c', 'name': 'ctest-vn-27102838', 'tenant_id': 'fe8e7c62b6434a249f8996a53d976b31', 'project_id': 'fe8e7c62b6434a249f8996a53d976b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b8369357-0d26-4d44-967e-e6863681e3bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-vn-27102838'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657']], 'subnet_ipam': [{'subnet_cidr': '147.85.242.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-17 20:39:54,282 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:39:54,599 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:39:54,630 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:39:54,644 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:39:54,720 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,732 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,742 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:39:54,750 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:39:54,757 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/25173f41-4d45-4587-a087-52f65187490c 2026-09-17 20:39:54,764 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 20:39:54,764 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,775 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:39:54,789 - INFO - Verified VN network id 12 for VN 3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,789 - INFO - Verifications in API Server for VN ctest-vn-25650936 passed 2026-09-17 20:39:54,789 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,798 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:39:54,804 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:39:54,813 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/25173f41-4d45-4587-a087-52f65187490c 2026-09-17 20:39:54,827 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90003900', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4567971208852095339', 'uuid-lslong': '13275017863692469096'}, 'enable': 'true', 'created': '2026-09-17T20:39:52', 'last-modified': '2026-09-17T20:39:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985478'} 2026-09-17 20:39:54,834 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-17 20:39:54,834 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25650936 passed 2026-09-17 20:39:54,834 - DEBUG - ====Verifying policy data for ctest-vn-25650936 in API_Server ====== 2026-09-17 20:39:54,834 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:39:54,841 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:39:54,853 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:39:54,925 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/3f64b19c-bfd7-416b-b83a-5669b85ac368 2026-09-17 20:39:54,936 - DEBUG - ==>Verifying data for policy with id: 6e8c8c14-b322-429a-a90b-fc37f4403259, fqn: ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657'] 2026-09-17 20:39:54,936 - INFO - VN ctest-vn-25650936 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 20:39:54,936 - DEBUG - Verifying the vn in opserver 2026-09-17 20:39:54,936 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936 virtual network link through opserver 10.0.0.250 2026-09-17 20:39:54,937 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-09-17 20:39:55,257 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-09-17 20:39:55,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936?flat'} 2026-09-17 20:39:55,318 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936 is found in opserver 2026-09-17 20:39:55,329 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 20:39:55,333 - DEBUG - VRF ids for VN ctest-vn-25650936: {} 2026-09-17 20:39:55,333 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:39:55,339 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:39:55,351 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:39:55,430 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,443 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,454 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:39:55,463 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:39:55,472 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ba8b8aef-3b2e-418e-9621-f07b09eeb465 2026-09-17 20:39:55,523 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 20:39:55,523 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,552 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:39:55,568 - INFO - Verified VN network id 13 for VN 98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,569 - INFO - Verifications in API Server for VN ctest-vn-27102838 passed 2026-09-17 20:39:55,569 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,579 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:39:55,586 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:39:55,593 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/ba8b8aef-3b2e-418e-9621-f07b09eeb465 2026-09-17 20:39:55,607 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-90003900', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11001616666923978306', 'uuid-lslong': '12488008886859456556'}, 'enable': 'true', 'created': '2026-09-17T20:39:53', 'last-modified': '2026-09-17T20:39:54', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.510235'} 2026-09-17 20:39:55,613 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-17 20:39:55,614 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27102838 passed 2026-09-17 20:39:55,614 - DEBUG - ====Verifying policy data for ctest-vn-27102838 in API_Server ====== 2026-09-17 20:39:55,614 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:39:55,619 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:39:55,630 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:39:55,711 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/98ad9811-cb05-4e42-ad4e-51eb152de02c 2026-09-17 20:39:55,721 - DEBUG - ==>Verifying data for policy with id: 6e8c8c14-b322-429a-a90b-fc37f4403259, fqn: ['default-domain', 'ctest-TestBasicPolicy-90003900', 'ctest-policy-allow-all-29802657'] 2026-09-17 20:39:55,721 - INFO - VN ctest-vn-27102838 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-17 20:39:55,721 - DEBUG - Verifying the vn in opserver 2026-09-17 20:39:55,722 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838 virtual network link through opserver 10.0.0.250 2026-09-17 20:39:55,722 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks 2026-09-17 20:39:55,733 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838?flat'} 2026-09-17 20:39:55,733 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838 is found in opserver 2026-09-17 20:39:55,745 - DEBUG - Do not have enough data to verify VN in agent 2026-09-17 20:39:55,751 - DEBUG - VRF ids for VN ctest-vn-27102838: {} 2026-09-17 20:39:55,817 - DEBUG - Services list from nova: [, , ] 2026-09-17 20:39:56,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6306-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6306-1) 2026-09-17 20:39:56,924 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6306-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6306-1) 2026-09-17 20:39:56,924 - INFO - Waiting for VM ctest-TestBasicPolicy-90003900-03109637 to be up.. 2026-09-17 20:39:56,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:02,048 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:07,126 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:12,209 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:17,287 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:22,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:27,437 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-17 20:40:32,517 - DEBUG - VM is in ACTIVE state now 2026-09-17 20:40:32,518 - INFO - VM name : ctest-TestBasicPolicy-90003900-03109637 2026-09-17 20:40:32,600 - DEBUG - VM ctest-TestBasicPolicy-90003900-03109637 ID is ef30752c-8775-45d0-ab52-2e1354e4da9d 2026-09-17 20:40:32,632 - DEBUG - VM ctest-TestBasicPolicy-90003900-03109637 launched on Node cn-jenkins-deploy-platform-ansible-os-6306-1 2026-09-17 20:40:32,709 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/ef30752c-8775-45d0-ab52-2e1354e4da9d 2026-09-17 20:40:32,717 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/19145855-89f3-45d1-a844-51ec530af157 2026-09-17 20:40:35,976 - 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 1017ms') 2026-09-17 20:40:35,976 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90003900-03109637 failed! 2026-09-17 20:40:36,030 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-25650936 is 76.153.162.129 and allocation pool is NOT set 2026-09-17 20:40:38,106 - 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.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.24 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 = 5.237/7.104/8.971/1.867 ms') 2026-09-17 20:40:38,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-90003900-03109637 passed 2026-09-17 20:40:38,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 20:40:38,262 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90003900-03109637, IP 76.153.162.131, Port 22 2026-09-17 20:40:38,422 - DEBUG - VM ctest-TestBasicPolicy-90003900-03109637 is ready for SSH connections 2026-09-17 20:40:38,422 - INFO - Waiting for VM ctest-TestBasicPolicy-90003900-52652074 to be up.. 2026-09-17 20:40:38,506 - DEBUG - VM is in ACTIVE state now 2026-09-17 20:40:38,506 - INFO - VM name : ctest-TestBasicPolicy-90003900-52652074 2026-09-17 20:40:38,586 - DEBUG - VM ctest-TestBasicPolicy-90003900-52652074 ID is 7608184b-b0bd-45dd-a31f-39eb2ef9aac8 2026-09-17 20:40:38,586 - DEBUG - VM ctest-TestBasicPolicy-90003900-52652074 launched on Node cn-jenkins-deploy-platform-ansible-os-6306-1 2026-09-17 20:40:38,667 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine/7608184b-b0bd-45dd-a31f-39eb2ef9aac8 2026-09-17 20:40:38,676 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-machine-interface/096d2d2c-c861-47ce-9681-937c0583d73d 2026-09-17 20:40:41,931 - 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 1009ms') 2026-09-17 20:40:41,931 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90003900-52652074 failed! 2026-09-17 20:40:41,986 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-90003900:ctest-vn-27102838 is 147.85.242.129 and allocation pool is NOT set 2026-09-17 20:40:44,050 - 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.581 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.581/1.885/3.190/1.304 ms') 2026-09-17 20:40:44,050 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-90003900-52652074 passed 2026-09-17 20:40:44,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 20:40:44,198 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-90003900-52652074, IP 147.85.242.131, Port 22 2026-09-17 20:40:44,357 - DEBUG - VM ctest-TestBasicPolicy-90003900-52652074 is ready for SSH connections 2026-09-17 20:40:44,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 20:40:44,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.85.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-17 20:40:44,358 - DEBUG - ping -s 56 -c 3 -W 1 147.85.242.131 2026-09-17 20:40:48,326 - DEBUG - PING 147.85.242.131 (147.85.242.131): 56 data bytes 64 bytes from 147.85.242.131: seq=0 ttl=63 time=4.429 ms 64 bytes from 147.85.242.131: seq=1 ttl=63 time=1.139 ms 64 bytes from 147.85.242.131: seq=2 ttl=63 time=1.073 ms --- 147.85.242.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.073/2.213/4.429 ms 2026-09-17 20:40:48,326 - INFO - Ping to IP 147.85.242.131 from VM ctest-TestBasicPolicy-90003900-03109637 passed 2026-09-17 20:40:48,510 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e8c8c14-b322-429a-a90b-fc37f4403259", "href": "http://10.0.0.250:8082/network-policy/6e8c8c14-b322-429a-a90b-fc37f4403259"}} 2026-09-17 20:40:48,510 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-17 20:40:48,510 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.85.242.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.250, gateway password: c0ntrail123 2026-09-17 20:40:48,510 - DEBUG - ping -s 56 -c 3 -W 1 147.85.242.131 2026-09-17 20:40:51,639 - DEBUG - PING 147.85.242.131 (147.85.242.131): 56 data bytes 64 bytes from 147.85.242.131: seq=0 ttl=63 time=1.538 ms --- 147.85.242.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.538/1.538/1.538 ms 2026-09-17 20:40:51,639 - WARNING - Ping to IP 147.85.242.131 from VM ctest-TestBasicPolicy-90003900-03109637 failed 2026-09-17 20:40:51,639 - INFO - Deleting VM ctest-TestBasicPolicy-90003900-52652074 2026-09-17 20:40:51,727 - INFO - Deleting VM ctest-TestBasicPolicy-90003900-03109637 2026-09-17 20:40:52,149 - INFO - Deleted policy ctest-policy-allow-all-29802657 2026-09-17 20:40:52,149 - INFO - Deleting VN ctest-vn-27102838 2026-09-17 20:40:52,187 - DEBUG - VN 98ad9811-cb05-4e42-ad4e-51eb152de02c still in use: Unable to complete operation on network 98ad9811-cb05-4e42-ad4e-51eb152de02c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-76a29e7d-2eb5-47a9-aa84-997292fa3e3a'] 2026-09-17 20:40:52,187 - WARNING - Deleting VN ctest-vn-27102838 failed..Will retry 2026-09-17 20:40:54,283 - DEBUG - Response for deleting network () 2026-09-17 20:40:54,283 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/a16dc2a3-d840-42f5-9d05-0dd6e0d18922 2026-09-17 20:40:54,290 - DEBUG - Response Code: 404 2026-09-17 20:40:54,290 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:40:54,296 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:40:54,353 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:40:54,429 - INFO - Validated that VN ctest-vn-27102838 is not found in API Server 2026-09-17 20:40:54,441 - DEBUG - VN ctest-vn-27102838 is not present in Agent 10.0.0.250 2026-09-17 20:40:54,441 - INFO - Validated that VN ctest-vn-27102838 is not in any agent 2026-09-17 20:40:54,457 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27102838 info 2026-09-17 20:40:54,457 - INFO - Deleting VN ctest-vn-25650936 2026-09-17 20:40:54,569 - DEBUG - Response for deleting network () 2026-09-17 20:40:54,570 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/0c61cd09-4d0e-4e6a-836e-3ee602a3f006 2026-09-17 20:40:54,577 - DEBUG - Response Code: 404 2026-09-17 20:40:54,577 - DEBUG - Requesting: http://10.0.0.250:8082/domains 2026-09-17 20:40:54,583 - DEBUG - Requesting: http://10.0.0.250:8082/domain/a2e54ebb-b2d3-4607-b2a9-b4dd4b8880ff 2026-09-17 20:40:54,635 - DEBUG - Requesting: http://10.0.0.250:8082/project/fe8e7c62-b643-4a24-9f89-96a53d976b31 2026-09-17 20:40:54,717 - INFO - Validated that VN ctest-vn-25650936 is not found in API Server 2026-09-17 20:40:54,727 - DEBUG - VN ctest-vn-25650936 is not present in Agent 10.0.0.250 2026-09-17 20:40:54,727 - INFO - Validated that VN ctest-vn-25650936 is not in any agent 2026-09-17 20:40:54,744 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-25650936 info 2026-09-17 20:40:55,000 - DEBUG - No XMPP flaps were noticed during the test
2026-09-17 20:40:55,000 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04]
2026-09-17 20:40:55,000 - INFO - -------------------------------------------------------------------------------- 2026-09-17 20:40:55,701 - INFO - Deleted project: ctest-TestBasicPolicy-90003900, ID : fe8e7c62-b643-4a24-9f89-96a53d976b31