2026-01-12 19:25:44,970 - INFO - Domain Default found not creating 2026-01-12 19:25:45,156 - INFO - Project ctest-TestBasicPolicy-57333019 not found, creating it 2026-01-12 19:25:45,669 - INFO - Created Project:ctest-TestBasicPolicy-57333019, ID : 2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:25:47,204 - INFO - ================================================================================ 2026-01-12 19:25:47,205 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-12 19:25:47,205 - 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-01-12 19:25:47,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-12 19:25:47,464 - INFO - Initial checks done. Running the testcase now 2026-01-12 19:25:47,464 - INFO - 2026-01-12 19:25:48,036 - DEBUG - Response for create_network : {'network': {'id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'name': 'ctest-vn-33831398', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-33831398'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:25:48,259 - DEBUG - Response for create_subnet : {'subnet': {'id': '53b4c372-1bdd-4315-8e75-465eaed6130b', 'name': '', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'network_id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'ip_version': 4, 'cidr': '146.141.168.0/26', 'allocation_pools': [{'start': '146.141.168.2', 'end': '146.141.168.62'}], 'gateway_ip': '146.141.168.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.141.168.2', 'tags': [], 'project_id': '2eaad85036494dfda0ed8760457792f3'}} 2026-01-12 19:25:48,278 - INFO - Created VN ctest-vn-33831398 2026-01-12 19:25:48,331 - DEBUG - VN ctest-vn-33831398 UUID is 7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:48,636 - DEBUG - Response for create_network : {'network': {'id': 'f356b584-e84d-4e6a-beff-16a608354849', 'name': 'ctest-vn-75905674', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-75905674'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:25:48,810 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf5000a9-ab4d-4d5e-a87f-7cfd82b6ba96', 'name': '', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'network_id': 'f356b584-e84d-4e6a-beff-16a608354849', 'ip_version': 4, 'cidr': '174.217.208.64/26', 'allocation_pools': [{'start': '174.217.208.66', 'end': '174.217.208.126'}], 'gateway_ip': '174.217.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.217.208.66', 'tags': [], 'project_id': '2eaad85036494dfda0ed8760457792f3'}} 2026-01-12 19:25:48,830 - INFO - Created VN ctest-vn-75905674 2026-01-12 19:25:48,883 - DEBUG - VN ctest-vn-75905674 UUID is f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:49,011 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398, 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-57333019:ctest-vn-75905674, 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-01-12 19:25:49,313 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d87f135-2e9a-4e92-be28-c40f43424f3d', 'name': 'ctest-vn-33831398', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['53b4c372-1bdd-4315-8e75-465eaed6130b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-33831398'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']], 'subnet_ipam': [{'subnet_cidr': '146.141.168.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:25:49,569 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f356b584-e84d-4e6a-beff-16a608354849', 'name': 'ctest-vn-75905674', 'tenant_id': '2eaad85036494dfda0ed8760457792f3', 'project_id': '2eaad85036494dfda0ed8760457792f3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cf5000a9-ab4d-4d5e-a87f-7cfd82b6ba96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-vn-75905674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902']], 'subnet_ipam': [{'subnet_cidr': '174.217.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:25:49,711 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:25:50,025 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:25:50,058 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:25:50,071 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:25:50,145 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,158 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,168 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:25:50,176 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:25:50,184 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49bb4dcb-c3e1-4ca9-bf8e-7e2fa599dc8d 2026-01-12 19:25:50,192 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 19:25:50,192 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,206 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:25:50,227 - INFO - Verified VN network id 11 for VN 7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,227 - INFO - Verifications in API Server for VN ctest-vn-33831398 passed 2026-01-12 19:25:50,227 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,240 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:25:50,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:25:50,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/49bb4dcb-c3e1-4ca9-bf8e-7e2fa599dc8d 2026-01-12 19:25:50,265 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57333019', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9045463587314355858', 'uuid-lslong': '13702417436106706749'}, 'enable': 'true', 'created': '2026-01-12T19:25:48', 'last-modified': '2026-01-12T19:25:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972066'} 2026-01-12 19:25:50,271 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-12 19:25:50,271 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33831398 passed 2026-01-12 19:25:50,271 - DEBUG - ====Verifying policy data for ctest-vn-33831398 in API_Server ====== 2026-01-12 19:25:50,271 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:25:50,276 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:25:50,289 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:25:50,359 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7d87f135-2e9a-4e92-be28-c40f43424f3d 2026-01-12 19:25:50,369 - DEBUG - ==>Verifying data for policy with id: 7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902'] 2026-01-12 19:25:50,369 - INFO - VN ctest-vn-33831398 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 19:25:50,369 - DEBUG - Verifying the vn in opserver 2026-01-12 19:25:50,370 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398 virtual network link through opserver 10.0.0.38 2026-01-12 19:25:50,370 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-12 19:25:50,679 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-12 19:25:50,746 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398?flat'} 2026-01-12 19:25:50,746 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398 is found in opserver 2026-01-12 19:25:50,755 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 19:25:50,761 - DEBUG - VRF ids for VN ctest-vn-33831398: {} 2026-01-12 19:25:50,761 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:25:50,766 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:25:50,776 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:25:50,850 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:50,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:50,872 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:25:50,879 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:25:50,885 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af4bd97d-8234-4b6a-bcde-b5e348add1a8 2026-01-12 19:25:50,891 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 19:25:50,891 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:50,900 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:25:50,914 - INFO - Verified VN network id 12 for VN f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:50,914 - INFO - Verifications in API Server for VN ctest-vn-75905674 passed 2026-01-12 19:25:50,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:50,923 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:25:50,930 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:25:50,936 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af4bd97d-8234-4b6a-bcde-b5e348add1a8 2026-01-12 19:25:50,948 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57333019', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17534401781651295850', 'uuid-lslong': '13762743888625616969'}, 'enable': 'true', 'created': '2026-01-12T19:25:48', 'last-modified': '2026-01-12T19:25:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410261'} 2026-01-12 19:25:50,954 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-12 19:25:50,954 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75905674 passed 2026-01-12 19:25:50,954 - DEBUG - ====Verifying policy data for ctest-vn-75905674 in API_Server ====== 2026-01-12 19:25:50,954 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:25:50,960 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:25:50,970 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:25:51,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f356b584-e84d-4e6a-beff-16a608354849 2026-01-12 19:25:51,052 - DEBUG - ==>Verifying data for policy with id: 7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8, fqn: ['default-domain', 'ctest-TestBasicPolicy-57333019', 'ctest-policy-allow-all-57542902'] 2026-01-12 19:25:51,052 - INFO - VN ctest-vn-75905674 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-12 19:25:51,052 - DEBUG - Verifying the vn in opserver 2026-01-12 19:25:51,052 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674 virtual network link through opserver 10.0.0.38 2026-01-12 19:25:51,052 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-12 19:25:51,061 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674?flat'} 2026-01-12 19:25:51,061 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-75905674 is found in opserver 2026-01-12 19:25:51,072 - DEBUG - Do not have enough data to verify VN in agent 2026-01-12 19:25:51,077 - DEBUG - VRF ids for VN ctest-vn-75905674: {} 2026-01-12 19:25:51,147 - DEBUG - Services list from nova: [, , ] 2026-01-12 19:25:52,232 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:25:53,430 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:25:53,431 - INFO - Waiting for VM ctest-TestBasicPolicy-57333019-33489337 to be up.. 2026-01-12 19:25:53,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 19:25:58,615 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:25:58,615 - INFO - VM name : ctest-TestBasicPolicy-57333019-33489337 2026-01-12 19:25:58,699 - DEBUG - VM ctest-TestBasicPolicy-57333019-33489337 ID is 8353a618-0332-4e8e-b8e0-15d2d65bf206 2026-01-12 19:25:58,719 - DEBUG - VM ctest-TestBasicPolicy-57333019-33489337 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:25:58,792 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8353a618-0332-4e8e-b8e0-15d2d65bf206 2026-01-12 19:25:58,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bace0485-5091-4ad2-a1d8-76be11e85a3c 2026-01-12 19:26:02,039 - 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 1001ms') 2026-01-12 19:26:02,039 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57333019-33489337 failed! 2026-01-12 19:26:02,095 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-57333019:ctest-vn-33831398 is 146.141.168.1 and allocation pool is NOT set 2026-01-12 19:26:04,161 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.45 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 = 2.448/6.477/10.506/4.029 ms') 2026-01-12 19:26:04,161 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-57333019-33489337 passed 2026-01-12 19:26:04,315 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:26:04,315 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57333019-33489337, IP 146.141.168.3, Port 22 2026-01-12 19:26:04,381 - 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-01-12 19:26:04,462 - DEBUG - VM ctest-TestBasicPolicy-57333019-33489337 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 19:26:09,462 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:26:09,462 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57333019-33489337, IP 146.141.168.3, Port 22 2026-01-12 19:26:09,622 - DEBUG - VM ctest-TestBasicPolicy-57333019-33489337 is ready for SSH connections 2026-01-12 19:26:09,622 - INFO - Waiting for VM ctest-TestBasicPolicy-57333019-40851136 to be up.. 2026-01-12 19:26:09,700 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:26:09,701 - INFO - VM name : ctest-TestBasicPolicy-57333019-40851136 2026-01-12 19:26:09,773 - DEBUG - VM ctest-TestBasicPolicy-57333019-40851136 ID is ddb7bed4-e613-49ba-889c-2b4abc090680 2026-01-12 19:26:09,773 - DEBUG - VM ctest-TestBasicPolicy-57333019-40851136 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:26:09,845 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ddb7bed4-e613-49ba-889c-2b4abc090680 2026-01-12 19:26:09,855 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/311d0636-e3d6-4b99-b5ac-f33725512bff 2026-01-12 19:26:11,099 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.526 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.526/1.937/3.348/1.411 ms') 2026-01-12 19:26:11,099 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-57333019-40851136 passed 2026-01-12 19:26:11,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:26:11,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-57333019-40851136, IP 174.217.208.67, Port 22 2026-01-12 19:26:11,415 - DEBUG - VM ctest-TestBasicPolicy-57333019-40851136 is ready for SSH connections 2026-01-12 19:26:11,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:26:11,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.217.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-12 19:26:11,415 - DEBUG - ping -s 56 -c 3 -W 1 174.217.208.67 2026-01-12 19:26:15,507 - DEBUG - PING 174.217.208.67 (174.217.208.67): 56 data bytes 64 bytes from 174.217.208.67: seq=0 ttl=63 time=3.782 ms 64 bytes from 174.217.208.67: seq=1 ttl=63 time=1.010 ms 64 bytes from 174.217.208.67: seq=2 ttl=63 time=1.011 ms --- 174.217.208.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.010/1.934/3.782 ms 2026-01-12 19:26:15,507 - INFO - Ping to IP 174.217.208.67 from VM ctest-TestBasicPolicy-57333019-33489337 passed 2026-01-12 19:26:15,683 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8", "href": "http://10.0.0.38:8082/network-policy/7aa11e6e-1585-4cda-aedb-c7c8d9bb1bb8"}} 2026-01-12 19:26:15,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:26:15,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.217.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-12 19:26:15,683 - DEBUG - ping -s 56 -c 3 -W 1 174.217.208.67 2026-01-12 19:26:18,897 - DEBUG - PING 174.217.208.67 (174.217.208.67): 56 data bytes --- 174.217.208.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-12 19:26:18,898 - WARNING - Ping to IP 174.217.208.67 from VM ctest-TestBasicPolicy-57333019-33489337 failed 2026-01-12 19:26:18,898 - INFO - Deleting VM ctest-TestBasicPolicy-57333019-40851136 2026-01-12 19:26:18,977 - INFO - Deleting VM ctest-TestBasicPolicy-57333019-33489337 2026-01-12 19:26:19,377 - INFO - Deleted policy ctest-policy-allow-all-57542902 2026-01-12 19:26:19,377 - INFO - Deleting VN ctest-vn-75905674 2026-01-12 19:26:19,415 - DEBUG - VN f356b584-e84d-4e6a-beff-16a608354849 still in use: Unable to complete operation on network f356b584-e84d-4e6a-beff-16a608354849. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-38145291-c964-45c9-83ef-c09a88b904c2'] 2026-01-12 19:26:19,415 - WARNING - Deleting VN ctest-vn-75905674 failed..Will retry 2026-01-12 19:26:21,538 - DEBUG - Response for deleting network () 2026-01-12 19:26:21,539 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/61004efe-efb9-4839-a679-ba1671fac4d6 2026-01-12 19:26:21,548 - DEBUG - Response Code: 404 2026-01-12 19:26:21,548 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:26:21,557 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:26:21,614 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:26:21,690 - INFO - Validated that VN ctest-vn-75905674 is not found in API Server 2026-01-12 19:26:21,700 - DEBUG - VN ctest-vn-75905674 is not present in Agent 10.0.0.38 2026-01-12 19:26:21,700 - INFO - Validated that VN ctest-vn-75905674 is not in any agent 2026-01-12 19:26:21,714 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-75905674 info 2026-01-12 19:26:21,715 - INFO - Deleting VN ctest-vn-33831398 2026-01-12 19:26:21,819 - DEBUG - Response for deleting network () 2026-01-12 19:26:21,819 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f620b127-0458-4209-9eaa-35185c750eca 2026-01-12 19:26:21,827 - DEBUG - Response Code: 404 2026-01-12 19:26:21,827 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-12 19:26:21,833 - DEBUG - Requesting: http://10.0.0.38:8082/domain/89530202-c0c2-4bce-b769-88aca3a3bccb 2026-01-12 19:26:21,893 - DEBUG - Requesting: http://10.0.0.38:8082/project/2eaad850-3649-4dfd-a0ed-8760457792f3 2026-01-12 19:26:21,972 - INFO - Validated that VN ctest-vn-33831398 is not found in API Server 2026-01-12 19:26:21,983 - DEBUG - VN ctest-vn-33831398 is not present in Agent 10.0.0.38 2026-01-12 19:26:21,983 - INFO - Validated that VN ctest-vn-33831398 is not in any agent 2026-01-12 19:26:22,000 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-33831398 info 2026-01-12 19:26:22,269 - DEBUG - No XMPP flaps were noticed during the test 2026-01-12 19:26:22,269 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-12 19:26:22,269 - INFO - -------------------------------------------------------------------------------- 2026-01-12 19:26:23,022 - INFO - Deleted project: ctest-TestBasicPolicy-57333019, ID : 2eaad850-3649-4dfd-a0ed-8760457792f3