2026-11-06 18:29:20,242 - INFO - Domain Default found not creating 2026-11-06 18:29:20,451 - INFO - Project ctest-TestBasicPolicy-29625997 not found, creating it 2026-11-06 18:29:20,933 - INFO - Created Project:ctest-TestBasicPolicy-29625997, ID : 00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:29:23,090 - INFO - ================================================================================ 2026-11-06 18:29:23,091 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-06 18:29:23,091 - 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-11-06 18:29:23,362 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-11-06 18:29:23,362 - INFO - Initial checks done. Running the testcase now 2026-11-06 18:29:23,362 - INFO - 2026-11-06 18:29:24,013 - DEBUG - Response for create_network : {'network': {'id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'name': 'ctest-vn-07387766', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-07387766'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 18:29:24,246 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f94fb708-1d43-4441-829b-d0114d523c38', 'name': '', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'network_id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'ip_version': 4, 'cidr': '26.250.185.192/26', 'allocation_pools': [{'start': '26.250.185.194', 'end': '26.250.185.254'}], 'gateway_ip': '26.250.185.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.250.185.194', 'tags': [], 'project_id': '00ea3821bf6741f9b359a86e079239ac'}} 2026-11-06 18:29:24,267 - INFO - Created VN ctest-vn-07387766 2026-11-06 18:29:24,322 - DEBUG - VN ctest-vn-07387766 UUID is f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:24,650 - DEBUG - Response for create_network : {'network': {'id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'name': 'ctest-vn-02306632', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-02306632'], 'port_security_enabled': True, 'description': ''}} 2026-11-06 18:29:24,841 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dd3949d-f94a-48e0-9cc3-80e53ae82132', 'name': '', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'network_id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'ip_version': 4, 'cidr': '45.194.52.192/26', 'allocation_pools': [{'start': '45.194.52.194', 'end': '45.194.52.254'}], 'gateway_ip': '45.194.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.194.52.194', 'tags': [], 'project_id': '00ea3821bf6741f9b359a86e079239ac'}} 2026-11-06 18:29:24,860 - INFO - Created VN ctest-vn-02306632 2026-11-06 18:29:24,910 - DEBUG - VN ctest-vn-02306632 UUID is 59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:25,062 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766, 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-29625997:ctest-vn-02306632, 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-11-06 18:29:25,358 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8a83749-9272-4f11-9e1d-20b9a8d064d5', 'name': 'ctest-vn-07387766', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f94fb708-1d43-4441-829b-d0114d523c38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-07387766'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']], 'subnet_ipam': [{'subnet_cidr': '26.250.185.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 18:29:25,587 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '59540f34-03a3-4bbc-adae-ad85917135d4', 'name': 'ctest-vn-02306632', 'tenant_id': '00ea3821bf6741f9b359a86e079239ac', 'project_id': '00ea3821bf6741f9b359a86e079239ac', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0dd3949d-f94a-48e0-9cc3-80e53ae82132'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-vn-02306632'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622']], 'subnet_ipam': [{'subnet_cidr': '45.194.52.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-06 18:29:25,746 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:29:26,108 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:29:26,134 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:29:26,146 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:29:26,220 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,231 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,240 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:29:26,247 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:29:26,254 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1b455482-a980-4f12-9446-4ef006c54e2b 2026-11-06 18:29:26,259 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 18:29:26,259 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,268 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:29:26,281 - INFO - Verified VN network id 12 for VN f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,281 - INFO - Verifications in API Server for VN ctest-vn-07387766 passed 2026-11-06 18:29:26,281 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,290 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:29:26,297 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:29:26,304 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/1b455482-a980-4f12-9446-4ef006c54e2b 2026-11-06 18:29:26,315 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29625997', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17917631906622623505', 'uuid-lslong': '11393298614090491093'}, 'enable': 'true', 'created': '2026-11-06T18:29:23', 'last-modified': '2026-11-06T18:29:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981280'} 2026-11-06 18:29:26,322 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-06 18:29:26,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07387766 passed 2026-11-06 18:29:26,323 - DEBUG - ====Verifying policy data for ctest-vn-07387766 in API_Server ====== 2026-11-06 18:29:26,323 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:29:26,329 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:29:26,340 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:29:26,415 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f8a83749-9272-4f11-9e1d-20b9a8d064d5 2026-11-06 18:29:26,425 - DEBUG - ==>Verifying data for policy with id: e4150cb0-34bc-4cbe-8b7e-b3422374bfe4, fqn: ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622'] 2026-11-06 18:29:26,425 - INFO - VN ctest-vn-07387766 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 18:29:26,425 - DEBUG - Verifying the vn in opserver 2026-11-06 18:29:26,425 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766 virtual network link through opserver 10.0.0.185 2026-11-06 18:29:26,425 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-06 18:29:26,788 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-06 18:29:26,841 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766?flat'} 2026-11-06 18:29:26,841 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766 is found in opserver 2026-11-06 18:29:26,854 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 18:29:26,859 - DEBUG - VRF ids for VN ctest-vn-07387766: {} 2026-11-06 18:29:26,859 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:29:26,865 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:29:26,874 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:29:26,947 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:26,959 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:26,967 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:29:26,974 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:29:26,980 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d92fff7-2a1d-445e-9745-4634a7836ccc 2026-11-06 18:29:26,986 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 18:29:26,987 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:26,995 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:29:27,009 - INFO - Verified VN network id 13 for VN 59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:27,009 - INFO - Verifications in API Server for VN ctest-vn-02306632 passed 2026-11-06 18:29:27,009 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:27,019 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:29:27,025 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:29:27,031 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/3d92fff7-2a1d-445e-9745-4634a7836ccc 2026-11-06 18:29:27,045 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29625997', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6436786483493030844', 'uuid-lslong': '12515131203691558356'}, 'enable': 'true', 'created': '2026-11-06T18:29:24', 'last-modified': '2026-11-06T18:29:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.482384'} 2026-11-06 18:29:27,051 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-06 18:29:27,051 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02306632 passed 2026-11-06 18:29:27,051 - DEBUG - ====Verifying policy data for ctest-vn-02306632 in API_Server ====== 2026-11-06 18:29:27,051 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:29:27,058 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:29:27,070 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:29:27,138 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/59540f34-03a3-4bbc-adae-ad85917135d4 2026-11-06 18:29:27,149 - DEBUG - ==>Verifying data for policy with id: e4150cb0-34bc-4cbe-8b7e-b3422374bfe4, fqn: ['default-domain', 'ctest-TestBasicPolicy-29625997', 'ctest-policy-allow-all-52298622'] 2026-11-06 18:29:27,149 - INFO - VN ctest-vn-02306632 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-06 18:29:27,149 - DEBUG - Verifying the vn in opserver 2026-11-06 18:29:27,149 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632 virtual network link through opserver 10.0.0.185 2026-11-06 18:29:27,149 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks 2026-11-06 18:29:27,159 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632?flat'} 2026-11-06 18:29:27,159 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-02306632 is found in opserver 2026-11-06 18:29:27,170 - DEBUG - Do not have enough data to verify VN in agent 2026-11-06 18:29:27,174 - DEBUG - VRF ids for VN ctest-vn-02306632: {} 2026-11-06 18:29:27,235 - DEBUG - Services list from nova: [, , ] 2026-11-06 18:29:27,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6491-1) 2026-11-06 18:29:28,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6491-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6491-1) 2026-11-06 18:29:28,100 - INFO - Waiting for VM ctest-TestBasicPolicy-29625997-66198315 to be up.. 2026-11-06 18:29:28,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:33,214 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:38,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:43,381 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:48,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:53,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:29:58,624 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:30:03,699 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-06 18:30:08,777 - DEBUG - VM is in ACTIVE state now 2026-11-06 18:30:08,777 - INFO - VM name : ctest-TestBasicPolicy-29625997-66198315 2026-11-06 18:30:08,854 - DEBUG - VM ctest-TestBasicPolicy-29625997-66198315 ID is 0d2ca97e-284d-43e9-8d7a-1161f380df00 2026-11-06 18:30:08,874 - DEBUG - VM ctest-TestBasicPolicy-29625997-66198315 launched on Node cn-jenkins-deploy-platform-ansible-os-6491-1 2026-11-06 18:30:08,950 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/0d2ca97e-284d-43e9-8d7a-1161f380df00 2026-11-06 18:30:08,958 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/e8a16944-7999-475b-ac81-8d6ef6cd85cb 2026-11-06 18:30:12,222 - 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 1021ms') 2026-11-06 18:30:12,222 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29625997-66198315 failed! 2026-11-06 18:30:12,286 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-29625997:ctest-vn-07387766 is 26.250.185.193 and allocation pool is NOT set 2026-11-06 18:30:16,382 - 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=2 ttl=63 time=11.3 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1028ms\r\nrtt min/avg/max/mdev = 11.298/11.298/11.298/0.000 ms') 2026-11-06 18:30:16,382 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-29625997-66198315 passed 2026-11-06 18:30:16,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 18:30:16,542 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29625997-66198315, IP 26.250.185.195, Port 22 2026-11-06 18:30:16,607 - 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-11-06 18:30:16,688 - DEBUG - VM ctest-TestBasicPolicy-29625997-66198315 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-06 18:30:21,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 18:30:21,689 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29625997-66198315, IP 26.250.185.195, Port 22 2026-11-06 18:30:21,865 - DEBUG - VM ctest-TestBasicPolicy-29625997-66198315 is ready for SSH connections 2026-11-06 18:30:21,865 - INFO - Waiting for VM ctest-TestBasicPolicy-29625997-80891780 to be up.. 2026-11-06 18:30:21,941 - DEBUG - VM is in ACTIVE state now 2026-11-06 18:30:21,941 - INFO - VM name : ctest-TestBasicPolicy-29625997-80891780 2026-11-06 18:30:22,018 - DEBUG - VM ctest-TestBasicPolicy-29625997-80891780 ID is 77788ef3-af5f-464c-bb47-ecffe950da5f 2026-11-06 18:30:22,018 - DEBUG - VM ctest-TestBasicPolicy-29625997-80891780 launched on Node cn-jenkins-deploy-platform-ansible-os-6491-1 2026-11-06 18:30:22,099 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/77788ef3-af5f-464c-bb47-ecffe950da5f 2026-11-06 18:30:22,107 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/fd09a50f-68d1-42ed-be2c-5f78fa7d01c2 2026-11-06 18:30:23,345 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.425 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.425/2.035/3.645/1.610 ms') 2026-11-06 18:30:23,345 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-29625997-80891780 passed 2026-11-06 18:30:23,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 18:30:23,494 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-29625997-80891780, IP 45.194.52.195, Port 22 2026-11-06 18:30:23,660 - DEBUG - VM ctest-TestBasicPolicy-29625997-80891780 is ready for SSH connections 2026-11-06 18:30:23,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 18:30:23,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.194.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-06 18:30:23,661 - DEBUG - ping -s 56 -c 3 -W 1 45.194.52.195 2026-11-06 18:30:27,605 - DEBUG - PING 45.194.52.195 (45.194.52.195): 56 data bytes 64 bytes from 45.194.52.195: seq=0 ttl=63 time=4.237 ms 64 bytes from 45.194.52.195: seq=1 ttl=63 time=1.019 ms 64 bytes from 45.194.52.195: seq=2 ttl=63 time=1.141 ms --- 45.194.52.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/2.132/4.237 ms 2026-11-06 18:30:27,606 - INFO - Ping to IP 45.194.52.195 from VM ctest-TestBasicPolicy-29625997-66198315 passed 2026-11-06 18:30:27,778 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e4150cb0-34bc-4cbe-8b7e-b3422374bfe4", "href": "http://10.0.0.185:8082/network-policy/e4150cb0-34bc-4cbe-8b7e-b3422374bfe4"}} 2026-11-06 18:30:27,778 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-06 18:30:27,778 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.194.52.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-11-06 18:30:27,778 - DEBUG - ping -s 56 -c 3 -W 1 45.194.52.195 2026-11-06 18:30:30,910 - DEBUG - PING 45.194.52.195 (45.194.52.195): 56 data bytes 64 bytes from 45.194.52.195: seq=0 ttl=63 time=1.405 ms --- 45.194.52.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.405/1.405/1.405 ms 2026-11-06 18:30:30,910 - WARNING - Ping to IP 45.194.52.195 from VM ctest-TestBasicPolicy-29625997-66198315 failed 2026-11-06 18:30:30,910 - INFO - Deleting VM ctest-TestBasicPolicy-29625997-80891780 2026-11-06 18:30:30,987 - INFO - Deleting VM ctest-TestBasicPolicy-29625997-66198315 2026-11-06 18:30:31,379 - INFO - Deleted policy ctest-policy-allow-all-52298622 2026-11-06 18:30:31,379 - INFO - Deleting VN ctest-vn-02306632 2026-11-06 18:30:31,413 - DEBUG - VN 59540f34-03a3-4bbc-adae-ad85917135d4 still in use: Unable to complete operation on network 59540f34-03a3-4bbc-adae-ad85917135d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8f643402-8a7f-4582-acbe-95dad0d29441'] 2026-11-06 18:30:31,413 - WARNING - Deleting VN ctest-vn-02306632 failed..Will retry 2026-11-06 18:30:33,451 - DEBUG - VN 59540f34-03a3-4bbc-adae-ad85917135d4 still in use: Unable to complete operation on network 59540f34-03a3-4bbc-adae-ad85917135d4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ab66e9db-0ba9-45a8-9832-708bbdc795a7'] 2026-11-06 18:30:33,451 - WARNING - Deleting VN ctest-vn-02306632 failed..Will retry 2026-11-06 18:30:35,548 - DEBUG - Response for deleting network () 2026-11-06 18:30:35,548 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3282ff16-ab4b-4e8b-abb1-66dd8222f5a0 2026-11-06 18:30:35,553 - DEBUG - Response Code: 404 2026-11-06 18:30:35,554 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:30:35,558 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:30:35,612 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:30:35,684 - INFO - Validated that VN ctest-vn-02306632 is not found in API Server 2026-11-06 18:30:35,695 - DEBUG - VN ctest-vn-02306632 is not present in Agent 10.0.0.185 2026-11-06 18:30:35,695 - INFO - Validated that VN ctest-vn-02306632 is not in any agent 2026-11-06 18:30:35,715 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-02306632 info 2026-11-06 18:30:35,715 - INFO - Deleting VN ctest-vn-07387766 2026-11-06 18:30:35,817 - DEBUG - Response for deleting network () 2026-11-06 18:30:35,817 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/3e69b803-9bd9-4d0d-ab6b-618d7a2e60a9 2026-11-06 18:30:35,823 - DEBUG - Response Code: 404 2026-11-06 18:30:35,824 - DEBUG - Requesting: http://10.0.0.185:8082/domains 2026-11-06 18:30:35,829 - DEBUG - Requesting: http://10.0.0.185:8082/domain/cace9788-3e3c-415b-bec0-b3a500d11668 2026-11-06 18:30:35,883 - DEBUG - Requesting: http://10.0.0.185:8082/project/00ea3821-bf67-41f9-b359-a86e079239ac 2026-11-06 18:30:35,955 - INFO - Validated that VN ctest-vn-07387766 is not found in API Server 2026-11-06 18:30:35,965 - DEBUG - VN ctest-vn-07387766 is not present in Agent 10.0.0.185 2026-11-06 18:30:35,965 - INFO - Validated that VN ctest-vn-07387766 is not in any agent 2026-11-06 18:30:35,982 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07387766 info 2026-11-06 18:30:36,254 - DEBUG - No XMPP flaps were noticed during the test 2026-11-06 18:30:36,254 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:13] 2026-11-06 18:30:36,254 - INFO - -------------------------------------------------------------------------------- 2026-11-06 18:30:37,048 - INFO - Deleted project: ctest-TestBasicPolicy-29625997, ID : 00ea3821-bf67-41f9-b359-a86e079239ac