2026-02-19 02:12:39,906 - INFO - Domain Default found not creating 2026-02-19 02:12:40,076 - INFO - Project ctest-TestBasicPolicy-59682914 not found, creating it 2026-02-19 02:12:40,505 - INFO - Created Project:ctest-TestBasicPolicy-59682914, ID : 8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:12:42,019 - INFO - ================================================================================ 2026-02-19 02:12:42,019 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-19 02:12:42,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-19 02:12:42,272 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2026-02-19 02:12:42,272 - INFO - Initial checks done. Running the testcase now 2026-02-19 02:12:42,272 - INFO - 2026-02-19 02:12:42,832 - DEBUG - Response for create_network : {'network': {'id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'name': 'ctest-vn-21345991', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-21345991'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:12:43,006 - DEBUG - Response for create_subnet : {'subnet': {'id': '870f3645-7575-4f17-906d-4c6ed79613c5', 'name': '', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'network_id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'ip_version': 4, 'cidr': '73.75.25.64/26', 'allocation_pools': [{'start': '73.75.25.66', 'end': '73.75.25.126'}], 'gateway_ip': '73.75.25.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.75.25.66', 'tags': [], 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd'}} 2026-02-19 02:12:43,033 - INFO - Created VN ctest-vn-21345991 2026-02-19 02:12:43,086 - DEBUG - VN ctest-vn-21345991 UUID is 209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:43,397 - DEBUG - Response for create_network : {'network': {'id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'name': 'ctest-vn-42358309', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-42358309'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:12:43,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '696431f0-9756-417a-921e-94a6ae1e272c', 'name': '', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'network_id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'ip_version': 4, 'cidr': '195.84.39.192/26', 'allocation_pools': [{'start': '195.84.39.194', 'end': '195.84.39.254'}], 'gateway_ip': '195.84.39.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.84.39.194', 'tags': [], 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd'}} 2026-02-19 02:12:43,643 - INFO - Created VN ctest-vn-42358309 2026-02-19 02:12:43,702 - DEBUG - VN ctest-vn-42358309 UUID is e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:43,829 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991, 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-59682914:ctest-vn-42358309, 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-19 02:12:44,110 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '209dc307-4bd8-4309-a50c-ebc308f3cba8', 'name': 'ctest-vn-21345991', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['870f3645-7575-4f17-906d-4c6ed79613c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-21345991'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']], 'subnet_ipam': [{'subnet_cidr': '73.75.25.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:12:44,331 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e2db659b-6fbd-43dc-9e0a-2256aae9fa95', 'name': 'ctest-vn-42358309', 'tenant_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'project_id': '8daf22c8fe6c4f4285aaf1d3d96e54dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['696431f0-9756-417a-921e-94a6ae1e272c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-vn-42358309'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683']], 'subnet_ipam': [{'subnet_cidr': '195.84.39.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:12:44,494 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:12:44,795 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:12:44,829 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:12:44,840 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:12:44,909 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:44,919 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:44,928 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:12:44,935 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:12:44,941 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/9439a8fc-77f3-4ae5-a538-b3a486462482 2026-02-19 02:12:44,947 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:12:44,947 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:44,956 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:12:44,972 - INFO - Verified VN network id 10 for VN 209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:44,973 - INFO - Verifications in API Server for VN ctest-vn-21345991 passed 2026-02-19 02:12:44,973 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:44,984 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:12:44,990 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:12:44,997 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/9439a8fc-77f3-4ae5-a538-b3a486462482 2026-02-19 02:12:45,010 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59682914', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2350249016661918473', 'uuid-lslong': '11893139938879982504'}, 'enable': 'true', 'created': '2026-02-19T02:12:42', 'last-modified': '2026-02-19T02:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.920699'} 2026-02-19 02:12:45,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-19 02:12:45,016 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21345991 passed 2026-02-19 02:12:45,016 - DEBUG - ====Verifying policy data for ctest-vn-21345991 in API_Server ====== 2026-02-19 02:12:45,016 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:12:45,022 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:12:45,034 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:12:45,104 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/209dc307-4bd8-4309-a50c-ebc308f3cba8 2026-02-19 02:12:45,114 - DEBUG - ==>Verifying data for policy with id: 61f195e1-9c3d-4757-9237-a1aebcb6ea92, fqn: ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683'] 2026-02-19 02:12:45,114 - INFO - VN ctest-vn-21345991 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:12:45,114 - DEBUG - Verifying the vn in opserver 2026-02-19 02:12:45,114 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991 virtual network link through opserver 10.0.0.73 2026-02-19 02:12:45,114 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-19 02:12:45,416 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-19 02:12:45,482 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991?flat'} 2026-02-19 02:12:45,482 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991 is found in opserver 2026-02-19 02:12:45,492 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:12:45,497 - DEBUG - VRF ids for VN ctest-vn-21345991: {} 2026-02-19 02:12:45,497 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:12:45,503 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:12:45,514 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:12:45,583 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,593 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,603 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:12:45,610 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:12:45,616 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/45e94bec-de07-47f7-8909-988b2d1493c4 2026-02-19 02:12:45,623 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:12:45,623 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,633 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:12:45,646 - INFO - Verified VN network id 11 for VN e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,646 - INFO - Verifications in API Server for VN ctest-vn-42358309 passed 2026-02-19 02:12:45,646 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,655 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:12:45,662 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:12:45,668 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/45e94bec-de07-47f7-8909-988b2d1493c4 2026-02-19 02:12:45,679 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-59682914', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16346770990740358108', 'uuid-lslong': '11387952363389713045'}, 'enable': 'true', 'created': '2026-02-19T02:12:43', 'last-modified': '2026-02-19T02:12:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.365921'} 2026-02-19 02:12:45,685 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-19 02:12:45,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42358309 passed 2026-02-19 02:12:45,685 - DEBUG - ====Verifying policy data for ctest-vn-42358309 in API_Server ====== 2026-02-19 02:12:45,685 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:12:45,691 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:12:45,701 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:12:45,772 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/e2db659b-6fbd-43dc-9e0a-2256aae9fa95 2026-02-19 02:12:45,781 - DEBUG - ==>Verifying data for policy with id: 61f195e1-9c3d-4757-9237-a1aebcb6ea92, fqn: ['default-domain', 'ctest-TestBasicPolicy-59682914', 'ctest-policy-allow-all-77886683'] 2026-02-19 02:12:45,781 - INFO - VN ctest-vn-42358309 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-19 02:12:45,781 - DEBUG - Verifying the vn in opserver 2026-02-19 02:12:45,781 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309 virtual network link through opserver 10.0.0.73 2026-02-19 02:12:45,781 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks 2026-02-19 02:12:45,790 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309?flat'} 2026-02-19 02:12:45,790 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-42358309 is found in opserver 2026-02-19 02:12:45,801 - DEBUG - Do not have enough data to verify VN in agent 2026-02-19 02:12:45,807 - DEBUG - VRF ids for VN ctest-vn-42358309: {} 2026-02-19 02:12:45,860 - DEBUG - Services list from nova: [, , ] 2026-02-19 02:12:46,890 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1) 2026-02-19 02:12:48,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1) 2026-02-19 02:12:48,078 - INFO - Waiting for VM ctest-TestBasicPolicy-59682914-14752862 to be up.. 2026-02-19 02:12:48,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 02:12:53,271 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:12:53,272 - INFO - VM name : ctest-TestBasicPolicy-59682914-14752862 2026-02-19 02:12:53,364 - DEBUG - VM ctest-TestBasicPolicy-59682914-14752862 ID is 8e90ae53-3b8f-42c4-b9ab-7ddecd5cf59d 2026-02-19 02:12:53,389 - DEBUG - VM ctest-TestBasicPolicy-59682914-14752862 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1 2026-02-19 02:12:53,477 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/8e90ae53-3b8f-42c4-b9ab-7ddecd5cf59d 2026-02-19 02:12:53,487 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/2e8fad40-0550-44b9-98b4-09ccad749bed 2026-02-19 02:12:56,751 - 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-19 02:12:56,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59682914-14752862 failed! 2026-02-19 02:12:56,810 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-59682914:ctest-vn-21345991 is 73.75.25.65 and allocation pool is NOT set 2026-02-19 02:12:58,874 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.355 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.355/3.856/7.357/3.501 ms') 2026-02-19 02:12:58,874 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-59682914-14752862 passed 2026-02-19 02:12:59,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:12:59,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59682914-14752862, IP 73.75.25.67, Port 22 2026-02-19 02:12:59,088 - 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-19 02:12:59,159 - DEBUG - VM ctest-TestBasicPolicy-59682914-14752862 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:13:04,160 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:13:04,160 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59682914-14752862, IP 73.75.25.67, Port 22 2026-02-19 02:13:04,328 - DEBUG - VM ctest-TestBasicPolicy-59682914-14752862 is ready for SSH connections 2026-02-19 02:13:04,328 - INFO - Waiting for VM ctest-TestBasicPolicy-59682914-42104200 to be up.. 2026-02-19 02:13:04,419 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:13:04,419 - INFO - VM name : ctest-TestBasicPolicy-59682914-42104200 2026-02-19 02:13:04,507 - DEBUG - VM ctest-TestBasicPolicy-59682914-42104200 ID is c68f292e-1caf-4416-bccf-83b6b7d8bc16 2026-02-19 02:13:04,507 - DEBUG - VM ctest-TestBasicPolicy-59682914-42104200 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1 2026-02-19 02:13:04,593 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/c68f292e-1caf-4416-bccf-83b6b7d8bc16 2026-02-19 02:13:04,602 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/f4c6455d-cc4a-4370-8b08-680949c2c306 2026-02-19 02:13:05,850 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.380 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.380/1.693/3.007/1.313 ms') 2026-02-19 02:13:05,851 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-59682914-42104200 passed 2026-02-19 02:13:06,006 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:13:06,006 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-59682914-42104200, IP 195.84.39.195, Port 22 2026-02-19 02:13:06,161 - DEBUG - VM ctest-TestBasicPolicy-59682914-42104200 is ready for SSH connections 2026-02-19 02:13:06,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:13:06,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.84.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:13:06,162 - DEBUG - ping -s 56 -c 3 -W 1 195.84.39.195 2026-02-19 02:13:10,209 - DEBUG - PING 195.84.39.195 (195.84.39.195): 56 data bytes 64 bytes from 195.84.39.195: seq=0 ttl=63 time=3.507 ms 64 bytes from 195.84.39.195: seq=1 ttl=63 time=0.924 ms 64 bytes from 195.84.39.195: seq=2 ttl=63 time=0.866 ms --- 195.84.39.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.866/1.765/3.507 ms 2026-02-19 02:13:10,210 - INFO - Ping to IP 195.84.39.195 from VM ctest-TestBasicPolicy-59682914-14752862 passed 2026-02-19 02:13:10,386 - DEBUG - Policy Update Response {"network-policy": {"uuid": "61f195e1-9c3d-4757-9237-a1aebcb6ea92", "href": "http://10.0.0.73:8082/network-policy/61f195e1-9c3d-4757-9237-a1aebcb6ea92"}} 2026-02-19 02:13:10,386 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:13:10,386 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.84.39.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:13:10,386 - DEBUG - ping -s 56 -c 3 -W 1 195.84.39.195 2026-02-19 02:13:13,639 - DEBUG - PING 195.84.39.195 (195.84.39.195): 56 data bytes --- 195.84.39.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 02:13:13,640 - WARNING - Ping to IP 195.84.39.195 from VM ctest-TestBasicPolicy-59682914-14752862 failed 2026-02-19 02:13:13,640 - INFO - Deleting VM ctest-TestBasicPolicy-59682914-42104200 2026-02-19 02:13:13,714 - INFO - Deleting VM ctest-TestBasicPolicy-59682914-14752862 2026-02-19 02:13:14,098 - INFO - Deleted policy ctest-policy-allow-all-77886683 2026-02-19 02:13:14,098 - INFO - Deleting VN ctest-vn-42358309 2026-02-19 02:13:14,136 - DEBUG - VN e2db659b-6fbd-43dc-9e0a-2256aae9fa95 still in use: Unable to complete operation on network e2db659b-6fbd-43dc-9e0a-2256aae9fa95. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd065011-08c8-46bb-b164-6c1b96ab719e'] 2026-02-19 02:13:14,136 - WARNING - Deleting VN ctest-vn-42358309 failed..Will retry 2026-02-19 02:13:16,231 - DEBUG - Response for deleting network () 2026-02-19 02:13:16,232 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/ec03776e-f021-4dc0-8bfa-5e7551a2f9aa 2026-02-19 02:13:16,239 - DEBUG - Response Code: 404 2026-02-19 02:13:16,239 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:13:16,244 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:13:16,295 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:13:16,363 - INFO - Validated that VN ctest-vn-42358309 is not found in API Server 2026-02-19 02:13:16,373 - DEBUG - VN ctest-vn-42358309 is not present in Agent 10.0.0.73 2026-02-19 02:13:16,373 - INFO - Validated that VN ctest-vn-42358309 is not in any agent 2026-02-19 02:13:16,386 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42358309 info 2026-02-19 02:13:16,386 - INFO - Deleting VN ctest-vn-21345991 2026-02-19 02:13:16,482 - DEBUG - Response for deleting network () 2026-02-19 02:13:16,482 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/9f89b351-3abc-4179-9248-a8f54592e05e 2026-02-19 02:13:16,489 - DEBUG - Response Code: 404 2026-02-19 02:13:16,489 - DEBUG - Requesting: http://10.0.0.73:8082/domains 2026-02-19 02:13:16,495 - DEBUG - Requesting: http://10.0.0.73:8082/domain/a019755e-f901-41d8-a8e2-8005c9c1abd3 2026-02-19 02:13:16,547 - DEBUG - Requesting: http://10.0.0.73:8082/project/8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd 2026-02-19 02:13:16,620 - INFO - Validated that VN ctest-vn-21345991 is not found in API Server 2026-02-19 02:13:16,630 - DEBUG - VN ctest-vn-21345991 is not present in Agent 10.0.0.73 2026-02-19 02:13:16,630 - INFO - Validated that VN ctest-vn-21345991 is not in any agent 2026-02-19 02:13:16,645 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21345991 info 2026-02-19 02:13:16,903 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 02:13:16,904 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-19 02:13:16,904 - INFO - -------------------------------------------------------------------------------- 2026-02-19 02:13:17,581 - INFO - Deleted project: ctest-TestBasicPolicy-59682914, ID : 8daf22c8-fe6c-4f42-85aa-f1d3d96e54dd