2026-08-17 13:22:45,386 - INFO - Domain Default found not creating 2026-08-17 13:22:45,552 - INFO - Project ctest-TestBasicPolicy-49697984 not found, creating it 2026-08-17 13:22:46,030 - INFO - Created Project:ctest-TestBasicPolicy-49697984, ID : ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:22:47,585 - INFO - ================================================================================ 2026-08-17 13:22:47,585 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 13:22:47,585 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-08-17 13:22:47,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2026-08-17 13:22:47,840 - INFO - Initial checks done. Running the testcase now 2026-08-17 13:22:47,840 - INFO - 2026-08-17 13:22:48,477 - DEBUG - Response for create_network : {'network': {'id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'name': 'ctest-vn-17370770', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-17370770'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:22:48,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '06da0d01-30fc-49b7-99c1-c1bd1d7c002b', 'name': '', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'network_id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'ip_version': 4, 'cidr': '171.47.62.0/26', 'allocation_pools': [{'start': '171.47.62.2', 'end': '171.47.62.62'}], 'gateway_ip': '171.47.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.47.62.2', 'tags': [], 'project_id': 'ece34572239d4ec4a7a1d4e10344556b'}} 2026-08-17 13:22:48,673 - INFO - Created VN ctest-vn-17370770 2026-08-17 13:22:48,729 - DEBUG - VN ctest-vn-17370770 UUID is 8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:49,059 - DEBUG - Response for create_network : {'network': {'id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'name': 'ctest-vn-69471252', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-69471252'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:22:49,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d2795a8-671f-4ec6-b023-913f1329b39f', 'name': '', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'network_id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'ip_version': 4, 'cidr': '126.30.65.0/26', 'allocation_pools': [{'start': '126.30.65.2', 'end': '126.30.65.62'}], 'gateway_ip': '126.30.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.30.65.2', 'tags': [], 'project_id': 'ece34572239d4ec4a7a1d4e10344556b'}} 2026-08-17 13:22:49,258 - INFO - Created VN ctest-vn-69471252 2026-08-17 13:22:49,309 - DEBUG - VN ctest-vn-69471252 UUID is 19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:49,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770, 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-49697984:ctest-vn-69471252, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-08-17 13:22:49,762 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'name': 'ctest-vn-17370770', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06da0d01-30fc-49b7-99c1-c1bd1d7c002b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-17370770'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']], 'subnet_ipam': [{'subnet_cidr': '171.47.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:22:49,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'name': 'ctest-vn-69471252', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d2795a8-671f-4ec6-b023-913f1329b39f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-69471252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']], 'subnet_ipam': [{'subnet_cidr': '126.30.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:22:50,157 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:22:50,475 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:22:50,501 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:22:50,513 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:22:50,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:22:50,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:22:50,624 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64d0162c-32a9-422f-aa10-1300e773d94e 2026-08-17 13:22:50,631 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 13:22:50,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:22:50,654 - INFO - Verified VN network id 11 for VN 8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,654 - INFO - Verifications in API Server for VN ctest-vn-17370770 passed 2026-08-17 13:22:50,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,662 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:22:50,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:22:50,673 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64d0162c-32a9-422f-aa10-1300e773d94e 2026-08-17 13:22:50,685 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49697984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10074649874137956803', 'uuid-lslong': '13501427209381839591'}, 'enable': 'true', 'created': '2026-08-17T13:22:48', 'last-modified': '2026-08-17T13:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938633'} 2026-08-17 13:22:50,692 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 13:22:50,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17370770 passed 2026-08-17 13:22:50,692 - DEBUG - ====Verifying policy data for ctest-vn-17370770 in API_Server ====== 2026-08-17 13:22:50,693 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:22:50,697 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:22:50,707 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:22:50,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7 2026-08-17 13:22:50,788 - DEBUG - ==>Verifying data for policy with id: 758f4735-699e-4a12-8954-998f330b7ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762'] 2026-08-17 13:22:50,788 - INFO - VN ctest-vn-17370770 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 13:22:50,788 - DEBUG - Verifying the vn in opserver 2026-08-17 13:22:50,788 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770 virtual network link through opserver 10.0.0.38 2026-08-17 13:22:50,788 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 13:22:51,107 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 13:22:51,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770?flat'} 2026-08-17 13:22:51,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770 is found in opserver 2026-08-17 13:22:51,173 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 13:22:51,178 - DEBUG - VRF ids for VN ctest-vn-17370770: {} 2026-08-17 13:22:51,178 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:22:51,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:22:51,195 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:22:51,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:22:51,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:22:51,301 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c05bad41-d11d-4b21-b501-1390d996d558 2026-08-17 13:22:51,308 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 13:22:51,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:22:51,335 - INFO - Verified VN network id 12 for VN 19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,335 - INFO - Verifications in API Server for VN ctest-vn-69471252 passed 2026-08-17 13:22:51,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,345 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:22:51,353 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:22:51,361 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c05bad41-d11d-4b21-b501-1390d996d558 2026-08-17 13:22:51,375 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49697984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1859499222190017218', 'uuid-lslong': '10759066063143233187'}, 'enable': 'true', 'created': '2026-08-17T13:22:49', 'last-modified': '2026-08-17T13:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412942'} 2026-08-17 13:22:51,381 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 13:22:51,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69471252 passed 2026-08-17 13:22:51,382 - DEBUG - ====Verifying policy data for ctest-vn-69471252 in API_Server ====== 2026-08-17 13:22:51,382 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:22:51,387 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:22:51,398 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:22:51,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3 2026-08-17 13:22:51,476 - DEBUG - ==>Verifying data for policy with id: 758f4735-699e-4a12-8954-998f330b7ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762'] 2026-08-17 13:22:51,476 - INFO - VN ctest-vn-69471252 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 13:22:51,476 - DEBUG - Verifying the vn in opserver 2026-08-17 13:22:51,476 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252 virtual network link through opserver 10.0.0.38 2026-08-17 13:22:51,476 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-08-17 13:22:51,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252?flat'} 2026-08-17 13:22:51,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252 is found in opserver 2026-08-17 13:22:51,493 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 13:22:51,498 - DEBUG - VRF ids for VN ctest-vn-69471252: {} 2026-08-17 13:22:51,556 - DEBUG - Services list from nova: [, , ] 2026-08-17 13:22:51,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6174-1) 2026-08-17 13:22:52,355 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6174-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6174-1) 2026-08-17 13:22:52,356 - INFO - Waiting for VM ctest-TestBasicPolicy-49697984-41462518 to be up.. 2026-08-17 13:22:52,391 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:22:57,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:02,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:07,623 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:12,700 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:17,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:22,856 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:23:27,940 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:23:27,940 - INFO - VM name : ctest-TestBasicPolicy-49697984-41462518 2026-08-17 13:23:28,013 - DEBUG - VM ctest-TestBasicPolicy-49697984-41462518 ID is 8d919ecc-d68b-4c81-98b6-062669f4ed64 2026-08-17 13:23:28,035 - DEBUG - VM ctest-TestBasicPolicy-49697984-41462518 launched on Node cn-jenkins-deploy-platform-ansible-os-6174-1 2026-08-17 13:23:28,121 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d919ecc-d68b-4c81-98b6-062669f4ed64 2026-08-17 13:23:28,134 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0f9fcf36-dc09-457c-aea6-0bde4178d270 2026-08-17 13:23:31,387 - 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 1005ms') 2026-08-17 13:23:31,387 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49697984-41462518 failed! 2026-08-17 13:23:31,441 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770 is 171.47.62.1 and allocation pool is NOT set 2026-08-17 13:23:33,503 - 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=3.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.14 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 = 1.135/2.394/3.653/1.259 ms') 2026-08-17 13:23:33,503 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-49697984-41462518 passed 2026-08-17 13:23:33,657 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:23:33,657 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49697984-41462518, IP 171.47.62.3, Port 22 2026-08-17 13:23:33,724 - 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-08-17 13:23:33,826 - DEBUG - VM ctest-TestBasicPolicy-49697984-41462518 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 13:23:38,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:23:38,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49697984-41462518, IP 171.47.62.3, Port 22 2026-08-17 13:23:38,989 - DEBUG - VM ctest-TestBasicPolicy-49697984-41462518 is ready for SSH connections 2026-08-17 13:23:38,989 - INFO - Waiting for VM ctest-TestBasicPolicy-49697984-63568077 to be up.. 2026-08-17 13:23:39,067 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:23:39,067 - INFO - VM name : ctest-TestBasicPolicy-49697984-63568077 2026-08-17 13:23:39,142 - DEBUG - VM ctest-TestBasicPolicy-49697984-63568077 ID is 85a2da8e-db88-4677-8467-e28fc91ba361 2026-08-17 13:23:39,142 - DEBUG - VM ctest-TestBasicPolicy-49697984-63568077 launched on Node cn-jenkins-deploy-platform-ansible-os-6174-1 2026-08-17 13:23:39,219 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/85a2da8e-db88-4677-8467-e28fc91ba361 2026-08-17 13:23:39,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d92f2a92-be8f-4960-80bc-144f9b594326 2026-08-17 13:23:40,476 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.612 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.612/2.027/3.443/1.415 ms') 2026-08-17 13:23:40,476 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-49697984-63568077 passed 2026-08-17 13:23:40,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:23:40,633 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-49697984-63568077, IP 126.30.65.3, Port 22 2026-08-17 13:23:40,812 - DEBUG - VM ctest-TestBasicPolicy-49697984-63568077 is ready for SSH connections 2026-08-17 13:23:40,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:23:40,812 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.30.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 13:23:40,812 - DEBUG - ping -s 56 -c 3 -W 1 126.30.65.3 2026-08-17 13:23:44,731 - DEBUG - PING 126.30.65.3 (126.30.65.3): 56 data bytes 64 bytes from 126.30.65.3: seq=0 ttl=63 time=4.614 ms 64 bytes from 126.30.65.3: seq=1 ttl=63 time=1.191 ms 64 bytes from 126.30.65.3: seq=2 ttl=63 time=1.031 ms --- 126.30.65.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.031/2.278/4.614 ms 2026-08-17 13:23:44,731 - INFO - Ping to IP 126.30.65.3 from VM ctest-TestBasicPolicy-49697984-41462518 passed 2026-08-17 13:23:44,921 - DEBUG - Policy Update Response {"network-policy": {"uuid": "758f4735-699e-4a12-8954-998f330b7ebe", "href": "http://10.0.0.38:8082/network-policy/758f4735-699e-4a12-8954-998f330b7ebe"}} 2026-08-17 13:23:44,921 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:23:44,921 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.30.65.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-08-17 13:23:44,922 - DEBUG - ping -s 56 -c 3 -W 1 126.30.65.3 2026-08-17 13:23:48,044 - DEBUG - PING 126.30.65.3 (126.30.65.3): 56 data bytes 64 bytes from 126.30.65.3: seq=0 ttl=63 time=2.180 ms --- 126.30.65.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.180/2.180/2.180 ms 2026-08-17 13:23:48,044 - WARNING - Ping to IP 126.30.65.3 from VM ctest-TestBasicPolicy-49697984-41462518 failed 2026-08-17 13:23:48,044 - INFO - Deleting VM ctest-TestBasicPolicy-49697984-63568077 2026-08-17 13:23:48,122 - INFO - Deleting VM ctest-TestBasicPolicy-49697984-41462518 2026-08-17 13:23:48,538 - INFO - Deleted policy ctest-policy-allow-all-99650762 2026-08-17 13:23:48,538 - INFO - Deleting VN ctest-vn-69471252 2026-08-17 13:23:48,578 - DEBUG - VN 19ce44b0-c6c0-4ac2-954f-e194989ce6a3 still in use: Unable to complete operation on network 19ce44b0-c6c0-4ac2-954f-e194989ce6a3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a7d79f75-32d3-4668-997d-e4619e568ec2'] 2026-08-17 13:23:48,579 - WARNING - Deleting VN ctest-vn-69471252 failed..Will retry 2026-08-17 13:23:50,680 - DEBUG - Response for deleting network () 2026-08-17 13:23:50,680 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d 2026-08-17 13:23:50,686 - DEBUG - Response Code: 404 2026-08-17 13:23:50,686 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:23:50,692 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:23:50,748 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:23:50,821 - INFO - Validated that VN ctest-vn-69471252 is not found in API Server 2026-08-17 13:23:50,831 - DEBUG - VN ctest-vn-69471252 is not present in Agent 10.0.0.38 2026-08-17 13:23:50,832 - INFO - Validated that VN ctest-vn-69471252 is not in any agent 2026-08-17 13:23:50,851 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69471252 info 2026-08-17 13:23:50,851 - INFO - Deleting VN ctest-vn-17370770 2026-08-17 13:23:50,961 - DEBUG - Response for deleting network () 2026-08-17 13:23:50,961 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17 2026-08-17 13:23:50,971 - DEBUG - Response Code: 404 2026-08-17 13:23:50,971 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-08-17 13:23:50,977 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd 2026-08-17 13:23:51,035 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b 2026-08-17 13:23:51,119 - INFO - Validated that VN ctest-vn-17370770 is not found in API Server 2026-08-17 13:23:51,131 - DEBUG - VN ctest-vn-17370770 is not present in Agent 10.0.0.38 2026-08-17 13:23:51,131 - INFO - Validated that VN ctest-vn-17370770 is not in any agent 2026-08-17 13:23:51,148 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-17370770 info 2026-08-17 13:23:51,407 - DEBUG - No XMPP flaps were noticed during the test 2026-08-17 13:23:51,407 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:04] 2026-08-17 13:23:51,407 - INFO - -------------------------------------------------------------------------------- 2026-08-17 13:23:52,146 - INFO - Deleted project: ctest-TestBasicPolicy-49697984, ID : ece34572-239d-4ec4-a7a1-d4e10344556b