2026-08-21 10:35:24,969 - INFO - Domain Default found not creating 2026-08-21 10:35:25,158 - INFO - Project ctest-TestBasicPolicy-99657270 not found, creating it 2026-08-21 10:35:25,659 - INFO - Created Project:ctest-TestBasicPolicy-99657270, ID : 340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:35:27,427 - INFO - ================================================================================ 2026-08-21 10:35:27,427 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-21 10:35:27,428 - 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-21 10:35:27,704 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-21 10:35:27,704 - INFO - Initial checks done. Running the testcase now 2026-08-21 10:35:27,704 - INFO - 2026-08-21 10:35:28,370 - DEBUG - Response for create_network : {'network': {'id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'name': 'ctest-vn-98381079', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-98381079'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:35:28,547 - DEBUG - Response for create_subnet : {'subnet': {'id': '4564685a-80dd-4789-b8d1-09d8caadc28e', 'name': '', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'network_id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'ip_version': 4, 'cidr': '98.205.127.128/26', 'allocation_pools': [{'start': '98.205.127.130', 'end': '98.205.127.190'}], 'gateway_ip': '98.205.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.205.127.130', 'tags': [], 'project_id': '340e03a27c244cecb3a5be4241187be7'}} 2026-08-21 10:35:28,566 - INFO - Created VN ctest-vn-98381079 2026-08-21 10:35:28,619 - DEBUG - VN ctest-vn-98381079 UUID is dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:28,958 - DEBUG - Response for create_network : {'network': {'id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'name': 'ctest-vn-41550013', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-41550013'], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:35:29,200 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b79e721-cbe2-4f76-8332-c2b14cdad3fc', 'name': '', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'network_id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'ip_version': 4, 'cidr': '28.80.241.192/26', 'allocation_pools': [{'start': '28.80.241.194', 'end': '28.80.241.254'}], 'gateway_ip': '28.80.241.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.80.241.194', 'tags': [], 'project_id': '340e03a27c244cecb3a5be4241187be7'}} 2026-08-21 10:35:29,228 - INFO - Created VN ctest-vn-41550013 2026-08-21 10:35:29,283 - DEBUG - VN ctest-vn-41550013 UUID is efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:29,406 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079, 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-99657270:ctest-vn-41550013, 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-21 10:35:29,749 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dae09e7e-755d-45de-8e31-8b942812438e', 'name': 'ctest-vn-98381079', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4564685a-80dd-4789-b8d1-09d8caadc28e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-98381079'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']], 'subnet_ipam': [{'subnet_cidr': '98.205.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:35:30,002 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'efcaf489-c6e9-4e12-bd22-6540f9c5988e', 'name': 'ctest-vn-41550013', 'tenant_id': '340e03a27c244cecb3a5be4241187be7', 'project_id': '340e03a27c244cecb3a5be4241187be7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1b79e721-cbe2-4f76-8332-c2b14cdad3fc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-vn-41550013'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940']], 'subnet_ipam': [{'subnet_cidr': '28.80.241.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-21 10:35:30,171 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:35:30,550 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:35:30,580 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:35:30,593 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:35:30,675 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,689 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,700 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:35:30,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:35:30,716 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29c8e44f-6982-433b-a083-dca114b2dab7 2026-08-21 10:35:30,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 10:35:30,724 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,736 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:35:30,754 - INFO - Verified VN network id 11 for VN dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,754 - INFO - Verifications in API Server for VN ctest-vn-98381079 passed 2026-08-21 10:35:30,755 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,765 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:35:30,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:35:30,785 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/29c8e44f-6982-433b-a083-dca114b2dab7 2026-08-21 10:35:30,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99657270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15771780161023591902', 'uuid-lslong': '10246124095688295310'}, 'enable': 'true', 'created': '2026-08-21T10:35:28', 'last-modified': '2026-08-21T10:35:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.085915'} 2026-08-21 10:35:30,808 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-21 10:35:30,808 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98381079 passed 2026-08-21 10:35:30,809 - DEBUG - ====Verifying policy data for ctest-vn-98381079 in API_Server ====== 2026-08-21 10:35:30,809 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:35:30,816 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:35:30,834 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:35:30,906 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dae09e7e-755d-45de-8e31-8b942812438e 2026-08-21 10:35:30,917 - DEBUG - ==>Verifying data for policy with id: 5c7833df-db7f-4869-bd89-00923aee05e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940'] 2026-08-21 10:35:30,917 - INFO - VN ctest-vn-98381079 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 10:35:30,918 - DEBUG - Verifying the vn in opserver 2026-08-21 10:35:30,918 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079 virtual network link through opserver 10.0.0.50 2026-08-21 10:35:30,918 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 10:35:31,292 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 10:35:31,359 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079?flat'} 2026-08-21 10:35:31,360 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079 is found in opserver 2026-08-21 10:35:31,372 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 10:35:31,379 - DEBUG - VRF ids for VN ctest-vn-98381079: {} 2026-08-21 10:35:31,379 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:35:31,386 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:35:31,399 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:35:31,487 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,514 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:35:31,523 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:35:31,531 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/edf169d1-fb7a-40c6-a404-c3ee7184d2cc 2026-08-21 10:35:31,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 10:35:31,540 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,552 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:35:31,570 - INFO - Verified VN network id 12 for VN efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,571 - INFO - Verifications in API Server for VN ctest-vn-41550013 passed 2026-08-21 10:35:31,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,582 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:35:31,591 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:35:31,600 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/edf169d1-fb7a-40c6-a404-c3ee7184d2cc 2026-08-21 10:35:31,614 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-99657270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17278891792945204754', 'uuid-lslong': '13628566752119330958'}, 'enable': 'true', 'created': '2026-08-21T10:35:28', 'last-modified': '2026-08-21T10:35:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.637638'} 2026-08-21 10:35:31,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-21 10:35:31,623 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41550013 passed 2026-08-21 10:35:31,623 - DEBUG - ====Verifying policy data for ctest-vn-41550013 in API_Server ====== 2026-08-21 10:35:31,623 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:35:31,630 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:35:31,643 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:35:31,728 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/efcaf489-c6e9-4e12-bd22-6540f9c5988e 2026-08-21 10:35:31,740 - DEBUG - ==>Verifying data for policy with id: 5c7833df-db7f-4869-bd89-00923aee05e1, fqn: ['default-domain', 'ctest-TestBasicPolicy-99657270', 'ctest-policy-allow-all-46244940'] 2026-08-21 10:35:31,740 - INFO - VN ctest-vn-41550013 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-21 10:35:31,740 - DEBUG - Verifying the vn in opserver 2026-08-21 10:35:31,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013 virtual network link through opserver 10.0.0.50 2026-08-21 10:35:31,740 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-21 10:35:31,753 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013?flat'} 2026-08-21 10:35:31,753 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013 is found in opserver 2026-08-21 10:35:31,766 - DEBUG - Do not have enough data to verify VN in agent 2026-08-21 10:35:31,773 - DEBUG - VRF ids for VN ctest-vn-41550013: {} 2026-08-21 10:35:31,845 - DEBUG - Services list from nova: [, , ] 2026-08-21 10:35:32,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6201-1) 2026-08-21 10:35:32,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6201-1) 2026-08-21 10:35:32,813 - INFO - Waiting for VM ctest-TestBasicPolicy-99657270-66185189 to be up.. 2026-08-21 10:35:32,858 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:35:37,945 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:35:43,039 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:35:48,243 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:35:53,332 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:35:58,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:36:03,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:36:08,644 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-21 10:36:13,739 - DEBUG - VM is in ACTIVE state now 2026-08-21 10:36:13,740 - INFO - VM name : ctest-TestBasicPolicy-99657270-66185189 2026-08-21 10:36:13,829 - DEBUG - VM ctest-TestBasicPolicy-99657270-66185189 ID is f5bfc537-38c6-4a15-992b-5750c92276de 2026-08-21 10:36:13,856 - DEBUG - VM ctest-TestBasicPolicy-99657270-66185189 launched on Node cn-jenkins-deploy-platform-ansible-os-6201-1 2026-08-21 10:36:13,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f5bfc537-38c6-4a15-992b-5750c92276de 2026-08-21 10:36:13,969 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/bcb41112-106d-4ded-932f-ef3d4b302bf9 2026-08-21 10:36:17,236 - 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 1013ms') 2026-08-21 10:36:17,236 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99657270-66185189 failed! 2026-08-21 10:36:17,295 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-98381079 is 98.205.127.129 and allocation pool is NOT set 2026-08-21 10:36:19,362 - 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=6.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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 = 0.566/3.690/6.815/3.124 ms') 2026-08-21 10:36:19,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-99657270-66185189 passed 2026-08-21 10:36:19,515 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:36:19,515 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99657270-66185189, IP 98.205.127.131, Port 22 2026-08-21 10:36:19,680 - DEBUG - VM ctest-TestBasicPolicy-99657270-66185189 is ready for SSH connections 2026-08-21 10:36:19,680 - INFO - Waiting for VM ctest-TestBasicPolicy-99657270-14609012 to be up.. 2026-08-21 10:36:19,767 - DEBUG - VM is in ACTIVE state now 2026-08-21 10:36:19,767 - INFO - VM name : ctest-TestBasicPolicy-99657270-14609012 2026-08-21 10:36:19,868 - DEBUG - VM ctest-TestBasicPolicy-99657270-14609012 ID is 74c46971-43fe-4291-8dae-c8fedf50ad05 2026-08-21 10:36:19,868 - DEBUG - VM ctest-TestBasicPolicy-99657270-14609012 launched on Node cn-jenkins-deploy-platform-ansible-os-6201-1 2026-08-21 10:36:19,962 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/74c46971-43fe-4291-8dae-c8fedf50ad05 2026-08-21 10:36:19,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1911b7bb-3363-43fa-841d-85d74e894d3d 2026-08-21 10:36:23,283 - 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 1025ms') 2026-08-21 10:36:23,283 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99657270-14609012 failed! 2026-08-21 10:36:23,339 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-99657270:ctest-vn-41550013 is 28.80.241.193 and allocation pool is NOT set 2026-08-21 10:36:25,408 - 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=5.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 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.522/2.861/5.200/2.339 ms') 2026-08-21 10:36:25,408 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-99657270-14609012 passed 2026-08-21 10:36:25,563 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:36:25,563 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-99657270-14609012, IP 28.80.241.195, Port 22 2026-08-21 10:36:25,723 - DEBUG - VM ctest-TestBasicPolicy-99657270-14609012 is ready for SSH connections 2026-08-21 10:36:25,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:36:25,723 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.80.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 10:36:25,723 - DEBUG - ping -s 56 -c 3 -W 1 28.80.241.195 2026-08-21 10:36:29,819 - DEBUG - PING 28.80.241.195 (28.80.241.195): 56 data bytes 64 bytes from 28.80.241.195: seq=0 ttl=63 time=4.653 ms 64 bytes from 28.80.241.195: seq=1 ttl=63 time=1.043 ms 64 bytes from 28.80.241.195: seq=2 ttl=63 time=1.595 ms --- 28.80.241.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.043/2.430/4.653 ms 2026-08-21 10:36:29,819 - INFO - Ping to IP 28.80.241.195 from VM ctest-TestBasicPolicy-99657270-66185189 passed 2026-08-21 10:36:30,003 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5c7833df-db7f-4869-bd89-00923aee05e1", "href": "http://10.0.0.50:8082/network-policy/5c7833df-db7f-4869-bd89-00923aee05e1"}} 2026-08-21 10:36:30,003 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-21 10:36:30,003 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 28.80.241.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-21 10:36:30,003 - DEBUG - ping -s 56 -c 3 -W 1 28.80.241.195 2026-08-21 10:36:33,138 - DEBUG - PING 28.80.241.195 (28.80.241.195): 56 data bytes 64 bytes from 28.80.241.195: seq=0 ttl=63 time=1.787 ms --- 28.80.241.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.787/1.787/1.787 ms 2026-08-21 10:36:33,138 - WARNING - Ping to IP 28.80.241.195 from VM ctest-TestBasicPolicy-99657270-66185189 failed 2026-08-21 10:36:33,138 - INFO - Deleting VM ctest-TestBasicPolicy-99657270-14609012 2026-08-21 10:36:33,219 - INFO - Deleting VM ctest-TestBasicPolicy-99657270-66185189 2026-08-21 10:36:33,666 - INFO - Deleted policy ctest-policy-allow-all-46244940 2026-08-21 10:36:33,666 - INFO - Deleting VN ctest-vn-41550013 2026-08-21 10:36:33,703 - DEBUG - VN efcaf489-c6e9-4e12-bd22-6540f9c5988e still in use: Unable to complete operation on network efcaf489-c6e9-4e12-bd22-6540f9c5988e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-198c8952-628d-48c8-953c-fc4e2e9b6b3d'] 2026-08-21 10:36:33,703 - WARNING - Deleting VN ctest-vn-41550013 failed..Will retry 2026-08-21 10:36:35,830 - DEBUG - Response for deleting network () 2026-08-21 10:36:35,830 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/cc7a8b1a-1de8-48d1-b0fb-2ebcf62ab731 2026-08-21 10:36:35,836 - DEBUG - Response Code: 404 2026-08-21 10:36:35,836 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:36:35,845 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:36:35,910 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:36:35,993 - INFO - Validated that VN ctest-vn-41550013 is not found in API Server 2026-08-21 10:36:36,006 - DEBUG - VN ctest-vn-41550013 is not present in Agent 10.0.0.50 2026-08-21 10:36:36,007 - INFO - Validated that VN ctest-vn-41550013 is not in any agent 2026-08-21 10:36:36,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41550013 info 2026-08-21 10:36:36,030 - INFO - Deleting VN ctest-vn-98381079 2026-08-21 10:36:36,154 - DEBUG - Response for deleting network () 2026-08-21 10:36:36,154 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/78c8e772-94c1-42f3-bbd2-1057774b0594 2026-08-21 10:36:36,161 - DEBUG - Response Code: 404 2026-08-21 10:36:36,161 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-21 10:36:36,168 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b541e780-1b3c-4800-b410-5d14e309f7d8 2026-08-21 10:36:36,220 - DEBUG - Requesting: http://10.0.0.50:8082/project/340e03a2-7c24-4cec-b3a5-be4241187be7 2026-08-21 10:36:36,302 - INFO - Validated that VN ctest-vn-98381079 is not found in API Server 2026-08-21 10:36:36,316 - DEBUG - VN ctest-vn-98381079 is not present in Agent 10.0.0.50 2026-08-21 10:36:36,316 - INFO - Validated that VN ctest-vn-98381079 is not in any agent 2026-08-21 10:36:36,336 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98381079 info 2026-08-21 10:36:36,608 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 10:36:36,608 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-08-21 10:36:36,608 - INFO - -------------------------------------------------------------------------------- 2026-08-21 10:36:37,419 - INFO - Deleted project: ctest-TestBasicPolicy-99657270, ID : 340e03a2-7c24-4cec-b3a5-be4241187be7