2026-02-26 02:04:25,399 - INFO - Domain Default found not creating 2026-02-26 02:04:25,563 - INFO - Project ctest-TestBasicPolicy-82528452 not found, creating it 2026-02-26 02:04:25,999 - INFO - Created Project:ctest-TestBasicPolicy-82528452, ID : 7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:04:27,432 - INFO - ================================================================================ 2026-02-26 02:04:27,432 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-26 02:04:27,432 - 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-26 02:04:27,686 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.193': '0'}} with 2026-02-26 02:04:27,686 - INFO - Initial checks done. Running the testcase now 2026-02-26 02:04:27,686 - INFO - 2026-02-26 02:04:28,259 - DEBUG - Response for create_network : {'network': {'id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'name': 'ctest-vn-65308671', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-65308671'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:04:28,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaccbeb3-c919-440c-8b39-fa2322bc04df', 'name': '', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'network_id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'ip_version': 4, 'cidr': '222.36.223.0/26', 'allocation_pools': [{'start': '222.36.223.2', 'end': '222.36.223.62'}], 'gateway_ip': '222.36.223.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.36.223.2', 'tags': [], 'project_id': '7658aeccf092418fbd98605e91e5f11c'}} 2026-02-26 02:04:28,434 - INFO - Created VN ctest-vn-65308671 2026-02-26 02:04:28,485 - DEBUG - VN ctest-vn-65308671 UUID is 769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:28,806 - DEBUG - Response for create_network : {'network': {'id': '547ce369-564e-414b-ab5d-88dc63841485', 'name': 'ctest-vn-63510281', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-63510281'], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:04:28,990 - DEBUG - Response for create_subnet : {'subnet': {'id': '13564814-5938-4398-8737-002c90ab56ed', 'name': '', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'network_id': '547ce369-564e-414b-ab5d-88dc63841485', 'ip_version': 4, 'cidr': '113.0.246.64/26', 'allocation_pools': [{'start': '113.0.246.66', 'end': '113.0.246.126'}], 'gateway_ip': '113.0.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.0.246.66', 'tags': [], 'project_id': '7658aeccf092418fbd98605e91e5f11c'}} 2026-02-26 02:04:29,006 - INFO - Created VN ctest-vn-63510281 2026-02-26 02:04:29,057 - DEBUG - VN ctest-vn-63510281 UUID is 547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:29,200 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671, 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-82528452:ctest-vn-63510281, 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-26 02:04:29,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '769ee7ed-b680-42ba-baf3-819a82a82efc', 'name': 'ctest-vn-65308671', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aaccbeb3-c919-440c-8b39-fa2322bc04df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-65308671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']], 'subnet_ipam': [{'subnet_cidr': '222.36.223.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:04:29,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '547ce369-564e-414b-ab5d-88dc63841485', 'name': 'ctest-vn-63510281', 'tenant_id': '7658aeccf092418fbd98605e91e5f11c', 'project_id': '7658aeccf092418fbd98605e91e5f11c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['13564814-5938-4398-8737-002c90ab56ed'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-vn-63510281'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754']], 'subnet_ipam': [{'subnet_cidr': '113.0.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-26 02:04:29,865 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:04:30,159 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:04:30,187 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:04:30,197 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:04:30,268 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,279 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,289 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:04:30,296 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:04:30,302 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/438a1985-2430-4cdd-9304-197bf408fe72 2026-02-26 02:04:30,307 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 02:04:30,307 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,315 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:04:30,327 - INFO - Verified VN network id 11 for VN 769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,328 - INFO - Verifications in API Server for VN ctest-vn-65308671 passed 2026-02-26 02:04:30,328 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,336 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:04:30,342 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:04:30,347 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/438a1985-2430-4cdd-9304-197bf408fe72 2026-02-26 02:04:30,357 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82528452', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8547524150950904506', 'uuid-lslong': '13471253411012292348'}, 'enable': 'true', 'created': '2026-02-26T02:04:28', 'last-modified': '2026-02-26T02:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.889263'} 2026-02-26 02:04:30,362 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-26 02:04:30,362 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65308671 passed 2026-02-26 02:04:30,362 - DEBUG - ====Verifying policy data for ctest-vn-65308671 in API_Server ====== 2026-02-26 02:04:30,362 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:04:30,367 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:04:30,376 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:04:30,444 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/769ee7ed-b680-42ba-baf3-819a82a82efc 2026-02-26 02:04:30,452 - DEBUG - ==>Verifying data for policy with id: faf9e7eb-cc8e-4b57-94f7-0c2ea9399753, fqn: ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754'] 2026-02-26 02:04:30,452 - INFO - VN ctest-vn-65308671 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 02:04:30,452 - DEBUG - Verifying the vn in opserver 2026-02-26 02:04:30,452 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671 virtual network link through opserver 10.0.0.19 2026-02-26 02:04:30,452 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-26 02:04:30,739 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-26 02:04:30,799 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671?flat'} 2026-02-26 02:04:30,799 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671 is found in opserver 2026-02-26 02:04:30,808 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 02:04:30,812 - DEBUG - VRF ids for VN ctest-vn-65308671: {} 2026-02-26 02:04:30,812 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:04:30,817 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:04:30,827 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:04:30,890 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:30,901 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:30,909 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:04:30,915 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:04:30,921 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/670de0db-81ad-4547-aee9-9bae056b8328 2026-02-26 02:04:30,926 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 02:04:30,926 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:30,934 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:04:30,946 - INFO - Verified VN network id 12 for VN 547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:30,946 - INFO - Verifications in API Server for VN ctest-vn-63510281 passed 2026-02-26 02:04:30,946 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:30,953 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:04:30,959 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:04:30,964 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/670de0db-81ad-4547-aee9-9bae056b8328 2026-02-26 02:04:30,973 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82528452', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6087990837857108299', 'uuid-lslong': '12348176233463551109'}, 'enable': 'true', 'created': '2026-02-26T02:04:28', 'last-modified': '2026-02-26T02:04:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.282688'} 2026-02-26 02:04:30,978 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-26 02:04:30,978 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-63510281 passed 2026-02-26 02:04:30,979 - DEBUG - ====Verifying policy data for ctest-vn-63510281 in API_Server ====== 2026-02-26 02:04:30,979 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:04:30,984 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:04:30,994 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:04:31,060 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/547ce369-564e-414b-ab5d-88dc63841485 2026-02-26 02:04:31,067 - DEBUG - ==>Verifying data for policy with id: faf9e7eb-cc8e-4b57-94f7-0c2ea9399753, fqn: ['default-domain', 'ctest-TestBasicPolicy-82528452', 'ctest-policy-allow-all-78770754'] 2026-02-26 02:04:31,067 - INFO - VN ctest-vn-63510281 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-26 02:04:31,067 - DEBUG - Verifying the vn in opserver 2026-02-26 02:04:31,067 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281 virtual network link through opserver 10.0.0.19 2026-02-26 02:04:31,067 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-26 02:04:31,076 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281?flat'} 2026-02-26 02:04:31,076 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-63510281 is found in opserver 2026-02-26 02:04:31,087 - DEBUG - Do not have enough data to verify VN in agent 2026-02-26 02:04:31,091 - DEBUG - VRF ids for VN ctest-vn-63510281: {} 2026-02-26 02:04:31,143 - DEBUG - Services list from nova: [, , ] 2026-02-26 02:04:32,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5401-1) 2026-02-26 02:04:33,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5401-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5401-1) 2026-02-26 02:04:33,242 - INFO - Waiting for VM ctest-TestBasicPolicy-82528452-12791987 to be up.. 2026-02-26 02:04:33,309 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-26 02:04:38,383 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:04:38,383 - INFO - VM name : ctest-TestBasicPolicy-82528452-12791987 2026-02-26 02:04:38,451 - DEBUG - VM ctest-TestBasicPolicy-82528452-12791987 ID is da191bec-7a90-491a-bf38-82a37e82360e 2026-02-26 02:04:38,468 - DEBUG - VM ctest-TestBasicPolicy-82528452-12791987 launched on Node cn-jenkins-deploy-platform-ansible-os-5401-1 2026-02-26 02:04:38,536 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/da191bec-7a90-491a-bf38-82a37e82360e 2026-02-26 02:04:38,543 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/c052d2e1-8aed-4108-8a54-2aa5349a0a82 2026-02-26 02:04:41,786 - 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 1003ms') 2026-02-26 02:04:41,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82528452-12791987 failed! 2026-02-26 02:04:41,841 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-82528452:ctest-vn-65308671 is 222.36.223.1 and allocation pool is NOT set 2026-02-26 02:04:43,903 - 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=3.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.074/3.119/3.165/0.045 ms') 2026-02-26 02:04:43,903 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-82528452-12791987 passed 2026-02-26 02:04:44,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:44,053 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82528452-12791987, IP 222.36.223.3, Port 22 2026-02-26 02:04:44,109 - 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-02-26 02:04:44,192 - DEBUG - VM ctest-TestBasicPolicy-82528452-12791987 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-26 02:04:49,192 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:49,193 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82528452-12791987, IP 222.36.223.3, Port 22 2026-02-26 02:04:49,359 - DEBUG - VM ctest-TestBasicPolicy-82528452-12791987 is ready for SSH connections 2026-02-26 02:04:49,359 - INFO - Waiting for VM ctest-TestBasicPolicy-82528452-72241840 to be up.. 2026-02-26 02:04:49,430 - DEBUG - VM is in ACTIVE state now 2026-02-26 02:04:49,430 - INFO - VM name : ctest-TestBasicPolicy-82528452-72241840 2026-02-26 02:04:49,499 - DEBUG - VM ctest-TestBasicPolicy-82528452-72241840 ID is 6d5e31fa-c36a-47cb-b91e-cb186e0d44b2 2026-02-26 02:04:49,499 - DEBUG - VM ctest-TestBasicPolicy-82528452-72241840 launched on Node cn-jenkins-deploy-platform-ansible-os-5401-1 2026-02-26 02:04:49,567 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6d5e31fa-c36a-47cb-b91e-cb186e0d44b2 2026-02-26 02:04:49,574 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9c3b7ca7-0536-4228-b36c-b57cc3dd35b4 2026-02-26 02:04:50,806 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.618/2.896/1.277 ms') 2026-02-26 02:04:50,806 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-82528452-72241840 passed 2026-02-26 02:04:50,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:50,953 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-82528452-72241840, IP 113.0.246.67, Port 22 2026-02-26 02:04:51,106 - DEBUG - VM ctest-TestBasicPolicy-82528452-72241840 is ready for SSH connections 2026-02-26 02:04:51,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:51,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.0.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-26 02:04:51,107 - DEBUG - ping -s 56 -c 3 -W 1 113.0.246.67 2026-02-26 02:04:55,107 - DEBUG - PING 113.0.246.67 (113.0.246.67): 56 data bytes 64 bytes from 113.0.246.67: seq=0 ttl=63 time=3.361 ms 64 bytes from 113.0.246.67: seq=1 ttl=63 time=0.883 ms 64 bytes from 113.0.246.67: seq=2 ttl=63 time=0.931 ms --- 113.0.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/1.725/3.361 ms 2026-02-26 02:04:55,107 - INFO - Ping to IP 113.0.246.67 from VM ctest-TestBasicPolicy-82528452-12791987 passed 2026-02-26 02:04:55,293 - DEBUG - Policy Update Response {"network-policy": {"uuid": "faf9e7eb-cc8e-4b57-94f7-0c2ea9399753", "href": "http://10.0.0.19:8082/network-policy/faf9e7eb-cc8e-4b57-94f7-0c2ea9399753"}} 2026-02-26 02:04:55,293 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-26 02:04:55,293 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.0.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-26 02:04:55,293 - DEBUG - ping -s 56 -c 3 -W 1 113.0.246.67 2026-02-26 02:04:58,510 - DEBUG - PING 113.0.246.67 (113.0.246.67): 56 data bytes --- 113.0.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-26 02:04:58,511 - WARNING - Ping to IP 113.0.246.67 from VM ctest-TestBasicPolicy-82528452-12791987 failed 2026-02-26 02:04:58,511 - INFO - Deleting VM ctest-TestBasicPolicy-82528452-72241840 2026-02-26 02:04:58,579 - INFO - Deleting VM ctest-TestBasicPolicy-82528452-12791987 2026-02-26 02:04:58,954 - INFO - Deleted policy ctest-policy-allow-all-78770754 2026-02-26 02:04:58,955 - INFO - Deleting VN ctest-vn-63510281 2026-02-26 02:04:58,990 - DEBUG - VN 547ce369-564e-414b-ab5d-88dc63841485 still in use: Unable to complete operation on network 547ce369-564e-414b-ab5d-88dc63841485. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-549555fb-6133-4d15-90b5-75cb688bb3b8'] 2026-02-26 02:04:58,990 - WARNING - Deleting VN ctest-vn-63510281 failed..Will retry 2026-02-26 02:05:01,084 - DEBUG - Response for deleting network () 2026-02-26 02:05:01,084 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/6713377a-0827-4264-9108-7b1fe35adb2d 2026-02-26 02:05:01,089 - DEBUG - Response Code: 404 2026-02-26 02:05:01,090 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:05:01,094 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:05:01,147 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:05:01,231 - INFO - Validated that VN ctest-vn-63510281 is not found in API Server 2026-02-26 02:05:01,239 - DEBUG - VN ctest-vn-63510281 is not present in Agent 10.0.0.19 2026-02-26 02:05:01,239 - INFO - Validated that VN ctest-vn-63510281 is not in any agent 2026-02-26 02:05:01,251 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-63510281 info 2026-02-26 02:05:01,252 - INFO - Deleting VN ctest-vn-65308671 2026-02-26 02:05:01,339 - DEBUG - Response for deleting network () 2026-02-26 02:05:01,339 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/914bb607-8125-4558-8353-a81edeb54b01 2026-02-26 02:05:01,344 - DEBUG - Response Code: 404 2026-02-26 02:05:01,344 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-26 02:05:01,349 - DEBUG - Requesting: http://10.0.0.19:8082/domain/181e1d4c-9a7b-432a-bb9e-ee6e530d3fd1 2026-02-26 02:05:01,401 - DEBUG - Requesting: http://10.0.0.19:8082/project/7658aecc-f092-418f-bd98-605e91e5f11c 2026-02-26 02:05:01,468 - INFO - Validated that VN ctest-vn-65308671 is not found in API Server 2026-02-26 02:05:01,478 - DEBUG - VN ctest-vn-65308671 is not present in Agent 10.0.0.19 2026-02-26 02:05:01,478 - INFO - Validated that VN ctest-vn-65308671 is not in any agent 2026-02-26 02:05:01,491 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65308671 info 2026-02-26 02:05:01,749 - DEBUG - No XMPP flaps were noticed during the test 2026-02-26 02:05:01,750 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2026-02-26 02:05:01,750 - INFO - -------------------------------------------------------------------------------- 2026-02-26 02:05:02,418 - INFO - Deleted project: ctest-TestBasicPolicy-82528452, ID : 7658aecc-f092-418f-bd98-605e91e5f11c