2026-07-10 20:00:16,759 - INFO - Domain Default found not creating 2026-07-10 20:00:16,907 - INFO - Project ctest-TestBasicPolicy-65584547 not found, creating it 2026-07-10 20:00:17,354 - INFO - Created Project:ctest-TestBasicPolicy-65584547, ID : ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:18,847 - INFO - ================================================================================ 2026-07-10 20:00:18,847 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-10 20:00:18,847 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-07-10 20:00:19,106 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-07-10 20:00:19,106 - INFO - Initial checks done. Running the testcase now 2026-07-10 20:00:19,106 - INFO - 2026-07-10 20:00:19,638 - DEBUG - Response for create_network : {'network': {'id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'name': 'ctest-vn-19357821', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-19357821'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:00:19,814 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abb64d43-eb1b-4812-9dc1-764029b139b2', 'name': '', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'network_id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'ip_version': 4, 'cidr': '164.229.3.128/26', 'allocation_pools': [{'start': '164.229.3.130', 'end': '164.229.3.190'}], 'gateway_ip': '164.229.3.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.229.3.130', 'tags': [], 'project_id': 'ca980e10409349dbb49f9368313aebd0'}} 2026-07-10 20:00:19,829 - INFO - Created VN ctest-vn-19357821 2026-07-10 20:00:19,881 - DEBUG - VN ctest-vn-19357821 UUID is 94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:20,194 - DEBUG - Response for create_network : {'network': {'id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'name': 'ctest-vn-58005484', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-58005484'], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:00:20,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '55778f79-f3f7-47cd-9981-79f8ddde715d', 'name': '', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'network_id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'ip_version': 4, 'cidr': '205.160.125.128/26', 'allocation_pools': [{'start': '205.160.125.130', 'end': '205.160.125.190'}], 'gateway_ip': '205.160.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.160.125.130', 'tags': [], 'project_id': 'ca980e10409349dbb49f9368313aebd0'}} 2026-07-10 20:00:20,377 - INFO - Created VN ctest-vn-58005484 2026-07-10 20:00:20,429 - DEBUG - VN ctest-vn-58005484 UUID is 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:20,577 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821, 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-65584547:ctest-vn-58005484, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-07-10 20:00:20,867 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94341e00-1789-41b9-80f5-5fb7b66641b3', 'name': 'ctest-vn-19357821', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['abb64d43-eb1b-4812-9dc1-764029b139b2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-19357821'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']], 'subnet_ipam': [{'subnet_cidr': '164.229.3.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:00:21,093 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1deb3d9b-b2c9-4453-8922-941a9a5c8c5b', 'name': 'ctest-vn-58005484', 'tenant_id': 'ca980e10409349dbb49f9368313aebd0', 'project_id': 'ca980e10409349dbb49f9368313aebd0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['55778f79-f3f7-47cd-9981-79f8ddde715d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-vn-58005484'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271']], 'subnet_ipam': [{'subnet_cidr': '205.160.125.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-10 20:00:21,253 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:21,573 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:21,603 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:21,614 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:21,682 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,693 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,701 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:21,709 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:21,715 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f515079-ac16-4cce-bf4d-38ab1b77951b 2026-07-10 20:00:21,721 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 20:00:21,721 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,729 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:21,742 - INFO - Verified VN network id 12 for VN 94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,742 - INFO - Verifications in API Server for VN ctest-vn-19357821 passed 2026-07-10 20:00:21,743 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:21,759 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:21,766 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1f515079-ac16-4cce-bf4d-38ab1b77951b 2026-07-10 20:00:21,776 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10679193602145993145', 'uuid-lslong': '9292438648792695219'}, 'enable': 'true', 'created': '2026-07-10T20:00:19', 'last-modified': '2026-07-10T20:00:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930819'} 2026-07-10 20:00:21,783 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-10 20:00:21,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-19357821 passed 2026-07-10 20:00:21,783 - DEBUG - ====Verifying policy data for ctest-vn-19357821 in API_Server ====== 2026-07-10 20:00:21,783 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:21,788 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:21,798 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:21,868 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/94341e00-1789-41b9-80f5-5fb7b66641b3 2026-07-10 20:00:21,877 - DEBUG - ==>Verifying data for policy with id: 9cf7b029-99a0-4ec7-9c2b-112aad156dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271'] 2026-07-10 20:00:21,877 - INFO - VN ctest-vn-19357821 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 20:00:21,877 - DEBUG - Verifying the vn in opserver 2026-07-10 20:00:21,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821 virtual network link through opserver 10.0.0.50 2026-07-10 20:00:21,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-10 20:00:22,201 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-10 20:00:22,252 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821?flat'} 2026-07-10 20:00:22,253 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821 is found in opserver 2026-07-10 20:00:22,265 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 20:00:22,271 - DEBUG - VRF ids for VN ctest-vn-19357821: {} 2026-07-10 20:00:22,271 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:22,276 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:22,285 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:22,354 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,376 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:22,383 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:22,389 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be3b7218-daf3-4da8-a7bc-acbf31395c31 2026-07-10 20:00:22,397 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 20:00:22,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,405 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:22,419 - INFO - Verified VN network id 13 for VN 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,419 - INFO - Verifications in API Server for VN ctest-vn-58005484 passed 2026-07-10 20:00:22,419 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,443 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:22,470 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:22,482 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/be3b7218-daf3-4da8-a7bc-acbf31395c31 2026-07-10 20:00:22,502 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-65584547', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2155884585555674195', 'uuid-lslong': '9881623374384106587'}, 'enable': 'true', 'created': '2026-07-10T20:00:20', 'last-modified': '2026-07-10T20:00:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.433119'} 2026-07-10 20:00:22,512 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-10 20:00:22,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58005484 passed 2026-07-10 20:00:22,512 - DEBUG - ====Verifying policy data for ctest-vn-58005484 in API_Server ====== 2026-07-10 20:00:22,512 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:22,556 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:22,621 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:22,711 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/1deb3d9b-b2c9-4453-8922-941a9a5c8c5b 2026-07-10 20:00:22,729 - DEBUG - ==>Verifying data for policy with id: 9cf7b029-99a0-4ec7-9c2b-112aad156dc1, fqn: ['default-domain', 'ctest-TestBasicPolicy-65584547', 'ctest-policy-allow-all-47184271'] 2026-07-10 20:00:22,729 - INFO - VN ctest-vn-58005484 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-10 20:00:22,730 - DEBUG - Verifying the vn in opserver 2026-07-10 20:00:22,730 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484 virtual network link through opserver 10.0.0.50 2026-07-10 20:00:22,730 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-07-10 20:00:22,742 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484?flat'} 2026-07-10 20:00:22,742 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-58005484 is found in opserver 2026-07-10 20:00:22,751 - DEBUG - Do not have enough data to verify VN in agent 2026-07-10 20:00:22,755 - DEBUG - VRF ids for VN ctest-vn-58005484: {} 2026-07-10 20:00:22,816 - DEBUG - Services list from nova: [, , ] 2026-07-10 20:00:23,254 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6092-1) 2026-07-10 20:00:23,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6092-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6092-1) 2026-07-10 20:00:23,661 - INFO - Waiting for VM ctest-TestBasicPolicy-65584547-39605790 to be up.. 2026-07-10 20:00:23,704 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:00:28,783 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-10 20:00:33,852 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:00:33,852 - INFO - VM name : ctest-TestBasicPolicy-65584547-39605790 2026-07-10 20:00:33,919 - DEBUG - VM ctest-TestBasicPolicy-65584547-39605790 ID is c00f422d-6fa8-4547-92f5-3f608ccc8436 2026-07-10 20:00:33,944 - DEBUG - VM ctest-TestBasicPolicy-65584547-39605790 launched on Node cn-jenkins-deploy-platform-ansible-os-6092-1 2026-07-10 20:00:34,018 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c00f422d-6fa8-4547-92f5-3f608ccc8436 2026-07-10 20:00:34,042 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ffa341a0-6431-427c-bc02-3c85150a4ad4 2026-07-10 20:00:37,300 - 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 1011ms') 2026-07-10 20:00:37,301 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65584547-39605790 failed! 2026-07-10 20:00:37,361 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-65584547:ctest-vn-19357821 is 164.229.3.129 and allocation pool is NOT set 2026-07-10 20:00:39,419 - 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.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.399 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.399/4.833/9.267/4.434 ms') 2026-07-10 20:00:39,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-65584547-39605790 passed 2026-07-10 20:00:39,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:00:39,569 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65584547-39605790, IP 164.229.3.131, Port 22 2026-07-10 20:00:39,635 - 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-07-10 20:00:39,704 - DEBUG - VM ctest-TestBasicPolicy-65584547-39605790 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-10 20:00:44,704 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:00:44,704 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65584547-39605790, IP 164.229.3.131, Port 22 2026-07-10 20:00:44,874 - DEBUG - VM ctest-TestBasicPolicy-65584547-39605790 is ready for SSH connections 2026-07-10 20:00:44,874 - INFO - Waiting for VM ctest-TestBasicPolicy-65584547-91645500 to be up.. 2026-07-10 20:00:44,960 - DEBUG - VM is in ACTIVE state now 2026-07-10 20:00:44,960 - INFO - VM name : ctest-TestBasicPolicy-65584547-91645500 2026-07-10 20:00:45,036 - DEBUG - VM ctest-TestBasicPolicy-65584547-91645500 ID is a3395091-4796-4119-95c6-d5222adf7fc1 2026-07-10 20:00:45,036 - DEBUG - VM ctest-TestBasicPolicy-65584547-91645500 launched on Node cn-jenkins-deploy-platform-ansible-os-6092-1 2026-07-10 20:00:45,105 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a3395091-4796-4119-95c6-d5222adf7fc1 2026-07-10 20:00:45,114 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ae6429c4-0608-4803-8a48-0fe6808d8d1d 2026-07-10 20:00:46,341 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.420 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.420/2.295/4.171/1.875 ms') 2026-07-10 20:00:46,342 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-65584547-91645500 passed 2026-07-10 20:00:46,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:00:46,489 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-65584547-91645500, IP 205.160.125.131, Port 22 2026-07-10 20:00:46,655 - DEBUG - VM ctest-TestBasicPolicy-65584547-91645500 is ready for SSH connections 2026-07-10 20:00:46,655 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:00:46,656 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.160.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-10 20:00:46,656 - DEBUG - ping -s 56 -c 3 -W 1 205.160.125.131 2026-07-10 20:00:50,565 - DEBUG - PING 205.160.125.131 (205.160.125.131): 56 data bytes 64 bytes from 205.160.125.131: seq=0 ttl=63 time=4.804 ms 64 bytes from 205.160.125.131: seq=1 ttl=63 time=1.111 ms 64 bytes from 205.160.125.131: seq=2 ttl=63 time=1.213 ms --- 205.160.125.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.111/2.376/4.804 ms 2026-07-10 20:00:50,565 - INFO - Ping to IP 205.160.125.131 from VM ctest-TestBasicPolicy-65584547-39605790 passed 2026-07-10 20:00:50,737 - DEBUG - Policy Update Response {"network-policy": {"uuid": "9cf7b029-99a0-4ec7-9c2b-112aad156dc1", "href": "http://10.0.0.50:8082/network-policy/9cf7b029-99a0-4ec7-9c2b-112aad156dc1"}} 2026-07-10 20:00:50,737 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-10 20:00:50,737 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.160.125.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-07-10 20:00:50,737 - DEBUG - ping -s 56 -c 3 -W 1 205.160.125.131 2026-07-10 20:00:53,859 - DEBUG - PING 205.160.125.131 (205.160.125.131): 56 data bytes --- 205.160.125.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-07-10 20:00:53,860 - WARNING - Ping to IP 205.160.125.131 from VM ctest-TestBasicPolicy-65584547-39605790 failed 2026-07-10 20:00:53,860 - INFO - Deleting VM ctest-TestBasicPolicy-65584547-91645500 2026-07-10 20:00:53,926 - INFO - Deleting VM ctest-TestBasicPolicy-65584547-39605790 2026-07-10 20:00:54,250 - INFO - Deleted policy ctest-policy-allow-all-47184271 2026-07-10 20:00:54,250 - INFO - Deleting VN ctest-vn-58005484 2026-07-10 20:00:54,276 - DEBUG - VN 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b still in use: Unable to complete operation on network 1deb3d9b-b2c9-4453-8922-941a9a5c8c5b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-46fe8ddb-1da8-4b93-b92a-981fa978800d'] 2026-07-10 20:00:54,276 - WARNING - Deleting VN ctest-vn-58005484 failed..Will retry 2026-07-10 20:00:56,373 - DEBUG - Response for deleting network () 2026-07-10 20:00:56,373 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/994fd013-d5b9-4caf-8216-b252a146623e 2026-07-10 20:00:56,382 - DEBUG - Response Code: 404 2026-07-10 20:00:56,383 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:56,390 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:56,443 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:56,513 - INFO - Validated that VN ctest-vn-58005484 is not found in API Server 2026-07-10 20:00:56,523 - DEBUG - VN ctest-vn-58005484 is not present in Agent 10.0.0.50 2026-07-10 20:00:56,523 - INFO - Validated that VN ctest-vn-58005484 is not in any agent 2026-07-10 20:00:56,535 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58005484 info 2026-07-10 20:00:56,535 - INFO - Deleting VN ctest-vn-19357821 2026-07-10 20:00:56,624 - DEBUG - Response for deleting network () 2026-07-10 20:00:56,624 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/2de6c69f-113d-4fb6-aefe-20dac008d5cd 2026-07-10 20:00:56,630 - DEBUG - Response Code: 404 2026-07-10 20:00:56,631 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-07-10 20:00:56,635 - DEBUG - Requesting: http://10.0.0.50:8082/domain/c626fe5f-6b66-4953-b8e0-704f2f70f9dc 2026-07-10 20:00:56,685 - DEBUG - Requesting: http://10.0.0.50:8082/project/ca980e10-4093-49db-b49f-9368313aebd0 2026-07-10 20:00:56,753 - INFO - Validated that VN ctest-vn-19357821 is not found in API Server 2026-07-10 20:00:56,763 - DEBUG - VN ctest-vn-19357821 is not present in Agent 10.0.0.50 2026-07-10 20:00:56,763 - INFO - Validated that VN ctest-vn-19357821 is not in any agent 2026-07-10 20:00:56,776 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-19357821 info 2026-07-10 20:00:57,029 - DEBUG - No XMPP flaps were noticed during the test
2026-07-10 20:00:57,029 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-07-10 20:00:57,029 - INFO - -------------------------------------------------------------------------------- 2026-07-10 20:00:57,717 - INFO - Deleted project: ctest-TestBasicPolicy-65584547, ID : ca980e10-4093-49db-b49f-9368313aebd0