2026-02-09 13:34:06,803 - INFO - Domain Default found not creating 2026-02-09 13:34:06,984 - INFO - Project ctest-TestBasicPolicy-50745683 not found, creating it 2026-02-09 13:34:07,478 - INFO - Created Project:ctest-TestBasicPolicy-50745683, ID : daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:09,018 - INFO - ================================================================================ 2026-02-09 13:34:09,019 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-09 13:34:09,019 - 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-02-09 13:34:09,274 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-02-09 13:34:09,274 - INFO - Initial checks done. Running the testcase now 2026-02-09 13:34:09,274 - INFO - 2026-02-09 13:34:09,873 - DEBUG - Response for create_network : {'network': {'id': '32c4cb4f-5e23-4c5c-b27c-09cf211319c0', 'name': 'ctest-vn-46490391', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'project_id': 'daf02b9a1608423890e93b8934a35a9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-vn-46490391'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:34:10,089 - DEBUG - Response for create_subnet : {'subnet': {'id': '0fce6787-2e74-4e5f-a9fd-026ab4c03c20', 'name': '', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'network_id': '32c4cb4f-5e23-4c5c-b27c-09cf211319c0', 'ip_version': 4, 'cidr': '140.91.183.0/26', 'allocation_pools': [{'start': '140.91.183.2', 'end': '140.91.183.62'}], 'gateway_ip': '140.91.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.91.183.2', 'tags': [], 'project_id': 'daf02b9a1608423890e93b8934a35a9d'}} 2026-02-09 13:34:10,107 - INFO - Created VN ctest-vn-46490391 2026-02-09 13:34:10,160 - DEBUG - VN ctest-vn-46490391 UUID is 32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:10,483 - DEBUG - Response for create_network : {'network': {'id': 'a28c3d26-181d-4d57-b1a0-1347ece1c3e1', 'name': 'ctest-vn-81188651', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'project_id': 'daf02b9a1608423890e93b8934a35a9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-vn-81188651'], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:34:10,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cec8d21b-b85e-450f-afab-24abc4f3da49', 'name': '', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'network_id': 'a28c3d26-181d-4d57-b1a0-1347ece1c3e1', 'ip_version': 4, 'cidr': '38.110.238.192/26', 'allocation_pools': [{'start': '38.110.238.194', 'end': '38.110.238.254'}], 'gateway_ip': '38.110.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.110.238.194', 'tags': [], 'project_id': 'daf02b9a1608423890e93b8934a35a9d'}} 2026-02-09 13:34:10,661 - INFO - Created VN ctest-vn-81188651 2026-02-09 13:34:10,716 - DEBUG - VN ctest-vn-81188651 UUID is a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:10,834 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391, 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-50745683:ctest-vn-81188651, 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-02-09 13:34:11,139 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32c4cb4f-5e23-4c5c-b27c-09cf211319c0', 'name': 'ctest-vn-46490391', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'project_id': 'daf02b9a1608423890e93b8934a35a9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0fce6787-2e74-4e5f-a9fd-026ab4c03c20'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-vn-46490391'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-policy-allow-all-83384509']], 'subnet_ipam': [{'subnet_cidr': '140.91.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:34:11,348 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a28c3d26-181d-4d57-b1a0-1347ece1c3e1', 'name': 'ctest-vn-81188651', 'tenant_id': 'daf02b9a1608423890e93b8934a35a9d', 'project_id': 'daf02b9a1608423890e93b8934a35a9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cec8d21b-b85e-450f-afab-24abc4f3da49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-vn-81188651'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-policy-allow-all-83384509']], 'subnet_ipam': [{'subnet_cidr': '38.110.238.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-09 13:34:11,500 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:11,800 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:11,834 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:11,847 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:11,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:11,932 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:11,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:11,948 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:11,955 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7265ea5-495a-4ff4-b175-831a5f179899 2026-02-09 13:34:11,962 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:34:11,962 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:11,971 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:11,986 - INFO - Verified VN network id 11 for VN 32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:11,986 - INFO - Verifications in API Server for VN ctest-vn-46490391 passed 2026-02-09 13:34:11,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:11,996 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:12,003 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:12,010 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/f7265ea5-495a-4ff4-b175-831a5f179899 2026-02-09 13:34:12,021 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50745683', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3658272339073911900', 'uuid-lslong': '12861165421081074112'}, 'enable': 'true', 'created': '2026-02-09T13:34:09', 'last-modified': '2026-02-09T13:34:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.908854'} 2026-02-09 13:34:12,027 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-09 13:34:12,027 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46490391 passed 2026-02-09 13:34:12,027 - DEBUG - ====Verifying policy data for ctest-vn-46490391 in API_Server ====== 2026-02-09 13:34:12,027 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:12,033 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:12,046 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:12,118 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/32c4cb4f-5e23-4c5c-b27c-09cf211319c0 2026-02-09 13:34:12,129 - DEBUG - ==>Verifying data for policy with id: 1320a5c0-3b26-4ce5-942c-95860bc09ccf, fqn: ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-policy-allow-all-83384509'] 2026-02-09 13:34:12,129 - INFO - VN ctest-vn-46490391 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:34:12,129 - DEBUG - Verifying the vn in opserver 2026-02-09 13:34:12,129 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391 virtual network link through opserver 10.0.0.50 2026-02-09 13:34:12,130 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 13:34:12,422 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 13:34:12,498 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391?flat'} 2026-02-09 13:34:12,498 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391 is found in opserver 2026-02-09 13:34:12,509 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:34:12,514 - DEBUG - VRF ids for VN ctest-vn-46490391: {} 2026-02-09 13:34:12,514 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:12,520 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:12,531 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:12,602 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,613 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,622 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:12,630 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:12,637 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e41ab1dc-46c1-408c-9bc5-e18b75855c8c 2026-02-09 13:34:12,644 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:34:12,644 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,654 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:12,668 - INFO - Verified VN network id 12 for VN a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,669 - INFO - Verifications in API Server for VN ctest-vn-81188651 passed 2026-02-09 13:34:12,669 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,678 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:12,685 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:12,692 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e41ab1dc-46c1-408c-9bc5-e18b75855c8c 2026-02-09 13:34:12,704 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-81188651', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50745683', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11712803964706442583', 'uuid-lslong': '12799251340624774113'}, 'enable': 'true', 'created': '2026-02-09T13:34:10', 'last-modified': '2026-02-09T13:34:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.386452'} 2026-02-09 13:34:12,711 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-09 13:34:12,711 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81188651 passed 2026-02-09 13:34:12,711 - DEBUG - ====Verifying policy data for ctest-vn-81188651 in API_Server ====== 2026-02-09 13:34:12,711 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:12,719 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:12,732 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:12,803 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a28c3d26-181d-4d57-b1a0-1347ece1c3e1 2026-02-09 13:34:12,812 - DEBUG - ==>Verifying data for policy with id: 1320a5c0-3b26-4ce5-942c-95860bc09ccf, fqn: ['default-domain', 'ctest-TestBasicPolicy-50745683', 'ctest-policy-allow-all-83384509'] 2026-02-09 13:34:12,812 - INFO - VN ctest-vn-81188651 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-09 13:34:12,812 - DEBUG - Verifying the vn in opserver 2026-02-09 13:34:12,812 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-81188651 virtual network link through opserver 10.0.0.50 2026-02-09 13:34:12,813 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-09 13:34:12,822 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-81188651', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-81188651?flat'} 2026-02-09 13:34:12,823 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-81188651 is found in opserver 2026-02-09 13:34:12,832 - DEBUG - Do not have enough data to verify VN in agent 2026-02-09 13:34:12,837 - DEBUG - VRF ids for VN ctest-vn-81188651: {} 2026-02-09 13:34:12,896 - DEBUG - Services list from nova: [, , ] 2026-02-09 13:34:13,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5244-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5244-1) 2026-02-09 13:34:15,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5244-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5244-1) 2026-02-09 13:34:15,121 - INFO - Waiting for VM ctest-TestBasicPolicy-50745683-21148830 to be up.. 2026-02-09 13:34:15,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-09 13:34:20,309 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:34:20,310 - INFO - VM name : ctest-TestBasicPolicy-50745683-21148830 2026-02-09 13:34:20,386 - DEBUG - VM ctest-TestBasicPolicy-50745683-21148830 ID is f3874b36-4751-4755-8784-2a3a0ab39d45 2026-02-09 13:34:20,406 - DEBUG - VM ctest-TestBasicPolicy-50745683-21148830 launched on Node cn-jenkins-deploy-platform-ansible-os-5244-1 2026-02-09 13:34:20,484 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f3874b36-4751-4755-8784-2a3a0ab39d45 2026-02-09 13:34:20,493 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f8fb03dd-bbcd-4e3e-a33b-234f849bd849 2026-02-09 13:34:23,746 - 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 1022ms') 2026-02-09 13:34:23,746 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50745683-21148830 failed! 2026-02-09 13:34:23,804 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50745683:ctest-vn-46490391 is 140.91.183.1 and allocation pool is NOT set 2026-02-09 13:34:25,868 - 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=7.08 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.465 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.465/3.770/7.075/3.305 ms') 2026-02-09 13:34:25,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50745683-21148830 passed 2026-02-09 13:34:26,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:34:26,020 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50745683-21148830, IP 140.91.183.3, Port 22 2026-02-09 13:34:26,086 - 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-02-09 13:34:26,171 - DEBUG - VM ctest-TestBasicPolicy-50745683-21148830 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-09 13:34:31,172 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:34:31,172 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50745683-21148830, IP 140.91.183.3, Port 22 2026-02-09 13:34:31,327 - DEBUG - VM ctest-TestBasicPolicy-50745683-21148830 is ready for SSH connections 2026-02-09 13:34:31,328 - INFO - Waiting for VM ctest-TestBasicPolicy-50745683-04816470 to be up.. 2026-02-09 13:34:31,411 - DEBUG - VM is in ACTIVE state now 2026-02-09 13:34:31,411 - INFO - VM name : ctest-TestBasicPolicy-50745683-04816470 2026-02-09 13:34:31,486 - DEBUG - VM ctest-TestBasicPolicy-50745683-04816470 ID is d7c56a9d-91c5-4d54-888f-2570ad9f34f8 2026-02-09 13:34:31,486 - DEBUG - VM ctest-TestBasicPolicy-50745683-04816470 launched on Node cn-jenkins-deploy-platform-ansible-os-5244-1 2026-02-09 13:34:31,569 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/d7c56a9d-91c5-4d54-888f-2570ad9f34f8 2026-02-09 13:34:31,577 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/30d5d8d5-7984-47ec-bef2-ba42cc57d4d7 2026-02-09 13:34:32,823 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 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.548/1.927/3.307/1.379 ms') 2026-02-09 13:34:32,823 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50745683-04816470 passed 2026-02-09 13:34:32,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:34:32,972 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50745683-04816470, IP 38.110.238.195, Port 22 2026-02-09 13:34:33,131 - DEBUG - VM ctest-TestBasicPolicy-50745683-04816470 is ready for SSH connections 2026-02-09 13:34:33,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:34:33,131 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.110.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 13:34:33,132 - DEBUG - ping -s 56 -c 3 -W 1 38.110.238.195 2026-02-09 13:34:37,176 - DEBUG - PING 38.110.238.195 (38.110.238.195): 56 data bytes 64 bytes from 38.110.238.195: seq=0 ttl=63 time=3.664 ms 64 bytes from 38.110.238.195: seq=1 ttl=63 time=0.888 ms 64 bytes from 38.110.238.195: seq=2 ttl=63 time=0.876 ms --- 38.110.238.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.876/1.809/3.664 ms 2026-02-09 13:34:37,176 - INFO - Ping to IP 38.110.238.195 from VM ctest-TestBasicPolicy-50745683-21148830 passed 2026-02-09 13:34:37,367 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1320a5c0-3b26-4ce5-942c-95860bc09ccf", "href": "http://10.0.0.50:8082/network-policy/1320a5c0-3b26-4ce5-942c-95860bc09ccf"}} 2026-02-09 13:34:37,368 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-09 13:34:37,368 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 38.110.238.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-09 13:34:37,368 - DEBUG - ping -s 56 -c 3 -W 1 38.110.238.195 2026-02-09 13:34:40,593 - DEBUG - PING 38.110.238.195 (38.110.238.195): 56 data bytes --- 38.110.238.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-09 13:34:40,593 - WARNING - Ping to IP 38.110.238.195 from VM ctest-TestBasicPolicy-50745683-21148830 failed 2026-02-09 13:34:40,593 - INFO - Deleting VM ctest-TestBasicPolicy-50745683-04816470 2026-02-09 13:34:40,669 - INFO - Deleting VM ctest-TestBasicPolicy-50745683-21148830 2026-02-09 13:34:41,066 - INFO - Deleted policy ctest-policy-allow-all-83384509 2026-02-09 13:34:41,066 - INFO - Deleting VN ctest-vn-81188651 2026-02-09 13:34:41,100 - DEBUG - VN a28c3d26-181d-4d57-b1a0-1347ece1c3e1 still in use: Unable to complete operation on network a28c3d26-181d-4d57-b1a0-1347ece1c3e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-281c4636-dc73-441e-919a-fe7e17f9265c'] 2026-02-09 13:34:41,100 - WARNING - Deleting VN ctest-vn-81188651 failed..Will retry 2026-02-09 13:34:43,196 - DEBUG - Response for deleting network () 2026-02-09 13:34:43,196 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/17242da1-badc-446b-b5e7-6403da009020 2026-02-09 13:34:43,205 - DEBUG - Response Code: 404 2026-02-09 13:34:43,205 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:43,210 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:43,265 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:43,336 - INFO - Validated that VN ctest-vn-81188651 is not found in API Server 2026-02-09 13:34:43,346 - DEBUG - VN ctest-vn-81188651 is not present in Agent 10.0.0.50 2026-02-09 13:34:43,346 - INFO - Validated that VN ctest-vn-81188651 is not in any agent 2026-02-09 13:34:43,359 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81188651 info 2026-02-09 13:34:43,359 - INFO - Deleting VN ctest-vn-46490391 2026-02-09 13:34:43,474 - DEBUG - Response for deleting network () 2026-02-09 13:34:43,474 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5384d92f-8cc7-4a9f-ade9-c5706adb6b55 2026-02-09 13:34:43,485 - DEBUG - Response Code: 404 2026-02-09 13:34:43,485 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-09 13:34:43,491 - DEBUG - Requesting: http://10.0.0.50:8082/domain/34c93b61-235d-4a2b-abf5-b890201be482 2026-02-09 13:34:43,545 - DEBUG - Requesting: http://10.0.0.50:8082/project/daf02b9a-1608-4238-90e9-3b8934a35a9d 2026-02-09 13:34:43,615 - INFO - Validated that VN ctest-vn-46490391 is not found in API Server 2026-02-09 13:34:43,626 - DEBUG - VN ctest-vn-46490391 is not present in Agent 10.0.0.50 2026-02-09 13:34:43,626 - INFO - Validated that VN ctest-vn-46490391 is not in any agent 2026-02-09 13:34:43,639 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46490391 info 2026-02-09 13:34:43,893 - DEBUG - No XMPP flaps were noticed during the test 2026-02-09 13:34:43,893 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-09 13:34:43,893 - INFO - -------------------------------------------------------------------------------- 2026-02-09 13:34:44,591 - INFO - Deleted project: ctest-TestBasicPolicy-50745683, ID : daf02b9a-1608-4238-90e9-3b8934a35a9d