2026-01-27 16:00:58,982 - INFO - Domain Default found not creating 2026-01-27 16:00:59,213 - INFO - Project ctest-TestBasicPolicy-55017827 not found, creating it 2026-01-27 16:00:59,677 - INFO - Created Project:ctest-TestBasicPolicy-55017827, ID : 4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:01,432 - INFO - ================================================================================ 2026-01-27 16:01:01,432 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-27 16:01:01,433 - 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-01-27 16:01:01,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-01-27 16:01:01,706 - INFO - Initial checks done. Running the testcase now 2026-01-27 16:01:01,706 - INFO - 2026-01-27 16:01:02,361 - DEBUG - Response for create_network : {'network': {'id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'name': 'ctest-vn-69293029', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-69293029'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 16:01:02,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '606d579e-148d-429c-99d0-785ffda16e2c', 'name': '', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'network_id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'ip_version': 4, 'cidr': '35.220.52.192/26', 'allocation_pools': [{'start': '35.220.52.194', 'end': '35.220.52.254'}], 'gateway_ip': '35.220.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.220.52.194', 'tags': [], 'project_id': '4530effbf9a949fb82f8207e1e72a704'}} 2026-01-27 16:01:02,579 - INFO - Created VN ctest-vn-69293029 2026-01-27 16:01:02,640 - DEBUG - VN ctest-vn-69293029 UUID is fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:02,958 - DEBUG - Response for create_network : {'network': {'id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'name': 'ctest-vn-87874372', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-87874372'], 'port_security_enabled': True, 'description': ''}} 2026-01-27 16:01:03,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b43fe125-3246-4652-927c-e5a1d4b9a487', 'name': '', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'network_id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'ip_version': 4, 'cidr': '82.74.243.192/26', 'allocation_pools': [{'start': '82.74.243.194', 'end': '82.74.243.254'}], 'gateway_ip': '82.74.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.74.243.194', 'tags': [], 'project_id': '4530effbf9a949fb82f8207e1e72a704'}} 2026-01-27 16:01:03,170 - INFO - Created VN ctest-vn-87874372 2026-01-27 16:01:03,223 - DEBUG - VN ctest-vn-87874372 UUID is 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:03,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029, 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-55017827:ctest-vn-87874372, 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-01-27 16:01:03,651 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'name': 'ctest-vn-69293029', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['606d579e-148d-429c-99d0-785ffda16e2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-69293029'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']], 'subnet_ipam': [{'subnet_cidr': '35.220.52.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 16:01:03,947 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'name': 'ctest-vn-87874372', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b43fe125-3246-4652-927c-e5a1d4b9a487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-87874372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']], 'subnet_ipam': [{'subnet_cidr': '82.74.243.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-27 16:01:04,091 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:04,436 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:04,471 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:04,488 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:04,562 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,573 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:04,588 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:04,594 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/15a1fae3-5683-45a7-a2da-e787c8fe3b61 2026-01-27 16:01:04,600 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 16:01:04,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,609 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:04,627 - INFO - Verified VN network id 11 for VN fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,627 - INFO - Verifications in API Server for VN ctest-vn-69293029 passed 2026-01-27 16:01:04,627 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,638 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:04,646 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:04,655 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/15a1fae3-5683-45a7-a2da-e787c8fe3b61 2026-01-27 16:01:04,668 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017827', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18358218467690038881', 'uuid-lslong': '10923148448375303912'}, 'enable': 'true', 'created': '2026-01-27T16:01:02', 'last-modified': '2026-01-27T16:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040785'} 2026-01-27 16:01:04,674 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-27 16:01:04,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69293029 passed 2026-01-27 16:01:04,674 - DEBUG - ====Verifying policy data for ctest-vn-69293029 in API_Server ====== 2026-01-27 16:01:04,674 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:04,681 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:04,695 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:04,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8 2026-01-27 16:01:04,789 - DEBUG - ==>Verifying data for policy with id: 3458e86e-5c64-4662-8445-31976845c12f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219'] 2026-01-27 16:01:04,789 - INFO - VN ctest-vn-69293029 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 16:01:04,789 - DEBUG - Verifying the vn in opserver 2026-01-27 16:01:04,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029 virtual network link through opserver 10.0.0.22 2026-01-27 16:01:04,789 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-27 16:01:05,131 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-27 16:01:05,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029?flat'} 2026-01-27 16:01:05,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029 is found in opserver 2026-01-27 16:01:05,211 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 16:01:05,216 - DEBUG - VRF ids for VN ctest-vn-69293029: {} 2026-01-27 16:01:05,216 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:05,222 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:05,234 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:05,309 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,336 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:05,344 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:05,353 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/79ed51a1-1f43-4fcc-a3a3-36c3bafbb3fe 2026-01-27 16:01:05,362 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 16:01:05,362 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,374 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:05,391 - INFO - Verified VN network id 12 for VN 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,391 - INFO - Verifications in API Server for VN ctest-vn-87874372 passed 2026-01-27 16:01:05,391 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,403 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:05,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:05,419 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/79ed51a1-1f43-4fcc-a3a3-36c3bafbb3fe 2026-01-27 16:01:05,431 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017827', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2993147494227921722', 'uuid-lslong': '9640512660960699622'}, 'enable': 'true', 'created': '2026-01-27T16:01:02', 'last-modified': '2026-01-27T16:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.560643'} 2026-01-27 16:01:05,437 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-27 16:01:05,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87874372 passed 2026-01-27 16:01:05,437 - DEBUG - ====Verifying policy data for ctest-vn-87874372 in API_Server ====== 2026-01-27 16:01:05,437 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:05,445 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:05,455 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:05,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 2026-01-27 16:01:05,539 - DEBUG - ==>Verifying data for policy with id: 3458e86e-5c64-4662-8445-31976845c12f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219'] 2026-01-27 16:01:05,539 - INFO - VN ctest-vn-87874372 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-27 16:01:05,539 - DEBUG - Verifying the vn in opserver 2026-01-27 16:01:05,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372 virtual network link through opserver 10.0.0.22 2026-01-27 16:01:05,540 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-01-27 16:01:05,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372?flat'} 2026-01-27 16:01:05,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372 is found in opserver 2026-01-27 16:01:05,564 - DEBUG - Do not have enough data to verify VN in agent 2026-01-27 16:01:05,568 - DEBUG - VRF ids for VN ctest-vn-87874372: {} 2026-01-27 16:01:05,632 - DEBUG - Services list from nova: [, , ] 2026-01-27 16:01:06,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5087-1) 2026-01-27 16:01:08,114 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5087-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5087-1) 2026-01-27 16:01:08,114 - INFO - Waiting for VM ctest-TestBasicPolicy-55017827-53836636 to be up.. 2026-01-27 16:01:08,215 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-27 16:01:13,319 - DEBUG - VM is in ACTIVE state now 2026-01-27 16:01:13,319 - INFO - VM name : ctest-TestBasicPolicy-55017827-53836636 2026-01-27 16:01:13,410 - DEBUG - VM ctest-TestBasicPolicy-55017827-53836636 ID is 5ee1c87e-4cf5-4b17-8dfe-e1d3fa12decf 2026-01-27 16:01:13,432 - DEBUG - VM ctest-TestBasicPolicy-55017827-53836636 launched on Node cn-jenkins-deploy-platform-ansible-os-5087-1 2026-01-27 16:01:13,525 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/5ee1c87e-4cf5-4b17-8dfe-e1d3fa12decf 2026-01-27 16:01:13,542 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bdcd9765-2e48-4bb9-af54-a8797091737f 2026-01-27 16:01:16,828 - 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-01-27 16:01:16,828 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55017827-53836636 failed! 2026-01-27 16:01:16,888 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029 is 35.220.52.193 and allocation pool is NOT set 2026-01-27 16:01:18,954 - 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.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.07 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 = 3.065/7.444/11.824/4.379 ms') 2026-01-27 16:01:18,954 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55017827-53836636 passed 2026-01-27 16:01:19,133 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 16:01:19,133 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55017827-53836636, IP 35.220.52.195, Port 22 2026-01-27 16:01:19,202 - 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-01-27 16:01:19,306 - DEBUG - VM ctest-TestBasicPolicy-55017827-53836636 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-27 16:01:24,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 16:01:24,307 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55017827-53836636, IP 35.220.52.195, Port 22 2026-01-27 16:01:24,475 - DEBUG - VM ctest-TestBasicPolicy-55017827-53836636 is ready for SSH connections 2026-01-27 16:01:24,475 - INFO - Waiting for VM ctest-TestBasicPolicy-55017827-10497768 to be up.. 2026-01-27 16:01:24,565 - DEBUG - VM is in ACTIVE state now 2026-01-27 16:01:24,565 - INFO - VM name : ctest-TestBasicPolicy-55017827-10497768 2026-01-27 16:01:24,657 - DEBUG - VM ctest-TestBasicPolicy-55017827-10497768 ID is 7840b7e8-f2f9-48f1-8ff7-ac7845b4bc5f 2026-01-27 16:01:24,657 - DEBUG - VM ctest-TestBasicPolicy-55017827-10497768 launched on Node cn-jenkins-deploy-platform-ansible-os-5087-1 2026-01-27 16:01:24,741 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7840b7e8-f2f9-48f1-8ff7-ac7845b4bc5f 2026-01-27 16:01:24,750 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9f36f6f8-9f20-488b-a699-770983fcc627 2026-01-27 16:01:25,998 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.536 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.536/1.871/3.206/1.335 ms') 2026-01-27 16:01:25,998 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55017827-10497768 passed 2026-01-27 16:01:26,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 16:01:26,152 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55017827-10497768, IP 82.74.243.195, Port 22 2026-01-27 16:01:26,307 - DEBUG - VM ctest-TestBasicPolicy-55017827-10497768 is ready for SSH connections 2026-01-27 16:01:26,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 16:01:26,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.74.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-27 16:01:26,307 - DEBUG - ping -s 56 -c 3 -W 1 82.74.243.195 2026-01-27 16:01:30,478 - DEBUG - PING 82.74.243.195 (82.74.243.195): 56 data bytes 64 bytes from 82.74.243.195: seq=0 ttl=63 time=4.445 ms 64 bytes from 82.74.243.195: seq=1 ttl=63 time=1.039 ms 64 bytes from 82.74.243.195: seq=2 ttl=63 time=1.176 ms --- 82.74.243.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.039/2.220/4.445 ms 2026-01-27 16:01:30,478 - INFO - Ping to IP 82.74.243.195 from VM ctest-TestBasicPolicy-55017827-53836636 passed 2026-01-27 16:01:30,659 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3458e86e-5c64-4662-8445-31976845c12f", "href": "http://10.0.0.22:8082/network-policy/3458e86e-5c64-4662-8445-31976845c12f"}} 2026-01-27 16:01:30,659 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-27 16:01:30,659 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.74.243.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-01-27 16:01:30,660 - DEBUG - ping -s 56 -c 3 -W 1 82.74.243.195 2026-01-27 16:01:33,910 - DEBUG - PING 82.74.243.195 (82.74.243.195): 56 data bytes --- 82.74.243.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-27 16:01:33,910 - WARNING - Ping to IP 82.74.243.195 from VM ctest-TestBasicPolicy-55017827-53836636 failed 2026-01-27 16:01:33,910 - INFO - Deleting VM ctest-TestBasicPolicy-55017827-10497768 2026-01-27 16:01:33,990 - INFO - Deleting VM ctest-TestBasicPolicy-55017827-53836636 2026-01-27 16:01:34,403 - INFO - Deleted policy ctest-policy-allow-all-54995219 2026-01-27 16:01:34,403 - INFO - Deleting VN ctest-vn-87874372 2026-01-27 16:01:34,447 - DEBUG - VN 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6 still in use: Unable to complete operation on network 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7094cec4-5ec0-448d-b833-3d8f9ec3287f'] 2026-01-27 16:01:34,447 - WARNING - Deleting VN ctest-vn-87874372 failed..Will retry 2026-01-27 16:01:36,570 - DEBUG - Response for deleting network () 2026-01-27 16:01:36,570 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d 2026-01-27 16:01:36,576 - DEBUG - Response Code: 404 2026-01-27 16:01:36,576 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:36,583 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:36,638 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:36,715 - INFO - Validated that VN ctest-vn-87874372 is not found in API Server 2026-01-27 16:01:36,727 - DEBUG - VN ctest-vn-87874372 is not present in Agent 10.0.0.22 2026-01-27 16:01:36,727 - INFO - Validated that VN ctest-vn-87874372 is not in any agent 2026-01-27 16:01:36,745 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87874372 info 2026-01-27 16:01:36,745 - INFO - Deleting VN ctest-vn-69293029 2026-01-27 16:01:36,863 - DEBUG - Response for deleting network () 2026-01-27 16:01:36,863 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa 2026-01-27 16:01:36,869 - DEBUG - Response Code: 404 2026-01-27 16:01:36,869 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-01-27 16:01:36,876 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57 2026-01-27 16:01:36,929 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704 2026-01-27 16:01:37,001 - INFO - Validated that VN ctest-vn-69293029 is not found in API Server 2026-01-27 16:01:37,013 - DEBUG - VN ctest-vn-69293029 is not present in Agent 10.0.0.22 2026-01-27 16:01:37,013 - INFO - Validated that VN ctest-vn-69293029 is not in any agent 2026-01-27 16:01:37,029 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69293029 info 2026-01-27 16:01:37,300 - DEBUG - No XMPP flaps were noticed during the test
2026-01-27 16:01:37,300 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-01-27 16:01:37,300 - INFO - -------------------------------------------------------------------------------- 2026-01-27 16:01:38,063 - INFO - Deleted project: ctest-TestBasicPolicy-55017827, ID : 4530effb-f9a9-49fb-82f8-207e1e72a704