2026-09-23 16:16:24,102 - INFO - Domain Default found not creating 2026-09-23 16:16:24,312 - INFO - Project ctest-TestBasicPolicy-69009925 not found, creating it 2026-09-23 16:16:24,883 - INFO - Created Project:ctest-TestBasicPolicy-69009925, ID : a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:16:26,913 - INFO - ================================================================================ 2026-09-23 16:16:26,913 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-23 16:16:26,913 - 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-23 16:16:27,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.25': '0'}} with 2026-09-23 16:16:27,198 - INFO - Initial checks done. Running the testcase now 2026-09-23 16:16:27,198 - INFO - 2026-09-23 16:16:27,962 - DEBUG - Response for create_network : {'network': {'id': 'ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8', 'name': 'ctest-vn-86820887', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'project_id': 'a9d4de74c3424a329a8213cdcba5318a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-vn-86820887'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 16:16:28,168 - DEBUG - Response for create_subnet : {'subnet': {'id': '39e629ca-472d-474c-9d09-a4274a1003b5', 'name': '', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'network_id': 'ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8', 'ip_version': 4, 'cidr': '62.105.160.64/26', 'allocation_pools': [{'start': '62.105.160.66', 'end': '62.105.160.126'}], 'gateway_ip': '62.105.160.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.105.160.66', 'tags': [], 'project_id': 'a9d4de74c3424a329a8213cdcba5318a'}} 2026-09-23 16:16:28,189 - INFO - Created VN ctest-vn-86820887 2026-09-23 16:16:28,246 - DEBUG - VN ctest-vn-86820887 UUID is ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:28,615 - DEBUG - Response for create_network : {'network': {'id': '56efc738-3a63-4da1-8402-c78cd7709c29', 'name': 'ctest-vn-03892492', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'project_id': 'a9d4de74c3424a329a8213cdcba5318a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-vn-03892492'], 'port_security_enabled': True, 'description': ''}} 2026-09-23 16:16:28,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f1354e2-ef0a-45e8-a4de-8a0cbcec5b1a', 'name': '', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'network_id': '56efc738-3a63-4da1-8402-c78cd7709c29', 'ip_version': 4, 'cidr': '96.229.12.128/26', 'allocation_pools': [{'start': '96.229.12.130', 'end': '96.229.12.190'}], 'gateway_ip': '96.229.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.229.12.130', 'tags': [], 'project_id': 'a9d4de74c3424a329a8213cdcba5318a'}} 2026-09-23 16:16:28,870 - INFO - Created VN ctest-vn-03892492 2026-09-23 16:16:28,926 - DEBUG - VN ctest-vn-03892492 UUID is 56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:29,069 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887, 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-69009925:ctest-vn-03892492, 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-23 16:16:29,447 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8', 'name': 'ctest-vn-86820887', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'project_id': 'a9d4de74c3424a329a8213cdcba5318a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['39e629ca-472d-474c-9d09-a4274a1003b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-vn-86820887'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-policy-allow-all-44434603']], 'subnet_ipam': [{'subnet_cidr': '62.105.160.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-23 16:16:29,716 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56efc738-3a63-4da1-8402-c78cd7709c29', 'name': 'ctest-vn-03892492', 'tenant_id': 'a9d4de74c3424a329a8213cdcba5318a', 'project_id': 'a9d4de74c3424a329a8213cdcba5318a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5f1354e2-ef0a-45e8-a4de-8a0cbcec5b1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-vn-03892492'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-policy-allow-all-44434603']], 'subnet_ipam': [{'subnet_cidr': '96.229.12.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-23 16:16:29,886 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:16:30,278 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:16:30,322 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:16:30,340 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:16:30,488 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,552 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,574 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:16:30,587 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:16:30,599 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b294cf89-b4ba-4bbb-ba3a-5265f595eac6 2026-09-23 16:16:30,619 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-23 16:16:30,619 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,654 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:16:30,679 - INFO - Verified VN network id 12 for VN ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,679 - INFO - Verifications in API Server for VN ctest-vn-86820887 passed 2026-09-23 16:16:30,679 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,697 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:16:30,718 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:16:30,729 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/b294cf89-b4ba-4bbb-ba3a-5265f595eac6 2026-09-23 16:16:30,754 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69009925', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14848155162734775129', 'uuid-lslong': '11162875870613851304'}, 'enable': 'true', 'created': '2026-09-23T16:16:27', 'last-modified': '2026-09-23T16:16:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350641'} 2026-09-23 16:16:30,763 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-23 16:16:30,763 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86820887 passed 2026-09-23 16:16:30,763 - DEBUG - ====Verifying policy data for ctest-vn-86820887 in API_Server ====== 2026-09-23 16:16:30,763 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:16:30,783 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:16:30,805 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:16:30,897 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/ce0f3e73-9cb0-4b59-9aea-8075fbb7cca8 2026-09-23 16:16:30,912 - DEBUG - ==>Verifying data for policy with id: 286c8e8b-7845-4d55-99fc-8f2daeff7e2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-policy-allow-all-44434603'] 2026-09-23 16:16:30,912 - INFO - VN ctest-vn-86820887 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-23 16:16:30,912 - DEBUG - Verifying the vn in opserver 2026-09-23 16:16:30,912 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887 virtual network link through opserver 10.0.0.161 2026-09-23 16:16:30,912 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-23 16:16:31,366 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-23 16:16:31,451 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887?flat'} 2026-09-23 16:16:31,451 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887 is found in opserver 2026-09-23 16:16:31,467 - DEBUG - Do not have enough data to verify VN in agent 2026-09-23 16:16:31,474 - DEBUG - VRF ids for VN ctest-vn-86820887: {} 2026-09-23 16:16:31,474 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:16:31,482 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:16:31,498 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:16:31,590 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,607 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,621 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:16:31,636 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:16:31,647 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f2c22fee-49b6-4265-b8ce-b0d82f90ed8a 2026-09-23 16:16:31,657 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-23 16:16:31,657 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,671 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:16:31,692 - INFO - Verified VN network id 13 for VN 56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,692 - INFO - Verifications in API Server for VN ctest-vn-03892492 passed 2026-09-23 16:16:31,693 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,705 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:16:31,715 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:16:31,725 - DEBUG - Requesting: http://10.0.0.161:8082/route-target/f2c22fee-49b6-4265-b8ce-b0d82f90ed8a 2026-09-23 16:16:31,744 - DEBUG - Control-node 10.0.0.161 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-03892492', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-69009925', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6264444651007331745', 'uuid-lslong': '9512384770683739177'}, 'enable': 'true', 'created': '2026-09-23T16:16:28', 'last-modified': '2026-09-23T16:16:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.059851'} 2026-09-23 16:16:31,753 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-23 16:16:31,753 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03892492 passed 2026-09-23 16:16:31,753 - DEBUG - ====Verifying policy data for ctest-vn-03892492 in API_Server ====== 2026-09-23 16:16:31,753 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:16:31,760 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:16:31,775 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:16:31,864 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-network/56efc738-3a63-4da1-8402-c78cd7709c29 2026-09-23 16:16:31,878 - DEBUG - ==>Verifying data for policy with id: 286c8e8b-7845-4d55-99fc-8f2daeff7e2c, fqn: ['default-domain', 'ctest-TestBasicPolicy-69009925', 'ctest-policy-allow-all-44434603'] 2026-09-23 16:16:31,878 - INFO - VN ctest-vn-03892492 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-23 16:16:31,878 - DEBUG - Verifying the vn in opserver 2026-09-23 16:16:31,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-03892492 virtual network link through opserver 10.0.0.161 2026-09-23 16:16:31,878 - DEBUG - Requesting: http://10.0.0.161:8081/analytics/uves/virtual-networks 2026-09-23 16:16:31,893 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-03892492', 'href': 'http://10.0.0.161:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-03892492?flat'} 2026-09-23 16:16:31,893 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-03892492 is found in opserver 2026-09-23 16:16:31,907 - DEBUG - Do not have enough data to verify VN in agent 2026-09-23 16:16:31,916 - DEBUG - VRF ids for VN ctest-vn-03892492: {} 2026-09-23 16:16:31,992 - DEBUG - Services list from nova: [, , ] 2026-09-23 16:16:32,471 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6321-1) 2026-09-23 16:16:33,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6321-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6321-1) 2026-09-23 16:16:33,114 - INFO - Waiting for VM ctest-TestBasicPolicy-69009925-71552318 to be up.. 2026-09-23 16:16:33,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:16:38,255 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:16:43,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:16:48,479 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:16:53,585 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:16:58,691 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:17:03,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:17:08,936 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:17:14,072 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-23 16:17:19,216 - DEBUG - VM is in ACTIVE state now 2026-09-23 16:17:19,216 - INFO - VM name : ctest-TestBasicPolicy-69009925-71552318 2026-09-23 16:17:19,352 - DEBUG - VM ctest-TestBasicPolicy-69009925-71552318 ID is 99e4aff0-7711-485f-b894-65bbcbfc39e0 2026-09-23 16:17:19,392 - DEBUG - VM ctest-TestBasicPolicy-69009925-71552318 launched on Node cn-jenkins-deploy-platform-ansible-os-6321-1 2026-09-23 16:17:19,533 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/99e4aff0-7711-485f-b894-65bbcbfc39e0 2026-09-23 16:17:19,547 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/e7ca04cd-99c3-4534-9c53-3e4df4fcc0f2 2026-09-23 16:17:22,848 - 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 1004ms') 2026-09-23 16:17:22,848 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69009925-71552318 failed! 2026-09-23 16:17:22,910 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887 is 62.105.160.65 and allocation pool is NOT set 2026-09-23 16:17:27,003 - 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 1023ms') 2026-09-23 16:17:27,003 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69009925-71552318 failed! 2026-09-23 16:17:27,062 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-69009925:ctest-vn-86820887 is 62.105.160.65 and allocation pool is NOT set 2026-09-23 16:17:29,138 - 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=6.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.76 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 = 1.759/4.143/6.527/2.384 ms') 2026-09-23 16:17:29,139 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-69009925-71552318 passed 2026-09-23 16:17:29,310 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 16:17:29,310 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69009925-71552318, IP 62.105.160.67, Port 22 2026-09-23 16:17:29,376 - 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-23 16:17:29,487 - DEBUG - VM ctest-TestBasicPolicy-69009925-71552318 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-23 16:17:34,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 16:17:34,488 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69009925-71552318, IP 62.105.160.67, Port 22 2026-09-23 16:17:34,660 - DEBUG - VM ctest-TestBasicPolicy-69009925-71552318 is ready for SSH connections 2026-09-23 16:17:34,661 - INFO - Waiting for VM ctest-TestBasicPolicy-69009925-68772136 to be up.. 2026-09-23 16:17:34,744 - DEBUG - VM is in ACTIVE state now 2026-09-23 16:17:34,744 - INFO - VM name : ctest-TestBasicPolicy-69009925-68772136 2026-09-23 16:17:34,832 - DEBUG - VM ctest-TestBasicPolicy-69009925-68772136 ID is ed1d86f0-1ca9-44e9-bf58-1a72c998383d 2026-09-23 16:17:34,832 - DEBUG - VM ctest-TestBasicPolicy-69009925-68772136 launched on Node cn-jenkins-deploy-platform-ansible-os-6321-1 2026-09-23 16:17:34,914 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ed1d86f0-1ca9-44e9-bf58-1a72c998383d 2026-09-23 16:17:34,925 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/1fc0555a-e12e-481e-8393-741830d3d770 2026-09-23 16:17:36,181 - 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=4.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.663 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.663/2.761/4.860/2.098 ms') 2026-09-23 16:17:36,181 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-69009925-68772136 passed 2026-09-23 16:17:36,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 16:17:36,343 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-69009925-68772136, IP 96.229.12.131, Port 22 2026-09-23 16:17:36,524 - DEBUG - VM ctest-TestBasicPolicy-69009925-68772136 is ready for SSH connections 2026-09-23 16:17:36,524 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 16:17:36,524 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.229.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-23 16:17:36,524 - DEBUG - ping -s 56 -c 3 -W 1 96.229.12.131 2026-09-23 16:17:40,886 - DEBUG - PING 96.229.12.131 (96.229.12.131): 56 data bytes 64 bytes from 96.229.12.131: seq=0 ttl=63 time=6.612 ms 64 bytes from 96.229.12.131: seq=1 ttl=63 time=1.748 ms 64 bytes from 96.229.12.131: seq=2 ttl=63 time=1.409 ms --- 96.229.12.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.409/3.256/6.612 ms 2026-09-23 16:17:40,886 - INFO - Ping to IP 96.229.12.131 from VM ctest-TestBasicPolicy-69009925-71552318 passed 2026-09-23 16:17:41,102 - DEBUG - Policy Update Response {"network-policy": {"uuid": "286c8e8b-7845-4d55-99fc-8f2daeff7e2c", "href": "http://10.0.0.161:8082/network-policy/286c8e8b-7845-4d55-99fc-8f2daeff7e2c"}} 2026-09-23 16:17:41,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-23 16:17:41,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.229.12.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-23 16:17:41,102 - DEBUG - ping -s 56 -c 3 -W 1 96.229.12.131 2026-09-23 16:17:44,293 - DEBUG - PING 96.229.12.131 (96.229.12.131): 56 data bytes 64 bytes from 96.229.12.131: seq=0 ttl=63 time=2.565 ms --- 96.229.12.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.565/2.565/2.565 ms 2026-09-23 16:17:44,294 - WARNING - Ping to IP 96.229.12.131 from VM ctest-TestBasicPolicy-69009925-71552318 failed 2026-09-23 16:17:44,294 - INFO - Deleting VM ctest-TestBasicPolicy-69009925-68772136 2026-09-23 16:17:44,422 - INFO - Deleting VM ctest-TestBasicPolicy-69009925-71552318 2026-09-23 16:17:45,020 - INFO - Deleted policy ctest-policy-allow-all-44434603 2026-09-23 16:17:45,020 - INFO - Deleting VN ctest-vn-03892492 2026-09-23 16:17:45,082 - DEBUG - VN 56efc738-3a63-4da1-8402-c78cd7709c29 still in use: Unable to complete operation on network 56efc738-3a63-4da1-8402-c78cd7709c29. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-453ef019-4162-4743-98dd-9ff8aeec8b5f'] 2026-09-23 16:17:45,082 - WARNING - Deleting VN ctest-vn-03892492 failed..Will retry 2026-09-23 16:17:47,278 - DEBUG - Response for deleting network () 2026-09-23 16:17:47,278 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/7810aadb-2783-4079-894e-db376def3fd1 2026-09-23 16:17:47,290 - DEBUG - Response Code: 404 2026-09-23 16:17:47,290 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:17:47,305 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:17:47,323 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:17:47,431 - INFO - Validated that VN ctest-vn-03892492 is not found in API Server 2026-09-23 16:17:47,449 - DEBUG - VN ctest-vn-03892492 is not present in Agent 10.0.0.161 2026-09-23 16:17:47,450 - INFO - Validated that VN ctest-vn-03892492 is not in any agent 2026-09-23 16:17:47,474 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03892492 info 2026-09-23 16:17:47,474 - INFO - Deleting VN ctest-vn-86820887 2026-09-23 16:17:47,680 - DEBUG - Response for deleting network () 2026-09-23 16:17:47,680 - DEBUG - Requesting: http://10.0.0.161:8082/routing-instance/ffb76bda-64e8-469b-b0b3-c2a5374a60e7 2026-09-23 16:17:47,691 - DEBUG - Response Code: 404 2026-09-23 16:17:47,692 - DEBUG - Requesting: http://10.0.0.161:8082/domains 2026-09-23 16:17:47,708 - DEBUG - Requesting: http://10.0.0.161:8082/domain/7cb63c4d-3c6b-4695-bcf5-c1ba99c4e88d 2026-09-23 16:17:47,736 - DEBUG - Requesting: http://10.0.0.161:8082/project/a9d4de74-c342-4a32-9a82-13cdcba5318a 2026-09-23 16:17:47,844 - INFO - Validated that VN ctest-vn-86820887 is not found in API Server 2026-09-23 16:17:47,863 - DEBUG - VN ctest-vn-86820887 is not present in Agent 10.0.0.161 2026-09-23 16:17:47,863 - INFO - Validated that VN ctest-vn-86820887 is not in any agent 2026-09-23 16:17:47,894 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86820887 info 2026-09-23 16:17:48,186 - DEBUG - No XMPP flaps were noticed during the test 2026-09-23 16:17:48,186 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:22] 2026-09-23 16:17:48,186 - INFO - -------------------------------------------------------------------------------- 2026-09-23 16:17:49,188 - INFO - Deleted project: ctest-TestBasicPolicy-69009925, ID : a9d4de74-c342-4a32-9a82-13cdcba5318a