2026-08-17 05:33:02,930 - INFO - Domain Default found not creating 2026-08-17 05:33:03,146 - INFO - Project ctest-TestBasicPolicy-46665695 not found, creating it 2026-08-17 05:33:03,702 - INFO - Created Project:ctest-TestBasicPolicy-46665695, ID : 68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:33:05,631 - INFO - ================================================================================ 2026-08-17 05:33:05,631 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 05:33:05,631 - 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-17 05:33:05,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.18': '0'}} with 2026-08-17 05:33:05,924 - INFO - Initial checks done. Running the testcase now 2026-08-17 05:33:05,924 - INFO - 2026-08-17 05:33:06,716 - DEBUG - Response for create_network : {'network': {'id': '62439e6b-47b9-44a9-bb6e-2ec602a0cecf', 'name': 'ctest-vn-54787512', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'project_id': '68251e1020d941ee9071ca4b7367d7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-vn-54787512'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:33:06,995 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7724f0a-c7e2-452a-ab89-d07aef316843', 'name': '', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'network_id': '62439e6b-47b9-44a9-bb6e-2ec602a0cecf', 'ip_version': 4, 'cidr': '146.49.178.128/26', 'allocation_pools': [{'start': '146.49.178.130', 'end': '146.49.178.190'}], 'gateway_ip': '146.49.178.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.49.178.130', 'tags': [], 'project_id': '68251e1020d941ee9071ca4b7367d7b1'}} 2026-08-17 05:33:07,024 - INFO - Created VN ctest-vn-54787512 2026-08-17 05:33:07,084 - DEBUG - VN ctest-vn-54787512 UUID is 62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:07,467 - DEBUG - Response for create_network : {'network': {'id': 'fbb886e3-4d03-4454-a8d8-9938693eed66', 'name': 'ctest-vn-86670717', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'project_id': '68251e1020d941ee9071ca4b7367d7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-vn-86670717'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:33:07,677 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e71db1fb-fbe6-46d6-a0d6-848d685a4e56', 'name': '', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'network_id': 'fbb886e3-4d03-4454-a8d8-9938693eed66', 'ip_version': 4, 'cidr': '202.247.57.192/26', 'allocation_pools': [{'start': '202.247.57.194', 'end': '202.247.57.254'}], 'gateway_ip': '202.247.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.247.57.194', 'tags': [], 'project_id': '68251e1020d941ee9071ca4b7367d7b1'}} 2026-08-17 05:33:07,701 - INFO - Created VN ctest-vn-86670717 2026-08-17 05:33:07,756 - DEBUG - VN ctest-vn-86670717 UUID is fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:07,890 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512, 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-46665695:ctest-vn-86670717, 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-17 05:33:08,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62439e6b-47b9-44a9-bb6e-2ec602a0cecf', 'name': 'ctest-vn-54787512', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'project_id': '68251e1020d941ee9071ca4b7367d7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d7724f0a-c7e2-452a-ab89-d07aef316843'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-vn-54787512'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-policy-allow-all-96799152']], 'subnet_ipam': [{'subnet_cidr': '146.49.178.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:33:08,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fbb886e3-4d03-4454-a8d8-9938693eed66', 'name': 'ctest-vn-86670717', 'tenant_id': '68251e1020d941ee9071ca4b7367d7b1', 'project_id': '68251e1020d941ee9071ca4b7367d7b1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e71db1fb-fbe6-46d6-a0d6-848d685a4e56'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-vn-86670717'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-policy-allow-all-96799152']], 'subnet_ipam': [{'subnet_cidr': '202.247.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 05:33:08,752 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:33:09,134 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:33:09,170 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:33:09,186 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:33:09,265 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,281 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,292 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:33:09,303 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:33:09,312 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/3d516f36-9ac7-4f6e-9b4f-e88ca3d3e8d0 2026-08-17 05:33:09,320 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 05:33:09,320 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,331 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:33:09,349 - INFO - Verified VN network id 12 for VN 62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,350 - INFO - Verifications in API Server for VN ctest-vn-54787512 passed 2026-08-17 05:33:09,350 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,362 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:33:09,370 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:33:09,380 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/3d516f36-9ac7-4f6e-9b4f-e88ca3d3e8d0 2026-08-17 05:33:09,395 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46665695', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7080677222758565033', 'uuid-lslong': '13505783760513191631'}, 'enable': 'true', 'created': '2026-08-17T05:33:06', 'last-modified': '2026-08-17T05:33:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.112504'} 2026-08-17 05:33:09,404 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 05:33:09,404 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54787512 passed 2026-08-17 05:33:09,404 - DEBUG - ====Verifying policy data for ctest-vn-54787512 in API_Server ====== 2026-08-17 05:33:09,404 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:33:09,411 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:33:09,425 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:33:09,502 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/62439e6b-47b9-44a9-bb6e-2ec602a0cecf 2026-08-17 05:33:09,515 - DEBUG - ==>Verifying data for policy with id: c33b9fe3-cb7e-4027-9a72-7e9a75041e0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-policy-allow-all-96799152'] 2026-08-17 05:33:09,516 - INFO - VN ctest-vn-54787512 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 05:33:09,516 - DEBUG - Verifying the vn in opserver 2026-08-17 05:33:09,516 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512 virtual network link through opserver 10.0.0.161 2026-08-17 05:33:09,516 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 05:33:09,892 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 05:33:09,955 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512?flat'} 2026-08-17 05:33:09,955 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512 is found in opserver 2026-08-17 05:33:09,968 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 05:33:09,973 - DEBUG - VRF ids for VN ctest-vn-54787512: {} 2026-08-17 05:33:09,973 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:33:09,980 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:33:09,991 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:33:10,077 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,091 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,104 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:33:10,115 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:33:10,125 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d255986-c6cb-4e6d-b07b-d3d74f08388a 2026-08-17 05:33:10,135 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 05:33:10,135 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,150 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:33:10,168 - INFO - Verified VN network id 13 for VN fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,168 - INFO - Verifications in API Server for VN ctest-vn-86670717 passed 2026-08-17 05:33:10,168 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,180 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:33:10,188 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:33:10,197 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/4d255986-c6cb-4e6d-b07b-d3d74f08388a 2026-08-17 05:33:10,213 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-86670717', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46665695', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18138395810042430548', 'uuid-lslong': '12166642860904344934'}, 'enable': 'true', 'created': '2026-08-17T05:33:07', 'last-modified': '2026-08-17T05:33:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.666067'} 2026-08-17 05:33:10,221 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-08-17 05:33:10,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86670717 passed 2026-08-17 05:33:10,221 - DEBUG - ====Verifying policy data for ctest-vn-86670717 in API_Server ====== 2026-08-17 05:33:10,221 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:33:10,228 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:33:10,242 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:33:10,325 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/fbb886e3-4d03-4454-a8d8-9938693eed66 2026-08-17 05:33:10,339 - DEBUG - ==>Verifying data for policy with id: c33b9fe3-cb7e-4027-9a72-7e9a75041e0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-46665695', 'ctest-policy-allow-all-96799152'] 2026-08-17 05:33:10,339 - INFO - VN ctest-vn-86670717 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 05:33:10,339 - DEBUG - Verifying the vn in opserver 2026-08-17 05:33:10,339 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-86670717 virtual network link through opserver 10.0.0.161 2026-08-17 05:33:10,339 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-08-17 05:33:10,351 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-86670717', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-86670717?flat'} 2026-08-17 05:33:10,351 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-86670717 is found in opserver 2026-08-17 05:33:10,366 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 05:33:10,374 - DEBUG - VRF ids for VN ctest-vn-86670717: {} 2026-08-17 05:33:10,446 - DEBUG - Services list from nova: [, , ] 2026-08-17 05:33:10,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6169-1) 2026-08-17 05:33:11,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6169-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6169-1) 2026-08-17 05:33:11,371 - INFO - Waiting for VM ctest-TestBasicPolicy-46665695-43947073 to be up.. 2026-08-17 05:33:11,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:16,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:21,579 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:26,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:31,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:36,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:41,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:47,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 05:33:52,128 - DEBUG - VM is in ACTIVE state now 2026-08-17 05:33:52,128 - INFO - VM name : ctest-TestBasicPolicy-46665695-43947073 2026-08-17 05:33:52,212 - DEBUG - VM ctest-TestBasicPolicy-46665695-43947073 ID is 80616188-bff8-4503-9f2d-a83995ef36a6 2026-08-17 05:33:52,236 - DEBUG - VM ctest-TestBasicPolicy-46665695-43947073 launched on Node cn-jenkins-deploy-platform-ansible-os-6169-1 2026-08-17 05:33:52,320 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/80616188-bff8-4503-9f2d-a83995ef36a6 2026-08-17 05:33:52,331 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/9c68aaac-dcf5-4077-bd45-ea46843c67cd 2026-08-17 05:33:55,594 - 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 1008ms') 2026-08-17 05:33:55,594 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46665695-43947073 failed! 2026-08-17 05:33:55,648 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-46665695:ctest-vn-54787512 is 146.49.178.129 and allocation pool is NOT set 2026-08-17 05:33:57,708 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.693 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.693/2.966/5.240/2.273 ms') 2026-08-17 05:33:57,708 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-46665695-43947073 passed 2026-08-17 05:33:57,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:33:57,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46665695-43947073, IP 146.49.178.131, Port 22 2026-08-17 05:33:58,038 - DEBUG - VM ctest-TestBasicPolicy-46665695-43947073 is ready for SSH connections 2026-08-17 05:33:58,038 - INFO - Waiting for VM ctest-TestBasicPolicy-46665695-11728837 to be up.. 2026-08-17 05:33:58,123 - DEBUG - VM is in ACTIVE state now 2026-08-17 05:33:58,123 - INFO - VM name : ctest-TestBasicPolicy-46665695-11728837 2026-08-17 05:33:58,211 - DEBUG - VM ctest-TestBasicPolicy-46665695-11728837 ID is 8837cb72-622f-4c3b-a48e-7288b1059095 2026-08-17 05:33:58,211 - DEBUG - VM ctest-TestBasicPolicy-46665695-11728837 launched on Node cn-jenkins-deploy-platform-ansible-os-6169-1 2026-08-17 05:33:58,298 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/8837cb72-622f-4c3b-a48e-7288b1059095 2026-08-17 05:33:58,309 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/6f528b4a-112c-4e15-bfa5-0828b656d465 2026-08-17 05:33:59,552 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.741 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.741/2.753/4.765/2.012 ms') 2026-08-17 05:33:59,553 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-46665695-11728837 passed 2026-08-17 05:33:59,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:33:59,708 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-46665695-11728837, IP 202.247.57.195, Port 22 2026-08-17 05:33:59,879 - DEBUG - VM ctest-TestBasicPolicy-46665695-11728837 is ready for SSH connections 2026-08-17 05:33:59,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:33:59,879 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.247.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-17 05:33:59,879 - DEBUG - ping -s 56 -c 3 -W 1 202.247.57.195 2026-08-17 05:34:03,852 - DEBUG - PING 202.247.57.195 (202.247.57.195): 56 data bytes 64 bytes from 202.247.57.195: seq=0 ttl=63 time=5.036 ms 64 bytes from 202.247.57.195: seq=1 ttl=63 time=1.050 ms 64 bytes from 202.247.57.195: seq=2 ttl=63 time=1.279 ms --- 202.247.57.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.050/2.455/5.036 ms 2026-08-17 05:34:03,852 - INFO - Ping to IP 202.247.57.195 from VM ctest-TestBasicPolicy-46665695-43947073 passed 2026-08-17 05:34:04,051 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c33b9fe3-cb7e-4027-9a72-7e9a75041e0b", "href": "http://10.0.0.161:8082/network-policy/c33b9fe3-cb7e-4027-9a72-7e9a75041e0b"}} 2026-08-17 05:34:04,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 05:34:04,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 202.247.57.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-08-17 05:34:04,052 - DEBUG - ping -s 56 -c 3 -W 1 202.247.57.195 2026-08-17 05:34:07,186 - DEBUG - PING 202.247.57.195 (202.247.57.195): 56 data bytes 64 bytes from 202.247.57.195: seq=0 ttl=63 time=1.953 ms --- 202.247.57.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.953/1.953/1.953 ms 2026-08-17 05:34:07,186 - WARNING - Ping to IP 202.247.57.195 from VM ctest-TestBasicPolicy-46665695-43947073 failed 2026-08-17 05:34:07,186 - INFO - Deleting VM ctest-TestBasicPolicy-46665695-11728837 2026-08-17 05:34:07,265 - INFO - Deleting VM ctest-TestBasicPolicy-46665695-43947073 2026-08-17 05:34:07,655 - INFO - Deleted policy ctest-policy-allow-all-96799152 2026-08-17 05:34:07,655 - INFO - Deleting VN ctest-vn-86670717 2026-08-17 05:34:07,691 - DEBUG - VN fbb886e3-4d03-4454-a8d8-9938693eed66 still in use: Unable to complete operation on network fbb886e3-4d03-4454-a8d8-9938693eed66. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a25aaa42-cb22-4521-9950-6e0457b3bbc5'] 2026-08-17 05:34:07,691 - WARNING - Deleting VN ctest-vn-86670717 failed..Will retry 2026-08-17 05:34:09,813 - DEBUG - Response for deleting network () 2026-08-17 05:34:09,813 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/89177507-fe1d-4d9f-ad47-ad19e1498265 2026-08-17 05:34:09,824 - DEBUG - Response Code: 404 2026-08-17 05:34:09,824 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:34:09,830 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:34:09,887 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:34:09,969 - INFO - Validated that VN ctest-vn-86670717 is not found in API Server 2026-08-17 05:34:09,983 - DEBUG - VN ctest-vn-86670717 is not present in Agent 10.0.0.161 2026-08-17 05:34:09,983 - INFO - Validated that VN ctest-vn-86670717 is not in any agent 2026-08-17 05:34:10,001 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86670717 info 2026-08-17 05:34:10,001 - INFO - Deleting VN ctest-vn-54787512 2026-08-17 05:34:10,137 - DEBUG - Response for deleting network () 2026-08-17 05:34:10,137 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/b55bc061-01f5-4a67-a6de-1987506ffdf4 2026-08-17 05:34:10,147 - DEBUG - Response Code: 404 2026-08-17 05:34:10,147 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-08-17 05:34:10,154 - DEBUG - Requesting: http://10.0.0.161:8082/domain/676d5299-35c3-49fc-b4d9-f855572b2a5c 2026-08-17 05:34:10,209 - DEBUG - Requesting: http://10.0.0.161:8082/project/68251e10-20d9-41ee-9071-ca4b7367d7b1 2026-08-17 05:34:10,285 - INFO - Validated that VN ctest-vn-54787512 is not found in API Server 2026-08-17 05:34:10,295 - DEBUG - VN ctest-vn-54787512 is not present in Agent 10.0.0.161 2026-08-17 05:34:10,295 - INFO - Validated that VN ctest-vn-54787512 is not in any agent 2026-08-17 05:34:10,314 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54787512 info 2026-08-17 05:34:10,589 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 05:34:10,589 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05]
2026-08-17 05:34:10,589 - INFO - -------------------------------------------------------------------------------- 2026-08-17 05:34:11,377 - INFO - Deleted project: ctest-TestBasicPolicy-46665695, ID : 68251e10-20d9-41ee-9071-ca4b7367d7b1