2026-03-02 02:09:07,150 - INFO - Domain Default found not creating 2026-03-02 02:09:07,319 - INFO - Project ctest-TestBasicPolicy-37877792 not found, creating it 2026-03-02 02:09:07,787 - INFO - Created Project:ctest-TestBasicPolicy-37877792, ID : cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:09,361 - INFO - ================================================================================ 2026-03-02 02:09:09,361 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-03-02 02:09:09,361 - 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-02 02:09:09,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.18': '0'}} with 2026-03-02 02:09:09,631 - INFO - Initial checks done. Running the testcase now 2026-03-02 02:09:09,631 - INFO - 2026-03-02 02:09:10,223 - DEBUG - Response for create_network : {'network': {'id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'name': 'ctest-vn-23021284', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-23021284'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:09:10,419 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1bd2110-8e2e-481d-ba09-0bd9e5535d18', 'name': '', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'network_id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'ip_version': 4, 'cidr': '26.16.6.0/26', 'allocation_pools': [{'start': '26.16.6.2', 'end': '26.16.6.62'}], 'gateway_ip': '26.16.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.16.6.2', 'tags': [], 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8'}} 2026-03-02 02:09:10,436 - INFO - Created VN ctest-vn-23021284 2026-03-02 02:09:10,489 - DEBUG - VN ctest-vn-23021284 UUID is 41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:10,819 - DEBUG - Response for create_network : {'network': {'id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'name': 'ctest-vn-96079676', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-96079676'], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:09:11,019 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b0e1223-ff69-463e-b7b2-b557a946dae4', 'name': '', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'network_id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'ip_version': 4, 'cidr': '143.123.50.64/26', 'allocation_pools': [{'start': '143.123.50.66', 'end': '143.123.50.126'}], 'gateway_ip': '143.123.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.123.50.66', 'tags': [], 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8'}} 2026-03-02 02:09:11,037 - INFO - Created VN ctest-vn-96079676 2026-03-02 02:09:11,089 - DEBUG - VN ctest-vn-96079676 UUID is 825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:11,204 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284, 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-37877792:ctest-vn-96079676, 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-02 02:09:11,498 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '41dc294d-94b0-4ddc-b2e4-5f36657ae334', 'name': 'ctest-vn-23021284', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1bd2110-8e2e-481d-ba09-0bd9e5535d18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-23021284'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']], 'subnet_ipam': [{'subnet_cidr': '26.16.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:09:11,731 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '825ca470-bb5b-4af5-8e71-98f286bd7218', 'name': 'ctest-vn-96079676', 'tenant_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'project_id': 'cfde915d629a4dedbe84eb3709b8cec8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4b0e1223-ff69-463e-b7b2-b557a946dae4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-vn-96079676'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682']], 'subnet_ipam': [{'subnet_cidr': '143.123.50.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-03-02 02:09:11,889 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:12,224 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:12,255 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:12,267 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:12,338 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,349 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,358 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:12,365 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:12,373 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/23de06ea-d2ad-4e12-be1d-8e1578f9ad82 2026-03-02 02:09:12,381 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 02:09:12,381 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,390 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:12,404 - INFO - Verified VN network id 11 for VN 41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,404 - INFO - Verifications in API Server for VN ctest-vn-23021284 passed 2026-03-02 02:09:12,404 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,413 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:12,420 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:12,426 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/23de06ea-d2ad-4e12-be1d-8e1578f9ad82 2026-03-02 02:09:12,438 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37877792', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4745713520525463004', 'uuid-lslong': '12890532720676627252'}, 'enable': 'true', 'created': '2026-03-02T02:09:10', 'last-modified': '2026-03-02T02:09:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967391'} 2026-03-02 02:09:12,444 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-03-02 02:09:12,444 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23021284 passed 2026-03-02 02:09:12,444 - DEBUG - ====Verifying policy data for ctest-vn-23021284 in API_Server ====== 2026-03-02 02:09:12,444 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:12,450 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:12,461 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:12,539 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/41dc294d-94b0-4ddc-b2e4-5f36657ae334 2026-03-02 02:09:12,550 - DEBUG - ==>Verifying data for policy with id: 207d2ee1-1be9-4ead-afa7-b14cb2c52643, fqn: ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682'] 2026-03-02 02:09:12,550 - INFO - VN ctest-vn-23021284 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 02:09:12,550 - DEBUG - Verifying the vn in opserver 2026-03-02 02:09:12,550 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284 virtual network link through opserver 10.0.0.249 2026-03-02 02:09:12,551 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-02 02:09:12,887 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-02 02:09:12,951 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284?flat'} 2026-03-02 02:09:12,951 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284 is found in opserver 2026-03-02 02:09:12,961 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 02:09:12,966 - DEBUG - VRF ids for VN ctest-vn-23021284: {} 2026-03-02 02:09:12,966 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:12,971 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:12,982 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:13,053 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,067 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,080 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:13,090 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:13,099 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/11616c0e-02d3-4e77-8887-6e41e0b3754e 2026-03-02 02:09:13,107 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 02:09:13,107 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,116 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:13,131 - INFO - Verified VN network id 12 for VN 825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,131 - INFO - Verifications in API Server for VN ctest-vn-96079676 passed 2026-03-02 02:09:13,131 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,142 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:13,151 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:13,159 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/11616c0e-02d3-4e77-8887-6e41e0b3754e 2026-03-02 02:09:13,176 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37877792', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9393563726874626805', 'uuid-lslong': '10264153193164141080'}, 'enable': 'true', 'created': '2026-03-02T02:09:10', 'last-modified': '2026-03-02T02:09:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.468731'} 2026-03-02 02:09:13,183 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-03-02 02:09:13,183 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96079676 passed 2026-03-02 02:09:13,183 - DEBUG - ====Verifying policy data for ctest-vn-96079676 in API_Server ====== 2026-03-02 02:09:13,183 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:13,191 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:13,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:13,277 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/825ca470-bb5b-4af5-8e71-98f286bd7218 2026-03-02 02:09:13,287 - DEBUG - ==>Verifying data for policy with id: 207d2ee1-1be9-4ead-afa7-b14cb2c52643, fqn: ['default-domain', 'ctest-TestBasicPolicy-37877792', 'ctest-policy-allow-all-20252682'] 2026-03-02 02:09:13,287 - INFO - VN ctest-vn-96079676 Policy verification: verify_vn_policy_in_api_server, status: True 2026-03-02 02:09:13,287 - DEBUG - Verifying the vn in opserver 2026-03-02 02:09:13,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676 virtual network link through opserver 10.0.0.249 2026-03-02 02:09:13,287 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2026-03-02 02:09:13,297 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676?flat'} 2026-03-02 02:09:13,297 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-96079676 is found in opserver 2026-03-02 02:09:13,307 - DEBUG - Do not have enough data to verify VN in agent 2026-03-02 02:09:13,311 - DEBUG - VRF ids for VN ctest-vn-96079676: {} 2026-03-02 02:09:13,374 - DEBUG - Services list from nova: [, , ] 2026-03-02 02:09:14,517 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5414-1) 2026-03-02 02:09:15,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5414-1) 2026-03-02 02:09:15,817 - INFO - Waiting for VM ctest-TestBasicPolicy-37877792-19638160 to be up.. 2026-03-02 02:09:15,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-03-02 02:09:20,981 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:09:20,981 - INFO - VM name : ctest-TestBasicPolicy-37877792-19638160 2026-03-02 02:09:21,064 - DEBUG - VM ctest-TestBasicPolicy-37877792-19638160 ID is 1599aff2-32be-4dba-bb13-11fc0463080f 2026-03-02 02:09:21,084 - DEBUG - VM ctest-TestBasicPolicy-37877792-19638160 launched on Node cn-jenkins-deploy-platform-ansible-os-5414-1 2026-03-02 02:09:21,167 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/1599aff2-32be-4dba-bb13-11fc0463080f 2026-03-02 02:09:21,177 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/354e9120-a375-45e0-85f3-f8173a06b65f 2026-03-02 02:09:24,435 - 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 1013ms') 2026-03-02 02:09:24,435 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37877792-19638160 failed! 2026-03-02 02:09:24,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37877792:ctest-vn-23021284 is 26.16.6.1 and allocation pool is NOT set 2026-03-02 02:09:26,553 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.05 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 3.051/4.972/6.894/1.921 ms') 2026-03-02 02:09:26,553 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37877792-19638160 passed 2026-03-02 02:09:26,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:26,721 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37877792-19638160, IP 26.16.6.3, Port 22 2026-03-02 02:09:26,776 - 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-02 02:09:26,862 - DEBUG - VM ctest-TestBasicPolicy-37877792-19638160 is NOT ready for SSH connections, VM status: ACTIVE 2026-03-02 02:09:31,862 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:31,862 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37877792-19638160, IP 26.16.6.3, Port 22 2026-03-02 02:09:32,017 - DEBUG - VM ctest-TestBasicPolicy-37877792-19638160 is ready for SSH connections 2026-03-02 02:09:32,017 - INFO - Waiting for VM ctest-TestBasicPolicy-37877792-37583251 to be up.. 2026-03-02 02:09:32,096 - DEBUG - VM is in ACTIVE state now 2026-03-02 02:09:32,096 - INFO - VM name : ctest-TestBasicPolicy-37877792-37583251 2026-03-02 02:09:32,171 - DEBUG - VM ctest-TestBasicPolicy-37877792-37583251 ID is bcc30adf-e1de-47cd-929c-289ca81e24c8 2026-03-02 02:09:32,172 - DEBUG - VM ctest-TestBasicPolicy-37877792-37583251 launched on Node cn-jenkins-deploy-platform-ansible-os-5414-1 2026-03-02 02:09:32,257 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bcc30adf-e1de-47cd-929c-289ca81e24c8 2026-03-02 02:09:32,267 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d556f03e-496a-4872-9b19-2210ea039d14 2026-03-02 02:09:33,504 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.387/1.685/2.984/1.298 ms') 2026-03-02 02:09:33,504 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37877792-37583251 passed 2026-03-02 02:09:33,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:33,654 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37877792-37583251, IP 143.123.50.67, Port 22 2026-03-02 02:09:33,809 - DEBUG - VM ctest-TestBasicPolicy-37877792-37583251 is ready for SSH connections 2026-03-02 02:09:33,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:33,809 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.123.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-02 02:09:33,809 - DEBUG - ping -s 56 -c 3 -W 1 143.123.50.67 2026-03-02 02:09:37,996 - DEBUG - PING 143.123.50.67 (143.123.50.67): 56 data bytes 64 bytes from 143.123.50.67: seq=0 ttl=63 time=5.217 ms 64 bytes from 143.123.50.67: seq=1 ttl=63 time=1.428 ms 64 bytes from 143.123.50.67: seq=2 ttl=63 time=1.170 ms --- 143.123.50.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.170/2.605/5.217 ms 2026-03-02 02:09:37,996 - INFO - Ping to IP 143.123.50.67 from VM ctest-TestBasicPolicy-37877792-19638160 passed 2026-03-02 02:09:38,193 - DEBUG - Policy Update Response {"network-policy": {"uuid": "207d2ee1-1be9-4ead-afa7-b14cb2c52643", "href": "http://10.0.0.249:8082/network-policy/207d2ee1-1be9-4ead-afa7-b14cb2c52643"}} 2026-03-02 02:09:38,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-03-02 02:09:38,193 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.123.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2026-03-02 02:09:38,194 - DEBUG - ping -s 56 -c 3 -W 1 143.123.50.67 2026-03-02 02:09:41,432 - DEBUG - PING 143.123.50.67 (143.123.50.67): 56 data bytes --- 143.123.50.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-03-02 02:09:41,432 - WARNING - Ping to IP 143.123.50.67 from VM ctest-TestBasicPolicy-37877792-19638160 failed 2026-03-02 02:09:41,432 - INFO - Deleting VM ctest-TestBasicPolicy-37877792-37583251 2026-03-02 02:09:41,508 - INFO - Deleting VM ctest-TestBasicPolicy-37877792-19638160 2026-03-02 02:09:41,910 - INFO - Deleted policy ctest-policy-allow-all-20252682 2026-03-02 02:09:41,910 - INFO - Deleting VN ctest-vn-96079676 2026-03-02 02:09:41,950 - DEBUG - VN 825ca470-bb5b-4af5-8e71-98f286bd7218 still in use: Unable to complete operation on network 825ca470-bb5b-4af5-8e71-98f286bd7218. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a12afe3f-587e-4a80-ae8a-4af1ca171dff'] 2026-03-02 02:09:41,950 - WARNING - Deleting VN ctest-vn-96079676 failed..Will retry 2026-03-02 02:09:44,061 - DEBUG - Response for deleting network () 2026-03-02 02:09:44,061 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/8aa769b4-425f-402b-9660-6a30e4da7380 2026-03-02 02:09:44,070 - DEBUG - Response Code: 404 2026-03-02 02:09:44,070 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:44,077 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:44,132 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:44,209 - INFO - Validated that VN ctest-vn-96079676 is not found in API Server 2026-03-02 02:09:44,222 - DEBUG - VN ctest-vn-96079676 is not present in Agent 10.0.0.249 2026-03-02 02:09:44,222 - INFO - Validated that VN ctest-vn-96079676 is not in any agent 2026-03-02 02:09:44,242 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96079676 info 2026-03-02 02:09:44,242 - INFO - Deleting VN ctest-vn-23021284 2026-03-02 02:09:44,359 - DEBUG - Response for deleting network () 2026-03-02 02:09:44,359 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/0b08092f-fcfd-4770-a729-4b44e2d5e52f 2026-03-02 02:09:44,364 - DEBUG - Response Code: 404 2026-03-02 02:09:44,364 - DEBUG - Requesting: http://10.0.0.249:8082/domains 2026-03-02 02:09:44,370 - DEBUG - Requesting: http://10.0.0.249:8082/domain/b54b7cb7-eae6-4368-ae34-de2688c65f9c 2026-03-02 02:09:44,427 - DEBUG - Requesting: http://10.0.0.249:8082/project/cfde915d-629a-4ded-be84-eb3709b8cec8 2026-03-02 02:09:44,502 - INFO - Validated that VN ctest-vn-23021284 is not found in API Server 2026-03-02 02:09:44,513 - DEBUG - VN ctest-vn-23021284 is not present in Agent 10.0.0.249 2026-03-02 02:09:44,513 - INFO - Validated that VN ctest-vn-23021284 is not in any agent 2026-03-02 02:09:44,530 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23021284 info 2026-03-02 02:09:44,791 - DEBUG - No XMPP flaps were noticed during the test 2026-03-02 02:09:44,791 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-03-02 02:09:44,791 - INFO - -------------------------------------------------------------------------------- 2026-03-02 02:09:45,533 - INFO - Deleted project: ctest-TestBasicPolicy-37877792, ID : cfde915d-629a-4ded-be84-eb3709b8cec8