2026-07-28 19:16:48,680 - INFO - Domain Default found not creating 2026-07-28 19:16:48,856 - INFO - Project ctest-TestBasicPolicy-02919695 not found, creating it 2026-07-28 19:16:49,412 - INFO - Created Project:ctest-TestBasicPolicy-02919695, ID : 27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:16:51,220 - INFO - ================================================================================ 2026-07-28 19:16:51,220 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-28 19:16:51,221 - 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-07-28 19:16:51,501 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-07-28 19:16:51,501 - INFO - Initial checks done. Running the testcase now 2026-07-28 19:16:51,501 - INFO - 2026-07-28 19:16:52,182 - DEBUG - Response for create_network : {'network': {'id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'name': 'ctest-vn-16050958', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-16050958'], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:16:52,370 - DEBUG - Response for create_subnet : {'subnet': {'id': '9090aed8-e984-44ed-96a0-c72239e2b1cf', 'name': '', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'network_id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'ip_version': 4, 'cidr': '77.219.6.0/26', 'allocation_pools': [{'start': '77.219.6.2', 'end': '77.219.6.62'}], 'gateway_ip': '77.219.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.219.6.2', 'tags': [], 'project_id': '27d98c4033f04666b87d20836b7d42eb'}} 2026-07-28 19:16:52,387 - INFO - Created VN ctest-vn-16050958 2026-07-28 19:16:52,441 - DEBUG - VN ctest-vn-16050958 UUID is a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:52,754 - DEBUG - Response for create_network : {'network': {'id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'name': 'ctest-vn-56840490', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-56840490'], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:16:52,984 - DEBUG - Response for create_subnet : {'subnet': {'id': '8811aab9-6d4d-4787-9227-7d2a8bf5d72e', 'name': '', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'network_id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'ip_version': 4, 'cidr': '201.224.53.0/26', 'allocation_pools': [{'start': '201.224.53.2', 'end': '201.224.53.62'}], 'gateway_ip': '201.224.53.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.224.53.2', 'tags': [], 'project_id': '27d98c4033f04666b87d20836b7d42eb'}} 2026-07-28 19:16:53,003 - INFO - Created VN ctest-vn-56840490 2026-07-28 19:16:53,057 - DEBUG - VN ctest-vn-56840490 UUID is ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:53,209 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958, 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-02919695:ctest-vn-56840490, 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-07-28 19:16:53,539 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a86ef103-21a5-4701-a61a-58e6cc0f0298', 'name': 'ctest-vn-16050958', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9090aed8-e984-44ed-96a0-c72239e2b1cf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-16050958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']], 'subnet_ipam': [{'subnet_cidr': '77.219.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:16:53,844 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca80a793-b995-4cd7-b49a-c33cf7fab9fb', 'name': 'ctest-vn-56840490', 'tenant_id': '27d98c4033f04666b87d20836b7d42eb', 'project_id': '27d98c4033f04666b87d20836b7d42eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8811aab9-6d4d-4787-9227-7d2a8bf5d72e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-vn-56840490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693']], 'subnet_ipam': [{'subnet_cidr': '201.224.53.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-28 19:16:54,005 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:16:54,387 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:16:54,418 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:16:54,434 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:16:54,520 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,535 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:16:54,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:16:54,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e04b6963-e39d-40b9-b7bd-b701c787b014 2026-07-28 19:16:54,574 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-28 19:16:54,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,586 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:16:54,605 - INFO - Verified VN network id 11 for VN a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,605 - INFO - Verifications in API Server for VN ctest-vn-16050958 passed 2026-07-28 19:16:54,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:16:54,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:16:54,635 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e04b6963-e39d-40b9-b7bd-b701c787b014 2026-07-28 19:16:54,651 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02919695', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12136903041561741057', 'uuid-lslong': '11968976707979772568'}, 'enable': 'true', 'created': '2026-07-28T19:16:52', 'last-modified': '2026-07-28T19:16:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.148015'} 2026-07-28 19:16:54,660 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-28 19:16:54,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16050958 passed 2026-07-28 19:16:54,661 - DEBUG - ====Verifying policy data for ctest-vn-16050958 in API_Server ====== 2026-07-28 19:16:54,661 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:16:54,670 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:16:54,683 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:16:54,763 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a86ef103-21a5-4701-a61a-58e6cc0f0298 2026-07-28 19:16:54,775 - DEBUG - ==>Verifying data for policy with id: 6a6d7ad7-8473-4c51-ab5c-6d93205d06cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693'] 2026-07-28 19:16:54,776 - INFO - VN ctest-vn-16050958 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-28 19:16:54,776 - DEBUG - Verifying the vn in opserver 2026-07-28 19:16:54,776 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 virtual network link through opserver 10.0.0.38 2026-07-28 19:16:54,776 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-28 19:16:55,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-28 19:16:55,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958?flat'} 2026-07-28 19:16:55,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 is found in opserver 2026-07-28 19:16:55,253 - DEBUG - Do not have enough data to verify VN in agent 2026-07-28 19:16:55,259 - DEBUG - VRF ids for VN ctest-vn-16050958: {} 2026-07-28 19:16:55,259 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:16:55,266 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:16:55,277 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:16:55,356 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,371 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,383 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:16:55,392 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:16:55,401 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3d0a795-8911-40c6-b302-b8642ba7bd86 2026-07-28 19:16:55,410 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-28 19:16:55,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,426 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:16:55,445 - INFO - Verified VN network id 12 for VN ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,445 - INFO - Verifications in API Server for VN ctest-vn-56840490 passed 2026-07-28 19:16:55,445 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,460 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:16:55,468 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:16:55,476 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3d0a795-8911-40c6-b302-b8642ba7bd86 2026-07-28 19:16:55,488 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02919695', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14591847045596007639', 'uuid-lslong': '13013928739866327547'}, 'enable': 'true', 'created': '2026-07-28T19:16:52', 'last-modified': '2026-07-28T19:16:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.716220'} 2026-07-28 19:16:55,494 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-28 19:16:55,495 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56840490 passed 2026-07-28 19:16:55,495 - DEBUG - ====Verifying policy data for ctest-vn-56840490 in API_Server ====== 2026-07-28 19:16:55,495 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:16:55,501 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:16:55,514 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:16:55,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ca80a793-b995-4cd7-b49a-c33cf7fab9fb 2026-07-28 19:16:55,610 - DEBUG - ==>Verifying data for policy with id: 6a6d7ad7-8473-4c51-ab5c-6d93205d06cf, fqn: ['default-domain', 'ctest-TestBasicPolicy-02919695', 'ctest-policy-allow-all-20955693'] 2026-07-28 19:16:55,610 - INFO - VN ctest-vn-56840490 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-28 19:16:55,610 - DEBUG - Verifying the vn in opserver 2026-07-28 19:16:55,610 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490 virtual network link through opserver 10.0.0.38 2026-07-28 19:16:55,610 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-07-28 19:16:55,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490?flat'} 2026-07-28 19:16:55,625 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-56840490 is found in opserver 2026-07-28 19:16:55,641 - DEBUG - Do not have enough data to verify VN in agent 2026-07-28 19:16:55,647 - DEBUG - VRF ids for VN ctest-vn-56840490: {} 2026-07-28 19:16:55,708 - DEBUG - Services list from nova: [, , ] 2026-07-28 19:16:56,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6117-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6117-1) 2026-07-28 19:16:56,697 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6117-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6117-1) 2026-07-28 19:16:56,697 - INFO - Waiting for VM ctest-TestBasicPolicy-02919695-66586553 to be up.. 2026-07-28 19:16:56,738 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:01,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:06,951 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:12,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:17,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:22,248 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:27,344 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:32,447 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-28 19:17:37,531 - DEBUG - VM is in ACTIVE state now 2026-07-28 19:17:37,532 - INFO - VM name : ctest-TestBasicPolicy-02919695-66586553 2026-07-28 19:17:37,610 - DEBUG - VM ctest-TestBasicPolicy-02919695-66586553 ID is 2ab0d1d9-03f1-47c7-9f4c-a4ed15393519 2026-07-28 19:17:37,630 - DEBUG - VM ctest-TestBasicPolicy-02919695-66586553 launched on Node cn-jenkins-deploy-platform-ansible-os-6117-1 2026-07-28 19:17:37,723 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/2ab0d1d9-03f1-47c7-9f4c-a4ed15393519 2026-07-28 19:17:37,733 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5497cb33-d63a-402a-b712-7af5722fc2c2 2026-07-28 19:17:41,015 - 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 1019ms') 2026-07-28 19:17:41,015 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02919695-66586553 failed! 2026-07-28 19:17:41,077 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 is 77.219.6.1 and allocation pool is NOT set 2026-07-28 19:17:45,145 - 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 1002ms') 2026-07-28 19:17:45,145 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02919695-66586553 failed! 2026-07-28 19:17:45,205 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02919695:ctest-vn-16050958 is 77.219.6.1 and allocation pool is NOT set 2026-07-28 19:17:47,272 - 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=4.01 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.421 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.421/2.215/4.010/1.794 ms') 2026-07-28 19:17:47,272 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02919695-66586553 passed 2026-07-28 19:17:47,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:17:47,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02919695-66586553, IP 77.219.6.3, Port 22 2026-07-28 19:17:47,607 - DEBUG - VM ctest-TestBasicPolicy-02919695-66586553 is ready for SSH connections 2026-07-28 19:17:47,607 - INFO - Waiting for VM ctest-TestBasicPolicy-02919695-07701840 to be up.. 2026-07-28 19:17:47,732 - DEBUG - VM is in ACTIVE state now 2026-07-28 19:17:47,732 - INFO - VM name : ctest-TestBasicPolicy-02919695-07701840 2026-07-28 19:17:47,832 - DEBUG - VM ctest-TestBasicPolicy-02919695-07701840 ID is 49f9a5e1-0614-4052-96da-6a7e76885620 2026-07-28 19:17:47,832 - DEBUG - VM ctest-TestBasicPolicy-02919695-07701840 launched on Node cn-jenkins-deploy-platform-ansible-os-6117-1 2026-07-28 19:17:47,929 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/49f9a5e1-0614-4052-96da-6a7e76885620 2026-07-28 19:17:47,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fc05e152-3d2a-4294-b098-b37116d54878 2026-07-28 19:17:49,215 - 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=6.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.514 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.514/3.650/6.786/3.136 ms') 2026-07-28 19:17:49,215 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02919695-07701840 passed 2026-07-28 19:17:49,373 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:17:49,373 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02919695-07701840, IP 201.224.53.3, Port 22 2026-07-28 19:17:49,543 - DEBUG - VM ctest-TestBasicPolicy-02919695-07701840 is ready for SSH connections 2026-07-28 19:17:49,543 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:17:49,543 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.224.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-28 19:17:49,543 - DEBUG - ping -s 56 -c 3 -W 1 201.224.53.3 2026-07-28 19:17:53,689 - DEBUG - PING 201.224.53.3 (201.224.53.3): 56 data bytes 64 bytes from 201.224.53.3: seq=0 ttl=63 time=4.699 ms 64 bytes from 201.224.53.3: seq=1 ttl=63 time=1.475 ms 64 bytes from 201.224.53.3: seq=2 ttl=63 time=1.055 ms --- 201.224.53.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.409/4.699 ms 2026-07-28 19:17:53,689 - INFO - Ping to IP 201.224.53.3 from VM ctest-TestBasicPolicy-02919695-66586553 passed 2026-07-28 19:17:53,904 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6a6d7ad7-8473-4c51-ab5c-6d93205d06cf", "href": "http://10.0.0.38:8082/network-policy/6a6d7ad7-8473-4c51-ab5c-6d93205d06cf"}} 2026-07-28 19:17:53,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-28 19:17:53,905 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.224.53.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-07-28 19:17:53,905 - DEBUG - ping -s 56 -c 3 -W 1 201.224.53.3 2026-07-28 19:17:57,043 - DEBUG - PING 201.224.53.3 (201.224.53.3): 56 data bytes 64 bytes from 201.224.53.3: seq=0 ttl=63 time=2.318 ms --- 201.224.53.3 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.318/2.318/2.318 ms 2026-07-28 19:17:57,043 - WARNING - Ping to IP 201.224.53.3 from VM ctest-TestBasicPolicy-02919695-66586553 failed 2026-07-28 19:17:57,044 - INFO - Deleting VM ctest-TestBasicPolicy-02919695-07701840 2026-07-28 19:17:57,130 - INFO - Deleting VM ctest-TestBasicPolicy-02919695-66586553 2026-07-28 19:17:57,571 - INFO - Deleted policy ctest-policy-allow-all-20955693 2026-07-28 19:17:57,571 - INFO - Deleting VN ctest-vn-56840490 2026-07-28 19:17:57,610 - DEBUG - VN ca80a793-b995-4cd7-b49a-c33cf7fab9fb still in use: Unable to complete operation on network ca80a793-b995-4cd7-b49a-c33cf7fab9fb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-eecf0845-9916-4a9e-8d14-795bf2b9cd1b'] 2026-07-28 19:17:57,610 - WARNING - Deleting VN ctest-vn-56840490 failed..Will retry 2026-07-28 19:17:59,753 - DEBUG - Response for deleting network () 2026-07-28 19:17:59,753 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2d5c5a40-71b2-4ae8-a7b7-7ba23625046e 2026-07-28 19:17:59,772 - DEBUG - Response Code: 404 2026-07-28 19:17:59,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:17:59,778 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:17:59,836 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:17:59,919 - INFO - Validated that VN ctest-vn-56840490 is not found in API Server 2026-07-28 19:17:59,931 - DEBUG - VN ctest-vn-56840490 is not present in Agent 10.0.0.38 2026-07-28 19:17:59,931 - INFO - Validated that VN ctest-vn-56840490 is not in any agent 2026-07-28 19:17:59,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56840490 info 2026-07-28 19:17:59,950 - INFO - Deleting VN ctest-vn-16050958 2026-07-28 19:18:00,081 - DEBUG - Response for deleting network () 2026-07-28 19:18:00,081 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5cab1b89-b4eb-4ff4-add0-d3831293ac60 2026-07-28 19:18:00,088 - DEBUG - Response Code: 404 2026-07-28 19:18:00,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-07-28 19:18:00,095 - DEBUG - Requesting: http://10.0.0.38:8082/domain/abc7e751-644c-4a6f-9477-52ed744d21f4 2026-07-28 19:18:00,151 - DEBUG - Requesting: http://10.0.0.38:8082/project/27d98c40-33f0-4666-b87d-20836b7d42eb 2026-07-28 19:18:00,232 - INFO - Validated that VN ctest-vn-16050958 is not found in API Server 2026-07-28 19:18:00,245 - DEBUG - VN ctest-vn-16050958 is not present in Agent 10.0.0.38 2026-07-28 19:18:00,245 - INFO - Validated that VN ctest-vn-16050958 is not in any agent 2026-07-28 19:18:00,263 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-16050958 info 2026-07-28 19:18:00,528 - DEBUG - No XMPP flaps were noticed during the test
2026-07-28 19:18:00,528 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:09]
2026-07-28 19:18:00,528 - INFO - -------------------------------------------------------------------------------- 2026-07-28 19:18:01,346 - INFO - Deleted project: ctest-TestBasicPolicy-02919695, ID : 27d98c40-33f0-4666-b87d-20836b7d42eb