2026-06-08 02:15:15,682 - INFO - Domain Default found not creating 2026-06-08 02:15:15,869 - INFO - Project ctest-TestBasicPolicy-05697676 not found, creating it 2026-06-08 02:15:16,344 - INFO - Created Project:ctest-TestBasicPolicy-05697676, ID : 8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:17,953 - INFO - ================================================================================ 2026-06-08 02:15:17,953 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-06-08 02:15:17,953 - 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-08 02:15:18,224 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2026-06-08 02:15:18,224 - INFO - Initial checks done. Running the testcase now 2026-06-08 02:15:18,224 - INFO - 2026-06-08 02:15:18,815 - DEBUG - Response for create_network : {'network': {'id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'name': 'ctest-vn-34805020', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-34805020'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:15:18,967 - DEBUG - Response for create_subnet : {'subnet': {'id': '1173d8e1-4e9d-4280-8345-9905e1333dde', 'name': '', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'network_id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'ip_version': 4, 'cidr': '94.200.47.128/26', 'allocation_pools': [{'start': '94.200.47.130', 'end': '94.200.47.190'}], 'gateway_ip': '94.200.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.200.47.130', 'tags': [], 'project_id': '8ff971ecf6f049beb363669ca16325b2'}} 2026-06-08 02:15:18,985 - INFO - Created VN ctest-vn-34805020 2026-06-08 02:15:19,040 - DEBUG - VN ctest-vn-34805020 UUID is 9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:19,344 - DEBUG - Response for create_network : {'network': {'id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'name': 'ctest-vn-87699267', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-87699267'], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:15:19,510 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c8a378a-aeca-4a1a-93e1-af7d733abc3f', 'name': '', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'network_id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'ip_version': 4, 'cidr': '22.219.219.128/26', 'allocation_pools': [{'start': '22.219.219.130', 'end': '22.219.219.190'}], 'gateway_ip': '22.219.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.219.219.130', 'tags': [], 'project_id': '8ff971ecf6f049beb363669ca16325b2'}} 2026-06-08 02:15:19,533 - INFO - Created VN ctest-vn-87699267 2026-06-08 02:15:19,588 - DEBUG - VN ctest-vn-87699267 UUID is c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:19,704 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020, 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-05697676:ctest-vn-87699267, 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-08 02:15:20,030 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c9d6c0b-c14b-406e-9757-111cbb1711fb', 'name': 'ctest-vn-34805020', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1173d8e1-4e9d-4280-8345-9905e1333dde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-34805020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']], 'subnet_ipam': [{'subnet_cidr': '94.200.47.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:15:20,303 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c58dd26a-9b07-44e5-b136-571f765e151b', 'name': 'ctest-vn-87699267', 'tenant_id': '8ff971ecf6f049beb363669ca16325b2', 'project_id': '8ff971ecf6f049beb363669ca16325b2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2c8a378a-aeca-4a1a-93e1-af7d733abc3f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-vn-87699267'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349']], 'subnet_ipam': [{'subnet_cidr': '22.219.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-06-08 02:15:20,460 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:20,756 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:20,788 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:20,802 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:20,878 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:20,890 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:20,898 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:20,906 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:20,913 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/682a08bb-3834-44c5-bfbf-f3a00a1937c3 2026-06-08 02:15:20,921 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:15:20,921 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:20,931 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:20,945 - INFO - Verified VN network id 12 for VN 9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:20,945 - INFO - Verifications in API Server for VN ctest-vn-34805020 passed 2026-06-08 02:15:20,945 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:20,956 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:20,963 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:20,971 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/682a08bb-3834-44c5-bfbf-f3a00a1937c3 2026-06-08 02:15:20,983 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05697676', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11285295039003705454', 'uuid-lslong': '10905203837796553211'}, 'enable': 'true', 'created': '2026-06-08T02:15:18', 'last-modified': '2026-06-08T02:15:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.985783'} 2026-06-08 02:15:20,989 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-06-08 02:15:20,989 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34805020 passed 2026-06-08 02:15:20,989 - DEBUG - ====Verifying policy data for ctest-vn-34805020 in API_Server ====== 2026-06-08 02:15:20,990 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:20,996 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:21,006 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:21,082 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/9c9d6c0b-c14b-406e-9757-111cbb1711fb 2026-06-08 02:15:21,093 - DEBUG - ==>Verifying data for policy with id: 0f53ca04-f320-4064-be10-ac044d8e6bde, fqn: ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349'] 2026-06-08 02:15:21,093 - INFO - VN ctest-vn-34805020 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 02:15:21,093 - DEBUG - Verifying the vn in opserver 2026-06-08 02:15:21,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020 virtual network link through opserver 10.0.0.242 2026-06-08 02:15:21,094 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-08 02:15:21,398 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-08 02:15:21,468 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020?flat'} 2026-06-08 02:15:21,468 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020 is found in opserver 2026-06-08 02:15:21,477 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 02:15:21,481 - DEBUG - VRF ids for VN ctest-vn-34805020: {} 2026-06-08 02:15:21,482 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:21,488 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:21,500 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:21,573 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,585 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,594 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:21,602 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:21,610 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2694a29d-d3cf-43bc-a60b-d7a8e0fe4383 2026-06-08 02:15:21,617 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:15:21,617 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:21,641 - INFO - Verified VN network id 13 for VN c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,641 - INFO - Verifications in API Server for VN ctest-vn-87699267 passed 2026-06-08 02:15:21,641 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,653 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:21,661 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:21,670 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/2694a29d-d3cf-43bc-a60b-d7a8e0fe4383 2026-06-08 02:15:21,684 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-05697676', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14235265352497317093', 'uuid-lslong': '12769489586097100059'}, 'enable': 'true', 'created': '2026-06-08T02:15:19', 'last-modified': '2026-06-08T02:15:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416343'} 2026-06-08 02:15:21,692 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-06-08 02:15:21,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87699267 passed 2026-06-08 02:15:21,693 - DEBUG - ====Verifying policy data for ctest-vn-87699267 in API_Server ====== 2026-06-08 02:15:21,693 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:21,704 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:21,715 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:21,787 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/c58dd26a-9b07-44e5-b136-571f765e151b 2026-06-08 02:15:21,796 - DEBUG - ==>Verifying data for policy with id: 0f53ca04-f320-4064-be10-ac044d8e6bde, fqn: ['default-domain', 'ctest-TestBasicPolicy-05697676', 'ctest-policy-allow-all-59306349'] 2026-06-08 02:15:21,796 - INFO - VN ctest-vn-87699267 Policy verification: verify_vn_policy_in_api_server, status: True 2026-06-08 02:15:21,796 - DEBUG - Verifying the vn in opserver 2026-06-08 02:15:21,796 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267 virtual network link through opserver 10.0.0.242 2026-06-08 02:15:21,796 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-06-08 02:15:21,805 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267?flat'} 2026-06-08 02:15:21,805 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-87699267 is found in opserver 2026-06-08 02:15:21,816 - DEBUG - Do not have enough data to verify VN in agent 2026-06-08 02:15:21,820 - DEBUG - VRF ids for VN ctest-vn-87699267: {} 2026-06-08 02:15:21,887 - DEBUG - Services list from nova: [, , ] 2026-06-08 02:15:23,005 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5900-1) 2026-06-08 02:15:24,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5900-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5900-1) 2026-06-08 02:15:24,295 - INFO - Waiting for VM ctest-TestBasicPolicy-05697676-00520149 to be up.. 2026-06-08 02:15:24,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-08 02:15:29,496 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:15:29,496 - INFO - VM name : ctest-TestBasicPolicy-05697676-00520149 2026-06-08 02:15:29,592 - DEBUG - VM ctest-TestBasicPolicy-05697676-00520149 ID is 4832649d-b9fb-4d80-873f-b96086235065 2026-06-08 02:15:29,617 - DEBUG - VM ctest-TestBasicPolicy-05697676-00520149 launched on Node cn-jenkins-deploy-platform-ansible-os-5900-1 2026-06-08 02:15:29,721 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/4832649d-b9fb-4d80-873f-b96086235065 2026-06-08 02:15:29,732 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/35eca0a0-7750-4722-9f43-0a1049e54c54 2026-06-08 02:15:32,963 - 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 1012ms') 2026-06-08 02:15:32,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05697676-00520149 failed! 2026-06-08 02:15:33,020 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-05697676:ctest-vn-34805020 is 94.200.47.129 and allocation pool is NOT set 2026-06-08 02:15:35,080 - 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=7.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.674 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.674/4.318/7.962/3.644 ms') 2026-06-08 02:15:35,080 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-05697676-00520149 passed 2026-06-08 02:15:35,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:15:35,236 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05697676-00520149, IP 94.200.47.131, Port 22 2026-06-08 02:15:35,391 - DEBUG - VM ctest-TestBasicPolicy-05697676-00520149 is ready for SSH connections 2026-06-08 02:15:35,391 - INFO - Waiting for VM ctest-TestBasicPolicy-05697676-29210979 to be up.. 2026-06-08 02:15:35,488 - DEBUG - VM is in ACTIVE state now 2026-06-08 02:15:35,488 - INFO - VM name : ctest-TestBasicPolicy-05697676-29210979 2026-06-08 02:15:35,588 - DEBUG - VM ctest-TestBasicPolicy-05697676-29210979 ID is 5311cf74-0dd0-46e8-85bd-db1847c3821c 2026-06-08 02:15:35,588 - DEBUG - VM ctest-TestBasicPolicy-05697676-29210979 launched on Node cn-jenkins-deploy-platform-ansible-os-5900-1 2026-06-08 02:15:35,685 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5311cf74-0dd0-46e8-85bd-db1847c3821c 2026-06-08 02:15:35,696 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2d5727f7-93ad-4e43-b61d-6a260a6472ac 2026-06-08 02:15:36,951 - 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=5.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.629/4.304/5.979/1.675 ms') 2026-06-08 02:15:36,952 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-05697676-29210979 passed 2026-06-08 02:15:37,108 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:15:37,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05697676-29210979, IP 22.219.219.131, Port 22 2026-06-08 02:15:37,175 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-06-08 02:15:37,253 - DEBUG - VM ctest-TestBasicPolicy-05697676-29210979 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-08 02:15:42,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:15:42,255 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-05697676-29210979, IP 22.219.219.131, Port 22 2026-06-08 02:15:42,411 - DEBUG - VM ctest-TestBasicPolicy-05697676-29210979 is ready for SSH connections 2026-06-08 02:15:42,411 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:15:42,411 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.219.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:15:42,411 - DEBUG - ping -s 56 -c 3 -W 1 22.219.219.131 2026-06-08 02:15:46,542 - DEBUG - PING 22.219.219.131 (22.219.219.131): 56 data bytes 64 bytes from 22.219.219.131: seq=0 ttl=63 time=6.129 ms 64 bytes from 22.219.219.131: seq=1 ttl=63 time=1.146 ms 64 bytes from 22.219.219.131: seq=2 ttl=63 time=0.920 ms --- 22.219.219.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.920/2.731/6.129 ms 2026-06-08 02:15:46,542 - INFO - Ping to IP 22.219.219.131 from VM ctest-TestBasicPolicy-05697676-00520149 passed 2026-06-08 02:15:46,719 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0f53ca04-f320-4064-be10-ac044d8e6bde", "href": "http://10.0.0.242:8082/network-policy/0f53ca04-f320-4064-be10-ac044d8e6bde"}} 2026-06-08 02:15:46,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-08 02:15:46,720 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.219.219.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-06-08 02:15:46,720 - DEBUG - ping -s 56 -c 3 -W 1 22.219.219.131 2026-06-08 02:15:49,935 - DEBUG - PING 22.219.219.131 (22.219.219.131): 56 data bytes --- 22.219.219.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-08 02:15:49,936 - WARNING - Ping to IP 22.219.219.131 from VM ctest-TestBasicPolicy-05697676-00520149 failed 2026-06-08 02:15:49,936 - INFO - Deleting VM ctest-TestBasicPolicy-05697676-29210979 2026-06-08 02:15:50,013 - INFO - Deleting VM ctest-TestBasicPolicy-05697676-00520149 2026-06-08 02:15:50,472 - INFO - Deleted policy ctest-policy-allow-all-59306349 2026-06-08 02:15:50,472 - INFO - Deleting VN ctest-vn-87699267 2026-06-08 02:15:50,512 - DEBUG - VN c58dd26a-9b07-44e5-b136-571f765e151b still in use: Unable to complete operation on network c58dd26a-9b07-44e5-b136-571f765e151b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-333ed96e-2806-4c24-84d1-9f948131ff03'] 2026-06-08 02:15:50,513 - WARNING - Deleting VN ctest-vn-87699267 failed..Will retry 2026-06-08 02:15:52,643 - DEBUG - Response for deleting network () 2026-06-08 02:15:52,643 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/c4e975c5-d948-46f9-840e-93663eab770b 2026-06-08 02:15:52,652 - DEBUG - Response Code: 404 2026-06-08 02:15:52,653 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:52,658 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:52,714 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:52,788 - INFO - Validated that VN ctest-vn-87699267 is not found in API Server 2026-06-08 02:15:52,797 - DEBUG - VN ctest-vn-87699267 is not present in Agent 10.0.0.242 2026-06-08 02:15:52,797 - INFO - Validated that VN ctest-vn-87699267 is not in any agent 2026-06-08 02:15:52,811 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-87699267 info 2026-06-08 02:15:52,811 - INFO - Deleting VN ctest-vn-34805020 2026-06-08 02:15:52,926 - DEBUG - Response for deleting network () 2026-06-08 02:15:52,926 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/fa25e156-3bef-42c3-9abe-b6774f181df1 2026-06-08 02:15:52,934 - DEBUG - Response Code: 404 2026-06-08 02:15:52,934 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-06-08 02:15:52,940 - DEBUG - Requesting: http://10.0.0.242:8082/domain/d61a3bfc-6d2d-4d26-b970-fd9b14d402cf 2026-06-08 02:15:52,994 - DEBUG - Requesting: http://10.0.0.242:8082/project/8ff971ec-f6f0-49be-b363-669ca16325b2 2026-06-08 02:15:53,071 - INFO - Validated that VN ctest-vn-34805020 is not found in API Server 2026-06-08 02:15:53,084 - DEBUG - VN ctest-vn-34805020 is not present in Agent 10.0.0.242 2026-06-08 02:15:53,084 - INFO - Validated that VN ctest-vn-34805020 is not in any agent 2026-06-08 02:15:53,101 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-34805020 info 2026-06-08 02:15:53,353 - DEBUG - No XMPP flaps were noticed during the test
2026-06-08 02:15:53,353 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-06-08 02:15:53,353 - INFO - -------------------------------------------------------------------------------- 2026-06-08 02:15:54,058 - INFO - Deleted project: ctest-TestBasicPolicy-05697676, ID : 8ff971ec-f6f0-49be-b363-669ca16325b2