2026-02-03 21:24:25,255 - INFO - Domain Default found not creating 2026-02-03 21:24:25,426 - INFO - Project ctest-TestBasicPolicy-02461982 not found, creating it 2026-02-03 21:24:25,882 - INFO - Created Project:ctest-TestBasicPolicy-02461982, ID : 88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:24:27,487 - INFO - ================================================================================ 2026-02-03 21:24:27,488 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-03 21:24:27,488 - 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-03 21:24:27,756 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2026-02-03 21:24:27,756 - INFO - Initial checks done. Running the testcase now 2026-02-03 21:24:27,756 - INFO - 2026-02-03 21:24:28,351 - DEBUG - Response for create_network : {'network': {'id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'name': 'ctest-vn-01804274', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-01804274'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:24:28,543 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bd1adaaf-530b-43de-b354-5793f5c9cb00', 'name': '', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'network_id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'ip_version': 4, 'cidr': '57.153.174.192/26', 'allocation_pools': [{'start': '57.153.174.194', 'end': '57.153.174.254'}], 'gateway_ip': '57.153.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.153.174.194', 'tags': [], 'project_id': '88c3eee56da14962908c74fdb366cf81'}} 2026-02-03 21:24:28,561 - INFO - Created VN ctest-vn-01804274 2026-02-03 21:24:28,614 - DEBUG - VN ctest-vn-01804274 UUID is d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:28,915 - DEBUG - Response for create_network : {'network': {'id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'name': 'ctest-vn-13304740', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-13304740'], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:24:29,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b2ce864-a953-4122-ae28-193b0ca9c06b', 'name': '', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'network_id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'ip_version': 4, 'cidr': '32.170.144.0/26', 'allocation_pools': [{'start': '32.170.144.2', 'end': '32.170.144.62'}], 'gateway_ip': '32.170.144.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.170.144.2', 'tags': [], 'project_id': '88c3eee56da14962908c74fdb366cf81'}} 2026-02-03 21:24:29,168 - INFO - Created VN ctest-vn-13304740 2026-02-03 21:24:29,218 - DEBUG - VN ctest-vn-13304740 UUID is 0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:29,374 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274, 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-02461982:ctest-vn-13304740, 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-03 21:24:29,829 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd12610f8-8e0f-4236-a95f-5d8d8b6a5238', 'name': 'ctest-vn-01804274', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bd1adaaf-530b-43de-b354-5793f5c9cb00'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-01804274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']], 'subnet_ipam': [{'subnet_cidr': '57.153.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:24:30,070 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0c934dce-8487-4c34-b77b-5878f7f569cf', 'name': 'ctest-vn-13304740', 'tenant_id': '88c3eee56da14962908c74fdb366cf81', 'project_id': '88c3eee56da14962908c74fdb366cf81', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2b2ce864-a953-4122-ae28-193b0ca9c06b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-vn-13304740'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374']], 'subnet_ipam': [{'subnet_cidr': '32.170.144.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-03 21:24:30,214 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:24:30,565 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:24:30,603 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:24:30,615 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:24:30,686 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,697 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,705 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:24:30,712 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:24:30,718 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/37bffb9a-bb60-4983-9710-b42337585d54 2026-02-03 21:24:30,724 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 21:24:30,724 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,732 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:24:30,744 - INFO - Verified VN network id 12 for VN d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,744 - INFO - Verifications in API Server for VN ctest-vn-01804274 passed 2026-02-03 21:24:30,745 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,752 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:24:30,757 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:24:30,764 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/37bffb9a-bb60-4983-9710-b42337585d54 2026-02-03 21:24:30,775 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15070751862763242038', 'uuid-lslong': '12204576377708106296'}, 'enable': 'true', 'created': '2026-02-03T21:24:28', 'last-modified': '2026-02-03T21:24:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981854'} 2026-02-03 21:24:30,780 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-03 21:24:30,780 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01804274 passed 2026-02-03 21:24:30,780 - DEBUG - ====Verifying policy data for ctest-vn-01804274 in API_Server ====== 2026-02-03 21:24:30,781 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:24:30,787 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:24:30,797 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:24:30,874 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/d12610f8-8e0f-4236-a95f-5d8d8b6a5238 2026-02-03 21:24:30,885 - DEBUG - ==>Verifying data for policy with id: d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374'] 2026-02-03 21:24:30,885 - INFO - VN ctest-vn-01804274 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 21:24:30,885 - DEBUG - Verifying the vn in opserver 2026-02-03 21:24:30,886 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274 virtual network link through opserver 10.0.0.19 2026-02-03 21:24:30,886 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 21:24:31,220 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 21:24:31,282 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274?flat'} 2026-02-03 21:24:31,282 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274 is found in opserver 2026-02-03 21:24:31,291 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 21:24:31,295 - DEBUG - VRF ids for VN ctest-vn-01804274: {} 2026-02-03 21:24:31,295 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:24:31,300 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:24:31,310 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:24:31,379 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,391 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,401 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:24:31,408 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:24:31,415 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9241b2ec-49d3-4104-91cf-a5c8f7b61c0e 2026-02-03 21:24:31,423 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 21:24:31,423 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,432 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:24:31,445 - INFO - Verified VN network id 13 for VN 0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,445 - INFO - Verifications in API Server for VN ctest-vn-13304740 passed 2026-02-03 21:24:31,445 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,453 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:24:31,460 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:24:31,465 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/9241b2ec-49d3-4104-91cf-a5c8f7b61c0e 2026-02-03 21:24:31,476 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02461982', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '906153499413662772', 'uuid-lslong': '13221258407655598543'}, 'enable': 'true', 'created': '2026-02-03T21:24:28', 'last-modified': '2026-02-03T21:24:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.434302'} 2026-02-03 21:24:31,482 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-03 21:24:31,482 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13304740 passed 2026-02-03 21:24:31,483 - DEBUG - ====Verifying policy data for ctest-vn-13304740 in API_Server ====== 2026-02-03 21:24:31,483 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:24:31,489 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:24:31,501 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:24:31,571 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/0c934dce-8487-4c34-b77b-5878f7f569cf 2026-02-03 21:24:31,581 - DEBUG - ==>Verifying data for policy with id: d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-02461982', 'ctest-policy-allow-all-20710374'] 2026-02-03 21:24:31,581 - INFO - VN ctest-vn-13304740 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-03 21:24:31,581 - DEBUG - Verifying the vn in opserver 2026-02-03 21:24:31,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740 virtual network link through opserver 10.0.0.19 2026-02-03 21:24:31,581 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-03 21:24:31,592 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740?flat'} 2026-02-03 21:24:31,592 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-13304740 is found in opserver 2026-02-03 21:24:31,603 - DEBUG - Do not have enough data to verify VN in agent 2026-02-03 21:24:31,608 - DEBUG - VRF ids for VN ctest-vn-13304740: {} 2026-02-03 21:24:31,669 - DEBUG - Services list from nova: [, , ] 2026-02-03 21:24:32,835 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5196-1) 2026-02-03 21:24:34,110 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5196-1) 2026-02-03 21:24:34,111 - INFO - Waiting for VM ctest-TestBasicPolicy-02461982-77238327 to be up.. 2026-02-03 21:24:34,203 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-03 21:24:39,284 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:24:39,285 - INFO - VM name : ctest-TestBasicPolicy-02461982-77238327 2026-02-03 21:24:39,358 - DEBUG - VM ctest-TestBasicPolicy-02461982-77238327 ID is 682bc834-8ff4-44b7-bdca-8651f8d27248 2026-02-03 21:24:39,378 - DEBUG - VM ctest-TestBasicPolicy-02461982-77238327 launched on Node cn-jenkins-deploy-platform-ansible-os-5196-1 2026-02-03 21:24:39,459 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/682bc834-8ff4-44b7-bdca-8651f8d27248 2026-02-03 21:24:39,467 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9e7234a5-25ab-4d9e-a8f5-94a689afbda9 2026-02-03 21:24:42,700 - 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 1003ms') 2026-02-03 21:24:42,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02461982-77238327 failed! 2026-02-03 21:24:42,755 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02461982:ctest-vn-01804274 is 57.153.174.193 and allocation pool is NOT set 2026-02-03 21:24:44,822 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.87 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 = 1.868/5.419/8.970/3.551 ms') 2026-02-03 21:24:44,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02461982-77238327 passed 2026-02-03 21:24:44,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:24:44,975 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02461982-77238327, IP 57.153.174.195, Port 22 2026-02-03 21:24:45,040 - 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-03 21:24:45,121 - DEBUG - VM ctest-TestBasicPolicy-02461982-77238327 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-03 21:24:50,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:24:50,122 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02461982-77238327, IP 57.153.174.195, Port 22 2026-02-03 21:24:50,282 - DEBUG - VM ctest-TestBasicPolicy-02461982-77238327 is ready for SSH connections 2026-02-03 21:24:50,282 - INFO - Waiting for VM ctest-TestBasicPolicy-02461982-28604891 to be up.. 2026-02-03 21:24:50,367 - DEBUG - VM is in ACTIVE state now 2026-02-03 21:24:50,367 - INFO - VM name : ctest-TestBasicPolicy-02461982-28604891 2026-02-03 21:24:50,441 - DEBUG - VM ctest-TestBasicPolicy-02461982-28604891 ID is 99493193-52c5-4ccc-813b-4a63389c6c1f 2026-02-03 21:24:50,441 - DEBUG - VM ctest-TestBasicPolicy-02461982-28604891 launched on Node cn-jenkins-deploy-platform-ansible-os-5196-1 2026-02-03 21:24:50,512 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/99493193-52c5-4ccc-813b-4a63389c6c1f 2026-02-03 21:24:50,519 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f6c9e6ce-f12c-4b68-a352-6bd8bbcfea56 2026-02-03 21:24:51,762 - 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.34 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.374 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.374/1.855/3.336/1.481 ms') 2026-02-03 21:24:51,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02461982-28604891 passed 2026-02-03 21:24:51,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:24:51,911 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02461982-28604891, IP 32.170.144.3, Port 22 2026-02-03 21:24:52,076 - DEBUG - VM ctest-TestBasicPolicy-02461982-28604891 is ready for SSH connections 2026-02-03 21:24:52,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:24:52,077 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.170.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-03 21:24:52,077 - DEBUG - ping -s 56 -c 3 -W 1 32.170.144.3 2026-02-03 21:24:56,146 - DEBUG - PING 32.170.144.3 (32.170.144.3): 56 data bytes 64 bytes from 32.170.144.3: seq=0 ttl=63 time=5.624 ms 64 bytes from 32.170.144.3: seq=1 ttl=63 time=0.869 ms 64 bytes from 32.170.144.3: seq=2 ttl=63 time=0.771 ms --- 32.170.144.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/2.421/5.624 ms 2026-02-03 21:24:56,146 - INFO - Ping to IP 32.170.144.3 from VM ctest-TestBasicPolicy-02461982-77238327 passed 2026-02-03 21:24:56,322 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3", "href": "http://10.0.0.19:8082/network-policy/d1bb8f73-c681-46f6-ba1d-7fe7af09c5d3"}} 2026-02-03 21:24:56,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-03 21:24:56,322 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.170.144.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-03 21:24:56,323 - DEBUG - ping -s 56 -c 3 -W 1 32.170.144.3 2026-02-03 21:24:59,548 - DEBUG - PING 32.170.144.3 (32.170.144.3): 56 data bytes --- 32.170.144.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-03 21:24:59,548 - WARNING - Ping to IP 32.170.144.3 from VM ctest-TestBasicPolicy-02461982-77238327 failed 2026-02-03 21:24:59,548 - INFO - Deleting VM ctest-TestBasicPolicy-02461982-28604891 2026-02-03 21:24:59,615 - INFO - Deleting VM ctest-TestBasicPolicy-02461982-77238327 2026-02-03 21:24:59,972 - INFO - Deleted policy ctest-policy-allow-all-20710374 2026-02-03 21:24:59,973 - INFO - Deleting VN ctest-vn-13304740 2026-02-03 21:25:00,014 - DEBUG - VN 0c934dce-8487-4c34-b77b-5878f7f569cf still in use: Unable to complete operation on network 0c934dce-8487-4c34-b77b-5878f7f569cf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0947133-ec74-491a-a04d-9e4367b7cc94'] 2026-02-03 21:25:00,014 - WARNING - Deleting VN ctest-vn-13304740 failed..Will retry 2026-02-03 21:25:02,117 - DEBUG - Response for deleting network () 2026-02-03 21:25:02,117 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/059ac21e-16a2-45bb-8777-f56cd6881f32 2026-02-03 21:25:02,124 - DEBUG - Response Code: 404 2026-02-03 21:25:02,124 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:25:02,130 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:25:02,188 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:25:02,262 - INFO - Validated that VN ctest-vn-13304740 is not found in API Server 2026-02-03 21:25:02,271 - DEBUG - VN ctest-vn-13304740 is not present in Agent 10.0.0.19 2026-02-03 21:25:02,271 - INFO - Validated that VN ctest-vn-13304740 is not in any agent 2026-02-03 21:25:02,284 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13304740 info 2026-02-03 21:25:02,285 - INFO - Deleting VN ctest-vn-01804274 2026-02-03 21:25:02,393 - DEBUG - Response for deleting network () 2026-02-03 21:25:02,393 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/66a055e5-5f7d-4f21-8122-cef9f0e3a15b 2026-02-03 21:25:02,400 - DEBUG - Response Code: 404 2026-02-03 21:25:02,400 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-03 21:25:02,405 - DEBUG - Requesting: http://10.0.0.19:8082/domain/5052fb11-9ee8-4ca8-8743-a9976da66102 2026-02-03 21:25:02,455 - DEBUG - Requesting: http://10.0.0.19:8082/project/88c3eee5-6da1-4962-908c-74fdb366cf81 2026-02-03 21:25:02,540 - INFO - Validated that VN ctest-vn-01804274 is not found in API Server 2026-02-03 21:25:02,550 - DEBUG - VN ctest-vn-01804274 is not present in Agent 10.0.0.19 2026-02-03 21:25:02,550 - INFO - Validated that VN ctest-vn-01804274 is not in any agent 2026-02-03 21:25:02,562 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01804274 info 2026-02-03 21:25:02,817 - DEBUG - No XMPP flaps were noticed during the test
2026-02-03 21:25:02,817 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-03 21:25:02,817 - INFO - -------------------------------------------------------------------------------- 2026-02-03 21:25:03,554 - INFO - Deleted project: ctest-TestBasicPolicy-02461982, ID : 88c3eee5-6da1-4962-908c-74fdb366cf81