2025-10-31 00:24:27,742 - INFO - Domain Default found not creating 2025-10-31 00:24:27,912 - INFO - Project ctest-TestBasicPolicy-77541232 not found, creating it 2025-10-31 00:24:28,370 - INFO - Created Project:ctest-TestBasicPolicy-77541232, ID : 9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:29,872 - INFO - ================================================================================ 2025-10-31 00:24:29,872 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-31 00:24:29,872 - 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 2025-10-31 00:24:30,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.241': '0'}} with 2025-10-31 00:24:30,145 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:24:30,145 - INFO - 2025-10-31 00:24:30,710 - DEBUG - Response for create_network : {'network': {'id': '792f2d68-75c8-49c5-aecf-0adca0c24453', 'name': 'ctest-vn-24831520', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'project_id': '9acbcf9dde2e45be951e828b3c733ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-vn-24831520'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:30,889 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9554389-e132-4ebe-8a47-a39d861c2e9c', 'name': '', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'network_id': '792f2d68-75c8-49c5-aecf-0adca0c24453', 'ip_version': 4, 'cidr': '195.247.219.0/26', 'allocation_pools': [{'start': '195.247.219.2', 'end': '195.247.219.62'}], 'gateway_ip': '195.247.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.247.219.2', 'tags': [], 'project_id': '9acbcf9dde2e45be951e828b3c733ab9'}} 2025-10-31 00:24:30,909 - INFO - Created VN ctest-vn-24831520 2025-10-31 00:24:30,962 - DEBUG - VN ctest-vn-24831520 UUID is 792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:31,250 - DEBUG - Response for create_network : {'network': {'id': '7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c', 'name': 'ctest-vn-91245156', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'project_id': '9acbcf9dde2e45be951e828b3c733ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-vn-91245156'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:31,475 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aae0115b-fcc9-4d8e-b9a3-94d108acf858', 'name': '', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'network_id': '7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c', 'ip_version': 4, 'cidr': '196.198.191.64/26', 'allocation_pools': [{'start': '196.198.191.66', 'end': '196.198.191.126'}], 'gateway_ip': '196.198.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.198.191.66', 'tags': [], 'project_id': '9acbcf9dde2e45be951e828b3c733ab9'}} 2025-10-31 00:24:31,496 - INFO - Created VN ctest-vn-91245156 2025-10-31 00:24:31,550 - DEBUG - VN ctest-vn-91245156 UUID is 7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:31,681 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520, 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-77541232:ctest-vn-91245156, 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] 2025-10-31 00:24:31,986 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '792f2d68-75c8-49c5-aecf-0adca0c24453', 'name': 'ctest-vn-24831520', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'project_id': '9acbcf9dde2e45be951e828b3c733ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c9554389-e132-4ebe-8a47-a39d861c2e9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-vn-24831520'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-policy-allow-all-70922187']], 'subnet_ipam': [{'subnet_cidr': '195.247.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:32,215 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c', 'name': 'ctest-vn-91245156', 'tenant_id': '9acbcf9dde2e45be951e828b3c733ab9', 'project_id': '9acbcf9dde2e45be951e828b3c733ab9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aae0115b-fcc9-4d8e-b9a3-94d108acf858'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-vn-91245156'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-policy-allow-all-70922187']], 'subnet_ipam': [{'subnet_cidr': '196.198.191.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:24:32,387 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:32,686 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:32,727 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:32,744 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:32,823 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:32,836 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:32,847 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:32,854 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:32,861 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/e385fd97-69e9-4f55-817d-22f2fad7fb3b 2025-10-31 00:24:32,870 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:24:32,871 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:32,882 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:32,900 - INFO - Verified VN network id 11 for VN 792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:32,900 - INFO - Verifications in API Server for VN ctest-vn-24831520 passed 2025-10-31 00:24:32,900 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:32,910 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:32,919 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:32,927 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/e385fd97-69e9-4f55-817d-22f2fad7fb3b 2025-10-31 00:24:32,938 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77541232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8732248129170590149', 'uuid-lslong': '12596298625484735571'}, 'enable': 'true', 'created': '2025-10-31T00:24:30', 'last-modified': '2025-10-31T00:24:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978725'} 2025-10-31 00:24:32,944 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-31 00:24:32,945 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24831520 passed 2025-10-31 00:24:32,945 - DEBUG - ====Verifying policy data for ctest-vn-24831520 in API_Server ====== 2025-10-31 00:24:32,945 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:32,950 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:32,963 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:33,037 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/792f2d68-75c8-49c5-aecf-0adca0c24453 2025-10-31 00:24:33,047 - DEBUG - ==>Verifying data for policy with id: 7cd9d7e1-8e30-4933-ab97-8795dda65eb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-policy-allow-all-70922187'] 2025-10-31 00:24:33,047 - INFO - VN ctest-vn-24831520 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:24:33,047 - DEBUG - Verifying the vn in opserver 2025-10-31 00:24:33,047 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520 virtual network link through opserver 10.0.0.57 2025-10-31 00:24:33,047 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-31 00:24:33,347 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-31 00:24:33,420 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520?flat'} 2025-10-31 00:24:33,420 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520 is found in opserver 2025-10-31 00:24:33,432 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:24:33,437 - DEBUG - VRF ids for VN ctest-vn-24831520: {} 2025-10-31 00:24:33,437 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:33,443 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:33,455 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:33,525 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,538 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,547 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:33,554 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:33,561 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/59a1bf06-76f2-4082-90ed-7c49155aea9a 2025-10-31 00:24:33,568 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:24:33,568 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,576 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:33,592 - INFO - Verified VN network id 12 for VN 7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,592 - INFO - Verifications in API Server for VN ctest-vn-91245156 passed 2025-10-31 00:24:33,592 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,603 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:33,613 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:33,621 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/59a1bf06-76f2-4082-90ed-7c49155aea9a 2025-10-31 00:24:33,633 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-91245156', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-77541232', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8933609452115544118', 'uuid-lslong': '11992551833137920636'}, 'enable': 'true', 'created': '2025-10-31T00:24:31', 'last-modified': '2025-10-31T00:24:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441960'} 2025-10-31 00:24:33,638 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-31 00:24:33,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91245156 passed 2025-10-31 00:24:33,639 - DEBUG - ====Verifying policy data for ctest-vn-91245156 in API_Server ====== 2025-10-31 00:24:33,639 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:33,645 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:33,655 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:33,725 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c 2025-10-31 00:24:33,734 - DEBUG - ==>Verifying data for policy with id: 7cd9d7e1-8e30-4933-ab97-8795dda65eb7, fqn: ['default-domain', 'ctest-TestBasicPolicy-77541232', 'ctest-policy-allow-all-70922187'] 2025-10-31 00:24:33,734 - INFO - VN ctest-vn-91245156 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-31 00:24:33,734 - DEBUG - Verifying the vn in opserver 2025-10-31 00:24:33,734 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-91245156 virtual network link through opserver 10.0.0.57 2025-10-31 00:24:33,734 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-10-31 00:24:33,744 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-91245156', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-91245156?flat'} 2025-10-31 00:24:33,744 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-91245156 is found in opserver 2025-10-31 00:24:33,752 - DEBUG - Do not have enough data to verify VN in agent 2025-10-31 00:24:33,757 - DEBUG - VRF ids for VN ctest-vn-91245156: {} 2025-10-31 00:24:33,816 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:24:34,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:24:36,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4564-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4564-1) 2025-10-31 00:24:36,025 - INFO - Waiting for VM ctest-TestBasicPolicy-77541232-84094703 to be up.. 2025-10-31 00:24:36,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:24:41,207 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:41,208 - INFO - VM name : ctest-TestBasicPolicy-77541232-84094703 2025-10-31 00:24:41,289 - DEBUG - VM ctest-TestBasicPolicy-77541232-84094703 ID is 1b6ddd26-3aa6-421e-88e7-fa8154430749 2025-10-31 00:24:41,311 - DEBUG - VM ctest-TestBasicPolicy-77541232-84094703 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:24:41,400 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/1b6ddd26-3aa6-421e-88e7-fa8154430749 2025-10-31 00:24:41,409 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/bc121107-be99-4afb-9e9f-2b919acac058 2025-10-31 00:24:44,674 - 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 1026ms') 2025-10-31 00:24:44,674 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77541232-84094703 failed! 2025-10-31 00:24:44,734 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-77541232:ctest-vn-24831520 is 195.247.219.1 and allocation pool is NOT set 2025-10-31 00:24:46,797 - 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.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.22 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.216/4.543/7.871/3.327 ms') 2025-10-31 00:24:46,798 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-77541232-84094703 passed 2025-10-31 00:24:46,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:46,952 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77541232-84094703, IP 195.247.219.3, Port 22 2025-10-31 00:24:47,141 - DEBUG - VM ctest-TestBasicPolicy-77541232-84094703 is ready for SSH connections 2025-10-31 00:24:47,142 - INFO - Waiting for VM ctest-TestBasicPolicy-77541232-62547288 to be up.. 2025-10-31 00:24:47,246 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:24:47,246 - INFO - VM name : ctest-TestBasicPolicy-77541232-62547288 2025-10-31 00:24:47,343 - DEBUG - VM ctest-TestBasicPolicy-77541232-62547288 ID is 26fcba99-b3f3-4635-8372-6cfe27fb1f01 2025-10-31 00:24:47,343 - DEBUG - VM ctest-TestBasicPolicy-77541232-62547288 launched on Node cn-jenkins-deploy-platform-ansible-os-4564-1 2025-10-31 00:24:47,422 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/26fcba99-b3f3-4635-8372-6cfe27fb1f01 2025-10-31 00:24:47,432 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/eb18ff43-213a-4388-b60c-2b5fc6a2dab2 2025-10-31 00:24:48,680 - 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=1.31 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 = 1.308/2.740/4.173/1.432 ms') 2025-10-31 00:24:48,680 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-77541232-62547288 passed 2025-10-31 00:24:48,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:48,834 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-77541232-62547288, IP 196.198.191.67, Port 22 2025-10-31 00:24:49,002 - DEBUG - VM ctest-TestBasicPolicy-77541232-62547288 is ready for SSH connections 2025-10-31 00:24:49,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:49,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.198.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-31 00:24:49,002 - DEBUG - ping -s 56 -c 3 -W 1 196.198.191.67 2025-10-31 00:24:53,106 - DEBUG - PING 196.198.191.67 (196.198.191.67): 56 data bytes 64 bytes from 196.198.191.67: seq=0 ttl=63 time=3.503 ms 64 bytes from 196.198.191.67: seq=1 ttl=63 time=0.989 ms 64 bytes from 196.198.191.67: seq=2 ttl=63 time=1.450 ms --- 196.198.191.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.989/1.980/3.503 ms 2025-10-31 00:24:53,106 - INFO - Ping to IP 196.198.191.67 from VM ctest-TestBasicPolicy-77541232-84094703 passed 2025-10-31 00:24:53,286 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7cd9d7e1-8e30-4933-ab97-8795dda65eb7", "href": "http://10.0.0.57:8082/network-policy/7cd9d7e1-8e30-4933-ab97-8795dda65eb7"}} 2025-10-31 00:24:53,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:24:53,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.198.191.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-10-31 00:24:53,286 - DEBUG - ping -s 56 -c 3 -W 1 196.198.191.67 2025-10-31 00:24:56,508 - DEBUG - PING 196.198.191.67 (196.198.191.67): 56 data bytes --- 196.198.191.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 00:24:56,509 - WARNING - Ping to IP 196.198.191.67 from VM ctest-TestBasicPolicy-77541232-84094703 failed 2025-10-31 00:24:56,509 - INFO - Deleting VM ctest-TestBasicPolicy-77541232-62547288 2025-10-31 00:24:56,612 - INFO - Deleting VM ctest-TestBasicPolicy-77541232-84094703 2025-10-31 00:24:57,017 - INFO - Deleted policy ctest-policy-allow-all-70922187 2025-10-31 00:24:57,017 - INFO - Deleting VN ctest-vn-91245156 2025-10-31 00:24:57,066 - DEBUG - VN 7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c still in use: Unable to complete operation on network 7bfa8e76-e36b-4836-a66e-1a5a5ca53a7c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e7cf75ee-b005-4cde-9140-da0362170b91'] 2025-10-31 00:24:57,066 - WARNING - Deleting VN ctest-vn-91245156 failed..Will retry 2025-10-31 00:24:59,175 - DEBUG - Response for deleting network () 2025-10-31 00:24:59,175 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/0facf5ab-9aef-4f1b-b664-e542fbc9c46e 2025-10-31 00:24:59,180 - DEBUG - Response Code: 404 2025-10-31 00:24:59,181 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:59,187 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:59,240 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:59,305 - INFO - Validated that VN ctest-vn-91245156 is not found in API Server 2025-10-31 00:24:59,315 - DEBUG - VN ctest-vn-91245156 is not present in Agent 10.0.0.57 2025-10-31 00:24:59,315 - INFO - Validated that VN ctest-vn-91245156 is not in any agent 2025-10-31 00:24:59,330 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-91245156 info 2025-10-31 00:24:59,331 - INFO - Deleting VN ctest-vn-24831520 2025-10-31 00:24:59,426 - DEBUG - Response for deleting network () 2025-10-31 00:24:59,427 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/36276094-01bb-4e7c-aaef-75d484ef2138 2025-10-31 00:24:59,432 - DEBUG - Response Code: 404 2025-10-31 00:24:59,432 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-10-31 00:24:59,437 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1286b9a0-8718-48bc-8ae7-2dda8ecb40be 2025-10-31 00:24:59,491 - DEBUG - Requesting: http://10.0.0.57:8082/project/9acbcf9d-de2e-45be-951e-828b3c733ab9 2025-10-31 00:24:59,561 - INFO - Validated that VN ctest-vn-24831520 is not found in API Server 2025-10-31 00:24:59,572 - DEBUG - VN ctest-vn-24831520 is not present in Agent 10.0.0.57 2025-10-31 00:24:59,572 - INFO - Validated that VN ctest-vn-24831520 is not in any agent 2025-10-31 00:24:59,586 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-24831520 info 2025-10-31 00:24:59,847 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:24:59,847 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-10-31 00:24:59,847 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:25:00,529 - INFO - Deleted project: ctest-TestBasicPolicy-77541232, ID : 9acbcf9d-de2e-45be-951e-828b3c733ab9