2026-08-20 19:33:48,672 - INFO - Domain Default found not creating 2026-08-20 19:33:48,847 - INFO - Project ctest-TestBasicPolicy-40091747 not found, creating it 2026-08-20 19:33:49,334 - INFO - Created Project:ctest-TestBasicPolicy-40091747, ID : 7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:33:51,056 - INFO - ================================================================================ 2026-08-20 19:33:51,056 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 19:33:51,056 - 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-08-20 19:33:51,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.254': '0'}} with 2026-08-20 19:33:51,326 - INFO - Initial checks done. Running the testcase now 2026-08-20 19:33:51,326 - INFO - 2026-08-20 19:33:51,979 - DEBUG - Response for create_network : {'network': {'id': '47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72', 'name': 'ctest-vn-88184632', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'project_id': '7d27488c1a9c4131a54843d90488dad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-vn-88184632'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:33:52,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '40c8d662-8c9a-46dc-b36f-2e048def388d', 'name': '', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'network_id': '47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72', 'ip_version': 4, 'cidr': '45.34.223.128/26', 'allocation_pools': [{'start': '45.34.223.130', 'end': '45.34.223.190'}], 'gateway_ip': '45.34.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.34.223.130', 'tags': [], 'project_id': '7d27488c1a9c4131a54843d90488dad0'}} 2026-08-20 19:33:52,171 - INFO - Created VN ctest-vn-88184632 2026-08-20 19:33:52,230 - DEBUG - VN ctest-vn-88184632 UUID is 47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:52,577 - DEBUG - Response for create_network : {'network': {'id': '13a8d6fc-f14b-4d0d-a535-7215081c854c', 'name': 'ctest-vn-50554553', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'project_id': '7d27488c1a9c4131a54843d90488dad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-vn-50554553'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:33:52,795 - DEBUG - Response for create_subnet : {'subnet': {'id': '29b8c086-3254-48dd-b732-29d37b871d1f', 'name': '', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'network_id': '13a8d6fc-f14b-4d0d-a535-7215081c854c', 'ip_version': 4, 'cidr': '194.38.223.128/26', 'allocation_pools': [{'start': '194.38.223.130', 'end': '194.38.223.190'}], 'gateway_ip': '194.38.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.38.223.130', 'tags': [], 'project_id': '7d27488c1a9c4131a54843d90488dad0'}} 2026-08-20 19:33:52,814 - INFO - Created VN ctest-vn-50554553 2026-08-20 19:33:52,866 - DEBUG - VN ctest-vn-50554553 UUID is 13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:52,977 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632, 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-40091747:ctest-vn-50554553, 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-08-20 19:33:53,300 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72', 'name': 'ctest-vn-88184632', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'project_id': '7d27488c1a9c4131a54843d90488dad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['40c8d662-8c9a-46dc-b36f-2e048def388d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-vn-88184632'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-policy-allow-all-77980291']], 'subnet_ipam': [{'subnet_cidr': '45.34.223.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:33:53,538 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '13a8d6fc-f14b-4d0d-a535-7215081c854c', 'name': 'ctest-vn-50554553', 'tenant_id': '7d27488c1a9c4131a54843d90488dad0', 'project_id': '7d27488c1a9c4131a54843d90488dad0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['29b8c086-3254-48dd-b732-29d37b871d1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-vn-50554553'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-policy-allow-all-77980291']], 'subnet_ipam': [{'subnet_cidr': '194.38.223.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:33:53,718 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:33:54,087 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:33:54,116 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:33:54,135 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:33:54,218 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,232 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,242 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:33:54,250 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:33:54,257 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/59058b2c-8bc6-42fc-ad5b-b6487611dcbf 2026-08-20 19:33:54,264 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 19:33:54,264 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,274 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:33:54,289 - INFO - Verified VN network id 11 for VN 47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,289 - INFO - Verifications in API Server for VN ctest-vn-88184632 passed 2026-08-20 19:33:54,289 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,299 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:33:54,307 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:33:54,315 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/59058b2c-8bc6-42fc-ad5b-b6487611dcbf 2026-08-20 19:33:54,330 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40091747', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5163642876078214812', 'uuid-lslong': '10454151593099066482'}, 'enable': 'true', 'created': '2026-08-20T19:33:51', 'last-modified': '2026-08-20T19:33:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.055339'} 2026-08-20 19:33:54,336 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 19:33:54,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88184632 passed 2026-08-20 19:33:54,337 - DEBUG - ====Verifying policy data for ctest-vn-88184632 in API_Server ====== 2026-08-20 19:33:54,337 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:33:54,343 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:33:54,354 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:33:54,427 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/47a8f1d6-6f9e-4e9c-9114-9b7c46c0fc72 2026-08-20 19:33:54,438 - DEBUG - ==>Verifying data for policy with id: c9e242a1-78b2-40e0-a462-21773f0015e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-policy-allow-all-77980291'] 2026-08-20 19:33:54,438 - INFO - VN ctest-vn-88184632 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 19:33:54,438 - DEBUG - Verifying the vn in opserver 2026-08-20 19:33:54,438 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632 virtual network link through opserver 10.0.0.189 2026-08-20 19:33:54,439 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-20 19:33:54,810 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-20 19:33:54,870 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632?flat'} 2026-08-20 19:33:54,870 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632 is found in opserver 2026-08-20 19:33:54,881 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 19:33:54,888 - DEBUG - VRF ids for VN ctest-vn-88184632: {} 2026-08-20 19:33:54,888 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:33:54,893 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:33:54,906 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:33:54,984 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:54,997 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:55,007 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:33:55,014 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:33:55,022 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3c5b20fd-c5b6-4beb-bd33-6f87da03951f 2026-08-20 19:33:55,029 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 19:33:55,029 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:55,040 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:33:55,056 - INFO - Verified VN network id 12 for VN 13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:55,056 - INFO - Verifications in API Server for VN ctest-vn-50554553 passed 2026-08-20 19:33:55,056 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:55,114 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:33:55,123 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:33:55,135 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3c5b20fd-c5b6-4beb-bd33-6f87da03951f 2026-08-20 19:33:55,153 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40091747', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1416618464676367629', 'uuid-lslong': '11904546624679740748'}, 'enable': 'true', 'created': '2026-08-20T19:33:52', 'last-modified': '2026-08-20T19:33:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.634501'} 2026-08-20 19:33:55,164 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 19:33:55,164 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50554553 passed 2026-08-20 19:33:55,165 - DEBUG - ====Verifying policy data for ctest-vn-50554553 in API_Server ====== 2026-08-20 19:33:55,165 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:33:55,171 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:33:55,183 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:33:55,258 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/13a8d6fc-f14b-4d0d-a535-7215081c854c 2026-08-20 19:33:55,268 - DEBUG - ==>Verifying data for policy with id: c9e242a1-78b2-40e0-a462-21773f0015e2, fqn: ['default-domain', 'ctest-TestBasicPolicy-40091747', 'ctest-policy-allow-all-77980291'] 2026-08-20 19:33:55,268 - INFO - VN ctest-vn-50554553 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 19:33:55,268 - DEBUG - Verifying the vn in opserver 2026-08-20 19:33:55,268 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553 virtual network link through opserver 10.0.0.189 2026-08-20 19:33:55,268 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks 2026-08-20 19:33:55,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553?flat'} 2026-08-20 19:33:55,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553 is found in opserver 2026-08-20 19:33:55,290 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 19:33:55,295 - DEBUG - VRF ids for VN ctest-vn-50554553: {} 2026-08-20 19:33:55,359 - DEBUG - Services list from nova: [, , ] 2026-08-20 19:33:55,837 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6195-1) 2026-08-20 19:33:56,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6195-1) 2026-08-20 19:33:56,254 - INFO - Waiting for VM ctest-TestBasicPolicy-40091747-35398017 to be up.. 2026-08-20 19:33:56,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:01,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:06,484 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:11,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:16,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:21,736 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:26,821 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:34:31,921 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:34:31,921 - INFO - VM name : ctest-TestBasicPolicy-40091747-35398017 2026-08-20 19:34:32,042 - DEBUG - VM ctest-TestBasicPolicy-40091747-35398017 ID is 172e425c-6d31-4a73-bc50-0d7e0f2645a6 2026-08-20 19:34:32,069 - DEBUG - VM ctest-TestBasicPolicy-40091747-35398017 launched on Node cn-jenkins-deploy-platform-ansible-os-6195-1 2026-08-20 19:34:32,153 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/172e425c-6d31-4a73-bc50-0d7e0f2645a6 2026-08-20 19:34:32,163 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/026d2601-db57-4542-8c1a-453bbb3df55a 2026-08-20 19:34:35,420 - 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 1021ms') 2026-08-20 19:34:35,421 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40091747-35398017 failed! 2026-08-20 19:34:35,478 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-88184632 is 45.34.223.129 and allocation pool is NOT set 2026-08-20 19:34:37,549 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.03 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.034/4.029/7.025/2.995 ms') 2026-08-20 19:34:37,549 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40091747-35398017 passed 2026-08-20 19:34:37,702 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:34:37,702 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40091747-35398017, IP 45.34.223.131, Port 22 2026-08-20 19:34:37,872 - DEBUG - VM ctest-TestBasicPolicy-40091747-35398017 is ready for SSH connections 2026-08-20 19:34:37,873 - INFO - Waiting for VM ctest-TestBasicPolicy-40091747-06522386 to be up.. 2026-08-20 19:34:37,956 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:34:37,956 - INFO - VM name : ctest-TestBasicPolicy-40091747-06522386 2026-08-20 19:34:38,040 - DEBUG - VM ctest-TestBasicPolicy-40091747-06522386 ID is fe9fd863-02f1-4900-bf7c-e0e8b68cf8b1 2026-08-20 19:34:38,040 - DEBUG - VM ctest-TestBasicPolicy-40091747-06522386 launched on Node cn-jenkins-deploy-platform-ansible-os-6195-1 2026-08-20 19:34:38,118 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/fe9fd863-02f1-4900-bf7c-e0e8b68cf8b1 2026-08-20 19:34:38,127 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/20ecea28-a977-4a6c-b9d9-1bfe910ee830 2026-08-20 19:34:41,370 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1010ms') 2026-08-20 19:34:41,370 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40091747-06522386 failed! 2026-08-20 19:34:41,426 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40091747:ctest-vn-50554553 is 194.38.223.129 and allocation pool is NOT set 2026-08-20 19:34:43,488 - 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=11.6 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.72 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 = 2.723/7.147/11.572/4.424 ms') 2026-08-20 19:34:43,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40091747-06522386 passed 2026-08-20 19:34:43,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:34:43,642 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40091747-06522386, IP 194.38.223.131, Port 22 2026-08-20 19:34:43,712 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-08-20 19:34:43,792 - DEBUG - VM ctest-TestBasicPolicy-40091747-06522386 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 19:34:48,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:34:48,793 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40091747-06522386, IP 194.38.223.131, Port 22 2026-08-20 19:34:48,949 - DEBUG - VM ctest-TestBasicPolicy-40091747-06522386 is ready for SSH connections 2026-08-20 19:34:48,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:34:48,950 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.38.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-20 19:34:48,950 - DEBUG - ping -s 56 -c 3 -W 1 194.38.223.131 2026-08-20 19:34:52,955 - DEBUG - PING 194.38.223.131 (194.38.223.131): 56 data bytes 64 bytes from 194.38.223.131: seq=0 ttl=63 time=4.091 ms 64 bytes from 194.38.223.131: seq=1 ttl=63 time=0.912 ms 64 bytes from 194.38.223.131: seq=2 ttl=63 time=0.914 ms --- 194.38.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.912/1.972/4.091 ms 2026-08-20 19:34:52,955 - INFO - Ping to IP 194.38.223.131 from VM ctest-TestBasicPolicy-40091747-35398017 passed 2026-08-20 19:34:53,142 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c9e242a1-78b2-40e0-a462-21773f0015e2", "href": "http://10.0.0.189:8082/network-policy/c9e242a1-78b2-40e0-a462-21773f0015e2"}} 2026-08-20 19:34:53,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:34:53,142 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.38.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-20 19:34:53,142 - DEBUG - ping -s 56 -c 3 -W 1 194.38.223.131 2026-08-20 19:34:56,273 - DEBUG - PING 194.38.223.131 (194.38.223.131): 56 data bytes 64 bytes from 194.38.223.131: seq=0 ttl=63 time=1.473 ms --- 194.38.223.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.473/1.473/1.473 ms 2026-08-20 19:34:56,273 - WARNING - Ping to IP 194.38.223.131 from VM ctest-TestBasicPolicy-40091747-35398017 failed 2026-08-20 19:34:56,274 - INFO - Deleting VM ctest-TestBasicPolicy-40091747-06522386 2026-08-20 19:34:56,343 - INFO - Deleting VM ctest-TestBasicPolicy-40091747-35398017 2026-08-20 19:34:56,704 - INFO - Deleted policy ctest-policy-allow-all-77980291 2026-08-20 19:34:56,704 - INFO - Deleting VN ctest-vn-50554553 2026-08-20 19:34:56,736 - DEBUG - VN 13a8d6fc-f14b-4d0d-a535-7215081c854c still in use: Unable to complete operation on network 13a8d6fc-f14b-4d0d-a535-7215081c854c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4171b038-f8f2-4af3-a8f5-aa0edcd46621'] 2026-08-20 19:34:56,736 - WARNING - Deleting VN ctest-vn-50554553 failed..Will retry 2026-08-20 19:34:58,849 - DEBUG - Response for deleting network () 2026-08-20 19:34:58,849 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/d1c1df29-f305-4a91-8cae-cb0164d46e3e 2026-08-20 19:34:58,856 - DEBUG - Response Code: 404 2026-08-20 19:34:58,856 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:34:58,862 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:34:58,917 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:34:59,001 - INFO - Validated that VN ctest-vn-50554553 is not found in API Server 2026-08-20 19:34:59,014 - DEBUG - VN ctest-vn-50554553 is not present in Agent 10.0.0.189 2026-08-20 19:34:59,014 - INFO - Validated that VN ctest-vn-50554553 is not in any agent 2026-08-20 19:34:59,031 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50554553 info 2026-08-20 19:34:59,031 - INFO - Deleting VN ctest-vn-88184632 2026-08-20 19:34:59,141 - DEBUG - Response for deleting network () 2026-08-20 19:34:59,141 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/f194e7f1-046f-4b83-8812-0f250d5b8be0 2026-08-20 19:34:59,150 - DEBUG - Response Code: 404 2026-08-20 19:34:59,150 - DEBUG - Requesting: http://10.0.0.189:8082/domains 2026-08-20 19:34:59,156 - DEBUG - Requesting: http://10.0.0.189:8082/domain/eaacb39e-cadf-4029-83dc-14c90db4b95c 2026-08-20 19:34:59,211 - DEBUG - Requesting: http://10.0.0.189:8082/project/7d27488c-1a9c-4131-a548-43d90488dad0 2026-08-20 19:34:59,284 - INFO - Validated that VN ctest-vn-88184632 is not found in API Server 2026-08-20 19:34:59,294 - DEBUG - VN ctest-vn-88184632 is not present in Agent 10.0.0.189 2026-08-20 19:34:59,294 - INFO - Validated that VN ctest-vn-88184632 is not in any agent 2026-08-20 19:34:59,309 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88184632 info 2026-08-20 19:34:59,568 - DEBUG - No XMPP flaps were noticed during the test 2026-08-20 19:34:59,569 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-08-20 19:34:59,569 - INFO - -------------------------------------------------------------------------------- 2026-08-20 19:35:00,341 - INFO - Deleted project: ctest-TestBasicPolicy-40091747, ID : 7d27488c-1a9c-4131-a548-43d90488dad0