2026-02-04 06:31:03,840 - INFO - Domain Default found not creating 2026-02-04 06:31:04,022 - INFO - Project ctest-TestBasicPolicy-62688714 not found, creating it 2026-02-04 06:31:04,508 - INFO - Created Project:ctest-TestBasicPolicy-62688714, ID : b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:06,165 - INFO - ================================================================================ 2026-02-04 06:31:06,165 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-04 06:31:06,165 - 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-02-04 06:31:06,424 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-04 06:31:06,424 - INFO - Initial checks done. Running the testcase now 2026-02-04 06:31:06,424 - INFO - 2026-02-04 06:31:06,944 - DEBUG - Response for create_network : {'network': {'id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'name': 'ctest-vn-37772363', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-37772363'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 06:31:07,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '1edbd5d7-db4a-4b83-9647-f645ff59ac2a', 'name': '', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'network_id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'ip_version': 4, 'cidr': '88.213.68.128/26', 'allocation_pools': [{'start': '88.213.68.130', 'end': '88.213.68.190'}], 'gateway_ip': '88.213.68.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.213.68.130', 'tags': [], 'project_id': 'b3d7d571081946c69b102d9cae8d8081'}} 2026-02-04 06:31:07,125 - INFO - Created VN ctest-vn-37772363 2026-02-04 06:31:07,179 - DEBUG - VN ctest-vn-37772363 UUID is 79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:07,469 - DEBUG - Response for create_network : {'network': {'id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'name': 'ctest-vn-00275729', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-00275729'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 06:31:07,676 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf525353-1986-4a45-805d-4c1d696d97ae', 'name': '', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'network_id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'ip_version': 4, 'cidr': '162.203.69.64/26', 'allocation_pools': [{'start': '162.203.69.66', 'end': '162.203.69.126'}], 'gateway_ip': '162.203.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.203.69.66', 'tags': [], 'project_id': 'b3d7d571081946c69b102d9cae8d8081'}} 2026-02-04 06:31:07,697 - INFO - Created VN ctest-vn-00275729 2026-02-04 06:31:07,751 - DEBUG - VN ctest-vn-00275729 UUID is fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:07,865 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363, 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-62688714:ctest-vn-00275729, 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-02-04 06:31:08,153 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '79bd1aae-81bb-48a1-93c0-0791bd23af77', 'name': 'ctest-vn-37772363', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1edbd5d7-db4a-4b83-9647-f645ff59ac2a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-37772363'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']], 'subnet_ipam': [{'subnet_cidr': '88.213.68.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 06:31:08,400 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcf992f5-60f6-4745-a290-4b04268bbba7', 'name': 'ctest-vn-00275729', 'tenant_id': 'b3d7d571081946c69b102d9cae8d8081', 'project_id': 'b3d7d571081946c69b102d9cae8d8081', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bf525353-1986-4a45-805d-4c1d696d97ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-vn-00275729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338']], 'subnet_ipam': [{'subnet_cidr': '162.203.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-04 06:31:08,559 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:08,860 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:08,891 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:08,903 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:08,972 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:08,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:08,995 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:09,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:09,008 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eabce1a8-5dac-485b-bd65-36fc495f7499 2026-02-04 06:31:09,016 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 06:31:09,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:09,028 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:09,044 - INFO - Verified VN network id 12 for VN 79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:09,044 - INFO - Verifications in API Server for VN ctest-vn-37772363 passed 2026-02-04 06:31:09,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:09,053 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:09,061 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:09,069 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/eabce1a8-5dac-485b-bd65-36fc495f7499 2026-02-04 06:31:09,082 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62688714', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8772196985990760609', 'uuid-lslong': '10646517841628737399'}, 'enable': 'true', 'created': '2026-02-04T06:31:06', 'last-modified': '2026-02-04T06:31:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946486'} 2026-02-04 06:31:09,088 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-04 06:31:09,088 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37772363 passed 2026-02-04 06:31:09,088 - DEBUG - ====Verifying policy data for ctest-vn-37772363 in API_Server ====== 2026-02-04 06:31:09,088 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:09,094 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:09,106 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:09,179 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/79bd1aae-81bb-48a1-93c0-0791bd23af77 2026-02-04 06:31:09,188 - DEBUG - ==>Verifying data for policy with id: 8d59fe35-6109-41e4-b08b-bd8f1616e5ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338'] 2026-02-04 06:31:09,188 - INFO - VN ctest-vn-37772363 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 06:31:09,188 - DEBUG - Verifying the vn in opserver 2026-02-04 06:31:09,188 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363 virtual network link through opserver 10.0.0.38 2026-02-04 06:31:09,188 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 06:31:09,483 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 06:31:09,549 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363?flat'} 2026-02-04 06:31:09,549 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363 is found in opserver 2026-02-04 06:31:09,558 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 06:31:09,563 - DEBUG - VRF ids for VN ctest-vn-37772363: {} 2026-02-04 06:31:09,563 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:09,569 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:09,581 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:09,652 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,664 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:09,681 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:09,688 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1c9c6c-c212-41cb-be8f-3b61c22c3af4 2026-02-04 06:31:09,695 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 06:31:09,695 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,704 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:09,719 - INFO - Verified VN network id 13 for VN fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,719 - INFO - Verifications in API Server for VN ctest-vn-00275729 passed 2026-02-04 06:31:09,719 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,729 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:09,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:09,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/fa1c9c6c-c212-41cb-be8f-3b61c22c3af4 2026-02-04 06:31:09,767 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62688714', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18228762549350188869', 'uuid-lslong': '11713945111989304231'}, 'enable': 'true', 'created': '2026-02-04T06:31:07', 'last-modified': '2026-02-04T06:31:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.393898'} 2026-02-04 06:31:09,774 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-04 06:31:09,774 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-00275729 passed 2026-02-04 06:31:09,774 - DEBUG - ====Verifying policy data for ctest-vn-00275729 in API_Server ====== 2026-02-04 06:31:09,774 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:09,782 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:09,793 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:09,869 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fcf992f5-60f6-4745-a290-4b04268bbba7 2026-02-04 06:31:09,878 - DEBUG - ==>Verifying data for policy with id: 8d59fe35-6109-41e4-b08b-bd8f1616e5ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-62688714', 'ctest-policy-allow-all-38840338'] 2026-02-04 06:31:09,878 - INFO - VN ctest-vn-00275729 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-04 06:31:09,878 - DEBUG - Verifying the vn in opserver 2026-02-04 06:31:09,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729 virtual network link through opserver 10.0.0.38 2026-02-04 06:31:09,878 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-04 06:31:09,888 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729?flat'} 2026-02-04 06:31:09,888 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-00275729 is found in opserver 2026-02-04 06:31:09,899 - DEBUG - Do not have enough data to verify VN in agent 2026-02-04 06:31:09,905 - DEBUG - VRF ids for VN ctest-vn-00275729: {} 2026-02-04 06:31:09,970 - DEBUG - Services list from nova: [, , ] 2026-02-04 06:31:11,041 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5199-1) 2026-02-04 06:31:12,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5199-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5199-1) 2026-02-04 06:31:12,280 - INFO - Waiting for VM ctest-TestBasicPolicy-62688714-08033680 to be up.. 2026-02-04 06:31:12,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 06:31:17,474 - DEBUG - VM is in ACTIVE state now 2026-02-04 06:31:17,474 - INFO - VM name : ctest-TestBasicPolicy-62688714-08033680 2026-02-04 06:31:17,557 - DEBUG - VM ctest-TestBasicPolicy-62688714-08033680 ID is 07ea95b7-515e-4cb0-a59e-6ffae7455c33 2026-02-04 06:31:17,586 - DEBUG - VM ctest-TestBasicPolicy-62688714-08033680 launched on Node cn-jenkins-deploy-platform-ansible-os-5199-1 2026-02-04 06:31:17,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/07ea95b7-515e-4cb0-a59e-6ffae7455c33 2026-02-04 06:31:17,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/69e8b6c5-9dfa-4265-88f3-71b28d2f7097 2026-02-04 06:31:20,952 - 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 1029ms') 2026-02-04 06:31:20,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62688714-08033680 failed! 2026-02-04 06:31:21,007 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-62688714:ctest-vn-37772363 is 88.213.68.129 and allocation pool is NOT set 2026-02-04 06:31:23,079 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.70 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.703/5.703/9.704/4.000 ms') 2026-02-04 06:31:23,079 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-62688714-08033680 passed 2026-02-04 06:31:23,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 06:31:23,227 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62688714-08033680, IP 88.213.68.131, Port 22 2026-02-04 06:31:23,393 - DEBUG - VM ctest-TestBasicPolicy-62688714-08033680 is ready for SSH connections 2026-02-04 06:31:23,393 - INFO - Waiting for VM ctest-TestBasicPolicy-62688714-88813635 to be up.. 2026-02-04 06:31:23,474 - DEBUG - VM is in ACTIVE state now 2026-02-04 06:31:23,474 - INFO - VM name : ctest-TestBasicPolicy-62688714-88813635 2026-02-04 06:31:23,557 - DEBUG - VM ctest-TestBasicPolicy-62688714-88813635 ID is a5535be3-8fa3-4320-b330-f9dc13bcce65 2026-02-04 06:31:23,557 - DEBUG - VM ctest-TestBasicPolicy-62688714-88813635 launched on Node cn-jenkins-deploy-platform-ansible-os-5199-1 2026-02-04 06:31:23,632 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a5535be3-8fa3-4320-b330-f9dc13bcce65 2026-02-04 06:31:23,640 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/920fb5f5-a06a-4456-90df-9261a8b9e665 2026-02-04 06:31:24,875 - 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=2.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.415 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.415/1.609/2.803/1.194 ms') 2026-02-04 06:31:24,875 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-62688714-88813635 passed 2026-02-04 06:31:25,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 06:31:25,023 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-62688714-88813635, IP 162.203.69.67, Port 22 2026-02-04 06:31:25,182 - DEBUG - VM ctest-TestBasicPolicy-62688714-88813635 is ready for SSH connections 2026-02-04 06:31:25,183 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 06:31:25,183 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.203.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 06:31:25,183 - DEBUG - ping -s 56 -c 3 -W 1 162.203.69.67 2026-02-04 06:31:29,292 - DEBUG - PING 162.203.69.67 (162.203.69.67): 56 data bytes 64 bytes from 162.203.69.67: seq=0 ttl=63 time=3.837 ms 64 bytes from 162.203.69.67: seq=1 ttl=63 time=0.843 ms 64 bytes from 162.203.69.67: seq=2 ttl=63 time=1.134 ms --- 162.203.69.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.843/1.938/3.837 ms 2026-02-04 06:31:29,292 - INFO - Ping to IP 162.203.69.67 from VM ctest-TestBasicPolicy-62688714-08033680 passed 2026-02-04 06:31:29,466 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8d59fe35-6109-41e4-b08b-bd8f1616e5ea", "href": "http://10.0.0.38:8082/network-policy/8d59fe35-6109-41e4-b08b-bd8f1616e5ea"}} 2026-02-04 06:31:29,467 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 06:31:29,467 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.203.69.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-04 06:31:29,467 - DEBUG - ping -s 56 -c 3 -W 1 162.203.69.67 2026-02-04 06:31:32,707 - DEBUG - PING 162.203.69.67 (162.203.69.67): 56 data bytes --- 162.203.69.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-04 06:31:32,707 - WARNING - Ping to IP 162.203.69.67 from VM ctest-TestBasicPolicy-62688714-08033680 failed 2026-02-04 06:31:32,707 - INFO - Deleting VM ctest-TestBasicPolicy-62688714-88813635 2026-02-04 06:31:32,783 - INFO - Deleting VM ctest-TestBasicPolicy-62688714-08033680 2026-02-04 06:31:33,173 - INFO - Deleted policy ctest-policy-allow-all-38840338 2026-02-04 06:31:33,173 - INFO - Deleting VN ctest-vn-00275729 2026-02-04 06:31:33,212 - DEBUG - VN fcf992f5-60f6-4745-a290-4b04268bbba7 still in use: Unable to complete operation on network fcf992f5-60f6-4745-a290-4b04268bbba7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8cfa1bf8-9ff9-4339-8bb8-e0e70e8d0d39'] 2026-02-04 06:31:33,213 - WARNING - Deleting VN ctest-vn-00275729 failed..Will retry 2026-02-04 06:31:35,309 - DEBUG - Response for deleting network () 2026-02-04 06:31:35,309 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8b8d4740-b68c-4aaa-86d3-800bc2d6b5ef 2026-02-04 06:31:35,314 - DEBUG - Response Code: 404 2026-02-04 06:31:35,314 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:35,322 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:35,376 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:35,444 - INFO - Validated that VN ctest-vn-00275729 is not found in API Server 2026-02-04 06:31:35,453 - DEBUG - VN ctest-vn-00275729 is not present in Agent 10.0.0.38 2026-02-04 06:31:35,453 - INFO - Validated that VN ctest-vn-00275729 is not in any agent 2026-02-04 06:31:35,466 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-00275729 info 2026-02-04 06:31:35,466 - INFO - Deleting VN ctest-vn-37772363 2026-02-04 06:31:35,561 - DEBUG - Response for deleting network () 2026-02-04 06:31:35,561 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a74fccc0-0c83-4899-8024-1c8e6a463be8 2026-02-04 06:31:35,566 - DEBUG - Response Code: 404 2026-02-04 06:31:35,566 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-04 06:31:35,572 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2718dcf-be8a-4092-b32c-ed3b2c379266 2026-02-04 06:31:35,623 - DEBUG - Requesting: http://10.0.0.38:8082/project/b3d7d571-0819-46c6-9b10-2d9cae8d8081 2026-02-04 06:31:35,696 - INFO - Validated that VN ctest-vn-37772363 is not found in API Server 2026-02-04 06:31:35,705 - DEBUG - VN ctest-vn-37772363 is not present in Agent 10.0.0.38 2026-02-04 06:31:35,705 - INFO - Validated that VN ctest-vn-37772363 is not in any agent 2026-02-04 06:31:35,717 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37772363 info 2026-02-04 06:31:35,977 - DEBUG - No XMPP flaps were noticed during the test
2026-02-04 06:31:35,977 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29]
2026-02-04 06:31:35,977 - INFO - -------------------------------------------------------------------------------- 2026-02-04 06:31:36,656 - INFO - Deleted project: ctest-TestBasicPolicy-62688714, ID : b3d7d571-0819-46c6-9b10-2d9cae8d8081