2026-09-03 11:57:51,409 - INFO - Domain Default found not creating 2026-09-03 11:57:51,614 - INFO - Project ctest-TestBasicPolicy-33288884 not found, creating it 2026-09-03 11:57:52,121 - INFO - Created Project:ctest-TestBasicPolicy-33288884, ID : dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:57:54,377 - INFO - ================================================================================ 2026-09-03 11:57:54,377 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-03 11:57:54,377 - 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-09-03 11:57:54,642 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.25': '0'}} with 2026-09-03 11:57:54,642 - INFO - Initial checks done. Running the testcase now 2026-09-03 11:57:54,642 - INFO - 2026-09-03 11:57:55,411 - DEBUG - Response for create_network : {'network': {'id': '80745d92-39bf-43de-b4e3-b600bf193731', 'name': 'ctest-vn-31234671', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-31234671'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:57:55,722 - DEBUG - Response for create_subnet : {'subnet': {'id': '2453b81e-bd42-4dd3-bd21-0bbdf50d3178', 'name': '', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'network_id': '80745d92-39bf-43de-b4e3-b600bf193731', 'ip_version': 4, 'cidr': '184.113.225.192/26', 'allocation_pools': [{'start': '184.113.225.194', 'end': '184.113.225.254'}], 'gateway_ip': '184.113.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.113.225.194', 'tags': [], 'project_id': 'dbf78b10c20b44168af144f1269df334'}} 2026-09-03 11:57:55,745 - INFO - Created VN ctest-vn-31234671 2026-09-03 11:57:55,802 - DEBUG - VN ctest-vn-31234671 UUID is 80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:56,160 - DEBUG - Response for create_network : {'network': {'id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'name': 'ctest-vn-82519230', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-82519230'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:57:56,378 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a4a82032-dc00-4fcb-8c51-81124028e5ed', 'name': '', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'network_id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'ip_version': 4, 'cidr': '50.239.224.128/26', 'allocation_pools': [{'start': '50.239.224.130', 'end': '50.239.224.190'}], 'gateway_ip': '50.239.224.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.239.224.130', 'tags': [], 'project_id': 'dbf78b10c20b44168af144f1269df334'}} 2026-09-03 11:57:56,397 - INFO - Created VN ctest-vn-82519230 2026-09-03 11:57:56,450 - DEBUG - VN ctest-vn-82519230 UUID is 7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:56,590 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671, 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-33288884:ctest-vn-82519230, 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-09-03 11:57:56,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '80745d92-39bf-43de-b4e3-b600bf193731', 'name': 'ctest-vn-31234671', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2453b81e-bd42-4dd3-bd21-0bbdf50d3178'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-31234671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']], 'subnet_ipam': [{'subnet_cidr': '184.113.225.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:57:57,221 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7773f0a2-3855-4875-8041-3f3d568aad82', 'name': 'ctest-vn-82519230', 'tenant_id': 'dbf78b10c20b44168af144f1269df334', 'project_id': 'dbf78b10c20b44168af144f1269df334', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a4a82032-dc00-4fcb-8c51-81124028e5ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-vn-82519230'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034']], 'subnet_ipam': [{'subnet_cidr': '50.239.224.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:57:57,394 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:57:57,769 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:57:57,804 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:57:57,819 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:57:57,908 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:57,924 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:57,935 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:57:57,946 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:57:57,954 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/92bf4fc9-c1c6-4ec3-9ddd-bf7b8bd9c003 2026-09-03 11:57:57,961 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 11:57:57,961 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:57,971 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:57:57,991 - INFO - Verified VN network id 10 for VN 80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:57,991 - INFO - Verifications in API Server for VN ctest-vn-31234671 passed 2026-09-03 11:57:57,991 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:58,007 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:57:58,017 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:57:58,027 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/92bf4fc9-c1c6-4ec3-9ddd-bf7b8bd9c003 2026-09-03 11:57:58,044 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33288884', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9256126016768656350', 'uuid-lslong': '13034461860862703409'}, 'enable': 'true', 'created': '2026-09-03T11:57:55', 'last-modified': '2026-09-03T11:57:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.115827'} 2026-09-03 11:57:58,054 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-03 11:57:58,054 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31234671 passed 2026-09-03 11:57:58,054 - DEBUG - ====Verifying policy data for ctest-vn-31234671 in API_Server ====== 2026-09-03 11:57:58,054 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:57:58,062 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:57:58,075 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:57:58,162 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/80745d92-39bf-43de-b4e3-b600bf193731 2026-09-03 11:57:58,176 - DEBUG - ==>Verifying data for policy with id: 17a0f33e-50f8-4c6a-b32a-f5669646f0d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034'] 2026-09-03 11:57:58,176 - INFO - VN ctest-vn-31234671 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 11:57:58,176 - DEBUG - Verifying the vn in opserver 2026-09-03 11:57:58,176 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671 virtual network link through opserver 10.0.0.248 2026-09-03 11:57:58,177 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-03 11:57:58,554 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-03 11:57:58,616 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671?flat'} 2026-09-03 11:57:58,616 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671 is found in opserver 2026-09-03 11:57:58,631 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 11:57:58,638 - DEBUG - VRF ids for VN ctest-vn-31234671: {} 2026-09-03 11:57:58,638 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:57:58,646 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:57:58,661 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:57:58,741 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:58,756 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:58,768 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:57:58,777 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:57:58,787 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ddc24008-fdf0-408e-a001-afff888bd5c0 2026-09-03 11:57:58,796 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 11:57:58,796 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:58,808 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:57:58,828 - INFO - Verified VN network id 11 for VN 7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:58,828 - INFO - Verifications in API Server for VN ctest-vn-82519230 passed 2026-09-03 11:57:58,828 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:58,841 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:57:58,849 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:57:58,858 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/ddc24008-fdf0-408e-a001-afff888bd5c0 2026-09-03 11:57:58,876 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33288884', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8607487892355631221', 'uuid-lslong': '9241737443018452354'}, 'enable': 'true', 'created': '2026-09-03T11:57:56', 'last-modified': '2026-09-03T11:57:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.686167'} 2026-09-03 11:57:58,883 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-03 11:57:58,884 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-82519230 passed 2026-09-03 11:57:58,884 - DEBUG - ====Verifying policy data for ctest-vn-82519230 in API_Server ====== 2026-09-03 11:57:58,884 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:57:58,891 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:57:58,904 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:57:59,012 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7773f0a2-3855-4875-8041-3f3d568aad82 2026-09-03 11:57:59,023 - DEBUG - ==>Verifying data for policy with id: 17a0f33e-50f8-4c6a-b32a-f5669646f0d7, fqn: ['default-domain', 'ctest-TestBasicPolicy-33288884', 'ctest-policy-allow-all-14083034'] 2026-09-03 11:57:59,023 - INFO - VN ctest-vn-82519230 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-03 11:57:59,024 - DEBUG - Verifying the vn in opserver 2026-09-03 11:57:59,024 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230 virtual network link through opserver 10.0.0.248 2026-09-03 11:57:59,024 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks 2026-09-03 11:57:59,037 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230?flat'} 2026-09-03 11:57:59,037 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-82519230 is found in opserver 2026-09-03 11:57:59,051 - DEBUG - Do not have enough data to verify VN in agent 2026-09-03 11:57:59,057 - DEBUG - VRF ids for VN ctest-vn-82519230: {} 2026-09-03 11:57:59,132 - DEBUG - Services list from nova: [, , ] 2026-09-03 11:57:59,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6251-1) 2026-09-03 11:58:00,004 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6251-1) 2026-09-03 11:58:00,004 - INFO - Waiting for VM ctest-TestBasicPolicy-33288884-43865356 to be up.. 2026-09-03 11:58:00,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:05,148 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:10,242 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:15,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:20,423 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:25,512 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:30,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:35,687 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:58:40,785 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:58:40,785 - INFO - VM name : ctest-TestBasicPolicy-33288884-43865356 2026-09-03 11:58:40,883 - DEBUG - VM ctest-TestBasicPolicy-33288884-43865356 ID is 1304972e-e9fd-4a58-8c37-49de67b41631 2026-09-03 11:58:40,908 - DEBUG - VM ctest-TestBasicPolicy-33288884-43865356 launched on Node cn-jenkins-deploy-platform-ansible-os-6251-1 2026-09-03 11:58:41,011 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/1304972e-e9fd-4a58-8c37-49de67b41631 2026-09-03 11:58:41,023 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/c313326c-5a47-462c-bf6f-463827ba2006 2026-09-03 11:58:44,328 - 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 1033ms') 2026-09-03 11:58:44,329 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33288884-43865356 failed! 2026-09-03 11:58:44,390 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33288884:ctest-vn-31234671 is 184.113.225.193 and allocation pool is NOT set 2026-09-03 11:58:46,465 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.529/5.274/8.020/2.745 ms') 2026-09-03 11:58:46,465 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33288884-43865356 passed 2026-09-03 11:58:46,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:58:46,622 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33288884-43865356, IP 184.113.225.195, Port 22 2026-09-03 11:58:46,689 - 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-09-03 11:58:46,780 - DEBUG - VM ctest-TestBasicPolicy-33288884-43865356 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-03 11:58:51,781 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:58:51,781 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33288884-43865356, IP 184.113.225.195, Port 22 2026-09-03 11:58:51,953 - DEBUG - VM ctest-TestBasicPolicy-33288884-43865356 is ready for SSH connections 2026-09-03 11:58:51,954 - INFO - Waiting for VM ctest-TestBasicPolicy-33288884-76009345 to be up.. 2026-09-03 11:58:52,058 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:58:52,058 - INFO - VM name : ctest-TestBasicPolicy-33288884-76009345 2026-09-03 11:58:52,140 - DEBUG - VM ctest-TestBasicPolicy-33288884-76009345 ID is fc5a1d8a-1acb-4805-a385-a0ddd12d5652 2026-09-03 11:58:52,140 - DEBUG - VM ctest-TestBasicPolicy-33288884-76009345 launched on Node cn-jenkins-deploy-platform-ansible-os-6251-1 2026-09-03 11:58:52,221 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine/fc5a1d8a-1acb-4805-a385-a0ddd12d5652 2026-09-03 11:58:52,230 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-machine-interface/6f1d354e-f51a-47cf-bcec-a0adb8e4d7a8 2026-09-03 11:58:53,482 - 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.97 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.443 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.443/2.204/3.965/1.761 ms') 2026-09-03 11:58:53,482 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33288884-76009345 passed 2026-09-03 11:58:53,650 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:58:53,650 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33288884-76009345, IP 50.239.224.131, Port 22 2026-09-03 11:58:53,832 - DEBUG - VM ctest-TestBasicPolicy-33288884-76009345 is ready for SSH connections 2026-09-03 11:58:53,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:58:53,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.239.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-03 11:58:53,832 - DEBUG - ping -s 56 -c 3 -W 1 50.239.224.131 2026-09-03 11:58:57,924 - DEBUG - PING 50.239.224.131 (50.239.224.131): 56 data bytes 64 bytes from 50.239.224.131: seq=0 ttl=63 time=6.018 ms 64 bytes from 50.239.224.131: seq=1 ttl=63 time=1.091 ms 64 bytes from 50.239.224.131: seq=2 ttl=63 time=1.070 ms --- 50.239.224.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.070/2.726/6.018 ms 2026-09-03 11:58:57,924 - INFO - Ping to IP 50.239.224.131 from VM ctest-TestBasicPolicy-33288884-43865356 passed 2026-09-03 11:58:58,118 - DEBUG - Policy Update Response {"network-policy": {"uuid": "17a0f33e-50f8-4c6a-b32a-f5669646f0d7", "href": "http://10.0.0.248:8082/network-policy/17a0f33e-50f8-4c6a-b32a-f5669646f0d7"}} 2026-09-03 11:58:58,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:58:58,119 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.239.224.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.248, gateway password: c0ntrail123 2026-09-03 11:58:58,119 - DEBUG - ping -s 56 -c 3 -W 1 50.239.224.131 2026-09-03 11:59:01,275 - DEBUG - PING 50.239.224.131 (50.239.224.131): 56 data bytes 64 bytes from 50.239.224.131: seq=0 ttl=63 time=1.863 ms --- 50.239.224.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.863/1.863/1.863 ms 2026-09-03 11:59:01,275 - WARNING - Ping to IP 50.239.224.131 from VM ctest-TestBasicPolicy-33288884-43865356 failed 2026-09-03 11:59:01,275 - INFO - Deleting VM ctest-TestBasicPolicy-33288884-76009345 2026-09-03 11:59:01,368 - INFO - Deleting VM ctest-TestBasicPolicy-33288884-43865356 2026-09-03 11:59:01,875 - INFO - Deleted policy ctest-policy-allow-all-14083034 2026-09-03 11:59:01,875 - INFO - Deleting VN ctest-vn-82519230 2026-09-03 11:59:01,926 - DEBUG - VN 7773f0a2-3855-4875-8041-3f3d568aad82 still in use: Unable to complete operation on network 7773f0a2-3855-4875-8041-3f3d568aad82. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9090308c-23e5-4902-a849-9741089588a2'] 2026-09-03 11:59:01,927 - WARNING - Deleting VN ctest-vn-82519230 failed..Will retry 2026-09-03 11:59:04,092 - DEBUG - Response for deleting network () 2026-09-03 11:59:04,092 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/fdea9dd6-7568-49ba-b4a2-e90d723b852c 2026-09-03 11:59:04,110 - DEBUG - Response Code: 404 2026-09-03 11:59:04,110 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:59:04,122 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:59:04,143 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:59:04,241 - INFO - Validated that VN ctest-vn-82519230 is not found in API Server 2026-09-03 11:59:04,255 - DEBUG - VN ctest-vn-82519230 is not present in Agent 10.0.0.248 2026-09-03 11:59:04,255 - INFO - Validated that VN ctest-vn-82519230 is not in any agent 2026-09-03 11:59:04,276 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-82519230 info 2026-09-03 11:59:04,276 - INFO - Deleting VN ctest-vn-31234671 2026-09-03 11:59:04,423 - DEBUG - Response for deleting network () 2026-09-03 11:59:04,423 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/9fb27651-8d84-40ed-a669-8b445d645382 2026-09-03 11:59:04,436 - DEBUG - Response Code: 404 2026-09-03 11:59:04,436 - DEBUG - Requesting: http://10.0.0.248:8082/domains 2026-09-03 11:59:04,445 - DEBUG - Requesting: http://10.0.0.248:8082/domain/5d429a03-7ac7-428e-bf9e-cbb7fcb96f19 2026-09-03 11:59:04,460 - DEBUG - Requesting: http://10.0.0.248:8082/project/dbf78b10-c20b-4416-8af1-44f1269df334 2026-09-03 11:59:04,555 - INFO - Validated that VN ctest-vn-31234671 is not found in API Server 2026-09-03 11:59:04,570 - DEBUG - VN ctest-vn-31234671 is not present in Agent 10.0.0.248 2026-09-03 11:59:04,571 - INFO - Validated that VN ctest-vn-31234671 is not in any agent 2026-09-03 11:59:04,591 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31234671 info 2026-09-03 11:59:04,863 - DEBUG - No XMPP flaps were noticed during the test 2026-09-03 11:59:04,864 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10] 2026-09-03 11:59:04,864 - INFO - -------------------------------------------------------------------------------- 2026-09-03 11:59:05,689 - INFO - Deleted project: ctest-TestBasicPolicy-33288884, ID : dbf78b10-c20b-4416-8af1-44f1269df334