2026-07-18 15:44:38,591 - INFO - Domain Default found not creating 2026-07-18 15:44:38,768 - INFO - Project ctest-TestBasicPolicy-00089134 not found, creating it 2026-07-18 15:44:39,263 - INFO - Created Project:ctest-TestBasicPolicy-00089134, ID : b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:44:41,055 - INFO - ================================================================================ 2026-07-18 15:44:41,056 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-07-18 15:44:41,056 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2026-07-18 15:44:41,317 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with 2026-07-18 15:44:41,317 - INFO - Initial checks done. Running the testcase now 2026-07-18 15:44:41,317 - INFO - 2026-07-18 15:44:42,016 - DEBUG - Response for create_network : {'network': {'id': 'cb84458f-ab3e-4bbb-b00a-da3b83039072', 'name': 'ctest-vn-13447844', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-vn-13447844'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:44:42,179 - DEBUG - Response for create_subnet : {'subnet': {'id': '14cac511-eb05-4f5d-92b2-3e7311464df4', 'name': '', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'network_id': 'cb84458f-ab3e-4bbb-b00a-da3b83039072', 'ip_version': 4, 'cidr': '126.158.119.192/26', 'allocation_pools': [{'start': '126.158.119.194', 'end': '126.158.119.254'}], 'gateway_ip': '126.158.119.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.158.119.194', 'tags': [], 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be'}} 2026-07-18 15:44:42,195 - INFO - Created VN ctest-vn-13447844 2026-07-18 15:44:42,251 - DEBUG - VN ctest-vn-13447844 UUID is cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:42,597 - DEBUG - Response for create_network : {'network': {'id': '83cc6d53-7c6a-4fb4-9d1e-cd28981cc867', 'name': 'ctest-vn-62795190', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-vn-62795190'], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:44:42,833 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a3b2045-dd49-4a09-bab9-87556e457525', 'name': '', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'network_id': '83cc6d53-7c6a-4fb4-9d1e-cd28981cc867', 'ip_version': 4, 'cidr': '215.147.162.128/26', 'allocation_pools': [{'start': '215.147.162.130', 'end': '215.147.162.190'}], 'gateway_ip': '215.147.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.147.162.130', 'tags': [], 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be'}} 2026-07-18 15:44:42,855 - INFO - Created VN ctest-vn-62795190 2026-07-18 15:44:42,907 - DEBUG - VN ctest-vn-62795190 UUID is 83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:43,059 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844, 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-00089134:ctest-vn-62795190, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2026-07-18 15:44:43,382 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cb84458f-ab3e-4bbb-b00a-da3b83039072', 'name': 'ctest-vn-13447844', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['14cac511-eb05-4f5d-92b2-3e7311464df4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-vn-13447844'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-policy-allow-all-13590636']], 'subnet_ipam': [{'subnet_cidr': '126.158.119.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:44:43,632 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83cc6d53-7c6a-4fb4-9d1e-cd28981cc867', 'name': 'ctest-vn-62795190', 'tenant_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'project_id': 'b420bbfdbf0d4f758cb9b81c1e8853be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a3b2045-dd49-4a09-bab9-87556e457525'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-vn-62795190'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-policy-allow-all-13590636']], 'subnet_ipam': [{'subnet_cidr': '215.147.162.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-07-18 15:44:43,803 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:44:44,176 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:44:44,203 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:44:44,219 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:44:44,300 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,329 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:44:44,337 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:44:44,346 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e293c539-99d9-4e08-882d-8035fddbe27b 2026-07-18 15:44:44,355 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:44:44,355 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,365 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:44:44,385 - INFO - Verified VN network id 11 for VN cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,385 - INFO - Verifications in API Server for VN ctest-vn-13447844 passed 2026-07-18 15:44:44,385 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,398 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:44:44,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:44:44,421 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/e293c539-99d9-4e08-882d-8035fddbe27b 2026-07-18 15:44:44,435 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00089134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14664922769980804027', 'uuid-lslong': '12685191249578397810'}, 'enable': 'true', 'created': '2026-07-18T15:44:41', 'last-modified': '2026-07-18T15:44:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.072530'} 2026-07-18 15:44:44,444 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-07-18 15:44:44,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13447844 passed 2026-07-18 15:44:44,444 - DEBUG - ====Verifying policy data for ctest-vn-13447844 in API_Server ====== 2026-07-18 15:44:44,445 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:44:44,451 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:44:44,464 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:44:44,540 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/cb84458f-ab3e-4bbb-b00a-da3b83039072 2026-07-18 15:44:44,551 - DEBUG - ==>Verifying data for policy with id: 8977b450-4a6c-4733-970e-030532aec332, fqn: ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-policy-allow-all-13590636'] 2026-07-18 15:44:44,551 - INFO - VN ctest-vn-13447844 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:44:44,551 - DEBUG - Verifying the vn in opserver 2026-07-18 15:44:44,551 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844 virtual network link through opserver 10.0.0.22 2026-07-18 15:44:44,551 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-18 15:44:44,921 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-18 15:44:44,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844?flat'} 2026-07-18 15:44:44,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-13447844 is found in opserver 2026-07-18 15:44:44,998 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:44:45,004 - DEBUG - VRF ids for VN ctest-vn-13447844: {} 2026-07-18 15:44:45,004 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:44:45,009 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:44:45,020 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:44:45,100 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,121 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,133 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:44:45,142 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:44:45,151 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d616573c-bc9a-4696-b471-6e54605841ee 2026-07-18 15:44:45,158 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:44:45,158 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,169 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:44:45,189 - INFO - Verified VN network id 12 for VN 83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,189 - INFO - Verifications in API Server for VN ctest-vn-62795190 passed 2026-07-18 15:44:45,189 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,203 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:44:45,213 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:44:45,222 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d616573c-bc9a-4696-b471-6e54605841ee 2026-07-18 15:44:45,236 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-62795190', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00089134', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9497085919554588596', 'uuid-lslong': '11321712087490414695'}, 'enable': 'true', 'created': '2026-07-18T15:44:42', 'last-modified': '2026-07-18T15:44:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.633755'} 2026-07-18 15:44:45,244 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-07-18 15:44:45,244 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62795190 passed 2026-07-18 15:44:45,244 - DEBUG - ====Verifying policy data for ctest-vn-62795190 in API_Server ====== 2026-07-18 15:44:45,244 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:44:45,251 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:44:45,264 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:44:45,343 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 2026-07-18 15:44:45,353 - DEBUG - ==>Verifying data for policy with id: 8977b450-4a6c-4733-970e-030532aec332, fqn: ['default-domain', 'ctest-TestBasicPolicy-00089134', 'ctest-policy-allow-all-13590636'] 2026-07-18 15:44:45,353 - INFO - VN ctest-vn-62795190 Policy verification: verify_vn_policy_in_api_server, status: True 2026-07-18 15:44:45,353 - DEBUG - Verifying the vn in opserver 2026-07-18 15:44:45,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-62795190 virtual network link through opserver 10.0.0.22 2026-07-18 15:44:45,353 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-07-18 15:44:45,364 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-62795190', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-62795190?flat'} 2026-07-18 15:44:45,364 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00089134:ctest-vn-62795190 is found in opserver 2026-07-18 15:44:45,374 - DEBUG - Do not have enough data to verify VN in agent 2026-07-18 15:44:45,379 - DEBUG - VRF ids for VN ctest-vn-62795190: {} 2026-07-18 15:44:45,440 - DEBUG - Services list from nova: [, , ] 2026-07-18 15:44:45,914 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6107-1) 2026-07-18 15:44:46,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6107-1) 2026-07-18 15:44:46,308 - INFO - Waiting for VM ctest-TestBasicPolicy-00089134-71287179 to be up.. 2026-07-18 15:44:46,350 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:44:51,440 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:44:56,513 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:01,617 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:06,710 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:11,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:16,901 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:21,987 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-07-18 15:45:27,083 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:45:27,084 - INFO - VM name : ctest-TestBasicPolicy-00089134-71287179 2026-07-18 15:45:27,171 - DEBUG - VM ctest-TestBasicPolicy-00089134-71287179 ID is 4b768ec5-0a70-40e0-887c-9bc09f0b6cc4 2026-07-18 15:45:27,193 - DEBUG - VM ctest-TestBasicPolicy-00089134-71287179 launched on Node cn-jenkins-deploy-platform-ansible-os-6107-1 2026-07-18 15:45:27,282 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/4b768ec5-0a70-40e0-887c-9bc09f0b6cc4 2026-07-18 15:45:27,291 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7d2557ee-f832-4db3-bdf1-f153fb9fc76c 2026-07-18 15:45:30,565 - 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=2 ttl=63 time=14.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 13.995/13.995/13.995/0.000 ms') 2026-07-18 15:45:30,566 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00089134-71287179 passed 2026-07-18 15:45:30,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:45:30,728 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00089134-71287179, IP 126.158.119.195, Port 22 2026-07-18 15:45:30,794 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-07-18 15:45:30,877 - DEBUG - VM ctest-TestBasicPolicy-00089134-71287179 is NOT ready for SSH connections, VM status: ACTIVE 2026-07-18 15:45:35,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:45:35,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00089134-71287179, IP 126.158.119.195, Port 22 2026-07-18 15:45:36,050 - DEBUG - VM ctest-TestBasicPolicy-00089134-71287179 is ready for SSH connections 2026-07-18 15:45:36,050 - INFO - Waiting for VM ctest-TestBasicPolicy-00089134-06130648 to be up.. 2026-07-18 15:45:36,137 - DEBUG - VM is in ACTIVE state now 2026-07-18 15:45:36,137 - INFO - VM name : ctest-TestBasicPolicy-00089134-06130648 2026-07-18 15:45:36,218 - DEBUG - VM ctest-TestBasicPolicy-00089134-06130648 ID is b382873e-4fb1-49e2-bca6-5d3cda3cbce9 2026-07-18 15:45:36,219 - DEBUG - VM ctest-TestBasicPolicy-00089134-06130648 launched on Node cn-jenkins-deploy-platform-ansible-os-6107-1 2026-07-18 15:45:36,300 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b382873e-4fb1-49e2-bca6-5d3cda3cbce9 2026-07-18 15:45:36,310 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/909dc635-1029-4880-adad-9d5bf2df600c 2026-07-18 15:45:37,567 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.19 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 = 1.185/2.884/4.584/1.699 ms') 2026-07-18 15:45:37,568 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00089134-06130648 passed 2026-07-18 15:45:37,723 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:45:37,724 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00089134-06130648, IP 215.147.162.131, Port 22 2026-07-18 15:45:37,889 - DEBUG - VM ctest-TestBasicPolicy-00089134-06130648 is ready for SSH connections 2026-07-18 15:45:37,889 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:45:37,889 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.147.162.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-18 15:45:37,890 - DEBUG - ping -s 56 -c 3 -W 1 215.147.162.131 2026-07-18 15:45:42,350 - DEBUG - PING 215.147.162.131 (215.147.162.131): 56 data bytes 64 bytes from 215.147.162.131: seq=0 ttl=63 time=5.617 ms 64 bytes from 215.147.162.131: seq=1 ttl=63 time=1.962 ms 64 bytes from 215.147.162.131: seq=2 ttl=63 time=2.913 ms --- 215.147.162.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.962/3.497/5.617 ms 2026-07-18 15:45:42,350 - INFO - Ping to IP 215.147.162.131 from VM ctest-TestBasicPolicy-00089134-71287179 passed 2026-07-18 15:45:42,535 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8977b450-4a6c-4733-970e-030532aec332", "href": "http://10.0.0.22:8082/network-policy/8977b450-4a6c-4733-970e-030532aec332"}} 2026-07-18 15:45:42,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-07-18 15:45:42,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 215.147.162.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-07-18 15:45:42,536 - DEBUG - ping -s 56 -c 3 -W 1 215.147.162.131 2026-07-18 15:45:46,034 - DEBUG - PING 215.147.162.131 (215.147.162.131): 56 data bytes 64 bytes from 215.147.162.131: seq=0 ttl=63 time=3.082 ms --- 215.147.162.131 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 3.082/3.082/3.082 ms 2026-07-18 15:45:46,034 - WARNING - Ping to IP 215.147.162.131 from VM ctest-TestBasicPolicy-00089134-71287179 failed 2026-07-18 15:45:46,034 - INFO - Deleting VM ctest-TestBasicPolicy-00089134-06130648 2026-07-18 15:45:46,112 - INFO - Deleting VM ctest-TestBasicPolicy-00089134-71287179 2026-07-18 15:45:46,525 - INFO - Deleted policy ctest-policy-allow-all-13590636 2026-07-18 15:45:46,525 - INFO - Deleting VN ctest-vn-62795190 2026-07-18 15:45:46,559 - DEBUG - VN 83cc6d53-7c6a-4fb4-9d1e-cd28981cc867 still in use: Unable to complete operation on network 83cc6d53-7c6a-4fb4-9d1e-cd28981cc867. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-39ee1e18-b793-476a-87da-89fe9c3981dc'] 2026-07-18 15:45:46,560 - WARNING - Deleting VN ctest-vn-62795190 failed..Will retry 2026-07-18 15:45:48,688 - DEBUG - Response for deleting network () 2026-07-18 15:45:48,688 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/e3f97b86-b3f2-4928-83b4-4b0ec7b62bd3 2026-07-18 15:45:48,694 - DEBUG - Response Code: 404 2026-07-18 15:45:48,694 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:45:48,702 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:45:48,758 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:45:48,840 - INFO - Validated that VN ctest-vn-62795190 is not found in API Server 2026-07-18 15:45:48,856 - DEBUG - VN ctest-vn-62795190 is not present in Agent 10.0.0.22 2026-07-18 15:45:48,856 - INFO - Validated that VN ctest-vn-62795190 is not in any agent 2026-07-18 15:45:48,872 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-62795190 info 2026-07-18 15:45:48,872 - INFO - Deleting VN ctest-vn-13447844 2026-07-18 15:45:48,985 - DEBUG - Response for deleting network () 2026-07-18 15:45:48,986 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/ebe7585d-d417-4786-a267-b61dcb5fa0c1 2026-07-18 15:45:48,993 - DEBUG - Response Code: 404 2026-07-18 15:45:48,994 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-07-18 15:45:49,000 - DEBUG - Requesting: http://10.0.0.22:8082/domain/57cf94c0-b0fc-4afc-b83e-cd5679560f9b 2026-07-18 15:45:49,053 - DEBUG - Requesting: http://10.0.0.22:8082/project/b420bbfd-bf0d-4f75-8cb9-b81c1e8853be 2026-07-18 15:45:49,132 - INFO - Validated that VN ctest-vn-13447844 is not found in API Server 2026-07-18 15:45:49,142 - DEBUG - VN ctest-vn-13447844 is not present in Agent 10.0.0.22 2026-07-18 15:45:49,142 - INFO - Validated that VN ctest-vn-13447844 is not in any agent 2026-07-18 15:45:49,159 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-13447844 info 2026-07-18 15:45:49,430 - DEBUG - No XMPP flaps were noticed during the test 2026-07-18 15:45:49,430 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:08] 2026-07-18 15:45:49,430 - INFO - -------------------------------------------------------------------------------- 2026-07-18 15:45:50,217 - INFO - Deleted project: ctest-TestBasicPolicy-00089134, ID : b420bbfd-bf0d-4f75-8cb9-b81c1e8853be