2026-03-02 02:08:48,413 - INFO - Domain Default found not creating 2026-03-02 02:08:48,609 - INFO - Project ctest-TestBasicPolicy-60007874 not found, creating it 2026-03-02 02:08:49,098 - INFO - Created Project:ctest-TestBasicPolicy-60007874, ID : 382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:08:50,820 - INFO - ================================================================================ 2026-03-02 02:08:50,820 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-02 02:08:50,820 - 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-03-02 02:08:51,080 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-03-02 02:08:51,081 - INFO - Initial checks done. Running the testcase now 2026-03-02 02:08:51,081 - INFO - 2026-03-02 02:08:51,705 - DEBUG - Response for create_network : {'network': {'id': 'f19feb13-41bb-450b-bce1-c4a60df4012e', 'name': 'ctest-vn-66890087', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'project_id': '382fa46bb10942ae9817597ff1c6dcbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-vn-66890087'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:51,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '50a5e911-3568-4454-8e85-027689fff3d8', 'name': '', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'network_id': 'f19feb13-41bb-450b-bce1-c4a60df4012e', 'ip_version': 4, 'cidr': '139.28.163.64/26', 'allocation_pools': [{'start': '139.28.163.66', 'end': '139.28.163.126'}], 'gateway_ip': '139.28.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.28.163.66', 'tags': [], 'project_id': '382fa46bb10942ae9817597ff1c6dcbd'}} 2026-03-02 02:08:51,900 - INFO - Created VN ctest-vn-66890087 2026-03-02 02:08:51,957 - DEBUG - VN ctest-vn-66890087 UUID is f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:52,265 - DEBUG - Response for create_network : {'network': {'id': '241b1383-f0bf-4460-bfd6-8ff0a30fd134', 'name': 'ctest-vn-93591423', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'project_id': '382fa46bb10942ae9817597ff1c6dcbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-vn-93591423'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:52,470 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f5d9d1d-8774-4dfd-a9ec-e4368e67c65b', 'name': '', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'network_id': '241b1383-f0bf-4460-bfd6-8ff0a30fd134', 'ip_version': 4, 'cidr': '43.230.15.192/26', 'allocation_pools': [{'start': '43.230.15.194', 'end': '43.230.15.254'}], 'gateway_ip': '43.230.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.230.15.194', 'tags': [], 'project_id': '382fa46bb10942ae9817597ff1c6dcbd'}} 2026-03-02 02:08:52,491 - INFO - Created VN ctest-vn-93591423 2026-03-02 02:08:52,549 - DEBUG - VN ctest-vn-93591423 UUID is 241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:52,668 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087, 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-60007874:ctest-vn-93591423, 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-03-02 02:08:52,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f19feb13-41bb-450b-bce1-c4a60df4012e', 'name': 'ctest-vn-66890087', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'project_id': '382fa46bb10942ae9817597ff1c6dcbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50a5e911-3568-4454-8e85-027689fff3d8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-vn-66890087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-policy-allow-all-72633591']], 'subnet_ipam': [{'subnet_cidr': '139.28.163.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:53,262 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '241b1383-f0bf-4460-bfd6-8ff0a30fd134', 'name': 'ctest-vn-93591423', 'tenant_id': '382fa46bb10942ae9817597ff1c6dcbd', 'project_id': '382fa46bb10942ae9817597ff1c6dcbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1f5d9d1d-8774-4dfd-a9ec-e4368e67c65b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-vn-93591423'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-policy-allow-all-72633591']], 'subnet_ipam': [{'subnet_cidr': '43.230.15.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:08:53,410 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:08:53,753 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:08:53,787 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:08:53,800 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:08:53,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:53,885 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:53,896 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:08:53,904 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:08:53,912 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e133c5da-3e8b-44de-983c-092c2220e134 2026-03-02 02:08:53,918 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 02:08:53,918 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:53,926 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:08:53,941 - INFO - Verified VN network id 11 for VN f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:53,941 - INFO - Verifications in API Server for VN ctest-vn-66890087 passed 2026-03-02 02:08:53,941 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:53,951 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:08:53,958 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:08:53,966 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e133c5da-3e8b-44de-983c-092c2220e134 2026-03-02 02:08:53,980 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60007874', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17410893152377324811', 'uuid-lslong': '13610375766368059694'}, 'enable': 'true', 'created': '2026-03-02T02:08:51', 'last-modified': '2026-03-02T02:08:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.029259'} 2026-03-02 02:08:53,986 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 02:08:53,986 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66890087 passed 2026-03-02 02:08:53,987 - DEBUG - ====Verifying policy data for ctest-vn-66890087 in API_Server ====== 2026-03-02 02:08:53,987 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:08:53,992 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:08:54,004 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:08:54,075 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f19feb13-41bb-450b-bce1-c4a60df4012e 2026-03-02 02:08:54,087 - DEBUG - ==>Verifying data for policy with id: b4dae0a1-55f5-4b4b-8a68-d6df940ee8ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-policy-allow-all-72633591'] 2026-03-02 02:08:54,087 - INFO - VN ctest-vn-66890087 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 02:08:54,087 - DEBUG - Verifying the vn in opserver 2026-03-02 02:08:54,087 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087 virtual network link through opserver 10.0.0.50 2026-03-02 02:08:54,087 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-02 02:08:54,425 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-02 02:08:54,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087?flat'} 2026-03-02 02:08:54,501 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087 is found in opserver 2026-03-02 02:08:54,511 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 02:08:54,516 - DEBUG - VRF ids for VN ctest-vn-66890087: {} 2026-03-02 02:08:54,516 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:08:54,522 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:08:54,536 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:08:54,610 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,623 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,635 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:08:54,643 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:08:54,651 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c667c6ed-9fb7-42c9-8101-08550647e3dd 2026-03-02 02:08:54,659 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 02:08:54,659 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,670 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:08:54,686 - INFO - Verified VN network id 12 for VN 241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,686 - INFO - Verifications in API Server for VN ctest-vn-93591423 passed 2026-03-02 02:08:54,686 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,697 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:08:54,704 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:08:54,713 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c667c6ed-9fb7-42c9-8101-08550647e3dd 2026-03-02 02:08:54,728 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-93591423', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60007874', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2601694667137303648', 'uuid-lslong': '13823394369950961972'}, 'enable': 'true', 'created': '2026-03-02T02:08:52', 'last-modified': '2026-03-02T02:08:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.534083'} 2026-03-02 02:08:54,735 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 02:08:54,735 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93591423 passed 2026-03-02 02:08:54,735 - DEBUG - ====Verifying policy data for ctest-vn-93591423 in API_Server ====== 2026-03-02 02:08:54,735 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:08:54,741 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:08:54,753 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:08:54,827 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/241b1383-f0bf-4460-bfd6-8ff0a30fd134 2026-03-02 02:08:54,836 - DEBUG - ==>Verifying data for policy with id: b4dae0a1-55f5-4b4b-8a68-d6df940ee8ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-60007874', 'ctest-policy-allow-all-72633591'] 2026-03-02 02:08:54,836 - INFO - VN ctest-vn-93591423 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 02:08:54,836 - DEBUG - Verifying the vn in opserver 2026-03-02 02:08:54,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-93591423 virtual network link through opserver 10.0.0.50 2026-03-02 02:08:54,836 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-03-02 02:08:54,847 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-93591423', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-93591423?flat'} 2026-03-02 02:08:54,847 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-93591423 is found in opserver 2026-03-02 02:08:54,858 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 02:08:54,863 - DEBUG - VRF ids for VN ctest-vn-93591423: {} 2026-03-02 02:08:54,930 - DEBUG - Services list from nova: [, , ] 2026-03-02 02:08:56,085 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5416-1) 2026-03-02 02:08:57,373 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5416-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5416-1) 2026-03-02 02:08:57,373 - INFO - Waiting for VM ctest-TestBasicPolicy-60007874-93291955 to be up.. 2026-03-02 02:08:57,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 02:09:02,549 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:09:02,549 - INFO - VM name : ctest-TestBasicPolicy-60007874-93291955 2026-03-02 02:09:02,633 - DEBUG - VM ctest-TestBasicPolicy-60007874-93291955 ID is 55df9598-1130-4741-a46b-29a9d7098caa 2026-03-02 02:09:02,657 - DEBUG - VM ctest-TestBasicPolicy-60007874-93291955 launched on Node cn-jenkins-deploy-platform-ansible-os-5416-1 2026-03-02 02:09:02,752 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/55df9598-1130-4741-a46b-29a9d7098caa 2026-03-02 02:09:02,767 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b234e75-9e49-475f-98ab-64e7ab547078 2026-03-02 02:09:06,063 - 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 1032ms') 2026-03-02 02:09:06,063 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60007874-93291955 failed! 2026-03-02 02:09:06,125 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-60007874:ctest-vn-66890087 is 139.28.163.65 and allocation pool is NOT set 2026-03-02 02:09:08,189 - 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=5.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.13 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 = 4.127/5.020/5.913/0.893 ms') 2026-03-02 02:09:08,189 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-60007874-93291955 passed 2026-03-02 02:09:08,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:08,346 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60007874-93291955, IP 139.28.163.67, Port 22 2026-03-02 02:09:08,411 - 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-03-02 02:09:08,497 - DEBUG - VM ctest-TestBasicPolicy-60007874-93291955 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-02 02:09:13,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:13,497 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60007874-93291955, IP 139.28.163.67, Port 22 2026-03-02 02:09:13,664 - DEBUG - VM ctest-TestBasicPolicy-60007874-93291955 is ready for SSH connections 2026-03-02 02:09:13,665 - INFO - Waiting for VM ctest-TestBasicPolicy-60007874-33973591 to be up.. 2026-03-02 02:09:13,755 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:09:13,755 - INFO - VM name : ctest-TestBasicPolicy-60007874-33973591 2026-03-02 02:09:13,842 - DEBUG - VM ctest-TestBasicPolicy-60007874-33973591 ID is 9dbcdd34-324e-4221-9758-6360e489aecc 2026-03-02 02:09:13,842 - DEBUG - VM ctest-TestBasicPolicy-60007874-33973591 launched on Node cn-jenkins-deploy-platform-ansible-os-5416-1 2026-03-02 02:09:13,933 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9dbcdd34-324e-4221-9758-6360e489aecc 2026-03-02 02:09:13,943 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/12b65003-16ba-47c3-ada0-bdaa81faa708 2026-03-02 02:09:15,197 - 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.500 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.500/1.971/3.442/1.471 ms') 2026-03-02 02:09:15,197 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-60007874-33973591 passed 2026-03-02 02:09:15,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:15,358 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-60007874-33973591, IP 43.230.15.195, Port 22 2026-03-02 02:09:15,523 - DEBUG - VM ctest-TestBasicPolicy-60007874-33973591 is ready for SSH connections 2026-03-02 02:09:15,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:15,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.230.15.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-02 02:09:15,524 - DEBUG - ping -s 56 -c 3 -W 1 43.230.15.195 2026-03-02 02:09:19,714 - DEBUG - PING 43.230.15.195 (43.230.15.195): 56 data bytes 64 bytes from 43.230.15.195: seq=0 ttl=63 time=4.058 ms 64 bytes from 43.230.15.195: seq=1 ttl=63 time=0.915 ms 64 bytes from 43.230.15.195: seq=2 ttl=63 time=1.154 ms --- 43.230.15.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.915/2.042/4.058 ms 2026-03-02 02:09:19,714 - INFO - Ping to IP 43.230.15.195 from VM ctest-TestBasicPolicy-60007874-93291955 passed 2026-03-02 02:09:19,897 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b4dae0a1-55f5-4b4b-8a68-d6df940ee8ac", "href": "http://10.0.0.50:8082/network-policy/b4dae0a1-55f5-4b4b-8a68-d6df940ee8ac"}} 2026-03-02 02:09:19,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:19,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 43.230.15.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-03-02 02:09:19,898 - DEBUG - ping -s 56 -c 3 -W 1 43.230.15.195 2026-03-02 02:09:23,129 - DEBUG - PING 43.230.15.195 (43.230.15.195): 56 data bytes --- 43.230.15.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-02 02:09:23,129 - WARNING - Ping to IP 43.230.15.195 from VM ctest-TestBasicPolicy-60007874-93291955 failed 2026-03-02 02:09:23,129 - INFO - Deleting VM ctest-TestBasicPolicy-60007874-33973591 2026-03-02 02:09:23,209 - INFO - Deleting VM ctest-TestBasicPolicy-60007874-93291955 2026-03-02 02:09:23,624 - INFO - Deleted policy ctest-policy-allow-all-72633591 2026-03-02 02:09:23,625 - INFO - Deleting VN ctest-vn-93591423 2026-03-02 02:09:23,668 - DEBUG - VN 241b1383-f0bf-4460-bfd6-8ff0a30fd134 still in use: Unable to complete operation on network 241b1383-f0bf-4460-bfd6-8ff0a30fd134. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-85483f40-940c-4ac5-b70d-a491835d6e8e'] 2026-03-02 02:09:23,668 - WARNING - Deleting VN ctest-vn-93591423 failed..Will retry 2026-03-02 02:09:25,775 - DEBUG - Response for deleting network () 2026-03-02 02:09:25,775 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/7b2ce48a-32e0-4a92-84fd-4f14a6fc42b7 2026-03-02 02:09:25,783 - DEBUG - Response Code: 404 2026-03-02 02:09:25,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:09:25,789 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:09:25,848 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:09:25,927 - INFO - Validated that VN ctest-vn-93591423 is not found in API Server 2026-03-02 02:09:25,937 - DEBUG - VN ctest-vn-93591423 is not present in Agent 10.0.0.50 2026-03-02 02:09:25,937 - INFO - Validated that VN ctest-vn-93591423 is not in any agent 2026-03-02 02:09:25,952 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93591423 info 2026-03-02 02:09:25,952 - INFO - Deleting VN ctest-vn-66890087 2026-03-02 02:09:26,071 - DEBUG - Response for deleting network () 2026-03-02 02:09:26,071 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bd5ceb59-f271-4606-b40c-1ba273da7f45 2026-03-02 02:09:26,082 - DEBUG - Response Code: 404 2026-03-02 02:09:26,082 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-03-02 02:09:26,090 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8691ebb9-2e9c-4034-97ba-6b32566d9ef2 2026-03-02 02:09:26,146 - DEBUG - Requesting: http://10.0.0.50:8082/project/382fa46b-b109-42ae-9817-597ff1c6dcbd 2026-03-02 02:09:26,223 - INFO - Validated that VN ctest-vn-66890087 is not found in API Server 2026-03-02 02:09:26,235 - DEBUG - VN ctest-vn-66890087 is not present in Agent 10.0.0.50 2026-03-02 02:09:26,235 - INFO - Validated that VN ctest-vn-66890087 is not in any agent 2026-03-02 02:09:26,248 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66890087 info 2026-03-02 02:09:26,503 - DEBUG - No XMPP flaps were noticed during the test
2026-03-02 02:09:26,503 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-03-02 02:09:26,503 - INFO - -------------------------------------------------------------------------------- 2026-03-02 02:09:27,242 - INFO - Deleted project: ctest-TestBasicPolicy-60007874, ID : 382fa46b-b109-42ae-9817-597ff1c6dcbd