2026-03-06 18:03:23,699 - INFO - Domain Default found not creating 2026-03-06 18:03:23,863 - INFO - Project ctest-TestBasicPolicy-86986379 not found, creating it 2026-03-06 18:03:24,313 - INFO - Created Project:ctest-TestBasicPolicy-86986379, ID : a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:03:25,807 - INFO - ================================================================================ 2026-03-06 18:03:25,807 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-06 18:03:25,807 - 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-03-06 18:03:26,075 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-03-06 18:03:26,075 - INFO - Initial checks done. Running the testcase now 2026-03-06 18:03:26,075 - INFO - 2026-03-06 18:03:26,639 - DEBUG - Response for create_network : {'network': {'id': 'b965bcac-f888-4b8d-b295-80e2005255f1', 'name': 'ctest-vn-01828122', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-vn-01828122'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:03:26,824 - DEBUG - Response for create_subnet : {'subnet': {'id': '76490c60-d845-460f-88f7-bcbb2c7514ab', 'name': '', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'network_id': 'b965bcac-f888-4b8d-b295-80e2005255f1', 'ip_version': 4, 'cidr': '213.194.97.128/26', 'allocation_pools': [{'start': '213.194.97.130', 'end': '213.194.97.190'}], 'gateway_ip': '213.194.97.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.194.97.130', 'tags': [], 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5'}} 2026-03-06 18:03:26,842 - INFO - Created VN ctest-vn-01828122 2026-03-06 18:03:26,897 - DEBUG - VN ctest-vn-01828122 UUID is b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:27,181 - DEBUG - Response for create_network : {'network': {'id': '4eb10b4d-473d-416f-9d50-fadf63ad64f8', 'name': 'ctest-vn-54371015', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-vn-54371015'], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:03:27,401 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc7f90d3-4152-402f-944b-e0c64ae551f8', 'name': '', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'network_id': '4eb10b4d-473d-416f-9d50-fadf63ad64f8', 'ip_version': 4, 'cidr': '108.128.157.0/26', 'allocation_pools': [{'start': '108.128.157.2', 'end': '108.128.157.62'}], 'gateway_ip': '108.128.157.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.128.157.2', 'tags': [], 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5'}} 2026-03-06 18:03:27,417 - INFO - Created VN ctest-vn-54371015 2026-03-06 18:03:27,469 - DEBUG - VN ctest-vn-54371015 UUID is 4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:27,581 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122, 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-86986379:ctest-vn-54371015, 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-03-06 18:03:27,865 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b965bcac-f888-4b8d-b295-80e2005255f1', 'name': 'ctest-vn-01828122', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76490c60-d845-460f-88f7-bcbb2c7514ab'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-vn-01828122'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-policy-allow-all-49482480']], 'subnet_ipam': [{'subnet_cidr': '213.194.97.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:03:28,098 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4eb10b4d-473d-416f-9d50-fadf63ad64f8', 'name': 'ctest-vn-54371015', 'tenant_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'project_id': 'a61eaf3cc8504ce5a0150eb671972db5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc7f90d3-4152-402f-944b-e0c64ae551f8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-vn-54371015'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-policy-allow-all-49482480']], 'subnet_ipam': [{'subnet_cidr': '108.128.157.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-06 18:03:28,265 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:03:28,563 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:03:28,599 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:03:28,611 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:03:28,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,698 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:03:28,705 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:03:28,712 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e0859a6-3dd0-4817-81b6-124f8266e0a1 2026-03-06 18:03:28,719 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 18:03:28,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:03:28,743 - INFO - Verified VN network id 11 for VN b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,743 - INFO - Verifications in API Server for VN ctest-vn-01828122 passed 2026-03-06 18:03:28,743 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,754 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:03:28,761 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:03:28,769 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7e0859a6-3dd0-4817-81b6-124f8266e0a1 2026-03-06 18:03:28,784 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86986379', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13359291320754523021', 'uuid-lslong': '12868333218437420529'}, 'enable': 'true', 'created': '2026-03-06T18:03:26', 'last-modified': '2026-03-06T18:03:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.935803'} 2026-03-06 18:03:28,791 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-06 18:03:28,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01828122 passed 2026-03-06 18:03:28,791 - DEBUG - ====Verifying policy data for ctest-vn-01828122 in API_Server ====== 2026-03-06 18:03:28,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:03:28,796 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:03:28,807 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:03:28,883 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b965bcac-f888-4b8d-b295-80e2005255f1 2026-03-06 18:03:28,891 - DEBUG - ==>Verifying data for policy with id: 6e16d805-aa2a-4912-af97-d2fd14091309, fqn: ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-policy-allow-all-49482480'] 2026-03-06 18:03:28,891 - INFO - VN ctest-vn-01828122 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 18:03:28,891 - DEBUG - Verifying the vn in opserver 2026-03-06 18:03:28,892 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122 virtual network link through opserver 10.0.0.38 2026-03-06 18:03:28,892 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 18:03:29,183 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 18:03:29,246 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122?flat'} 2026-03-06 18:03:29,246 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122 is found in opserver 2026-03-06 18:03:29,258 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 18:03:29,263 - DEBUG - VRF ids for VN ctest-vn-01828122: {} 2026-03-06 18:03:29,263 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:03:29,269 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:03:29,281 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:03:29,372 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,388 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,397 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:03:29,404 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:03:29,411 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/60e88aba-682b-4124-805d-ba06a579dfb3 2026-03-06 18:03:29,418 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 18:03:29,418 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,428 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:03:29,442 - INFO - Verified VN network id 12 for VN 4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,442 - INFO - Verifications in API Server for VN ctest-vn-54371015 passed 2026-03-06 18:03:29,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,451 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:03:29,458 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:03:29,465 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/60e88aba-682b-4124-805d-ba06a579dfb3 2026-03-06 18:03:29,476 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-54371015', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86986379', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5670325832371749231', 'uuid-lslong': '11335836099448497400'}, 'enable': 'true', 'created': '2026-03-06T18:03:27', 'last-modified': '2026-03-06T18:03:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399336'} 2026-03-06 18:03:29,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-06 18:03:29,483 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54371015 passed 2026-03-06 18:03:29,483 - DEBUG - ====Verifying policy data for ctest-vn-54371015 in API_Server ====== 2026-03-06 18:03:29,483 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:03:29,489 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:03:29,499 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:03:29,565 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4eb10b4d-473d-416f-9d50-fadf63ad64f8 2026-03-06 18:03:29,576 - DEBUG - ==>Verifying data for policy with id: 6e16d805-aa2a-4912-af97-d2fd14091309, fqn: ['default-domain', 'ctest-TestBasicPolicy-86986379', 'ctest-policy-allow-all-49482480'] 2026-03-06 18:03:29,576 - INFO - VN ctest-vn-54371015 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-06 18:03:29,576 - DEBUG - Verifying the vn in opserver 2026-03-06 18:03:29,576 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-54371015 virtual network link through opserver 10.0.0.38 2026-03-06 18:03:29,576 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-03-06 18:03:29,586 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-54371015', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-54371015?flat'} 2026-03-06 18:03:29,586 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-54371015 is found in opserver 2026-03-06 18:03:29,595 - DEBUG - Do not have enough data to verify VN in agent 2026-03-06 18:03:29,599 - DEBUG - VRF ids for VN ctest-vn-54371015: {} 2026-03-06 18:03:29,653 - DEBUG - Services list from nova: [, , ] 2026-03-06 18:03:30,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5449-1) 2026-03-06 18:03:31,850 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5449-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5449-1) 2026-03-06 18:03:31,850 - INFO - Waiting for VM ctest-TestBasicPolicy-86986379-48744053 to be up.. 2026-03-06 18:03:31,943 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-06 18:03:37,018 - DEBUG - VM is in ACTIVE state now 2026-03-06 18:03:37,018 - INFO - VM name : ctest-TestBasicPolicy-86986379-48744053 2026-03-06 18:03:37,100 - DEBUG - VM ctest-TestBasicPolicy-86986379-48744053 ID is c173f89b-6972-4b5a-931b-492d1dfd6c8a 2026-03-06 18:03:37,121 - DEBUG - VM ctest-TestBasicPolicy-86986379-48744053 launched on Node cn-jenkins-deploy-platform-ansible-os-5449-1 2026-03-06 18:03:37,215 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c173f89b-6972-4b5a-931b-492d1dfd6c8a 2026-03-06 18:03:37,224 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ef63937-cf0f-4d77-bb0f-6d950cc87821 2026-03-06 18:03:40,473 - 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 1007ms') 2026-03-06 18:03:40,473 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86986379-48744053 failed! 2026-03-06 18:03:40,525 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-86986379:ctest-vn-01828122 is 213.194.97.129 and allocation pool is NOT set 2026-03-06 18:03:42,583 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.622 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.622/4.369/8.116/3.747 ms') 2026-03-06 18:03:42,583 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-86986379-48744053 passed 2026-03-06 18:03:42,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:42,729 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86986379-48744053, IP 213.194.97.131, Port 22 2026-03-06 18:03:42,796 - 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-03-06 18:03:42,867 - DEBUG - VM ctest-TestBasicPolicy-86986379-48744053 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-06 18:03:47,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:47,868 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86986379-48744053, IP 213.194.97.131, Port 22 2026-03-06 18:03:48,040 - DEBUG - VM ctest-TestBasicPolicy-86986379-48744053 is ready for SSH connections 2026-03-06 18:03:48,040 - INFO - Waiting for VM ctest-TestBasicPolicy-86986379-22247016 to be up.. 2026-03-06 18:03:48,112 - DEBUG - VM is in ACTIVE state now 2026-03-06 18:03:48,112 - INFO - VM name : ctest-TestBasicPolicy-86986379-22247016 2026-03-06 18:03:48,183 - DEBUG - VM ctest-TestBasicPolicy-86986379-22247016 ID is fc011d89-0876-4cf9-a4c7-d17feca48fa1 2026-03-06 18:03:48,183 - DEBUG - VM ctest-TestBasicPolicy-86986379-22247016 launched on Node cn-jenkins-deploy-platform-ansible-os-5449-1 2026-03-06 18:03:48,263 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fc011d89-0876-4cf9-a4c7-d17feca48fa1 2026-03-06 18:03:48,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b675b466-d86f-436c-8061-ccdceeb03852 2026-03-06 18:03:49,509 - 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=2.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.571/2.754/1.182 ms') 2026-03-06 18:03:49,509 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-86986379-22247016 passed 2026-03-06 18:03:49,665 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:49,665 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-86986379-22247016, IP 108.128.157.3, Port 22 2026-03-06 18:03:49,821 - DEBUG - VM ctest-TestBasicPolicy-86986379-22247016 is ready for SSH connections 2026-03-06 18:03:49,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:49,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.128.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 18:03:49,821 - DEBUG - ping -s 56 -c 3 -W 1 108.128.157.3 2026-03-06 18:03:54,062 - DEBUG - PING 108.128.157.3 (108.128.157.3): 56 data bytes 64 bytes from 108.128.157.3: seq=0 ttl=63 time=4.293 ms 64 bytes from 108.128.157.3: seq=1 ttl=63 time=1.020 ms 64 bytes from 108.128.157.3: seq=2 ttl=63 time=0.909 ms --- 108.128.157.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/2.074/4.293 ms 2026-03-06 18:03:54,062 - INFO - Ping to IP 108.128.157.3 from VM ctest-TestBasicPolicy-86986379-48744053 passed 2026-03-06 18:03:54,237 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6e16d805-aa2a-4912-af97-d2fd14091309", "href": "http://10.0.0.38:8082/network-policy/6e16d805-aa2a-4912-af97-d2fd14091309"}} 2026-03-06 18:03:54,237 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-06 18:03:54,237 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.128.157.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-03-06 18:03:54,237 - DEBUG - ping -s 56 -c 3 -W 1 108.128.157.3 2026-03-06 18:03:57,470 - DEBUG - PING 108.128.157.3 (108.128.157.3): 56 data bytes --- 108.128.157.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-06 18:03:57,470 - WARNING - Ping to IP 108.128.157.3 from VM ctest-TestBasicPolicy-86986379-48744053 failed 2026-03-06 18:03:57,470 - INFO - Deleting VM ctest-TestBasicPolicy-86986379-22247016 2026-03-06 18:03:57,542 - INFO - Deleting VM ctest-TestBasicPolicy-86986379-48744053 2026-03-06 18:03:57,927 - INFO - Deleted policy ctest-policy-allow-all-49482480 2026-03-06 18:03:57,927 - INFO - Deleting VN ctest-vn-54371015 2026-03-06 18:03:57,969 - DEBUG - VN 4eb10b4d-473d-416f-9d50-fadf63ad64f8 still in use: Unable to complete operation on network 4eb10b4d-473d-416f-9d50-fadf63ad64f8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c6b944b7-c3c6-41b9-9670-97b6457618b5'] 2026-03-06 18:03:57,969 - WARNING - Deleting VN ctest-vn-54371015 failed..Will retry 2026-03-06 18:04:00,079 - DEBUG - Response for deleting network () 2026-03-06 18:04:00,079 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ba5dbb09-f4d5-48bc-a823-6b94a8c19d33 2026-03-06 18:04:00,084 - DEBUG - Response Code: 404 2026-03-06 18:04:00,084 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:04:00,089 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:04:00,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:04:00,217 - INFO - Validated that VN ctest-vn-54371015 is not found in API Server 2026-03-06 18:04:00,227 - DEBUG - VN ctest-vn-54371015 is not present in Agent 10.0.0.38 2026-03-06 18:04:00,227 - INFO - Validated that VN ctest-vn-54371015 is not in any agent 2026-03-06 18:04:00,243 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54371015 info 2026-03-06 18:04:00,243 - INFO - Deleting VN ctest-vn-01828122 2026-03-06 18:04:00,348 - DEBUG - Response for deleting network () 2026-03-06 18:04:00,349 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2b6206a8-79c3-4c69-b59a-a5012593ed9c 2026-03-06 18:04:00,356 - DEBUG - Response Code: 404 2026-03-06 18:04:00,356 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-03-06 18:04:00,361 - DEBUG - Requesting: http://10.0.0.38:8082/domain/a39951c1-0db6-4056-9521-5aa285c4687d 2026-03-06 18:04:00,414 - DEBUG - Requesting: http://10.0.0.38:8082/project/a61eaf3c-c850-4ce5-a015-0eb671972db5 2026-03-06 18:04:00,485 - INFO - Validated that VN ctest-vn-01828122 is not found in API Server 2026-03-06 18:04:00,494 - DEBUG - VN ctest-vn-01828122 is not present in Agent 10.0.0.38 2026-03-06 18:04:00,494 - INFO - Validated that VN ctest-vn-01828122 is not in any agent 2026-03-06 18:04:00,508 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01828122 info 2026-03-06 18:04:00,778 - DEBUG - No XMPP flaps were noticed during the test 2026-03-06 18:04:00,779 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-06 18:04:00,779 - INFO - -------------------------------------------------------------------------------- 2026-03-06 18:04:01,776 - INFO - Deleted project: ctest-TestBasicPolicy-86986379, ID : a61eaf3c-c850-4ce5-a015-0eb671972db5