2026-02-12 09:55:02,952 - INFO - Domain Default found not creating 2026-02-12 09:55:03,114 - INFO - Project ctest-TestBasicPolicy-61973556 not found, creating it 2026-02-12 09:55:03,573 - INFO - Created Project:ctest-TestBasicPolicy-61973556, ID : 866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:05,135 - INFO - ================================================================================ 2026-02-12 09:55:05,135 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-12 09:55:05,135 - 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-12 09:55:05,411 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-02-12 09:55:05,411 - INFO - Initial checks done. Running the testcase now 2026-02-12 09:55:05,411 - INFO - 2026-02-12 09:55:06,024 - DEBUG - Response for create_network : {'network': {'id': '951239bc-2675-4112-af89-5d6ab6740554', 'name': 'ctest-vn-00380983', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-00380983'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:55:06,255 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e5633d2-c758-40c1-8e4a-9ac70a789814', 'name': '', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'network_id': '951239bc-2675-4112-af89-5d6ab6740554', 'ip_version': 4, 'cidr': '147.176.158.128/26', 'allocation_pools': [{'start': '147.176.158.130', 'end': '147.176.158.190'}], 'gateway_ip': '147.176.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.176.158.130', 'tags': [], 'project_id': '866fccea0d204d7dbc40a512ffe2c870'}} 2026-02-12 09:55:06,276 - INFO - Created VN ctest-vn-00380983 2026-02-12 09:55:06,331 - DEBUG - VN ctest-vn-00380983 UUID is 951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:06,650 - DEBUG - Response for create_network : {'network': {'id': 'e308afea-fff6-405a-b129-1224db252a8d', 'name': 'ctest-vn-81544665', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-81544665'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:55:06,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '694c3b8d-90b9-483e-ae65-a5329bec83b5', 'name': '', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'network_id': 'e308afea-fff6-405a-b129-1224db252a8d', 'ip_version': 4, 'cidr': '29.218.91.192/26', 'allocation_pools': [{'start': '29.218.91.194', 'end': '29.218.91.254'}], 'gateway_ip': '29.218.91.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.218.91.194', 'tags': [], 'project_id': '866fccea0d204d7dbc40a512ffe2c870'}} 2026-02-12 09:55:06,876 - INFO - Created VN ctest-vn-81544665 2026-02-12 09:55:06,927 - DEBUG - VN ctest-vn-81544665 UUID is e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:07,083 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983, 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-61973556:ctest-vn-81544665, 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-12 09:55:07,386 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '951239bc-2675-4112-af89-5d6ab6740554', 'name': 'ctest-vn-00380983', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4e5633d2-c758-40c1-8e4a-9ac70a789814'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-00380983'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']], 'subnet_ipam': [{'subnet_cidr': '147.176.158.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:55:07,639 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e308afea-fff6-405a-b129-1224db252a8d', 'name': 'ctest-vn-81544665', 'tenant_id': '866fccea0d204d7dbc40a512ffe2c870', 'project_id': '866fccea0d204d7dbc40a512ffe2c870', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['694c3b8d-90b9-483e-ae65-a5329bec83b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-vn-81544665'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988']], 'subnet_ipam': [{'subnet_cidr': '29.218.91.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-12 09:55:07,787 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:08,087 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:08,117 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:08,138 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:08,211 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,221 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,230 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:08,237 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:08,245 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37c6d0a-2021-4ee7-b5ad-29817e6396e1 2026-02-12 09:55:08,251 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 09:55:08,251 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,260 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:08,274 - INFO - Verified VN network id 9 for VN 951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,274 - INFO - Verifications in API Server for VN ctest-vn-00380983 passed 2026-02-12 09:55:08,274 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,283 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:08,291 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:08,299 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e37c6d0a-2021-4ee7-b5ad-29817e6396e1 2026-02-12 09:55:08,314 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61973556', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10741711541493907730', 'uuid-lslong': '12648743741355722068'}, 'enable': 'true', 'created': '2026-02-12T09:55:05', 'last-modified': '2026-02-12T09:55:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953356'} 2026-02-12 09:55:08,321 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-12 09:55:08,321 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00380983 passed 2026-02-12 09:55:08,322 - DEBUG - ====Verifying policy data for ctest-vn-00380983 in API_Server ====== 2026-02-12 09:55:08,322 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:08,329 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:08,340 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:08,415 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/951239bc-2675-4112-af89-5d6ab6740554 2026-02-12 09:55:08,429 - DEBUG - ==>Verifying data for policy with id: 681b94c8-fb96-4141-9a68-6702b07f573c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988'] 2026-02-12 09:55:08,429 - INFO - VN ctest-vn-00380983 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 09:55:08,429 - DEBUG - Verifying the vn in opserver 2026-02-12 09:55:08,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983 virtual network link through opserver 10.0.0.50 2026-02-12 09:55:08,429 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 09:55:08,725 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 09:55:08,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983?flat'} 2026-02-12 09:55:08,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983 is found in opserver 2026-02-12 09:55:08,799 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 09:55:08,803 - DEBUG - VRF ids for VN ctest-vn-00380983: {} 2026-02-12 09:55:08,803 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:08,809 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:08,818 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:08,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:08,899 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:08,907 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:08,914 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:08,921 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e74abcbc-30b8-4c82-9ed9-be8b93949366 2026-02-12 09:55:08,927 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 09:55:08,928 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:08,937 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:08,952 - INFO - Verified VN network id 10 for VN e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:08,952 - INFO - Verifications in API Server for VN ctest-vn-81544665 passed 2026-02-12 09:55:08,952 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:08,961 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:08,967 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:08,974 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e74abcbc-30b8-4c82-9ed9-be8b93949366 2026-02-12 09:55:08,985 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-61973556', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16359519070274863194', 'uuid-lslong': '12765754568263150221'}, 'enable': 'true', 'created': '2026-02-12T09:55:06', 'last-modified': '2026-02-12T09:55:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.372618'} 2026-02-12 09:55:08,991 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-12 09:55:08,991 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81544665 passed 2026-02-12 09:55:08,991 - DEBUG - ====Verifying policy data for ctest-vn-81544665 in API_Server ====== 2026-02-12 09:55:08,991 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:08,997 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:09,006 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:09,077 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/e308afea-fff6-405a-b129-1224db252a8d 2026-02-12 09:55:09,088 - DEBUG - ==>Verifying data for policy with id: 681b94c8-fb96-4141-9a68-6702b07f573c, fqn: ['default-domain', 'ctest-TestBasicPolicy-61973556', 'ctest-policy-allow-all-36899988'] 2026-02-12 09:55:09,088 - INFO - VN ctest-vn-81544665 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-12 09:55:09,089 - DEBUG - Verifying the vn in opserver 2026-02-12 09:55:09,089 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665 virtual network link through opserver 10.0.0.50 2026-02-12 09:55:09,089 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-02-12 09:55:09,098 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665?flat'} 2026-02-12 09:55:09,098 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-81544665 is found in opserver 2026-02-12 09:55:09,109 - DEBUG - Do not have enough data to verify VN in agent 2026-02-12 09:55:09,113 - DEBUG - VRF ids for VN ctest-vn-81544665: {} 2026-02-12 09:55:09,172 - DEBUG - Services list from nova: [, , ] 2026-02-12 09:55:10,445 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5313-1) 2026-02-12 09:55:11,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5313-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5313-1) 2026-02-12 09:55:11,617 - INFO - Waiting for VM ctest-TestBasicPolicy-61973556-56486642 to be up.. 2026-02-12 09:55:11,711 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 09:55:16,794 - DEBUG - VM is in ACTIVE state now 2026-02-12 09:55:16,795 - INFO - VM name : ctest-TestBasicPolicy-61973556-56486642 2026-02-12 09:55:16,877 - DEBUG - VM ctest-TestBasicPolicy-61973556-56486642 ID is 168ab98e-0735-4d89-82f1-7b50e9441952 2026-02-12 09:55:16,899 - DEBUG - VM ctest-TestBasicPolicy-61973556-56486642 launched on Node cn-jenkins-deploy-platform-ansible-os-5313-1 2026-02-12 09:55:16,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/168ab98e-0735-4d89-82f1-7b50e9441952 2026-02-12 09:55:16,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1cfa2d7a-aa0f-428c-b4e9-59a7a8adb2d7 2026-02-12 09:55:20,259 - 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 1018ms') 2026-02-12 09:55:20,259 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61973556-56486642 failed! 2026-02-12 09:55:20,319 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-61973556:ctest-vn-00380983 is 147.176.158.129 and allocation pool is NOT set 2026-02-12 09:55:22,376 - 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.58 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.763 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.763/4.671/8.580/3.908 ms') 2026-02-12 09:55:22,377 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-61973556-56486642 passed 2026-02-12 09:55:22,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:55:22,527 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61973556-56486642, IP 147.176.158.131, Port 22 2026-02-12 09:55:22,593 - 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-12 09:55:22,677 - DEBUG - VM ctest-TestBasicPolicy-61973556-56486642 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 09:55:27,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:55:27,678 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61973556-56486642, IP 147.176.158.131, Port 22 2026-02-12 09:55:27,838 - DEBUG - VM ctest-TestBasicPolicy-61973556-56486642 is ready for SSH connections 2026-02-12 09:55:27,838 - INFO - Waiting for VM ctest-TestBasicPolicy-61973556-75589199 to be up.. 2026-02-12 09:55:27,910 - DEBUG - VM is in ACTIVE state now 2026-02-12 09:55:27,910 - INFO - VM name : ctest-TestBasicPolicy-61973556-75589199 2026-02-12 09:55:27,980 - DEBUG - VM ctest-TestBasicPolicy-61973556-75589199 ID is 4bf75107-6680-4088-8cff-bdd8c32293cd 2026-02-12 09:55:27,980 - DEBUG - VM ctest-TestBasicPolicy-61973556-75589199 launched on Node cn-jenkins-deploy-platform-ansible-os-5313-1 2026-02-12 09:55:28,052 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4bf75107-6680-4088-8cff-bdd8c32293cd 2026-02-12 09:55:28,060 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/aacf5a99-8cbd-45ce-89eb-97cec54a69a8 2026-02-12 09:55:29,294 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.401/1.582/2.764/1.181 ms') 2026-02-12 09:55:29,294 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-61973556-75589199 passed 2026-02-12 09:55:29,443 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:55:29,443 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-61973556-75589199, IP 29.218.91.195, Port 22 2026-02-12 09:55:29,598 - DEBUG - VM ctest-TestBasicPolicy-61973556-75589199 is ready for SSH connections 2026-02-12 09:55:29,599 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:55:29,599 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.218.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-12 09:55:29,599 - DEBUG - ping -s 56 -c 3 -W 1 29.218.91.195 2026-02-12 09:55:33,636 - DEBUG - PING 29.218.91.195 (29.218.91.195): 56 data bytes 64 bytes from 29.218.91.195: seq=0 ttl=63 time=3.468 ms 64 bytes from 29.218.91.195: seq=1 ttl=63 time=1.015 ms 64 bytes from 29.218.91.195: seq=2 ttl=63 time=0.830 ms --- 29.218.91.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.830/1.771/3.468 ms 2026-02-12 09:55:33,636 - INFO - Ping to IP 29.218.91.195 from VM ctest-TestBasicPolicy-61973556-56486642 passed 2026-02-12 09:55:33,806 - DEBUG - Policy Update Response {"network-policy": {"uuid": "681b94c8-fb96-4141-9a68-6702b07f573c", "href": "http://10.0.0.50:8082/network-policy/681b94c8-fb96-4141-9a68-6702b07f573c"}} 2026-02-12 09:55:33,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 09:55:33,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.218.91.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-02-12 09:55:33,807 - DEBUG - ping -s 56 -c 3 -W 1 29.218.91.195 2026-02-12 09:55:37,033 - DEBUG - PING 29.218.91.195 (29.218.91.195): 56 data bytes --- 29.218.91.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 09:55:37,033 - WARNING - Ping to IP 29.218.91.195 from VM ctest-TestBasicPolicy-61973556-56486642 failed 2026-02-12 09:55:37,033 - INFO - Deleting VM ctest-TestBasicPolicy-61973556-75589199 2026-02-12 09:55:37,106 - INFO - Deleting VM ctest-TestBasicPolicy-61973556-56486642 2026-02-12 09:55:37,470 - INFO - Deleted policy ctest-policy-allow-all-36899988 2026-02-12 09:55:37,470 - INFO - Deleting VN ctest-vn-81544665 2026-02-12 09:55:37,506 - DEBUG - VN e308afea-fff6-405a-b129-1224db252a8d still in use: Unable to complete operation on network e308afea-fff6-405a-b129-1224db252a8d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e3efe071-3c81-4b9b-9a25-3d83d2745676'] 2026-02-12 09:55:37,507 - WARNING - Deleting VN ctest-vn-81544665 failed..Will retry 2026-02-12 09:55:39,623 - DEBUG - Response for deleting network () 2026-02-12 09:55:39,623 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9e13ab82-c4b1-40eb-a321-36862329f6d4 2026-02-12 09:55:39,630 - DEBUG - Response Code: 404 2026-02-12 09:55:39,630 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:39,637 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:39,692 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:39,763 - INFO - Validated that VN ctest-vn-81544665 is not found in API Server 2026-02-12 09:55:39,772 - DEBUG - VN ctest-vn-81544665 is not present in Agent 10.0.0.50 2026-02-12 09:55:39,772 - INFO - Validated that VN ctest-vn-81544665 is not in any agent 2026-02-12 09:55:39,788 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81544665 info 2026-02-12 09:55:39,788 - INFO - Deleting VN ctest-vn-00380983 2026-02-12 09:55:39,886 - DEBUG - Response for deleting network () 2026-02-12 09:55:39,886 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/518ed400-94aa-433a-af3a-773162793985 2026-02-12 09:55:39,894 - DEBUG - Response Code: 404 2026-02-12 09:55:39,894 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-02-12 09:55:39,901 - DEBUG - Requesting: http://10.0.0.50:8082/domain/488a8e94-58bb-41c7-80a6-d0decc1aad58 2026-02-12 09:55:39,955 - DEBUG - Requesting: http://10.0.0.50:8082/project/866fccea-0d20-4d7d-bc40-a512ffe2c870 2026-02-12 09:55:40,024 - INFO - Validated that VN ctest-vn-00380983 is not found in API Server 2026-02-12 09:55:40,034 - DEBUG - VN ctest-vn-00380983 is not present in Agent 10.0.0.50 2026-02-12 09:55:40,036 - INFO - Validated that VN ctest-vn-00380983 is not in any agent 2026-02-12 09:55:40,054 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00380983 info 2026-02-12 09:55:40,313 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 09:55:40,313 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-12 09:55:40,313 - INFO - -------------------------------------------------------------------------------- 2026-02-12 09:55:41,008 - INFO - Deleted project: ctest-TestBasicPolicy-61973556, ID : 866fccea-0d20-4d7d-bc40-a512ffe2c870