2026-03-14 00:29:53,695 - INFO - Domain Default found not creating 2026-03-14 00:29:53,855 - INFO - Project ctest-TestBasicPolicy-06002940 not found, creating it 2026-03-14 00:29:54,314 - INFO - Created Project:ctest-TestBasicPolicy-06002940, ID : 812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:29:55,738 - INFO - ================================================================================ 2026-03-14 00:29:55,738 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-14 00:29:55,738 - 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-03-14 00:29:55,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2026-03-14 00:29:55,992 - INFO - Initial checks done. Running the testcase now 2026-03-14 00:29:55,992 - INFO - 2026-03-14 00:29:56,549 - DEBUG - Response for create_network : {'network': {'id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'name': 'ctest-vn-93102252', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-93102252'], 'port_security_enabled': True, 'description': ''}} 2026-03-14 00:29:56,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '71dbedf0-f5b6-41c1-a7ed-9b2247c978c6', 'name': '', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'network_id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'ip_version': 4, 'cidr': '102.110.142.192/26', 'allocation_pools': [{'start': '102.110.142.194', 'end': '102.110.142.254'}], 'gateway_ip': '102.110.142.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.110.142.194', 'tags': [], 'project_id': '812792bf06cb42d7893200a0a4ae8c34'}} 2026-03-14 00:29:56,766 - INFO - Created VN ctest-vn-93102252 2026-03-14 00:29:56,819 - DEBUG - VN ctest-vn-93102252 UUID is c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:57,156 - DEBUG - Response for create_network : {'network': {'id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'name': 'ctest-vn-26341490', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-26341490'], 'port_security_enabled': True, 'description': ''}} 2026-03-14 00:29:57,359 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5acd058-737b-4d54-aa93-02eef75d092e', 'name': '', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'network_id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'ip_version': 4, 'cidr': '157.32.163.0/26', 'allocation_pools': [{'start': '157.32.163.2', 'end': '157.32.163.62'}], 'gateway_ip': '157.32.163.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.32.163.2', 'tags': [], 'project_id': '812792bf06cb42d7893200a0a4ae8c34'}} 2026-03-14 00:29:57,378 - INFO - Created VN ctest-vn-26341490 2026-03-14 00:29:57,431 - DEBUG - VN ctest-vn-26341490 UUID is 0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:57,583 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252, 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-06002940:ctest-vn-26341490, 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-03-14 00:29:57,906 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c193c27f-508e-4889-841e-fceee43b64ae', 'name': 'ctest-vn-93102252', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71dbedf0-f5b6-41c1-a7ed-9b2247c978c6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-93102252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']], 'subnet_ipam': [{'subnet_cidr': '102.110.142.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-14 00:29:58,133 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0d98f43c-1b20-4c1d-9d90-69de998082b0', 'name': 'ctest-vn-26341490', 'tenant_id': '812792bf06cb42d7893200a0a4ae8c34', 'project_id': '812792bf06cb42d7893200a0a4ae8c34', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d5acd058-737b-4d54-aa93-02eef75d092e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-vn-26341490'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446']], 'subnet_ipam': [{'subnet_cidr': '157.32.163.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-14 00:29:58,295 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:29:58,588 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:29:58,621 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:29:58,633 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:29:58,703 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,713 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,725 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:29:58,732 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:29:58,738 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dcea1f28-46b7-4576-8681-17c854a23f73 2026-03-14 00:29:58,745 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-14 00:29:58,745 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,754 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:29:58,770 - INFO - Verified VN network id 11 for VN c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,770 - INFO - Verifications in API Server for VN ctest-vn-93102252 passed 2026-03-14 00:29:58,770 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,780 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:29:58,787 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:29:58,793 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/dcea1f28-46b7-4576-8681-17c854a23f73 2026-03-14 00:29:58,805 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06002940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13948706322964695177', 'uuid-lslong': '9520324765269320878'}, 'enable': 'true', 'created': '2026-03-14T00:29:56', 'last-modified': '2026-03-14T00:29:57', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.942024'} 2026-03-14 00:29:58,811 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-14 00:29:58,811 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93102252 passed 2026-03-14 00:29:58,811 - DEBUG - ====Verifying policy data for ctest-vn-93102252 in API_Server ====== 2026-03-14 00:29:58,811 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:29:58,816 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:29:58,827 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:29:58,895 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/c193c27f-508e-4889-841e-fceee43b64ae 2026-03-14 00:29:58,905 - DEBUG - ==>Verifying data for policy with id: 31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446'] 2026-03-14 00:29:58,905 - INFO - VN ctest-vn-93102252 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-14 00:29:58,905 - DEBUG - Verifying the vn in opserver 2026-03-14 00:29:58,905 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252 virtual network link through opserver 10.0.0.249 2026-03-14 00:29:58,905 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-14 00:29:59,201 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-14 00:29:59,264 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252?flat'} 2026-03-14 00:29:59,264 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252 is found in opserver 2026-03-14 00:29:59,273 - DEBUG - Do not have enough data to verify VN in agent 2026-03-14 00:29:59,278 - DEBUG - VRF ids for VN ctest-vn-93102252: {} 2026-03-14 00:29:59,278 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:29:59,284 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:29:59,294 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:29:59,362 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,375 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,384 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:29:59,392 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:29:59,400 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/475dba0c-5bc8-4540-8881-879429330b86 2026-03-14 00:29:59,407 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-14 00:29:59,407 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,416 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:29:59,431 - INFO - Verified VN network id 12 for VN 0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,431 - INFO - Verifications in API Server for VN ctest-vn-26341490 passed 2026-03-14 00:29:59,431 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,440 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:29:59,446 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:29:59,453 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/475dba0c-5bc8-4540-8881-879429330b86 2026-03-14 00:29:59,465 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06002940', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '979801457943399453', 'uuid-lslong': '11353691065380012720'}, 'enable': 'true', 'created': '2026-03-14T00:29:57', 'last-modified': '2026-03-14T00:29:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352062'} 2026-03-14 00:29:59,470 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-14 00:29:59,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26341490 passed 2026-03-14 00:29:59,471 - DEBUG - ====Verifying policy data for ctest-vn-26341490 in API_Server ====== 2026-03-14 00:29:59,471 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:29:59,477 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:29:59,487 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:29:59,557 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0d98f43c-1b20-4c1d-9d90-69de998082b0 2026-03-14 00:29:59,567 - DEBUG - ==>Verifying data for policy with id: 31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf, fqn: ['default-domain', 'ctest-TestBasicPolicy-06002940', 'ctest-policy-allow-all-01390446'] 2026-03-14 00:29:59,567 - INFO - VN ctest-vn-26341490 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-14 00:29:59,567 - DEBUG - Verifying the vn in opserver 2026-03-14 00:29:59,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490 virtual network link through opserver 10.0.0.249 2026-03-14 00:29:59,567 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-14 00:29:59,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490?flat'} 2026-03-14 00:29:59,577 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-26341490 is found in opserver 2026-03-14 00:29:59,585 - DEBUG - Do not have enough data to verify VN in agent 2026-03-14 00:29:59,590 - DEBUG - VRF ids for VN ctest-vn-26341490: {} 2026-03-14 00:29:59,643 - DEBUG - Services list from nova: [, , ] 2026-03-14 00:30:00,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5468-1) 2026-03-14 00:30:01,868 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5468-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5468-1) 2026-03-14 00:30:01,868 - INFO - Waiting for VM ctest-TestBasicPolicy-06002940-34855969 to be up.. 2026-03-14 00:30:01,961 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-14 00:30:07,049 - DEBUG - VM is in ACTIVE state now 2026-03-14 00:30:07,049 - INFO - VM name : ctest-TestBasicPolicy-06002940-34855969 2026-03-14 00:30:07,124 - DEBUG - VM ctest-TestBasicPolicy-06002940-34855969 ID is 616714f4-cde7-4451-ac0c-67b561be44b4 2026-03-14 00:30:07,154 - DEBUG - VM ctest-TestBasicPolicy-06002940-34855969 launched on Node cn-jenkins-deploy-platform-ansible-os-5468-1 2026-03-14 00:30:07,229 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/616714f4-cde7-4451-ac0c-67b561be44b4 2026-03-14 00:30:07,239 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c8e94cce-f1bf-42e6-a20f-225d491c1a25 2026-03-14 00:30:10,507 - 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 1023ms') 2026-03-14 00:30:10,507 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06002940-34855969 failed! 2026-03-14 00:30:10,563 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06002940:ctest-vn-93102252 is 102.110.142.193 and allocation pool is NOT set 2026-03-14 00:30:12,633 - 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=8.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.290/4.763/8.236/3.473 ms') 2026-03-14 00:30:12,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06002940-34855969 passed 2026-03-14 00:30:12,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-14 00:30:12,787 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06002940-34855969, IP 102.110.142.195, Port 22 2026-03-14 00:30:12,854 - 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-03-14 00:30:12,943 - DEBUG - VM ctest-TestBasicPolicy-06002940-34855969 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-14 00:30:17,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-14 00:30:17,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06002940-34855969, IP 102.110.142.195, Port 22 2026-03-14 00:30:18,102 - DEBUG - VM ctest-TestBasicPolicy-06002940-34855969 is ready for SSH connections 2026-03-14 00:30:18,102 - INFO - Waiting for VM ctest-TestBasicPolicy-06002940-91468679 to be up.. 2026-03-14 00:30:18,188 - DEBUG - VM is in ACTIVE state now 2026-03-14 00:30:18,188 - INFO - VM name : ctest-TestBasicPolicy-06002940-91468679 2026-03-14 00:30:18,274 - DEBUG - VM ctest-TestBasicPolicy-06002940-91468679 ID is 9f19fdcb-3e25-4fe2-84ac-8bf2f8b37648 2026-03-14 00:30:18,274 - DEBUG - VM ctest-TestBasicPolicy-06002940-91468679 launched on Node cn-jenkins-deploy-platform-ansible-os-5468-1 2026-03-14 00:30:18,358 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/9f19fdcb-3e25-4fe2-84ac-8bf2f8b37648 2026-03-14 00:30:18,373 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/34f51d8b-b979-45a5-8a64-c009a8b7925e 2026-03-14 00:30:19,619 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.454 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.454/1.684/2.914/1.230 ms') 2026-03-14 00:30:19,619 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06002940-91468679 passed 2026-03-14 00:30:19,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-14 00:30:19,767 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06002940-91468679, IP 157.32.163.3, Port 22 2026-03-14 00:30:19,923 - DEBUG - VM ctest-TestBasicPolicy-06002940-91468679 is ready for SSH connections 2026-03-14 00:30:19,923 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-14 00:30:19,923 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.32.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-14 00:30:19,923 - DEBUG - ping -s 56 -c 3 -W 1 157.32.163.3 2026-03-14 00:30:23,926 - DEBUG - PING 157.32.163.3 (157.32.163.3): 56 data bytes 64 bytes from 157.32.163.3: seq=0 ttl=63 time=3.257 ms 64 bytes from 157.32.163.3: seq=1 ttl=63 time=0.835 ms 64 bytes from 157.32.163.3: seq=2 ttl=63 time=0.944 ms --- 157.32.163.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.678/3.257 ms 2026-03-14 00:30:23,926 - INFO - Ping to IP 157.32.163.3 from VM ctest-TestBasicPolicy-06002940-34855969 passed 2026-03-14 00:30:24,099 - DEBUG - Policy Update Response {"network-policy": {"uuid": "31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf", "href": "http://10.0.0.249:8082/network-policy/31a8e94b-12f4-40c5-88ad-9cf00e7fbdaf"}} 2026-03-14 00:30:24,099 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-14 00:30:24,099 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 157.32.163.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-14 00:30:24,099 - DEBUG - ping -s 56 -c 3 -W 1 157.32.163.3 2026-03-14 00:30:27,314 - DEBUG - PING 157.32.163.3 (157.32.163.3): 56 data bytes --- 157.32.163.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-14 00:30:27,315 - WARNING - Ping to IP 157.32.163.3 from VM ctest-TestBasicPolicy-06002940-34855969 failed 2026-03-14 00:30:27,315 - INFO - Deleting VM ctest-TestBasicPolicy-06002940-91468679 2026-03-14 00:30:27,385 - INFO - Deleting VM ctest-TestBasicPolicy-06002940-34855969 2026-03-14 00:30:27,733 - INFO - Deleted policy ctest-policy-allow-all-01390446 2026-03-14 00:30:27,733 - INFO - Deleting VN ctest-vn-26341490 2026-03-14 00:30:27,765 - DEBUG - VN 0d98f43c-1b20-4c1d-9d90-69de998082b0 still in use: Unable to complete operation on network 0d98f43c-1b20-4c1d-9d90-69de998082b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b124b605-2f1c-4f11-b85f-f2d400146a35'] 2026-03-14 00:30:27,765 - WARNING - Deleting VN ctest-vn-26341490 failed..Will retry 2026-03-14 00:30:29,862 - DEBUG - Response for deleting network () 2026-03-14 00:30:29,862 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/a72c535c-d709-44bb-b837-3a580d157034 2026-03-14 00:30:29,867 - DEBUG - Response Code: 404 2026-03-14 00:30:29,867 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:30:29,872 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:30:29,928 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:30:30,001 - INFO - Validated that VN ctest-vn-26341490 is not found in API Server 2026-03-14 00:30:30,012 - DEBUG - VN ctest-vn-26341490 is not present in Agent 10.0.0.249 2026-03-14 00:30:30,013 - INFO - Validated that VN ctest-vn-26341490 is not in any agent 2026-03-14 00:30:30,026 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-26341490 info 2026-03-14 00:30:30,026 - INFO - Deleting VN ctest-vn-93102252 2026-03-14 00:30:30,126 - DEBUG - Response for deleting network () 2026-03-14 00:30:30,126 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f2bc0e1f-c63a-47a4-bfda-e450d42ed2e2 2026-03-14 00:30:30,131 - DEBUG - Response Code: 404 2026-03-14 00:30:30,131 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-14 00:30:30,140 - DEBUG - Requesting: http://10.0.0.249:8082/domain/56d0b843-db41-480a-9ce1-f5fc7f95ba33 2026-03-14 00:30:30,196 - DEBUG - Requesting: http://10.0.0.249:8082/project/812792bf-06cb-42d7-8932-00a0a4ae8c34 2026-03-14 00:30:30,265 - INFO - Validated that VN ctest-vn-93102252 is not found in API Server 2026-03-14 00:30:30,274 - DEBUG - VN ctest-vn-93102252 is not present in Agent 10.0.0.249 2026-03-14 00:30:30,275 - INFO - Validated that VN ctest-vn-93102252 is not in any agent 2026-03-14 00:30:30,288 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93102252 info 2026-03-14 00:30:30,540 - DEBUG - No XMPP flaps were noticed during the test 2026-03-14 00:30:30,540 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-14 00:30:30,541 - INFO - -------------------------------------------------------------------------------- 2026-03-14 00:30:31,200 - INFO - Deleted project: ctest-TestBasicPolicy-06002940, ID : 812792bf-06cb-42d7-8932-00a0a4ae8c34