2026-06-18 15:03:27,312 - INFO - Domain Default found not creating 2026-06-18 15:03:27,472 - INFO - Project ctest-TestBasicPolicy-72229084 not found, creating it 2026-06-18 15:03:27,915 - INFO - Created Project:ctest-TestBasicPolicy-72229084, ID : d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:03:29,494 - INFO - ================================================================================ 2026-06-18 15:03:29,494 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-18 15:03:29,494 - 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-06-18 15:03:29,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-06-18 15:03:29,751 - INFO - Initial checks done. Running the testcase now 2026-06-18 15:03:29,751 - INFO - 2026-06-18 15:03:30,378 - DEBUG - Response for create_network : {'network': {'id': 'bb88ae79-cca4-45cd-8358-ab4a1eef24ca', 'name': 'ctest-vn-96616148', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'project_id': 'd4f39807a73d460281403402d58a3329', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-vn-96616148'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:03:30,551 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad019cc9-a6d4-47c5-a65f-eeab0267c9c3', 'name': '', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'network_id': 'bb88ae79-cca4-45cd-8358-ab4a1eef24ca', 'ip_version': 4, 'cidr': '189.45.188.128/26', 'allocation_pools': [{'start': '189.45.188.130', 'end': '189.45.188.190'}], 'gateway_ip': '189.45.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.45.188.130', 'tags': [], 'project_id': 'd4f39807a73d460281403402d58a3329'}} 2026-06-18 15:03:30,570 - INFO - Created VN ctest-vn-96616148 2026-06-18 15:03:30,624 - DEBUG - VN ctest-vn-96616148 UUID is bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:30,937 - DEBUG - Response for create_network : {'network': {'id': 'a0ef1405-2a10-4264-8c01-5a54c00e3c96', 'name': 'ctest-vn-53173746', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'project_id': 'd4f39807a73d460281403402d58a3329', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-vn-53173746'], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:03:31,103 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f4defc81-894f-4f79-9a22-b4dd9d4fe479', 'name': '', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'network_id': 'a0ef1405-2a10-4264-8c01-5a54c00e3c96', 'ip_version': 4, 'cidr': '166.60.196.0/26', 'allocation_pools': [{'start': '166.60.196.2', 'end': '166.60.196.62'}], 'gateway_ip': '166.60.196.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.60.196.2', 'tags': [], 'project_id': 'd4f39807a73d460281403402d58a3329'}} 2026-06-18 15:03:31,120 - INFO - Created VN ctest-vn-53173746 2026-06-18 15:03:31,172 - DEBUG - VN ctest-vn-53173746 UUID is a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:31,332 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148, 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-72229084:ctest-vn-53173746, 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-06-18 15:03:31,792 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bb88ae79-cca4-45cd-8358-ab4a1eef24ca', 'name': 'ctest-vn-96616148', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'project_id': 'd4f39807a73d460281403402d58a3329', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad019cc9-a6d4-47c5-a65f-eeab0267c9c3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-vn-96616148'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-policy-allow-all-21496498']], 'subnet_ipam': [{'subnet_cidr': '189.45.188.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:03:32,035 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a0ef1405-2a10-4264-8c01-5a54c00e3c96', 'name': 'ctest-vn-53173746', 'tenant_id': 'd4f39807a73d460281403402d58a3329', 'project_id': 'd4f39807a73d460281403402d58a3329', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f4defc81-894f-4f79-9a22-b4dd9d4fe479'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-vn-53173746'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-policy-allow-all-21496498']], 'subnet_ipam': [{'subnet_cidr': '166.60.196.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-18 15:03:32,188 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:03:32,549 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:03:32,579 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:03:32,589 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:03:32,662 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,673 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,681 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:03:32,687 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:03:32,693 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b4210cfc-0961-4367-960f-7104b6d8211f 2026-06-18 15:03:32,698 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 15:03:32,698 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,706 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:03:32,719 - INFO - Verified VN network id 11 for VN bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,719 - INFO - Verifications in API Server for VN ctest-vn-96616148 passed 2026-06-18 15:03:32,719 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,726 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:03:32,732 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:03:32,737 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/b4210cfc-0961-4367-960f-7104b6d8211f 2026-06-18 15:03:32,751 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72229084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13513242520072766925', 'uuid-lslong': '9464502951754015946'}, 'enable': 'true', 'created': '2026-06-18T15:03:30', 'last-modified': '2026-06-18T15:03:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.983920'} 2026-06-18 15:03:32,757 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-18 15:03:32,757 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96616148 passed 2026-06-18 15:03:32,757 - DEBUG - ====Verifying policy data for ctest-vn-96616148 in API_Server ====== 2026-06-18 15:03:32,757 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:03:32,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:03:32,775 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:03:32,850 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/bb88ae79-cca4-45cd-8358-ab4a1eef24ca 2026-06-18 15:03:32,859 - DEBUG - ==>Verifying data for policy with id: 743fa594-92a8-46de-acff-748eba6281f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-policy-allow-all-21496498'] 2026-06-18 15:03:32,859 - INFO - VN ctest-vn-96616148 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 15:03:32,859 - DEBUG - Verifying the vn in opserver 2026-06-18 15:03:32,859 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148 virtual network link through opserver 10.0.0.50 2026-06-18 15:03:32,859 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 15:03:33,220 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 15:03:33,281 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148?flat'} 2026-06-18 15:03:33,281 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148 is found in opserver 2026-06-18 15:03:33,291 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 15:03:33,295 - DEBUG - VRF ids for VN ctest-vn-96616148: {} 2026-06-18 15:03:33,295 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:03:33,300 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:03:33,309 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:03:33,379 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,399 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:03:33,405 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:03:33,410 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/adb91114-a0df-4dac-b1ba-a3414cb437ea 2026-06-18 15:03:33,416 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 15:03:33,416 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,427 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:03:33,442 - INFO - Verified VN network id 12 for VN a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,442 - INFO - Verifications in API Server for VN ctest-vn-53173746 passed 2026-06-18 15:03:33,442 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,451 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:03:33,457 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:03:33,463 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/adb91114-a0df-4dac-b1ba-a3414cb437ea 2026-06-18 15:03:33,474 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-53173746', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72229084', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11596509577915417188', 'uuid-lslong': '10088443960332532886'}, 'enable': 'true', 'created': '2026-06-18T15:03:30', 'last-modified': '2026-06-18T15:03:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.457333'} 2026-06-18 15:03:33,480 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-18 15:03:33,480 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53173746 passed 2026-06-18 15:03:33,480 - DEBUG - ====Verifying policy data for ctest-vn-53173746 in API_Server ====== 2026-06-18 15:03:33,480 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:03:33,485 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:03:33,495 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:03:33,563 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a0ef1405-2a10-4264-8c01-5a54c00e3c96 2026-06-18 15:03:33,571 - DEBUG - ==>Verifying data for policy with id: 743fa594-92a8-46de-acff-748eba6281f5, fqn: ['default-domain', 'ctest-TestBasicPolicy-72229084', 'ctest-policy-allow-all-21496498'] 2026-06-18 15:03:33,572 - INFO - VN ctest-vn-53173746 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-18 15:03:33,572 - DEBUG - Verifying the vn in opserver 2026-06-18 15:03:33,572 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-53173746 virtual network link through opserver 10.0.0.50 2026-06-18 15:03:33,572 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-06-18 15:03:33,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-53173746', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-53173746?flat'} 2026-06-18 15:03:33,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-53173746 is found in opserver 2026-06-18 15:03:33,588 - DEBUG - Do not have enough data to verify VN in agent 2026-06-18 15:03:33,593 - DEBUG - VRF ids for VN ctest-vn-53173746: {} 2026-06-18 15:03:33,647 - DEBUG - Services list from nova: [, , ] 2026-06-18 15:03:34,766 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1) 2026-06-18 15:03:35,939 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5987-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5987-1) 2026-06-18 15:03:35,939 - INFO - Waiting for VM ctest-TestBasicPolicy-72229084-59743714 to be up.. 2026-06-18 15:03:35,984 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 15:03:41,060 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-18 15:03:46,152 - DEBUG - VM is in ACTIVE state now 2026-06-18 15:03:46,152 - INFO - VM name : ctest-TestBasicPolicy-72229084-59743714 2026-06-18 15:03:46,229 - DEBUG - VM ctest-TestBasicPolicy-72229084-59743714 ID is e484a44b-5cf2-45c3-9a3c-364c95fd0349 2026-06-18 15:03:46,247 - DEBUG - VM ctest-TestBasicPolicy-72229084-59743714 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1 2026-06-18 15:03:46,318 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e484a44b-5cf2-45c3-9a3c-364c95fd0349 2026-06-18 15:03:46,326 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/160ac1b1-71e5-4fb1-8d6f-1e064cb13d77 2026-06-18 15:03:49,554 - 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 1034ms') 2026-06-18 15:03:49,554 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72229084-59743714 failed! 2026-06-18 15:03:49,608 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-72229084:ctest-vn-96616148 is 189.45.188.129 and allocation pool is NOT set 2026-06-18 15:03:51,673 - 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=9.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.56 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 = 2.555/5.834/9.114/3.279 ms') 2026-06-18 15:03:51,673 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-72229084-59743714 passed 2026-06-18 15:03:51,820 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:51,820 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72229084-59743714, IP 189.45.188.131, Port 22 2026-06-18 15:03:51,885 - 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-06-18 15:03:51,954 - DEBUG - VM ctest-TestBasicPolicy-72229084-59743714 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-18 15:03:56,955 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:56,955 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72229084-59743714, IP 189.45.188.131, Port 22 2026-06-18 15:03:57,115 - DEBUG - VM ctest-TestBasicPolicy-72229084-59743714 is ready for SSH connections 2026-06-18 15:03:57,115 - INFO - Waiting for VM ctest-TestBasicPolicy-72229084-83735043 to be up.. 2026-06-18 15:03:57,196 - DEBUG - VM is in ACTIVE state now 2026-06-18 15:03:57,196 - INFO - VM name : ctest-TestBasicPolicy-72229084-83735043 2026-06-18 15:03:57,265 - DEBUG - VM ctest-TestBasicPolicy-72229084-83735043 ID is 15eb951f-8c9e-4fbe-be89-b6ce2c09b23a 2026-06-18 15:03:57,265 - DEBUG - VM ctest-TestBasicPolicy-72229084-83735043 launched on Node cn-jenkins-deploy-platform-ansible-os-5987-1 2026-06-18 15:03:57,335 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/15eb951f-8c9e-4fbe-be89-b6ce2c09b23a 2026-06-18 15:03:57,342 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/46c8998a-9671-464b-8836-c9d3e0841ff6 2026-06-18 15:03:58,572 - 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=3.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.505 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.505/1.970/3.435/1.465 ms') 2026-06-18 15:03:58,572 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-72229084-83735043 passed 2026-06-18 15:03:58,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:58,720 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-72229084-83735043, IP 166.60.196.3, Port 22 2026-06-18 15:03:58,879 - DEBUG - VM ctest-TestBasicPolicy-72229084-83735043 is ready for SSH connections 2026-06-18 15:03:58,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:03:58,880 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.60.196.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 15:03:58,880 - DEBUG - ping -s 56 -c 3 -W 1 166.60.196.3 2026-06-18 15:04:02,815 - DEBUG - PING 166.60.196.3 (166.60.196.3): 56 data bytes 64 bytes from 166.60.196.3: seq=0 ttl=63 time=3.573 ms 64 bytes from 166.60.196.3: seq=1 ttl=63 time=0.906 ms 64 bytes from 166.60.196.3: seq=2 ttl=63 time=1.248 ms --- 166.60.196.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.909/3.573 ms 2026-06-18 15:04:02,815 - INFO - Ping to IP 166.60.196.3 from VM ctest-TestBasicPolicy-72229084-59743714 passed 2026-06-18 15:04:02,991 - DEBUG - Policy Update Response {"network-policy": {"uuid": "743fa594-92a8-46de-acff-748eba6281f5", "href": "http://10.0.0.50:8082/network-policy/743fa594-92a8-46de-acff-748eba6281f5"}} 2026-06-18 15:04:02,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-18 15:04:02,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 166.60.196.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-06-18 15:04:02,992 - DEBUG - ping -s 56 -c 3 -W 1 166.60.196.3 2026-06-18 15:04:06,130 - DEBUG - PING 166.60.196.3 (166.60.196.3): 56 data bytes --- 166.60.196.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-18 15:04:06,130 - WARNING - Ping to IP 166.60.196.3 from VM ctest-TestBasicPolicy-72229084-59743714 failed 2026-06-18 15:04:06,130 - INFO - Deleting VM ctest-TestBasicPolicy-72229084-83735043 2026-06-18 15:04:06,202 - INFO - Deleting VM ctest-TestBasicPolicy-72229084-59743714 2026-06-18 15:04:06,541 - INFO - Deleted policy ctest-policy-allow-all-21496498 2026-06-18 15:04:06,541 - INFO - Deleting VN ctest-vn-53173746 2026-06-18 15:04:06,571 - DEBUG - VN a0ef1405-2a10-4264-8c01-5a54c00e3c96 still in use: Unable to complete operation on network a0ef1405-2a10-4264-8c01-5a54c00e3c96. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d84d1d4e-ac5d-4a03-be40-2187ac5306b5'] 2026-06-18 15:04:06,571 - WARNING - Deleting VN ctest-vn-53173746 failed..Will retry 2026-06-18 15:04:08,654 - DEBUG - Response for deleting network () 2026-06-18 15:04:08,654 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/ae57141a-e2e8-4443-9f0b-619b39bedff0 2026-06-18 15:04:08,658 - DEBUG - Response Code: 404 2026-06-18 15:04:08,659 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:04:08,663 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:04:08,716 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:04:08,784 - INFO - Validated that VN ctest-vn-53173746 is not found in API Server 2026-06-18 15:04:08,794 - DEBUG - VN ctest-vn-53173746 is not present in Agent 10.0.0.50 2026-06-18 15:04:08,794 - INFO - Validated that VN ctest-vn-53173746 is not in any agent 2026-06-18 15:04:08,807 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-53173746 info 2026-06-18 15:04:08,807 - INFO - Deleting VN ctest-vn-96616148 2026-06-18 15:04:08,902 - DEBUG - Response for deleting network () 2026-06-18 15:04:08,902 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/430c9643-134c-470e-a244-765568ce15cf 2026-06-18 15:04:08,908 - DEBUG - Response Code: 404 2026-06-18 15:04:08,908 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-06-18 15:04:08,913 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3b347f7c-4e4b-49c8-b565-0c444dfd64ad 2026-06-18 15:04:08,963 - DEBUG - Requesting: http://10.0.0.50:8082/project/d4f39807-a73d-4602-8140-3402d58a3329 2026-06-18 15:04:09,032 - INFO - Validated that VN ctest-vn-96616148 is not found in API Server 2026-06-18 15:04:09,042 - DEBUG - VN ctest-vn-96616148 is not present in Agent 10.0.0.50 2026-06-18 15:04:09,042 - INFO - Validated that VN ctest-vn-96616148 is not in any agent 2026-06-18 15:04:09,055 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96616148 info 2026-06-18 15:04:09,316 - DEBUG - No XMPP flaps were noticed during the test
2026-06-18 15:04:09,316 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:40]
2026-06-18 15:04:09,316 - INFO - -------------------------------------------------------------------------------- 2026-06-18 15:04:10,057 - INFO - Deleted project: ctest-TestBasicPolicy-72229084, ID : d4f39807-a73d-4602-8140-3402d58a3329