2026-08-24 17:32:17,451 - INFO - Domain Default found not creating 2026-08-24 17:32:17,618 - INFO - Project ctest-TestBasicPolicy-52741806 not found, creating it 2026-08-24 17:32:18,097 - INFO - Created Project:ctest-TestBasicPolicy-52741806, ID : dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:32:19,654 - INFO - ================================================================================ 2026-08-24 17:32:19,654 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-24 17:32:19,654 - 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-08-24 17:32:19,922 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-08-24 17:32:19,922 - INFO - Initial checks done. Running the testcase now 2026-08-24 17:32:19,922 - INFO - 2026-08-24 17:32:20,654 - DEBUG - Response for create_network : {'network': {'id': 'bff3a832-2cb0-41b4-a68a-4ed0e407f549', 'name': 'ctest-vn-14712846', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-vn-14712846'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 17:32:20,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '81081079-d4b5-42cd-ac1f-f03f859ae5c4', 'name': '', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'network_id': 'bff3a832-2cb0-41b4-a68a-4ed0e407f549', 'ip_version': 4, 'cidr': '141.254.197.128/26', 'allocation_pools': [{'start': '141.254.197.130', 'end': '141.254.197.190'}], 'gateway_ip': '141.254.197.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.254.197.130', 'tags': [], 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78'}} 2026-08-24 17:32:20,894 - INFO - Created VN ctest-vn-14712846 2026-08-24 17:32:20,947 - DEBUG - VN ctest-vn-14712846 UUID is bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:21,326 - DEBUG - Response for create_network : {'network': {'id': 'c1d656b5-9954-4fdc-85b1-36f53c0f27e0', 'name': 'ctest-vn-21473348', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-vn-21473348'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 17:32:21,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '86fe216d-3d0d-45ab-8a90-aa128ac02c04', 'name': '', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'network_id': 'c1d656b5-9954-4fdc-85b1-36f53c0f27e0', 'ip_version': 4, 'cidr': '54.40.87.64/26', 'allocation_pools': [{'start': '54.40.87.66', 'end': '54.40.87.126'}], 'gateway_ip': '54.40.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.40.87.66', 'tags': [], 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78'}} 2026-08-24 17:32:21,617 - INFO - Created VN ctest-vn-21473348 2026-08-24 17:32:21,675 - DEBUG - VN ctest-vn-21473348 UUID is c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:21,827 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846, 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-52741806:ctest-vn-21473348, 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-08-24 17:32:22,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bff3a832-2cb0-41b4-a68a-4ed0e407f549', 'name': 'ctest-vn-14712846', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['81081079-d4b5-42cd-ac1f-f03f859ae5c4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-vn-14712846'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-policy-allow-all-78785429']], 'subnet_ipam': [{'subnet_cidr': '141.254.197.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 17:32:22,455 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c1d656b5-9954-4fdc-85b1-36f53c0f27e0', 'name': 'ctest-vn-21473348', 'tenant_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'project_id': 'dff9a5e165bd408f8c6763212e6b0c78', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['86fe216d-3d0d-45ab-8a90-aa128ac02c04'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-vn-21473348'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-policy-allow-all-78785429']], 'subnet_ipam': [{'subnet_cidr': '54.40.87.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-24 17:32:22,631 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:32:22,966 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:32:22,993 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:32:23,006 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:32:23,100 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,112 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,122 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:32:23,129 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:32:23,136 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/1160930f-34c4-454e-87dd-f33c98fae4e8 2026-08-24 17:32:23,144 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 17:32:23,144 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,159 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:32:23,182 - INFO - Verified VN network id 11 for VN bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,182 - INFO - Verifications in API Server for VN ctest-vn-14712846 passed 2026-08-24 17:32:23,182 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,194 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:32:23,202 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:32:23,212 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/1160930f-34c4-454e-87dd-f33c98fae4e8 2026-08-24 17:32:23,224 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52741806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13831583814036505012', 'uuid-lslong': '12000490816167998793'}, 'enable': 'true', 'created': '2026-08-24T17:32:20', 'last-modified': '2026-08-24T17:32:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.110940'} 2026-08-24 17:32:23,231 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-24 17:32:23,231 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14712846 passed 2026-08-24 17:32:23,232 - DEBUG - ====Verifying policy data for ctest-vn-14712846 in API_Server ====== 2026-08-24 17:32:23,232 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:32:23,240 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:32:23,252 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:32:23,329 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/bff3a832-2cb0-41b4-a68a-4ed0e407f549 2026-08-24 17:32:23,338 - DEBUG - ==>Verifying data for policy with id: 9074efc5-c4b2-4de1-b0da-00100f2d45a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-policy-allow-all-78785429'] 2026-08-24 17:32:23,338 - INFO - VN ctest-vn-14712846 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 17:32:23,338 - DEBUG - Verifying the vn in opserver 2026-08-24 17:32:23,339 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846 virtual network link through opserver 10.0.0.161 2026-08-24 17:32:23,339 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-24 17:32:23,663 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-24 17:32:23,723 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846?flat'} 2026-08-24 17:32:23,723 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846 is found in opserver 2026-08-24 17:32:23,736 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 17:32:23,743 - DEBUG - VRF ids for VN ctest-vn-14712846: {} 2026-08-24 17:32:23,743 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:32:23,750 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:32:23,761 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:32:23,843 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:23,861 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:23,873 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:32:23,881 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:32:23,888 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/df7adbd0-cbe3-4908-8870-b31bc791bb0f 2026-08-24 17:32:23,896 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 17:32:23,896 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:23,905 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:32:23,925 - INFO - Verified VN network id 12 for VN c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:23,925 - INFO - Verifications in API Server for VN ctest-vn-21473348 passed 2026-08-24 17:32:23,925 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:23,939 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:32:23,949 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:32:23,958 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/df7adbd0-cbe3-4908-8870-b31bc791bb0f 2026-08-24 17:32:23,978 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52741806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13967446632297680860', 'uuid-lslong': '9633541504824715232'}, 'enable': 'true', 'created': '2026-08-24T17:32:21', 'last-modified': '2026-08-24T17:32:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.561651'} 2026-08-24 17:32:23,986 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-24 17:32:23,986 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21473348 passed 2026-08-24 17:32:23,986 - DEBUG - ====Verifying policy data for ctest-vn-21473348 in API_Server ====== 2026-08-24 17:32:23,986 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:32:23,994 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:32:24,008 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:32:24,085 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/c1d656b5-9954-4fdc-85b1-36f53c0f27e0 2026-08-24 17:32:24,095 - DEBUG - ==>Verifying data for policy with id: 9074efc5-c4b2-4de1-b0da-00100f2d45a4, fqn: ['default-domain', 'ctest-TestBasicPolicy-52741806', 'ctest-policy-allow-all-78785429'] 2026-08-24 17:32:24,095 - INFO - VN ctest-vn-21473348 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-24 17:32:24,096 - DEBUG - Verifying the vn in opserver 2026-08-24 17:32:24,096 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348 virtual network link through opserver 10.0.0.161 2026-08-24 17:32:24,096 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-24 17:32:24,107 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348?flat'} 2026-08-24 17:32:24,107 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348 is found in opserver 2026-08-24 17:32:24,116 - DEBUG - Do not have enough data to verify VN in agent 2026-08-24 17:32:24,121 - DEBUG - VRF ids for VN ctest-vn-21473348: {} 2026-08-24 17:32:24,186 - DEBUG - Services list from nova: [, , ] 2026-08-24 17:32:24,664 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6215-1) 2026-08-24 17:32:25,062 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6215-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6215-1) 2026-08-24 17:32:25,062 - INFO - Waiting for VM ctest-TestBasicPolicy-52741806-04876367 to be up.. 2026-08-24 17:32:25,100 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:30,176 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:35,258 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:40,337 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:45,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:50,497 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:32:55,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 17:33:00,653 - DEBUG - VM is in ACTIVE state now 2026-08-24 17:33:00,653 - INFO - VM name : ctest-TestBasicPolicy-52741806-04876367 2026-08-24 17:33:00,727 - DEBUG - VM ctest-TestBasicPolicy-52741806-04876367 ID is e141e30c-31b9-4a1c-b9dc-426a9ffc19ea 2026-08-24 17:33:00,751 - DEBUG - VM ctest-TestBasicPolicy-52741806-04876367 launched on Node cn-jenkins-deploy-platform-ansible-os-6215-1 2026-08-24 17:33:00,825 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/e141e30c-31b9-4a1c-b9dc-426a9ffc19ea 2026-08-24 17:33:00,833 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/d2551fad-95b8-4c56-83fa-70074360446a 2026-08-24 17:33:04,103 - 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 1026ms') 2026-08-24 17:33:04,103 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52741806-04876367 failed! 2026-08-24 17:33:04,159 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-14712846 is 141.254.197.129 and allocation pool is NOT set 2026-08-24 17:33:06,218 - 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=5.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.538 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.538/2.856/5.174/2.318 ms') 2026-08-24 17:33:06,218 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52741806-04876367 passed 2026-08-24 17:33:06,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 17:33:06,367 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52741806-04876367, IP 141.254.197.131, Port 22 2026-08-24 17:33:06,527 - DEBUG - VM ctest-TestBasicPolicy-52741806-04876367 is ready for SSH connections 2026-08-24 17:33:06,527 - INFO - Waiting for VM ctest-TestBasicPolicy-52741806-61743190 to be up.. 2026-08-24 17:33:06,601 - DEBUG - VM is in ACTIVE state now 2026-08-24 17:33:06,601 - INFO - VM name : ctest-TestBasicPolicy-52741806-61743190 2026-08-24 17:33:06,673 - DEBUG - VM ctest-TestBasicPolicy-52741806-61743190 ID is 17f38ebe-d131-47e7-8456-c498a1b15723 2026-08-24 17:33:06,673 - DEBUG - VM ctest-TestBasicPolicy-52741806-61743190 launched on Node cn-jenkins-deploy-platform-ansible-os-6215-1 2026-08-24 17:33:06,747 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/17f38ebe-d131-47e7-8456-c498a1b15723 2026-08-24 17:33:06,756 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/7eca5556-4837-4078-af1e-a3373c7de89f 2026-08-24 17:33:10,023 - 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 1023ms') 2026-08-24 17:33:10,023 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52741806-61743190 failed! 2026-08-24 17:33:10,079 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52741806:ctest-vn-21473348 is 54.40.87.65 and allocation pool is NOT set 2026-08-24 17:33:12,142 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.595 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.595/1.908/3.222/1.313 ms') 2026-08-24 17:33:12,142 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52741806-61743190 passed 2026-08-24 17:33:12,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 17:33:12,291 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52741806-61743190, IP 54.40.87.67, Port 22 2026-08-24 17:33:12,446 - DEBUG - VM ctest-TestBasicPolicy-52741806-61743190 is ready for SSH connections 2026-08-24 17:33:12,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 17:33:12,447 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.40.87.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-24 17:33:12,447 - DEBUG - ping -s 56 -c 3 -W 1 54.40.87.67 2026-08-24 17:33:16,407 - DEBUG - PING 54.40.87.67 (54.40.87.67): 56 data bytes 64 bytes from 54.40.87.67: seq=0 ttl=63 time=3.993 ms 64 bytes from 54.40.87.67: seq=1 ttl=63 time=1.165 ms 64 bytes from 54.40.87.67: seq=2 ttl=63 time=1.008 ms --- 54.40.87.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/2.055/3.993 ms 2026-08-24 17:33:16,407 - INFO - Ping to IP 54.40.87.67 from VM ctest-TestBasicPolicy-52741806-04876367 passed 2026-08-24 17:33:16,590 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9074efc5-c4b2-4de1-b0da-00100f2d45a4", "href": "http://10.0.0.161:8082/network-policy/9074efc5-c4b2-4de1-b0da-00100f2d45a4"}} 2026-08-24 17:33:16,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 17:33:16,591 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 54.40.87.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-24 17:33:16,591 - DEBUG - ping -s 56 -c 3 -W 1 54.40.87.67 2026-08-24 17:33:19,732 - DEBUG - PING 54.40.87.67 (54.40.87.67): 56 data bytes 64 bytes from 54.40.87.67: seq=0 ttl=63 time=1.641 ms --- 54.40.87.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.641/1.641/1.641 ms 2026-08-24 17:33:19,732 - WARNING - Ping to IP 54.40.87.67 from VM ctest-TestBasicPolicy-52741806-04876367 failed 2026-08-24 17:33:19,732 - INFO - Deleting VM ctest-TestBasicPolicy-52741806-61743190 2026-08-24 17:33:19,805 - INFO - Deleting VM ctest-TestBasicPolicy-52741806-04876367 2026-08-24 17:33:20,222 - INFO - Deleted policy ctest-policy-allow-all-78785429 2026-08-24 17:33:20,222 - INFO - Deleting VN ctest-vn-21473348 2026-08-24 17:33:20,259 - DEBUG - VN c1d656b5-9954-4fdc-85b1-36f53c0f27e0 still in use: Unable to complete operation on network c1d656b5-9954-4fdc-85b1-36f53c0f27e0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-444e7ec9-02fb-41ff-ab58-0f8bc27c5a10'] 2026-08-24 17:33:20,260 - WARNING - Deleting VN ctest-vn-21473348 failed..Will retry 2026-08-24 17:33:22,396 - DEBUG - Response for deleting network () 2026-08-24 17:33:22,396 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7edfda0d-5028-4b91-8acb-5c920a165b73 2026-08-24 17:33:22,406 - DEBUG - Response Code: 404 2026-08-24 17:33:22,406 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:33:22,412 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:33:22,464 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:33:22,550 - INFO - Validated that VN ctest-vn-21473348 is not found in API Server 2026-08-24 17:33:22,564 - DEBUG - VN ctest-vn-21473348 is not present in Agent 10.0.0.161 2026-08-24 17:33:22,564 - INFO - Validated that VN ctest-vn-21473348 is not in any agent 2026-08-24 17:33:22,581 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21473348 info 2026-08-24 17:33:22,581 - INFO - Deleting VN ctest-vn-14712846 2026-08-24 17:33:22,692 - DEBUG - Response for deleting network () 2026-08-24 17:33:22,692 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/fe3eb3ff-ca01-4905-ad19-4784743e0098 2026-08-24 17:33:22,698 - DEBUG - Response Code: 404 2026-08-24 17:33:22,698 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-24 17:33:22,705 - DEBUG - Requesting: http://10.0.0.161:8082/domain/86f499ed-8838-419b-b07a-e41db5a473c4 2026-08-24 17:33:22,763 - DEBUG - Requesting: http://10.0.0.161:8082/project/dff9a5e1-65bd-408f-8c67-63212e6b0c78 2026-08-24 17:33:22,841 - INFO - Validated that VN ctest-vn-14712846 is not found in API Server 2026-08-24 17:33:22,852 - DEBUG - VN ctest-vn-14712846 is not present in Agent 10.0.0.161 2026-08-24 17:33:22,852 - INFO - Validated that VN ctest-vn-14712846 is not in any agent 2026-08-24 17:33:22,870 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14712846 info 2026-08-24 17:33:23,132 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 17:33:23,132 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-08-24 17:33:23,132 - INFO - -------------------------------------------------------------------------------- 2026-08-24 17:33:23,884 - INFO - Deleted project: ctest-TestBasicPolicy-52741806, ID : dff9a5e1-65bd-408f-8c67-63212e6b0c78