2026-09-07 13:24:30,742 - INFO - Domain Default found not creating 2026-09-07 13:24:30,917 - INFO - Project ctest-TestBasicPolicy-24670754 not found, creating it 2026-09-07 13:24:31,453 - INFO - Created Project:ctest-TestBasicPolicy-24670754, ID : 183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:24:33,307 - INFO - ================================================================================ 2026-09-07 13:24:33,307 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-07 13:24:33,307 - 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-07 13:24:33,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.191': {'10.20.0.17': '0'}} with 2026-09-07 13:24:33,572 - INFO - Initial checks done. Running the testcase now 2026-09-07 13:24:33,572 - INFO - 2026-09-07 13:24:34,201 - DEBUG - Response for create_network : {'network': {'id': '60a0ba0c-e94b-490c-960a-704708df9069', 'name': 'ctest-vn-77493269', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'project_id': '183c563dd7344c17b2d566ff57aba17b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-vn-77493269'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:24:34,434 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c261ca81-a4d4-4f2b-bd77-6a2b3de34e2b', 'name': '', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'network_id': '60a0ba0c-e94b-490c-960a-704708df9069', 'ip_version': 4, 'cidr': '148.99.208.64/26', 'allocation_pools': [{'start': '148.99.208.66', 'end': '148.99.208.126'}], 'gateway_ip': '148.99.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.99.208.66', 'tags': [], 'project_id': '183c563dd7344c17b2d566ff57aba17b'}} 2026-09-07 13:24:34,451 - INFO - Created VN ctest-vn-77493269 2026-09-07 13:24:34,508 - DEBUG - VN ctest-vn-77493269 UUID is 60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:34,914 - DEBUG - Response for create_network : {'network': {'id': '7aaa195f-034d-418b-ae65-23b49db94aa5', 'name': 'ctest-vn-44685292', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'project_id': '183c563dd7344c17b2d566ff57aba17b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-vn-44685292'], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:24:35,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e57d521-2a34-453b-a3b8-87b6822677d5', 'name': '', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'network_id': '7aaa195f-034d-418b-ae65-23b49db94aa5', 'ip_version': 4, 'cidr': '116.108.140.192/26', 'allocation_pools': [{'start': '116.108.140.194', 'end': '116.108.140.254'}], 'gateway_ip': '116.108.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.108.140.194', 'tags': [], 'project_id': '183c563dd7344c17b2d566ff57aba17b'}} 2026-09-07 13:24:35,157 - INFO - Created VN ctest-vn-44685292 2026-09-07 13:24:35,211 - DEBUG - VN ctest-vn-44685292 UUID is 7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:35,331 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269, 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-24670754:ctest-vn-44685292, 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-07 13:24:35,664 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '60a0ba0c-e94b-490c-960a-704708df9069', 'name': 'ctest-vn-77493269', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'project_id': '183c563dd7344c17b2d566ff57aba17b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c261ca81-a4d4-4f2b-bd77-6a2b3de34e2b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-vn-77493269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-policy-allow-all-73000946']], 'subnet_ipam': [{'subnet_cidr': '148.99.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:24:35,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aaa195f-034d-418b-ae65-23b49db94aa5', 'name': 'ctest-vn-44685292', 'tenant_id': '183c563dd7344c17b2d566ff57aba17b', 'project_id': '183c563dd7344c17b2d566ff57aba17b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4e57d521-2a34-453b-a3b8-87b6822677d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-vn-44685292'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-policy-allow-all-73000946']], 'subnet_ipam': [{'subnet_cidr': '116.108.140.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-07 13:24:36,079 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:24:36,444 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:24:36,473 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:24:36,485 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:24:36,569 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,584 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,597 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:24:36,606 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:24:36,615 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/8e9f8cc5-c12f-4954-adb7-f4e01abfc2f8 2026-09-07 13:24:36,622 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 13:24:36,623 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,633 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:24:36,650 - INFO - Verified VN network id 12 for VN 60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,651 - INFO - Verifications in API Server for VN ctest-vn-77493269 passed 2026-09-07 13:24:36,651 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,663 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:24:36,670 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:24:36,677 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/8e9f8cc5-c12f-4954-adb7-f4e01abfc2f8 2026-09-07 13:24:36,690 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24670754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6962769588531185932', 'uuid-lslong': '10811577305850155113'}, 'enable': 'true', 'created': '2026-09-07T13:24:34', 'last-modified': '2026-09-07T13:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.059551'} 2026-09-07 13:24:36,697 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-07 13:24:36,697 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77493269 passed 2026-09-07 13:24:36,698 - DEBUG - ====Verifying policy data for ctest-vn-77493269 in API_Server ====== 2026-09-07 13:24:36,698 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:24:36,704 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:24:36,717 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:24:36,801 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/60a0ba0c-e94b-490c-960a-704708df9069 2026-09-07 13:24:36,813 - DEBUG - ==>Verifying data for policy with id: b2c19d77-3923-40a6-8c7c-acc03b815274, fqn: ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-policy-allow-all-73000946'] 2026-09-07 13:24:36,813 - INFO - VN ctest-vn-77493269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 13:24:36,814 - DEBUG - Verifying the vn in opserver 2026-09-07 13:24:36,814 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269 virtual network link through opserver 10.0.0.191 2026-09-07 13:24:36,814 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-09-07 13:24:37,208 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-09-07 13:24:37,273 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269?flat'} 2026-09-07 13:24:37,273 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-77493269 is found in opserver 2026-09-07 13:24:37,284 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 13:24:37,289 - DEBUG - VRF ids for VN ctest-vn-77493269: {} 2026-09-07 13:24:37,289 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:24:37,294 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:24:37,305 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:24:37,388 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,400 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,410 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:24:37,417 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:24:37,424 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/46b51b8a-ec35-42ed-a5f7-a30643543db7 2026-09-07 13:24:37,431 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 13:24:37,431 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,442 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:24:37,458 - INFO - Verified VN network id 13 for VN 7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,459 - INFO - Verifications in API Server for VN ctest-vn-44685292 passed 2026-09-07 13:24:37,459 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,469 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:24:37,477 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:24:37,484 - DEBUG - Requesting: http://10.0.0.191:8082/route-target/46b51b8a-ec35-42ed-a5f7-a30643543db7 2026-09-07 13:24:37,496 - DEBUG - Control-node 10.0.0.191 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-44685292', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24670754', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8838905114536001931', 'uuid-lslong': '12566489593894488741'}, 'enable': 'true', 'created': '2026-09-07T13:24:34', 'last-modified': '2026-09-07T13:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.623928'} 2026-09-07 13:24:37,503 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-07 13:24:37,503 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44685292 passed 2026-09-07 13:24:37,503 - DEBUG - ====Verifying policy data for ctest-vn-44685292 in API_Server ====== 2026-09-07 13:24:37,503 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:24:37,509 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:24:37,519 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:24:37,594 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-network/7aaa195f-034d-418b-ae65-23b49db94aa5 2026-09-07 13:24:37,605 - DEBUG - ==>Verifying data for policy with id: b2c19d77-3923-40a6-8c7c-acc03b815274, fqn: ['default-domain', 'ctest-TestBasicPolicy-24670754', 'ctest-policy-allow-all-73000946'] 2026-09-07 13:24:37,605 - INFO - VN ctest-vn-44685292 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-07 13:24:37,605 - DEBUG - Verifying the vn in opserver 2026-09-07 13:24:37,605 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-44685292 virtual network link through opserver 10.0.0.191 2026-09-07 13:24:37,605 - DEBUG - Requesting: http://10.0.0.191:8081/analytics/uves/virtual-networks 2026-09-07 13:24:37,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-44685292', 'href': 'http://10.0.0.191:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-44685292?flat'} 2026-09-07 13:24:37,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24670754:ctest-vn-44685292 is found in opserver 2026-09-07 13:24:37,628 - DEBUG - Do not have enough data to verify VN in agent 2026-09-07 13:24:37,633 - DEBUG - VRF ids for VN ctest-vn-44685292: {} 2026-09-07 13:24:37,695 - DEBUG - Services list from nova: [, , ] 2026-09-07 13:24:38,157 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6260-1) 2026-09-07 13:24:38,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6260-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6260-1) 2026-09-07 13:24:38,622 - INFO - Waiting for VM ctest-TestBasicPolicy-24670754-40977961 to be up.. 2026-09-07 13:24:38,673 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:24:43,743 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:24:48,823 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:24:53,896 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:24:58,978 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:25:04,057 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:25:09,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:25:14,212 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-07 13:25:19,285 - DEBUG - VM is in ACTIVE state now 2026-09-07 13:25:19,285 - INFO - VM name : ctest-TestBasicPolicy-24670754-40977961 2026-09-07 13:25:19,356 - DEBUG - VM ctest-TestBasicPolicy-24670754-40977961 ID is d023490f-a777-4af1-801a-2883f8666461 2026-09-07 13:25:19,375 - DEBUG - VM ctest-TestBasicPolicy-24670754-40977961 launched on Node cn-jenkins-deploy-platform-ansible-os-6260-1 2026-09-07 13:25:19,440 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/d023490f-a777-4af1-801a-2883f8666461 2026-09-07 13:25:19,447 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/100e5f09-7dd1-43f0-ba94-2230de8d6712 2026-09-07 13:25:20,695 - 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=4.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 3.167/3.643/4.119/0.476 ms') 2026-09-07 13:25:20,696 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-24670754-40977961 passed 2026-09-07 13:25:20,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:25:20,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24670754-40977961, IP 148.99.208.67, Port 22 2026-09-07 13:25:20,914 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-09-07 13:25:20,990 - DEBUG - VM ctest-TestBasicPolicy-24670754-40977961 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-07 13:25:25,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:25:25,991 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24670754-40977961, IP 148.99.208.67, Port 22 2026-09-07 13:25:26,157 - DEBUG - VM ctest-TestBasicPolicy-24670754-40977961 is ready for SSH connections 2026-09-07 13:25:26,157 - INFO - Waiting for VM ctest-TestBasicPolicy-24670754-93983173 to be up.. 2026-09-07 13:25:26,229 - DEBUG - VM is in ACTIVE state now 2026-09-07 13:25:26,229 - INFO - VM name : ctest-TestBasicPolicy-24670754-93983173 2026-09-07 13:25:26,289 - DEBUG - VM ctest-TestBasicPolicy-24670754-93983173 ID is 713b52a8-0244-4d7e-92c9-288c4e698d4e 2026-09-07 13:25:26,289 - DEBUG - VM ctest-TestBasicPolicy-24670754-93983173 launched on Node cn-jenkins-deploy-platform-ansible-os-6260-1 2026-09-07 13:25:26,356 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/713b52a8-0244-4d7e-92c9-288c4e698d4e 2026-09-07 13:25:26,365 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/d5e68151-3677-4f3b-b624-20e660efffe4 2026-09-07 13:25:27,598 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.506 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.506/2.168/3.830/1.662 ms') 2026-09-07 13:25:27,598 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-24670754-93983173 passed 2026-09-07 13:25:27,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:25:27,748 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-24670754-93983173, IP 116.108.140.195, Port 22 2026-09-07 13:25:27,907 - DEBUG - VM ctest-TestBasicPolicy-24670754-93983173 is ready for SSH connections 2026-09-07 13:25:27,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:25:27,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.108.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-09-07 13:25:27,908 - DEBUG - ping -s 56 -c 3 -W 1 116.108.140.195 2026-09-07 13:25:31,859 - DEBUG - PING 116.108.140.195 (116.108.140.195): 56 data bytes 64 bytes from 116.108.140.195: seq=0 ttl=63 time=20.289 ms 64 bytes from 116.108.140.195: seq=1 ttl=63 time=1.002 ms 64 bytes from 116.108.140.195: seq=2 ttl=63 time=0.891 ms --- 116.108.140.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.891/7.394/20.289 ms 2026-09-07 13:25:31,859 - INFO - Ping to IP 116.108.140.195 from VM ctest-TestBasicPolicy-24670754-40977961 passed 2026-09-07 13:25:32,035 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b2c19d77-3923-40a6-8c7c-acc03b815274", "href": "http://10.0.0.191:8082/network-policy/b2c19d77-3923-40a6-8c7c-acc03b815274"}} 2026-09-07 13:25:32,035 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-07 13:25:32,036 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 116.108.140.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.191, gateway password: c0ntrail123 2026-09-07 13:25:32,036 - DEBUG - ping -s 56 -c 3 -W 1 116.108.140.195 2026-09-07 13:25:35,161 - DEBUG - PING 116.108.140.195 (116.108.140.195): 56 data bytes 64 bytes from 116.108.140.195: seq=0 ttl=63 time=1.279 ms --- 116.108.140.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.279/1.279/1.279 ms 2026-09-07 13:25:35,161 - WARNING - Ping to IP 116.108.140.195 from VM ctest-TestBasicPolicy-24670754-40977961 failed 2026-09-07 13:25:35,161 - INFO - Deleting VM ctest-TestBasicPolicy-24670754-93983173 2026-09-07 13:25:35,236 - INFO - Deleting VM ctest-TestBasicPolicy-24670754-40977961 2026-09-07 13:25:35,604 - INFO - Deleted policy ctest-policy-allow-all-73000946 2026-09-07 13:25:35,604 - INFO - Deleting VN ctest-vn-44685292 2026-09-07 13:25:35,636 - DEBUG - VN 7aaa195f-034d-418b-ae65-23b49db94aa5 still in use: Unable to complete operation on network 7aaa195f-034d-418b-ae65-23b49db94aa5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f3c2575e-635a-4d6e-877d-153d9696d119'] 2026-09-07 13:25:35,636 - WARNING - Deleting VN ctest-vn-44685292 failed..Will retry 2026-09-07 13:25:37,766 - DEBUG - Response for deleting network () 2026-09-07 13:25:37,766 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/7b5cfb5c-b97e-4bdc-a7dd-204e3fdd76d0 2026-09-07 13:25:37,776 - DEBUG - Response Code: 404 2026-09-07 13:25:37,777 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:25:37,782 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:25:37,836 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:25:37,910 - INFO - Validated that VN ctest-vn-44685292 is not found in API Server 2026-09-07 13:25:37,922 - DEBUG - VN ctest-vn-44685292 is not present in Agent 10.0.0.191 2026-09-07 13:25:37,922 - INFO - Validated that VN ctest-vn-44685292 is not in any agent 2026-09-07 13:25:37,938 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-44685292 info 2026-09-07 13:25:37,938 - INFO - Deleting VN ctest-vn-77493269 2026-09-07 13:25:38,042 - DEBUG - Response for deleting network () 2026-09-07 13:25:38,042 - DEBUG - Requesting: http://10.0.0.191:8082/routing-instance/8b154e07-bf6b-4bb3-8dc9-3a4ea7081c83 2026-09-07 13:25:38,046 - DEBUG - Response Code: 404 2026-09-07 13:25:38,047 - DEBUG - Requesting: http://10.0.0.191:8082/domains 2026-09-07 13:25:38,057 - DEBUG - Requesting: http://10.0.0.191:8082/domain/649f1eb8-50d6-4305-a573-1e7dba4d8d4a 2026-09-07 13:25:38,108 - DEBUG - Requesting: http://10.0.0.191:8082/project/183c563d-d734-4c17-b2d5-66ff57aba17b 2026-09-07 13:25:38,187 - INFO - Validated that VN ctest-vn-77493269 is not found in API Server 2026-09-07 13:25:38,197 - DEBUG - VN ctest-vn-77493269 is not present in Agent 10.0.0.191 2026-09-07 13:25:38,197 - INFO - Validated that VN ctest-vn-77493269 is not in any agent 2026-09-07 13:25:38,214 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77493269 info 2026-09-07 13:25:38,489 - DEBUG - No XMPP flaps were noticed during the test 2026-09-07 13:25:38,490 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:05] 2026-09-07 13:25:38,490 - INFO - -------------------------------------------------------------------------------- 2026-09-07 13:25:39,237 - INFO - Deleted project: ctest-TestBasicPolicy-24670754, ID : 183c563d-d734-4c17-b2d5-66ff57aba17b