2026-08-17 13:37:24,490 - INFO - Domain Default found not creating 2026-08-17 13:37:24,657 - INFO - Project ctest-TestBasicPolicy-45347005 not found, creating it 2026-08-17 13:37:25,152 - INFO - Created Project:ctest-TestBasicPolicy-45347005, ID : 69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:37:26,889 - INFO - ================================================================================ 2026-08-17 13:37:26,889 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-17 13:37:26,890 - 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-17 13:37:27,160 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.25': '0'}} with 2026-08-17 13:37:27,160 - INFO - Initial checks done. Running the testcase now 2026-08-17 13:37:27,160 - INFO - 2026-08-17 13:37:27,819 - DEBUG - Response for create_network : {'network': {'id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'name': 'ctest-vn-32968569', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-32968569'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:37:28,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '570650a6-579e-4ff1-a7ac-6433565d4ba8', 'name': '', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'network_id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'ip_version': 4, 'cidr': '196.250.201.0/26', 'allocation_pools': [{'start': '196.250.201.2', 'end': '196.250.201.62'}], 'gateway_ip': '196.250.201.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.250.201.2', 'tags': [], 'project_id': '69d46e038f3a43b3a858b9b89d033eff'}} 2026-08-17 13:37:28,036 - INFO - Created VN ctest-vn-32968569 2026-08-17 13:37:28,090 - DEBUG - VN ctest-vn-32968569 UUID is 5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:28,419 - DEBUG - Response for create_network : {'network': {'id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'name': 'ctest-vn-68746405', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-68746405'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:37:28,626 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe112e80-c634-4abc-83d4-47b7689e8b09', 'name': '', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'network_id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'ip_version': 4, 'cidr': '11.173.28.192/26', 'allocation_pools': [{'start': '11.173.28.194', 'end': '11.173.28.254'}], 'gateway_ip': '11.173.28.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.173.28.194', 'tags': [], 'project_id': '69d46e038f3a43b3a858b9b89d033eff'}} 2026-08-17 13:37:28,649 - INFO - Created VN ctest-vn-68746405 2026-08-17 13:37:28,706 - DEBUG - VN ctest-vn-68746405 UUID is 8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:28,823 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569, 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-45347005:ctest-vn-68746405, 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-17 13:37:29,155 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b7654aa-d224-47cb-82c6-10e5c37693af', 'name': 'ctest-vn-32968569', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['570650a6-579e-4ff1-a7ac-6433565d4ba8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-32968569'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']], 'subnet_ipam': [{'subnet_cidr': '196.250.201.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:37:29,423 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b28b7f7-3ff9-4749-ac30-986419943ba9', 'name': 'ctest-vn-68746405', 'tenant_id': '69d46e038f3a43b3a858b9b89d033eff', 'project_id': '69d46e038f3a43b3a858b9b89d033eff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fe112e80-c634-4abc-83d4-47b7689e8b09'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-vn-68746405'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620']], 'subnet_ipam': [{'subnet_cidr': '11.173.28.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-17 13:37:29,586 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:37:29,957 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:37:29,985 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:37:29,997 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:37:30,079 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,092 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,103 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:37:30,113 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:37:30,122 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/552882f8-c3e7-43a2-96af-e4262a5b4950 2026-08-17 13:37:30,130 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 13:37:30,130 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,140 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:37:30,156 - INFO - Verified VN network id 11 for VN 5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,156 - INFO - Verifications in API Server for VN ctest-vn-32968569 passed 2026-08-17 13:37:30,156 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,166 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:37:30,175 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:37:30,183 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/552882f8-c3e7-43a2-96af-e4262a5b4950 2026-08-17 13:37:30,197 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45347005', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6590548197350066123', 'uuid-lslong': '9423237849332224943'}, 'enable': 'true', 'created': '2026-08-17T13:37:27', 'last-modified': '2026-08-17T13:37:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.087808'} 2026-08-17 13:37:30,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-17 13:37:30,205 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-32968569 passed 2026-08-17 13:37:30,205 - DEBUG - ====Verifying policy data for ctest-vn-32968569 in API_Server ====== 2026-08-17 13:37:30,205 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:37:30,212 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:37:30,223 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:37:30,307 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5b7654aa-d224-47cb-82c6-10e5c37693af 2026-08-17 13:37:30,318 - DEBUG - ==>Verifying data for policy with id: 37652427-7d0c-4348-a3a2-9a0ef8d608a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620'] 2026-08-17 13:37:30,318 - INFO - VN ctest-vn-32968569 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 13:37:30,318 - DEBUG - Verifying the vn in opserver 2026-08-17 13:37:30,318 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569 virtual network link through opserver 10.0.0.50 2026-08-17 13:37:30,318 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-17 13:37:30,687 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-17 13:37:30,752 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569?flat'} 2026-08-17 13:37:30,752 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569 is found in opserver 2026-08-17 13:37:30,762 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 13:37:30,767 - DEBUG - VRF ids for VN ctest-vn-32968569: {} 2026-08-17 13:37:30,767 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:37:30,773 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:37:30,785 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:37:30,862 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:30,874 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:30,886 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:37:30,895 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:37:30,903 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eae69008-20ae-4ff8-b6eb-1e163f6a09cb 2026-08-17 13:37:30,911 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 13:37:30,911 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:30,921 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:37:30,939 - INFO - Verified VN network id 12 for VN 8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:30,939 - INFO - Verifications in API Server for VN ctest-vn-68746405 passed 2026-08-17 13:37:30,939 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:30,954 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:37:30,964 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:37:30,972 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/eae69008-20ae-4ff8-b6eb-1e163f6a09cb 2026-08-17 13:37:30,987 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45347005', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10027466842898515785', 'uuid-lslong': '12407584529099013033'}, 'enable': 'true', 'created': '2026-08-17T13:37:28', 'last-modified': '2026-08-17T13:37:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.601837'} 2026-08-17 13:37:30,995 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-17 13:37:30,995 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68746405 passed 2026-08-17 13:37:30,995 - DEBUG - ====Verifying policy data for ctest-vn-68746405 in API_Server ====== 2026-08-17 13:37:30,995 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:37:31,002 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:37:31,014 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:37:31,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/8b28b7f7-3ff9-4749-ac30-986419943ba9 2026-08-17 13:37:31,110 - DEBUG - ==>Verifying data for policy with id: 37652427-7d0c-4348-a3a2-9a0ef8d608a8, fqn: ['default-domain', 'ctest-TestBasicPolicy-45347005', 'ctest-policy-allow-all-15746620'] 2026-08-17 13:37:31,110 - INFO - VN ctest-vn-68746405 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-17 13:37:31,110 - DEBUG - Verifying the vn in opserver 2026-08-17 13:37:31,110 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405 virtual network link through opserver 10.0.0.50 2026-08-17 13:37:31,110 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-08-17 13:37:31,121 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405?flat'} 2026-08-17 13:37:31,121 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-68746405 is found in opserver 2026-08-17 13:37:31,132 - DEBUG - Do not have enough data to verify VN in agent 2026-08-17 13:37:31,138 - DEBUG - VRF ids for VN ctest-vn-68746405: {} 2026-08-17 13:37:31,202 - DEBUG - Services list from nova: [, , ] 2026-08-17 13:37:31,655 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6175-1) 2026-08-17 13:37:32,071 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6175-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6175-1) 2026-08-17 13:37:32,071 - INFO - Waiting for VM ctest-TestBasicPolicy-45347005-89070684 to be up.. 2026-08-17 13:37:32,113 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:37:37,194 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:37:42,281 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:37:47,364 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:37:52,451 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:37:57,546 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:38:02,652 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:38:07,741 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 13:38:12,830 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:38:12,830 - INFO - VM name : ctest-TestBasicPolicy-45347005-89070684 2026-08-17 13:38:12,915 - DEBUG - VM ctest-TestBasicPolicy-45347005-89070684 ID is 58464b06-f2a5-4f1f-8d88-35ba68a8af5e 2026-08-17 13:38:12,939 - DEBUG - VM ctest-TestBasicPolicy-45347005-89070684 launched on Node cn-jenkins-deploy-platform-ansible-os-6175-1 2026-08-17 13:38:13,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/58464b06-f2a5-4f1f-8d88-35ba68a8af5e 2026-08-17 13:38:13,028 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/528f3393-7582-492f-8df2-40fed995ae84 2026-08-17 13:38:16,304 - 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 1032ms') 2026-08-17 13:38:16,304 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45347005-89070684 failed! 2026-08-17 13:38:16,366 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45347005:ctest-vn-32968569 is 196.250.201.1 and allocation pool is NOT set 2026-08-17 13:38:18,430 - 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=5.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.712 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.712/2.858/5.004/2.146 ms') 2026-08-17 13:38:18,430 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45347005-89070684 passed 2026-08-17 13:38:18,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:18,591 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45347005-89070684, IP 196.250.201.3, Port 22 2026-08-17 13:38:18,750 - DEBUG - VM ctest-TestBasicPolicy-45347005-89070684 is ready for SSH connections 2026-08-17 13:38:18,750 - INFO - Waiting for VM ctest-TestBasicPolicy-45347005-73289731 to be up.. 2026-08-17 13:38:18,831 - DEBUG - VM is in ACTIVE state now 2026-08-17 13:38:18,831 - INFO - VM name : ctest-TestBasicPolicy-45347005-73289731 2026-08-17 13:38:18,916 - DEBUG - VM ctest-TestBasicPolicy-45347005-73289731 ID is 1499f5b1-ea28-44be-832e-a16a0bb0420e 2026-08-17 13:38:18,916 - DEBUG - VM ctest-TestBasicPolicy-45347005-73289731 launched on Node cn-jenkins-deploy-platform-ansible-os-6175-1 2026-08-17 13:38:18,999 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1499f5b1-ea28-44be-832e-a16a0bb0420e 2026-08-17 13:38:19,009 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/baefe4cd-995b-40c8-a3bf-576ec646f01d 2026-08-17 13:38:20,260 - 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=10.2 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.597 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.597/5.383/10.170/4.786 ms') 2026-08-17 13:38:20,260 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45347005-73289731 passed 2026-08-17 13:38:20,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:20,415 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45347005-73289731, IP 11.173.28.195, Port 22 2026-08-17 13:38:20,480 - 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-17 13:38:20,561 - DEBUG - VM ctest-TestBasicPolicy-45347005-73289731 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 13:38:25,562 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:25,562 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45347005-73289731, IP 11.173.28.195, Port 22 2026-08-17 13:38:25,628 - 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-17 13:38:25,722 - DEBUG - VM ctest-TestBasicPolicy-45347005-73289731 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-17 13:38:30,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:30,723 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45347005-73289731, IP 11.173.28.195, Port 22 2026-08-17 13:38:30,896 - DEBUG - VM ctest-TestBasicPolicy-45347005-73289731 is ready for SSH connections 2026-08-17 13:38:30,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:30,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.173.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-17 13:38:30,897 - DEBUG - ping -s 56 -c 3 -W 1 11.173.28.195 2026-08-17 13:38:34,907 - DEBUG - PING 11.173.28.195 (11.173.28.195): 56 data bytes 64 bytes from 11.173.28.195: seq=0 ttl=63 time=4.594 ms 64 bytes from 11.173.28.195: seq=1 ttl=63 time=1.434 ms 64 bytes from 11.173.28.195: seq=2 ttl=63 time=1.334 ms --- 11.173.28.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.334/2.454/4.594 ms 2026-08-17 13:38:34,907 - INFO - Ping to IP 11.173.28.195 from VM ctest-TestBasicPolicy-45347005-89070684 passed 2026-08-17 13:38:35,090 - DEBUG - Policy Update Response {"network-policy": {"uuid": "37652427-7d0c-4348-a3a2-9a0ef8d608a8", "href": "http://10.0.0.50:8082/network-policy/37652427-7d0c-4348-a3a2-9a0ef8d608a8"}} 2026-08-17 13:38:35,091 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 13:38:35,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.173.28.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-08-17 13:38:35,091 - DEBUG - ping -s 56 -c 3 -W 1 11.173.28.195 2026-08-17 13:38:38,229 - DEBUG - PING 11.173.28.195 (11.173.28.195): 56 data bytes 64 bytes from 11.173.28.195: seq=0 ttl=63 time=1.679 ms --- 11.173.28.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.679/1.679/1.679 ms 2026-08-17 13:38:38,229 - WARNING - Ping to IP 11.173.28.195 from VM ctest-TestBasicPolicy-45347005-89070684 failed 2026-08-17 13:38:38,230 - INFO - Deleting VM ctest-TestBasicPolicy-45347005-73289731 2026-08-17 13:38:38,308 - INFO - Deleting VM ctest-TestBasicPolicy-45347005-89070684 2026-08-17 13:38:38,732 - INFO - Deleted policy ctest-policy-allow-all-15746620 2026-08-17 13:38:38,733 - INFO - Deleting VN ctest-vn-68746405 2026-08-17 13:38:38,768 - DEBUG - VN 8b28b7f7-3ff9-4749-ac30-986419943ba9 still in use: Unable to complete operation on network 8b28b7f7-3ff9-4749-ac30-986419943ba9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fd3d2dc6-ecbd-4d2c-b8cf-2082859e909b'] 2026-08-17 13:38:38,768 - WARNING - Deleting VN ctest-vn-68746405 failed..Will retry 2026-08-17 13:38:40,893 - DEBUG - Response for deleting network () 2026-08-17 13:38:40,893 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ee29fff7-7d0a-4500-ac81-99a096fa1b18 2026-08-17 13:38:40,900 - DEBUG - Response Code: 404 2026-08-17 13:38:40,900 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:38:40,908 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:38:40,965 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:38:41,040 - INFO - Validated that VN ctest-vn-68746405 is not found in API Server 2026-08-17 13:38:41,051 - DEBUG - VN ctest-vn-68746405 is not present in Agent 10.0.0.50 2026-08-17 13:38:41,051 - INFO - Validated that VN ctest-vn-68746405 is not in any agent 2026-08-17 13:38:41,069 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68746405 info 2026-08-17 13:38:41,069 - INFO - Deleting VN ctest-vn-32968569 2026-08-17 13:38:41,198 - DEBUG - Response for deleting network () 2026-08-17 13:38:41,198 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f7f65e00-7a01-4de7-897a-67bede3bd26e 2026-08-17 13:38:41,209 - DEBUG - Response Code: 404 2026-08-17 13:38:41,209 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-08-17 13:38:41,216 - DEBUG - Requesting: http://10.0.0.50:8082/domain/55f9187f-9b6f-476a-a9fa-b1c71f09ff9d 2026-08-17 13:38:41,273 - DEBUG - Requesting: http://10.0.0.50:8082/project/69d46e03-8f3a-43b3-a858-b9b89d033eff 2026-08-17 13:38:41,348 - INFO - Validated that VN ctest-vn-32968569 is not found in API Server 2026-08-17 13:38:41,359 - DEBUG - VN ctest-vn-32968569 is not present in Agent 10.0.0.50 2026-08-17 13:38:41,359 - INFO - Validated that VN ctest-vn-32968569 is not in any agent 2026-08-17 13:38:41,377 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-32968569 info 2026-08-17 13:38:41,650 - DEBUG - No XMPP flaps were noticed during the test
2026-08-17 13:38:41,650 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15]
2026-08-17 13:38:41,650 - INFO - -------------------------------------------------------------------------------- 2026-08-17 13:38:42,450 - INFO - Deleted project: ctest-TestBasicPolicy-45347005, ID : 69d46e03-8f3a-43b3-a858-b9b89d033eff