2026-02-02 09:16:22,398 - INFO - Domain Default found not creating 2026-02-02 09:16:22,565 - INFO - Project ctest-TestBasicPolicy-66386483 not found, creating it 2026-02-02 09:16:23,024 - INFO - Created Project:ctest-TestBasicPolicy-66386483, ID : 85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:24,550 - INFO - ================================================================================ 2026-02-02 09:16:24,550 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 09:16:24,550 - 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-02 09:16:24,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2026-02-02 09:16:24,807 - INFO - Initial checks done. Running the testcase now 2026-02-02 09:16:24,807 - INFO - 2026-02-02 09:16:25,384 - DEBUG - Response for create_network : {'network': {'id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'name': 'ctest-vn-72163158', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-72163158'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:16:25,625 - DEBUG - Response for create_subnet : {'subnet': {'id': '61cce34a-c575-4853-86a8-1a364746b328', 'name': '', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'network_id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'ip_version': 4, 'cidr': '28.110.254.128/26', 'allocation_pools': [{'start': '28.110.254.130', 'end': '28.110.254.190'}], 'gateway_ip': '28.110.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.110.254.130', 'tags': [], 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8'}} 2026-02-02 09:16:25,648 - INFO - Created VN ctest-vn-72163158 2026-02-02 09:16:25,704 - DEBUG - VN ctest-vn-72163158 UUID is bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:26,054 - DEBUG - Response for create_network : {'network': {'id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'name': 'ctest-vn-37045412', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-37045412'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:16:26,256 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ae629aa-7f7f-4946-a5e5-b5bf4dc7e5ad', 'name': '', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'network_id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'ip_version': 4, 'cidr': '172.105.70.0/26', 'allocation_pools': [{'start': '172.105.70.2', 'end': '172.105.70.62'}], 'gateway_ip': '172.105.70.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.105.70.2', 'tags': [], 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8'}} 2026-02-02 09:16:26,276 - INFO - Created VN ctest-vn-37045412 2026-02-02 09:16:26,328 - DEBUG - VN ctest-vn-37045412 UUID is 3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:26,447 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158, 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-66386483:ctest-vn-37045412, 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-02 09:16:26,752 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'bc439f5a-ce14-4f0e-8be8-02ee1c3b887b', 'name': 'ctest-vn-72163158', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61cce34a-c575-4853-86a8-1a364746b328'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-72163158'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']], 'subnet_ipam': [{'subnet_cidr': '28.110.254.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:16:27,039 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ad49e85-8244-41d3-9f44-9b6640388691', 'name': 'ctest-vn-37045412', 'tenant_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'project_id': '85a1eed5b5b6431992d85ea4f23a63c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1ae629aa-7f7f-4946-a5e5-b5bf4dc7e5ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-vn-37045412'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111']], 'subnet_ipam': [{'subnet_cidr': '172.105.70.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 09:16:27,200 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:27,507 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:27,540 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:27,553 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:27,623 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,633 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,643 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:27,651 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:27,658 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/09771f34-c193-4bca-8502-015f576c9dfa 2026-02-02 09:16:27,665 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 09:16:27,665 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,674 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:27,689 - INFO - Verified VN network id 11 for VN bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,689 - INFO - Verifications in API Server for VN ctest-vn-72163158 passed 2026-02-02 09:16:27,690 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,700 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:27,707 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:27,714 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/09771f34-c193-4bca-8502-015f576c9dfa 2026-02-02 09:16:27,726 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66386483', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13565861714923376398', 'uuid-lslong': '10081310987567990907'}, 'enable': 'true', 'created': '2026-02-02T09:16:25', 'last-modified': '2026-02-02T09:16:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.004575'} 2026-02-02 09:16:27,732 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 09:16:27,732 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72163158 passed 2026-02-02 09:16:27,732 - DEBUG - ====Verifying policy data for ctest-vn-72163158 in API_Server ====== 2026-02-02 09:16:27,732 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:27,738 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:27,749 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:27,824 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/bc439f5a-ce14-4f0e-8be8-02ee1c3b887b 2026-02-02 09:16:27,833 - DEBUG - ==>Verifying data for policy with id: 07cc9c4d-0894-429b-87a5-a42849027912, fqn: ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111'] 2026-02-02 09:16:27,833 - INFO - VN ctest-vn-72163158 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 09:16:27,833 - DEBUG - Verifying the vn in opserver 2026-02-02 09:16:27,833 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158 virtual network link through opserver 10.0.0.19 2026-02-02 09:16:27,834 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 09:16:28,126 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 09:16:28,208 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158?flat'} 2026-02-02 09:16:28,208 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158 is found in opserver 2026-02-02 09:16:28,217 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 09:16:28,223 - DEBUG - VRF ids for VN ctest-vn-72163158: {} 2026-02-02 09:16:28,223 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:28,231 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:28,248 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:28,322 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,334 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,345 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:28,353 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:28,360 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/74d7a377-8849-4c74-a856-1d1ec14b6fbe 2026-02-02 09:16:28,367 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 09:16:28,367 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,376 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:28,393 - INFO - Verified VN network id 12 for VN 3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,393 - INFO - Verifications in API Server for VN ctest-vn-37045412 passed 2026-02-02 09:16:28,393 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,405 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:28,413 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:28,420 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/74d7a377-8849-4c74-a856-1d1ec14b6fbe 2026-02-02 09:16:28,435 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66386483', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4239187445515829715', 'uuid-lslong': '11476468613913282193'}, 'enable': 'true', 'created': '2026-02-02T09:16:26', 'last-modified': '2026-02-02T09:16:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465261'} 2026-02-02 09:16:28,441 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 09:16:28,441 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37045412 passed 2026-02-02 09:16:28,441 - DEBUG - ====Verifying policy data for ctest-vn-37045412 in API_Server ====== 2026-02-02 09:16:28,441 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:28,447 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:28,458 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:28,530 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3ad49e85-8244-41d3-9f44-9b6640388691 2026-02-02 09:16:28,540 - DEBUG - ==>Verifying data for policy with id: 07cc9c4d-0894-429b-87a5-a42849027912, fqn: ['default-domain', 'ctest-TestBasicPolicy-66386483', 'ctest-policy-allow-all-99786111'] 2026-02-02 09:16:28,540 - INFO - VN ctest-vn-37045412 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 09:16:28,540 - DEBUG - Verifying the vn in opserver 2026-02-02 09:16:28,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412 virtual network link through opserver 10.0.0.19 2026-02-02 09:16:28,540 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-02-02 09:16:28,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412?flat'} 2026-02-02 09:16:28,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-37045412 is found in opserver 2026-02-02 09:16:28,562 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 09:16:28,566 - DEBUG - VRF ids for VN ctest-vn-37045412: {} 2026-02-02 09:16:28,625 - DEBUG - Services list from nova: [, , ] 2026-02-02 09:16:29,724 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1) 2026-02-02 09:16:30,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5170-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5170-1) 2026-02-02 09:16:30,910 - INFO - Waiting for VM ctest-TestBasicPolicy-66386483-08280343 to be up.. 2026-02-02 09:16:31,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 09:16:36,098 - DEBUG - VM is in ACTIVE state now 2026-02-02 09:16:36,098 - INFO - VM name : ctest-TestBasicPolicy-66386483-08280343 2026-02-02 09:16:36,180 - DEBUG - VM ctest-TestBasicPolicy-66386483-08280343 ID is c88588c8-b2fe-4569-bf67-b1e46d7b4257 2026-02-02 09:16:36,201 - DEBUG - VM ctest-TestBasicPolicy-66386483-08280343 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1 2026-02-02 09:16:36,288 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/c88588c8-b2fe-4569-bf67-b1e46d7b4257 2026-02-02 09:16:36,297 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/9e2c0cf1-87ae-4b1e-ade7-03d1cb54902b 2026-02-02 09:16:39,559 - 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 1009ms') 2026-02-02 09:16:39,559 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66386483-08280343 failed! 2026-02-02 09:16:39,616 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-66386483:ctest-vn-72163158 is 28.110.254.129 and allocation pool is NOT set 2026-02-02 09:16:41,680 - 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=6.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.44 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.439/5.034/6.630/1.595 ms') 2026-02-02 09:16:41,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-66386483-08280343 passed 2026-02-02 09:16:41,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:16:41,832 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66386483-08280343, IP 28.110.254.131, Port 22 2026-02-02 09:16:41,888 - 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-02 09:16:41,973 - DEBUG - VM ctest-TestBasicPolicy-66386483-08280343 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 09:16:46,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:16:46,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66386483-08280343, IP 28.110.254.131, Port 22 2026-02-02 09:16:47,132 - DEBUG - VM ctest-TestBasicPolicy-66386483-08280343 is ready for SSH connections 2026-02-02 09:16:47,133 - INFO - Waiting for VM ctest-TestBasicPolicy-66386483-69144426 to be up.. 2026-02-02 09:16:47,218 - DEBUG - VM is in ACTIVE state now 2026-02-02 09:16:47,219 - INFO - VM name : ctest-TestBasicPolicy-66386483-69144426 2026-02-02 09:16:47,301 - DEBUG - VM ctest-TestBasicPolicy-66386483-69144426 ID is f64083c0-639d-416c-bd79-81ce75d3ab6f 2026-02-02 09:16:47,301 - DEBUG - VM ctest-TestBasicPolicy-66386483-69144426 launched on Node cn-jenkins-deploy-platform-ansible-os-5170-1 2026-02-02 09:16:47,379 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/f64083c0-639d-416c-bd79-81ce75d3ab6f 2026-02-02 09:16:47,388 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6a753fed-25ce-418b-8978-04649a1d39a5 2026-02-02 09:16:48,627 - 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=3.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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 = 0.439/1.783/3.127/1.344 ms') 2026-02-02 09:16:48,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-66386483-69144426 passed 2026-02-02 09:16:48,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:16:48,776 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-66386483-69144426, IP 172.105.70.3, Port 22 2026-02-02 09:16:48,931 - DEBUG - VM ctest-TestBasicPolicy-66386483-69144426 is ready for SSH connections 2026-02-02 09:16:48,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:16:48,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.105.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 09:16:48,932 - DEBUG - ping -s 56 -c 3 -W 1 172.105.70.3 2026-02-02 09:16:53,045 - DEBUG - PING 172.105.70.3 (172.105.70.3): 56 data bytes 64 bytes from 172.105.70.3: seq=0 ttl=63 time=3.943 ms 64 bytes from 172.105.70.3: seq=1 ttl=63 time=1.157 ms 64 bytes from 172.105.70.3: seq=2 ttl=63 time=0.969 ms --- 172.105.70.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/2.023/3.943 ms 2026-02-02 09:16:53,045 - INFO - Ping to IP 172.105.70.3 from VM ctest-TestBasicPolicy-66386483-08280343 passed 2026-02-02 09:16:53,236 - DEBUG - Policy Update Response {"network-policy": {"uuid": "07cc9c4d-0894-429b-87a5-a42849027912", "href": "http://10.0.0.19:8082/network-policy/07cc9c4d-0894-429b-87a5-a42849027912"}} 2026-02-02 09:16:53,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 09:16:53,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 172.105.70.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-02-02 09:16:53,236 - DEBUG - ping -s 56 -c 3 -W 1 172.105.70.3 2026-02-02 09:16:56,497 - DEBUG - PING 172.105.70.3 (172.105.70.3): 56 data bytes --- 172.105.70.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 09:16:56,498 - WARNING - Ping to IP 172.105.70.3 from VM ctest-TestBasicPolicy-66386483-08280343 failed 2026-02-02 09:16:56,498 - INFO - Deleting VM ctest-TestBasicPolicy-66386483-69144426 2026-02-02 09:16:56,572 - INFO - Deleting VM ctest-TestBasicPolicy-66386483-08280343 2026-02-02 09:16:56,960 - INFO - Deleted policy ctest-policy-allow-all-99786111 2026-02-02 09:16:56,961 - INFO - Deleting VN ctest-vn-37045412 2026-02-02 09:16:57,000 - DEBUG - VN 3ad49e85-8244-41d3-9f44-9b6640388691 still in use: Unable to complete operation on network 3ad49e85-8244-41d3-9f44-9b6640388691. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-22a251cb-c654-4f0b-9115-7af117fcc1a6'] 2026-02-02 09:16:57,001 - WARNING - Deleting VN ctest-vn-37045412 failed..Will retry 2026-02-02 09:16:59,099 - DEBUG - Response for deleting network () 2026-02-02 09:16:59,099 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0e3702ce-abb8-45f1-993f-229d726781a4 2026-02-02 09:16:59,106 - DEBUG - Response Code: 404 2026-02-02 09:16:59,106 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:59,112 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:59,166 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:59,245 - INFO - Validated that VN ctest-vn-37045412 is not found in API Server 2026-02-02 09:16:59,255 - DEBUG - VN ctest-vn-37045412 is not present in Agent 10.0.0.19 2026-02-02 09:16:59,255 - INFO - Validated that VN ctest-vn-37045412 is not in any agent 2026-02-02 09:16:59,270 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37045412 info 2026-02-02 09:16:59,270 - INFO - Deleting VN ctest-vn-72163158 2026-02-02 09:16:59,406 - DEBUG - Response for deleting network () 2026-02-02 09:16:59,407 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/b66a52e8-e6cf-43b8-9000-29b8b3a97dcc 2026-02-02 09:16:59,415 - DEBUG - Response Code: 404 2026-02-02 09:16:59,415 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-02-02 09:16:59,420 - DEBUG - Requesting: http://10.0.0.19:8082/domain/e95fce11-2ae1-425a-b2ce-6e2e6df5975a 2026-02-02 09:16:59,474 - DEBUG - Requesting: http://10.0.0.19:8082/project/85a1eed5-b5b6-4319-92d8-5ea4f23a63c8 2026-02-02 09:16:59,545 - INFO - Validated that VN ctest-vn-72163158 is not found in API Server 2026-02-02 09:16:59,555 - DEBUG - VN ctest-vn-72163158 is not present in Agent 10.0.0.19 2026-02-02 09:16:59,556 - INFO - Validated that VN ctest-vn-72163158 is not in any agent 2026-02-02 09:16:59,570 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72163158 info 2026-02-02 09:16:59,829 - DEBUG - No XMPP flaps were noticed during the test
2026-02-02 09:16:59,829 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-02-02 09:16:59,829 - INFO - -------------------------------------------------------------------------------- 2026-02-02 09:17:00,611 - INFO - Deleted project: ctest-TestBasicPolicy-66386483, ID : 85a1eed5-b5b6-4319-92d8-5ea4f23a63c8