2026-11-16 09:04:35,108 - INFO - Domain Default found not creating 2026-11-16 09:04:35,354 - INFO - Project ctest-TestBasicPolicy-32694978 not found, creating it 2026-11-16 09:04:35,900 - INFO - Created Project:ctest-TestBasicPolicy-32694978, ID : 5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:04:37,624 - INFO - ================================================================================ 2026-11-16 09:04:37,624 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-16 09:04:37,624 - 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-11-16 09:04:37,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with 2026-11-16 09:04:37,890 - INFO - Initial checks done. Running the testcase now 2026-11-16 09:04:37,890 - INFO - 2026-11-16 09:04:38,492 - DEBUG - Response for create_network : {'network': {'id': '1625a3cd-9131-4062-b7d9-92442b018579', 'name': 'ctest-vn-76550294', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-76550294'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:04:38,734 - DEBUG - Response for create_subnet : {'subnet': {'id': '5a3e3a05-5d1f-44a2-b457-966a3c8b5a52', 'name': '', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'network_id': '1625a3cd-9131-4062-b7d9-92442b018579', 'ip_version': 4, 'cidr': '130.7.158.192/26', 'allocation_pools': [{'start': '130.7.158.194', 'end': '130.7.158.254'}], 'gateway_ip': '130.7.158.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.7.158.194', 'tags': [], 'project_id': '5a01d56ba8724a33adb7a620df5580b4'}} 2026-11-16 09:04:38,753 - INFO - Created VN ctest-vn-76550294 2026-11-16 09:04:38,806 - DEBUG - VN ctest-vn-76550294 UUID is 1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:39,123 - DEBUG - Response for create_network : {'network': {'id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'name': 'ctest-vn-23264622', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-23264622'], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:04:39,287 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf590fe0-9409-41bd-82d7-d28fb24e1dff', 'name': '', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'network_id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'ip_version': 4, 'cidr': '208.149.41.192/26', 'allocation_pools': [{'start': '208.149.41.194', 'end': '208.149.41.254'}], 'gateway_ip': '208.149.41.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.149.41.194', 'tags': [], 'project_id': '5a01d56ba8724a33adb7a620df5580b4'}} 2026-11-16 09:04:39,308 - INFO - Created VN ctest-vn-23264622 2026-11-16 09:04:39,362 - DEBUG - VN ctest-vn-23264622 UUID is 9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:39,482 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294, 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-32694978:ctest-vn-23264622, 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-11-16 09:04:39,794 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1625a3cd-9131-4062-b7d9-92442b018579', 'name': 'ctest-vn-76550294', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5a3e3a05-5d1f-44a2-b457-966a3c8b5a52'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-76550294'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']], 'subnet_ipam': [{'subnet_cidr': '130.7.158.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:04:40,024 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ba080c2-7ad4-4aa9-ba83-88602cc633fa', 'name': 'ctest-vn-23264622', 'tenant_id': '5a01d56ba8724a33adb7a620df5580b4', 'project_id': '5a01d56ba8724a33adb7a620df5580b4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cf590fe0-9409-41bd-82d7-d28fb24e1dff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-vn-23264622'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303']], 'subnet_ipam': [{'subnet_cidr': '208.149.41.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-16 09:04:40,190 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:04:40,531 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:04:40,563 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:04:40,574 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:04:40,646 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,659 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,670 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:04:40,679 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:04:40,686 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/3866beff-2aa7-4479-a4ac-7bbcfced8adc 2026-11-16 09:04:40,695 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 09:04:40,696 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,708 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:04:40,727 - INFO - Verified VN network id 12 for VN 1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,727 - INFO - Verifications in API Server for VN ctest-vn-76550294 passed 2026-11-16 09:04:40,727 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,738 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:04:40,750 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:04:40,759 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/3866beff-2aa7-4479-a4ac-7bbcfced8adc 2026-11-16 09:04:40,772 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32694978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1595861746272256098', 'uuid-lslong': '13247780600363976057'}, 'enable': 'true', 'created': '2026-11-16T09:04:38', 'last-modified': '2026-11-16T09:04:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.009309'} 2026-11-16 09:04:40,779 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-16 09:04:40,779 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76550294 passed 2026-11-16 09:04:40,780 - DEBUG - ====Verifying policy data for ctest-vn-76550294 in API_Server ====== 2026-11-16 09:04:40,780 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:04:40,785 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:04:40,797 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:04:40,869 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/1625a3cd-9131-4062-b7d9-92442b018579 2026-11-16 09:04:40,880 - DEBUG - ==>Verifying data for policy with id: ff9523ae-c582-4b94-b2b1-5de350c5bab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303'] 2026-11-16 09:04:40,880 - INFO - VN ctest-vn-76550294 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 09:04:40,880 - DEBUG - Verifying the vn in opserver 2026-11-16 09:04:40,880 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294 virtual network link through opserver 10.0.0.190 2026-11-16 09:04:40,880 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 09:04:41,219 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 09:04:41,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294?flat'} 2026-11-16 09:04:41,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294 is found in opserver 2026-11-16 09:04:41,293 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 09:04:41,299 - DEBUG - VRF ids for VN ctest-vn-76550294: {} 2026-11-16 09:04:41,299 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:04:41,306 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:04:41,317 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:04:41,394 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,409 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,423 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:04:41,431 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:04:41,441 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/74cf705c-910a-4a44-879e-1309d66cb710 2026-11-16 09:04:41,450 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-16 09:04:41,450 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,462 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:04:41,480 - INFO - Verified VN network id 13 for VN 9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,481 - INFO - Verifications in API Server for VN ctest-vn-23264622 passed 2026-11-16 09:04:41,481 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,492 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:04:41,501 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:04:41,511 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/74cf705c-910a-4a44-879e-1309d66cb710 2026-11-16 09:04:41,525 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32694978', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11214104644925278889', 'uuid-lslong': '13439735659653116922'}, 'enable': 'true', 'created': '2026-11-16T09:04:39', 'last-modified': '2026-11-16T09:04:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523160'} 2026-11-16 09:04:41,532 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-16 09:04:41,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23264622 passed 2026-11-16 09:04:41,532 - DEBUG - ====Verifying policy data for ctest-vn-23264622 in API_Server ====== 2026-11-16 09:04:41,532 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:04:41,537 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:04:41,547 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:04:41,626 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9ba080c2-7ad4-4aa9-ba83-88602cc633fa 2026-11-16 09:04:41,636 - DEBUG - ==>Verifying data for policy with id: ff9523ae-c582-4b94-b2b1-5de350c5bab9, fqn: ['default-domain', 'ctest-TestBasicPolicy-32694978', 'ctest-policy-allow-all-85534303'] 2026-11-16 09:04:41,636 - INFO - VN ctest-vn-23264622 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-16 09:04:41,636 - DEBUG - Verifying the vn in opserver 2026-11-16 09:04:41,636 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622 virtual network link through opserver 10.0.0.190 2026-11-16 09:04:41,636 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks 2026-11-16 09:04:41,650 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622?flat'} 2026-11-16 09:04:41,650 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-23264622 is found in opserver 2026-11-16 09:04:41,664 - DEBUG - Do not have enough data to verify VN in agent 2026-11-16 09:04:41,671 - DEBUG - VRF ids for VN ctest-vn-23264622: {} 2026-11-16 09:04:41,739 - DEBUG - Services list from nova: [, , ] 2026-11-16 09:04:42,142 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6505-1) 2026-11-16 09:04:42,554 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6505-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6505-1) 2026-11-16 09:04:42,554 - INFO - Waiting for VM ctest-TestBasicPolicy-32694978-84286948 to be up.. 2026-11-16 09:04:42,596 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:04:47,695 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:04:52,788 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:04:57,880 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:05:02,974 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:05:08,073 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:05:13,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:05:18,251 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-16 09:05:23,375 - DEBUG - VM is in ACTIVE state now 2026-11-16 09:05:23,376 - INFO - VM name : ctest-TestBasicPolicy-32694978-84286948 2026-11-16 09:05:23,478 - DEBUG - VM ctest-TestBasicPolicy-32694978-84286948 ID is a97e5705-ff99-4b20-a1ac-d9f712d6c357 2026-11-16 09:05:23,503 - DEBUG - VM ctest-TestBasicPolicy-32694978-84286948 launched on Node cn-jenkins-deploy-platform-ansible-os-6505-1 2026-11-16 09:05:23,609 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/a97e5705-ff99-4b20-a1ac-d9f712d6c357 2026-11-16 09:05:23,618 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/14ea1559-8150-4ced-9c55-3631676a2f33 2026-11-16 09:05:26,908 - 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 1000ms') 2026-11-16 09:05:26,908 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32694978-84286948 failed! 2026-11-16 09:05:26,962 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-32694978:ctest-vn-76550294 is 130.7.158.193 and allocation pool is NOT set 2026-11-16 09:05:29,033 - 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=11.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.466 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.466/6.064/11.663/5.598 ms') 2026-11-16 09:05:29,033 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-32694978-84286948 passed 2026-11-16 09:05:29,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:05:29,187 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32694978-84286948, IP 130.7.158.195, Port 22 2026-11-16 09:05:29,356 - DEBUG - VM ctest-TestBasicPolicy-32694978-84286948 is ready for SSH connections 2026-11-16 09:05:29,356 - INFO - Waiting for VM ctest-TestBasicPolicy-32694978-70528606 to be up.. 2026-11-16 09:05:29,464 - DEBUG - VM is in ACTIVE state now 2026-11-16 09:05:29,464 - INFO - VM name : ctest-TestBasicPolicy-32694978-70528606 2026-11-16 09:05:29,548 - DEBUG - VM ctest-TestBasicPolicy-32694978-70528606 ID is 5edc7ff4-535f-4c7b-b80f-a506a13a8f64 2026-11-16 09:05:29,549 - DEBUG - VM ctest-TestBasicPolicy-32694978-70528606 launched on Node cn-jenkins-deploy-platform-ansible-os-6505-1 2026-11-16 09:05:29,654 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/5edc7ff4-535f-4c7b-b80f-a506a13a8f64 2026-11-16 09:05:29,663 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/99ea7383-d248-4ee0-9733-85bbbad89619 2026-11-16 09:05:30,909 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.50 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.498/2.760/4.022/1.262 ms') 2026-11-16 09:05:30,909 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-32694978-70528606 passed 2026-11-16 09:05:31,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:05:31,058 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32694978-70528606, IP 208.149.41.195, Port 22 2026-11-16 09:05:31,125 - 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-11-16 09:05:31,213 - DEBUG - VM ctest-TestBasicPolicy-32694978-70528606 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-16 09:05:36,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:05:36,214 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-32694978-70528606, IP 208.149.41.195, Port 22 2026-11-16 09:05:36,381 - DEBUG - VM ctest-TestBasicPolicy-32694978-70528606 is ready for SSH connections 2026-11-16 09:05:36,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:05:36,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.149.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-16 09:05:36,381 - DEBUG - ping -s 56 -c 3 -W 1 208.149.41.195 2026-11-16 09:05:40,398 - DEBUG - PING 208.149.41.195 (208.149.41.195): 56 data bytes 64 bytes from 208.149.41.195: seq=0 ttl=63 time=3.990 ms 64 bytes from 208.149.41.195: seq=1 ttl=63 time=1.156 ms 64 bytes from 208.149.41.195: seq=2 ttl=63 time=0.989 ms --- 208.149.41.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/2.045/3.990 ms 2026-11-16 09:05:40,398 - INFO - Ping to IP 208.149.41.195 from VM ctest-TestBasicPolicy-32694978-84286948 passed 2026-11-16 09:05:40,590 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ff9523ae-c582-4b94-b2b1-5de350c5bab9", "href": "http://10.0.0.190:8082/network-policy/ff9523ae-c582-4b94-b2b1-5de350c5bab9"}} 2026-11-16 09:05:40,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-16 09:05:40,590 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.149.41.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123 2026-11-16 09:05:40,591 - DEBUG - ping -s 56 -c 3 -W 1 208.149.41.195 2026-11-16 09:05:43,717 - DEBUG - PING 208.149.41.195 (208.149.41.195): 56 data bytes 64 bytes from 208.149.41.195: seq=0 ttl=63 time=2.361 ms --- 208.149.41.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.361/2.361/2.361 ms 2026-11-16 09:05:43,717 - WARNING - Ping to IP 208.149.41.195 from VM ctest-TestBasicPolicy-32694978-84286948 failed 2026-11-16 09:05:43,717 - INFO - Deleting VM ctest-TestBasicPolicy-32694978-70528606 2026-11-16 09:05:43,799 - INFO - Deleting VM ctest-TestBasicPolicy-32694978-84286948 2026-11-16 09:05:44,247 - INFO - Deleted policy ctest-policy-allow-all-85534303 2026-11-16 09:05:44,247 - INFO - Deleting VN ctest-vn-23264622 2026-11-16 09:05:44,285 - DEBUG - VN 9ba080c2-7ad4-4aa9-ba83-88602cc633fa still in use: Unable to complete operation on network 9ba080c2-7ad4-4aa9-ba83-88602cc633fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9e650937-3add-4ec3-832f-6bfc1f99a8d7'] 2026-11-16 09:05:44,285 - WARNING - Deleting VN ctest-vn-23264622 failed..Will retry 2026-11-16 09:05:46,326 - DEBUG - VN 9ba080c2-7ad4-4aa9-ba83-88602cc633fa still in use: Unable to complete operation on network 9ba080c2-7ad4-4aa9-ba83-88602cc633fa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-855df12e-6564-43ed-ab68-5dea3c13fe86'] 2026-11-16 09:05:46,326 - WARNING - Deleting VN ctest-vn-23264622 failed..Will retry 2026-11-16 09:05:48,443 - DEBUG - Response for deleting network () 2026-11-16 09:05:48,443 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/eaaa81e2-5336-4432-a3ad-f534dcc75dcc 2026-11-16 09:05:48,452 - DEBUG - Response Code: 404 2026-11-16 09:05:48,453 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:05:48,458 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:05:48,514 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:05:48,590 - INFO - Validated that VN ctest-vn-23264622 is not found in API Server 2026-11-16 09:05:48,604 - DEBUG - VN ctest-vn-23264622 is not present in Agent 10.0.0.190 2026-11-16 09:05:48,604 - INFO - Validated that VN ctest-vn-23264622 is not in any agent 2026-11-16 09:05:48,622 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23264622 info 2026-11-16 09:05:48,622 - INFO - Deleting VN ctest-vn-76550294 2026-11-16 09:05:48,743 - DEBUG - Response for deleting network () 2026-11-16 09:05:48,743 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/3ef5a47b-2d4c-4cdf-9ddb-8f11777f9399 2026-11-16 09:05:48,750 - DEBUG - Response Code: 404 2026-11-16 09:05:48,750 - DEBUG - Requesting: http://10.0.0.190:8082/domains 2026-11-16 09:05:48,756 - DEBUG - Requesting: http://10.0.0.190:8082/domain/e6373243-e1b6-4b92-925e-a53004952562 2026-11-16 09:05:48,812 - DEBUG - Requesting: http://10.0.0.190:8082/project/5a01d56b-a872-4a33-adb7-a620df5580b4 2026-11-16 09:05:48,885 - INFO - Validated that VN ctest-vn-76550294 is not found in API Server 2026-11-16 09:05:48,896 - DEBUG - VN ctest-vn-76550294 is not present in Agent 10.0.0.190 2026-11-16 09:05:48,896 - INFO - Validated that VN ctest-vn-76550294 is not in any agent 2026-11-16 09:05:48,914 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-76550294 info 2026-11-16 09:05:49,178 - DEBUG - No XMPP flaps were noticed during the test 2026-11-16 09:05:49,178 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-11-16 09:05:49,178 - INFO - -------------------------------------------------------------------------------- 2026-11-16 09:05:49,958 - INFO - Deleted project: ctest-TestBasicPolicy-32694978, ID : 5a01d56b-a872-4a33-adb7-a620df5580b4