2026-04-21 10:00:26,024 - INFO - Domain Default found not creating 2026-04-21 10:00:26,268 - INFO - Project ctest-TestBasicPolicy-55307537 not found, creating it 2026-04-21 10:00:26,750 - INFO - Created Project:ctest-TestBasicPolicy-55307537, ID : 92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:00:28,437 - INFO - ================================================================================ 2026-04-21 10:00:28,438 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-21 10:00:28,438 - 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-04-21 10:00:28,713 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-21 10:00:28,713 - INFO - Initial checks done. Running the testcase now 2026-04-21 10:00:28,713 - INFO - 2026-04-21 10:00:29,366 - DEBUG - Response for create_network : {'network': {'id': 'c58fa024-539b-43bc-ab2e-070e66c6c49d', 'name': 'ctest-vn-06906218', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'project_id': '92fadb139be64121a27d4bd8a75d606b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-vn-06906218'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 10:00:29,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '9331ea0d-ed49-45a4-a3e6-f01aef4a131e', 'name': '', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'network_id': 'c58fa024-539b-43bc-ab2e-070e66c6c49d', 'ip_version': 4, 'cidr': '189.240.92.192/26', 'allocation_pools': [{'start': '189.240.92.194', 'end': '189.240.92.254'}], 'gateway_ip': '189.240.92.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '189.240.92.194', 'tags': [], 'project_id': '92fadb139be64121a27d4bd8a75d606b'}} 2026-04-21 10:00:29,643 - INFO - Created VN ctest-vn-06906218 2026-04-21 10:00:29,697 - DEBUG - VN ctest-vn-06906218 UUID is c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:30,010 - DEBUG - Response for create_network : {'network': {'id': 'b8d5a59c-0167-43a8-82ac-d3db4e0d21d8', 'name': 'ctest-vn-92318588', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'project_id': '92fadb139be64121a27d4bd8a75d606b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-vn-92318588'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 10:00:30,190 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a7d819e1-78c3-4b85-aa47-8ac4e4b4436d', 'name': '', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'network_id': 'b8d5a59c-0167-43a8-82ac-d3db4e0d21d8', 'ip_version': 4, 'cidr': '141.37.199.64/26', 'allocation_pools': [{'start': '141.37.199.66', 'end': '141.37.199.126'}], 'gateway_ip': '141.37.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.37.199.66', 'tags': [], 'project_id': '92fadb139be64121a27d4bd8a75d606b'}} 2026-04-21 10:00:30,211 - INFO - Created VN ctest-vn-92318588 2026-04-21 10:00:30,265 - DEBUG - VN ctest-vn-92318588 UUID is b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:30,401 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218, 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-55307537:ctest-vn-92318588, 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-04-21 10:00:30,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c58fa024-539b-43bc-ab2e-070e66c6c49d', 'name': 'ctest-vn-06906218', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'project_id': '92fadb139be64121a27d4bd8a75d606b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9331ea0d-ed49-45a4-a3e6-f01aef4a131e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-vn-06906218'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-policy-allow-all-91262384']], 'subnet_ipam': [{'subnet_cidr': '189.240.92.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 10:00:30,966 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b8d5a59c-0167-43a8-82ac-d3db4e0d21d8', 'name': 'ctest-vn-92318588', 'tenant_id': '92fadb139be64121a27d4bd8a75d606b', 'project_id': '92fadb139be64121a27d4bd8a75d606b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a7d819e1-78c3-4b85-aa47-8ac4e4b4436d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-vn-92318588'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-policy-allow-all-91262384']], 'subnet_ipam': [{'subnet_cidr': '141.37.199.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 10:00:31,126 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:00:31,439 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:00:31,493 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:00:31,512 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:00:31,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,613 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,628 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:00:31,638 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:00:31,648 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/acc2a3c5-26cb-4688-97ca-707fa3fcdc4d 2026-04-21 10:00:31,656 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 10:00:31,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,669 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:00:31,687 - INFO - Verified VN network id 12 for VN c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,688 - INFO - Verifications in API Server for VN ctest-vn-06906218 passed 2026-04-21 10:00:31,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:00:31,714 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:00:31,722 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/acc2a3c5-26cb-4688-97ca-707fa3fcdc4d 2026-04-21 10:00:31,736 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55307537', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14235773025023378364', 'uuid-lslong': '12334804187849606301'}, 'enable': 'true', 'created': '2026-04-21T10:00:29', 'last-modified': '2026-04-21T10:00:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.049955'} 2026-04-21 10:00:31,744 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 10:00:31,744 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06906218 passed 2026-04-21 10:00:31,744 - DEBUG - ====Verifying policy data for ctest-vn-06906218 in API_Server ====== 2026-04-21 10:00:31,744 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:00:31,764 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:00:31,775 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:00:31,864 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c58fa024-539b-43bc-ab2e-070e66c6c49d 2026-04-21 10:00:31,876 - DEBUG - ==>Verifying data for policy with id: c1b3d3da-b19c-4296-8ecf-17645ece8601, fqn: ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-policy-allow-all-91262384'] 2026-04-21 10:00:31,877 - INFO - VN ctest-vn-06906218 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 10:00:31,877 - DEBUG - Verifying the vn in opserver 2026-04-21 10:00:31,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218 virtual network link through opserver 10.0.0.38 2026-04-21 10:00:31,877 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 10:00:32,205 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 10:00:32,371 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218?flat'} 2026-04-21 10:00:32,371 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218 is found in opserver 2026-04-21 10:00:32,382 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 10:00:32,387 - DEBUG - VRF ids for VN ctest-vn-06906218: {} 2026-04-21 10:00:32,388 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:00:32,410 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:00:32,456 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:00:32,561 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:32,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:32,615 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:00:32,630 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:00:32,644 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37fd1f33-a9e1-47ea-87f3-405e36b0dd98 2026-04-21 10:00:32,674 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 10:00:32,674 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:32,691 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:00:32,727 - INFO - Verified VN network id 13 for VN b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:32,728 - INFO - Verifications in API Server for VN ctest-vn-92318588 passed 2026-04-21 10:00:32,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:32,739 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:00:32,753 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:00:32,779 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37fd1f33-a9e1-47ea-87f3-405e36b0dd98 2026-04-21 10:00:32,805 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-92318588', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55307537', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13318733562475135912', 'uuid-lslong': '9416133859785646552'}, 'enable': 'true', 'created': '2026-04-21T10:00:29', 'last-modified': '2026-04-21T10:00:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.869930'} 2026-04-21 10:00:32,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 10:00:32,815 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92318588 passed 2026-04-21 10:00:32,815 - DEBUG - ====Verifying policy data for ctest-vn-92318588 in API_Server ====== 2026-04-21 10:00:32,815 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:00:32,832 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:00:32,895 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:00:33,002 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 2026-04-21 10:00:33,014 - DEBUG - ==>Verifying data for policy with id: c1b3d3da-b19c-4296-8ecf-17645ece8601, fqn: ['default-domain', 'ctest-TestBasicPolicy-55307537', 'ctest-policy-allow-all-91262384'] 2026-04-21 10:00:33,014 - INFO - VN ctest-vn-92318588 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 10:00:33,014 - DEBUG - Verifying the vn in opserver 2026-04-21 10:00:33,014 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-92318588 virtual network link through opserver 10.0.0.38 2026-04-21 10:00:33,014 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-04-21 10:00:33,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-92318588', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-92318588?flat'} 2026-04-21 10:00:33,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-92318588 is found in opserver 2026-04-21 10:00:33,055 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 10:00:33,071 - DEBUG - VRF ids for VN ctest-vn-92318588: {} 2026-04-21 10:00:33,152 - DEBUG - Services list from nova: [, , ] 2026-04-21 10:00:34,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5658-1) 2026-04-21 10:00:35,611 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5658-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5658-1) 2026-04-21 10:00:35,611 - INFO - Waiting for VM ctest-TestBasicPolicy-55307537-29868036 to be up.. 2026-04-21 10:00:35,702 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 10:00:40,793 - DEBUG - VM is in ACTIVE state now 2026-04-21 10:00:40,793 - INFO - VM name : ctest-TestBasicPolicy-55307537-29868036 2026-04-21 10:00:40,887 - DEBUG - VM ctest-TestBasicPolicy-55307537-29868036 ID is dbdb5bb1-93ef-495f-b75b-56929bec0038 2026-04-21 10:00:40,912 - DEBUG - VM ctest-TestBasicPolicy-55307537-29868036 launched on Node cn-jenkins-deploy-platform-ansible-os-5658-1 2026-04-21 10:00:41,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/dbdb5bb1-93ef-495f-b75b-56929bec0038 2026-04-21 10:00:41,023 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/38f85eff-c2f0-42b4-bafb-75fe3934194c 2026-04-21 10:00:44,282 - 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 1005ms') 2026-04-21 10:00:44,282 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55307537-29868036 failed! 2026-04-21 10:00:44,354 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-55307537:ctest-vn-06906218 is 189.240.92.193 and allocation pool is NOT set 2026-04-21 10:00:46,416 - 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.71 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.47 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.467/4.088/4.710/0.621 ms') 2026-04-21 10:00:46,416 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-55307537-29868036 passed 2026-04-21 10:00:46,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:46,574 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55307537-29868036, IP 189.240.92.195, Port 22 2026-04-21 10:00:46,645 - 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-04-21 10:00:46,859 - DEBUG - VM ctest-TestBasicPolicy-55307537-29868036 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-21 10:00:51,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:51,860 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55307537-29868036, IP 189.240.92.195, Port 22 2026-04-21 10:00:52,029 - DEBUG - VM ctest-TestBasicPolicy-55307537-29868036 is ready for SSH connections 2026-04-21 10:00:52,030 - INFO - Waiting for VM ctest-TestBasicPolicy-55307537-17911708 to be up.. 2026-04-21 10:00:52,118 - DEBUG - VM is in ACTIVE state now 2026-04-21 10:00:52,118 - INFO - VM name : ctest-TestBasicPolicy-55307537-17911708 2026-04-21 10:00:52,213 - DEBUG - VM ctest-TestBasicPolicy-55307537-17911708 ID is 740cb4e9-2d97-4f79-a6ef-f623e6ef7c89 2026-04-21 10:00:52,213 - DEBUG - VM ctest-TestBasicPolicy-55307537-17911708 launched on Node cn-jenkins-deploy-platform-ansible-os-5658-1 2026-04-21 10:00:52,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/740cb4e9-2d97-4f79-a6ef-f623e6ef7c89 2026-04-21 10:00:52,318 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d5fefe05-9413-4b62-b455-2c2e7a49ba55 2026-04-21 10:00:53,575 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.731 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.731/2.520/4.309/1.789 ms') 2026-04-21 10:00:53,575 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-55307537-17911708 passed 2026-04-21 10:00:53,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:53,730 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-55307537-17911708, IP 141.37.199.67, Port 22 2026-04-21 10:00:53,896 - DEBUG - VM ctest-TestBasicPolicy-55307537-17911708 is ready for SSH connections 2026-04-21 10:00:53,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:53,897 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.37.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-21 10:00:53,897 - DEBUG - ping -s 56 -c 3 -W 1 141.37.199.67 2026-04-21 10:00:58,024 - DEBUG - PING 141.37.199.67 (141.37.199.67): 56 data bytes 64 bytes from 141.37.199.67: seq=0 ttl=63 time=4.504 ms 64 bytes from 141.37.199.67: seq=1 ttl=63 time=1.440 ms 64 bytes from 141.37.199.67: seq=2 ttl=63 time=1.365 ms --- 141.37.199.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.365/2.436/4.504 ms 2026-04-21 10:00:58,024 - INFO - Ping to IP 141.37.199.67 from VM ctest-TestBasicPolicy-55307537-29868036 passed 2026-04-21 10:00:58,225 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c1b3d3da-b19c-4296-8ecf-17645ece8601", "href": "http://10.0.0.38:8082/network-policy/c1b3d3da-b19c-4296-8ecf-17645ece8601"}} 2026-04-21 10:00:58,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 10:00:58,226 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 141.37.199.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-21 10:00:58,226 - DEBUG - ping -s 56 -c 3 -W 1 141.37.199.67 2026-04-21 10:01:01,452 - DEBUG - PING 141.37.199.67 (141.37.199.67): 56 data bytes --- 141.37.199.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-21 10:01:01,452 - WARNING - Ping to IP 141.37.199.67 from VM ctest-TestBasicPolicy-55307537-29868036 failed 2026-04-21 10:01:01,452 - INFO - Deleting VM ctest-TestBasicPolicy-55307537-17911708 2026-04-21 10:01:01,562 - INFO - Deleting VM ctest-TestBasicPolicy-55307537-29868036 2026-04-21 10:01:02,111 - INFO - Deleted policy ctest-policy-allow-all-91262384 2026-04-21 10:01:02,111 - INFO - Deleting VN ctest-vn-92318588 2026-04-21 10:01:02,165 - DEBUG - VN b8d5a59c-0167-43a8-82ac-d3db4e0d21d8 still in use: Unable to complete operation on network b8d5a59c-0167-43a8-82ac-d3db4e0d21d8. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7e985f7d-17f0-43cc-b8e8-79a3b5bc723f'] 2026-04-21 10:01:02,165 - WARNING - Deleting VN ctest-vn-92318588 failed..Will retry 2026-04-21 10:01:04,354 - DEBUG - Response for deleting network () 2026-04-21 10:01:04,354 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/42eeb49d-0096-4e18-b585-c8cb7386c27b 2026-04-21 10:01:04,367 - DEBUG - Response Code: 404 2026-04-21 10:01:04,367 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:01:04,375 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:01:04,433 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:01:04,510 - INFO - Validated that VN ctest-vn-92318588 is not found in API Server 2026-04-21 10:01:04,520 - DEBUG - VN ctest-vn-92318588 is not present in Agent 10.0.0.38 2026-04-21 10:01:04,520 - INFO - Validated that VN ctest-vn-92318588 is not in any agent 2026-04-21 10:01:04,536 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-92318588 info 2026-04-21 10:01:04,536 - INFO - Deleting VN ctest-vn-06906218 2026-04-21 10:01:04,659 - DEBUG - Response for deleting network () 2026-04-21 10:01:04,659 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f119197-ecbc-4624-a84c-007389f72c42 2026-04-21 10:01:04,667 - DEBUG - Response Code: 404 2026-04-21 10:01:04,667 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-04-21 10:01:04,674 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f9ef1414-5d8a-4c7b-a71e-d0b6e1ef50ce 2026-04-21 10:01:04,727 - DEBUG - Requesting: http://10.0.0.38:8082/project/92fadb13-9be6-4121-a27d-4bd8a75d606b 2026-04-21 10:01:04,802 - INFO - Validated that VN ctest-vn-06906218 is not found in API Server 2026-04-21 10:01:04,814 - DEBUG - VN ctest-vn-06906218 is not present in Agent 10.0.0.38 2026-04-21 10:01:04,814 - INFO - Validated that VN ctest-vn-06906218 is not in any agent 2026-04-21 10:01:04,830 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-06906218 info 2026-04-21 10:01:05,090 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 10:01:05,090 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:37] 2026-04-21 10:01:05,090 - INFO - -------------------------------------------------------------------------------- 2026-04-21 10:01:05,866 - INFO - Deleted project: ctest-TestBasicPolicy-55307537, ID : 92fadb13-9be6-4121-a27d-4bd8a75d606b