2026-11-30 10:06:14,594 - INFO - Domain Default found not creating 2026-11-30 10:06:14,762 - INFO - Project ctest-TestBasicPolicy-91268752 not found, creating it 2026-11-30 10:06:15,226 - INFO - Created Project:ctest-TestBasicPolicy-91268752, ID : e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:06:16,909 - INFO - ================================================================================ 2026-11-30 10:06:16,909 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-30 10:06:16,909 - 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-11-30 10:06:17,170 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with 2026-11-30 10:06:17,170 - INFO - Initial checks done. Running the testcase now 2026-11-30 10:06:17,170 - INFO - 2026-11-30 10:06:17,795 - DEBUG - Response for create_network : {'network': {'id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'name': 'ctest-vn-14950994', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-14950994'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:06:17,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a58df1de-cb65-4b70-9de8-47a2562c3bf9', 'name': '', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'network_id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'ip_version': 4, 'cidr': '55.239.96.64/26', 'allocation_pools': [{'start': '55.239.96.66', 'end': '55.239.96.126'}], 'gateway_ip': '55.239.96.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.239.96.66', 'tags': [], 'project_id': 'e0daba0dd3de48418aee4ac7a4416226'}} 2026-11-30 10:06:17,985 - INFO - Created VN ctest-vn-14950994 2026-11-30 10:06:18,035 - DEBUG - VN ctest-vn-14950994 UUID is f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:18,367 - DEBUG - Response for create_network : {'network': {'id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'name': 'ctest-vn-69614832', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-69614832'], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:06:18,578 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b154a2f7-68eb-4ab1-a618-9c683c041b4f', 'name': '', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'network_id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'ip_version': 4, 'cidr': '6.106.197.64/26', 'allocation_pools': [{'start': '6.106.197.66', 'end': '6.106.197.126'}], 'gateway_ip': '6.106.197.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.106.197.66', 'tags': [], 'project_id': 'e0daba0dd3de48418aee4ac7a4416226'}} 2026-11-30 10:06:18,596 - INFO - Created VN ctest-vn-69614832 2026-11-30 10:06:18,655 - DEBUG - VN ctest-vn-69614832 UUID is a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:18,811 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994, 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-91268752:ctest-vn-69614832, 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-11-30 10:06:19,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f45a4d42-20f2-4b46-9a9e-b964a924b396', 'name': 'ctest-vn-14950994', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a58df1de-cb65-4b70-9de8-47a2562c3bf9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-14950994'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']], 'subnet_ipam': [{'subnet_cidr': '55.239.96.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:06:19,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a8b273f9-feed-4861-8eb2-09773fe83e9c', 'name': 'ctest-vn-69614832', 'tenant_id': 'e0daba0dd3de48418aee4ac7a4416226', 'project_id': 'e0daba0dd3de48418aee4ac7a4416226', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b154a2f7-68eb-4ab1-a618-9c683c041b4f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-vn-69614832'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924']], 'subnet_ipam': [{'subnet_cidr': '6.106.197.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-30 10:06:19,527 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:06:19,896 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:06:19,923 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:06:19,935 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:06:20,014 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,026 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,037 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:06:20,045 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:06:20,052 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/766e9beb-8201-4637-bf6d-d65bc170e66a 2026-11-30 10:06:20,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 10:06:20,057 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,065 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:06:20,080 - INFO - Verified VN network id 12 for VN f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,080 - INFO - Verifications in API Server for VN ctest-vn-14950994 passed 2026-11-30 10:06:20,080 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,089 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:06:20,095 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:06:20,100 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/766e9beb-8201-4637-bf6d-d65bc170e66a 2026-11-30 10:06:20,112 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91268752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17607470639574305606', 'uuid-lslong': '11141546370146808726'}, 'enable': 'true', 'created': '2026-11-30T10:06:17', 'last-modified': '2026-11-30T10:06:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.022278'} 2026-11-30 10:06:20,118 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-30 10:06:20,118 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14950994 passed 2026-11-30 10:06:20,119 - DEBUG - ====Verifying policy data for ctest-vn-14950994 in API_Server ====== 2026-11-30 10:06:20,119 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:06:20,124 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:06:20,138 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:06:20,214 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/f45a4d42-20f2-4b46-9a9e-b964a924b396 2026-11-30 10:06:20,231 - DEBUG - ==>Verifying data for policy with id: 774dee88-1b52-417c-8ac5-d4247301e1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924'] 2026-11-30 10:06:20,231 - INFO - VN ctest-vn-14950994 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 10:06:20,231 - DEBUG - Verifying the vn in opserver 2026-11-30 10:06:20,231 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994 virtual network link through opserver 10.0.0.177 2026-11-30 10:06:20,232 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-30 10:06:20,633 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-30 10:06:20,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994?flat'} 2026-11-30 10:06:20,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994 is found in opserver 2026-11-30 10:06:20,695 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 10:06:20,699 - DEBUG - VRF ids for VN ctest-vn-14950994: {} 2026-11-30 10:06:20,699 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:06:20,704 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:06:20,715 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:06:20,787 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:20,799 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:20,809 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:06:20,816 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:06:20,825 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b16df98-0b48-44e2-8eae-aff37f8931fa 2026-11-30 10:06:20,833 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-30 10:06:20,833 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:20,844 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:06:20,861 - INFO - Verified VN network id 13 for VN a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:20,861 - INFO - Verifications in API Server for VN ctest-vn-69614832 passed 2026-11-30 10:06:20,861 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:20,874 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:06:20,882 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:06:20,891 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/2b16df98-0b48-44e2-8eae-aff37f8931fa 2026-11-30 10:06:20,906 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-91268752', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12155905861787404385', 'uuid-lslong': '10282291307018206876'}, 'enable': 'true', 'created': '2026-11-30T10:06:18', 'last-modified': '2026-11-30T10:06:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.576700'} 2026-11-30 10:06:20,914 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-30 10:06:20,914 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69614832 passed 2026-11-30 10:06:20,914 - DEBUG - ====Verifying policy data for ctest-vn-69614832 in API_Server ====== 2026-11-30 10:06:20,914 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:06:20,920 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:06:20,932 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:06:21,007 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/a8b273f9-feed-4861-8eb2-09773fe83e9c 2026-11-30 10:06:21,016 - DEBUG - ==>Verifying data for policy with id: 774dee88-1b52-417c-8ac5-d4247301e1f9, fqn: ['default-domain', 'ctest-TestBasicPolicy-91268752', 'ctest-policy-allow-all-15648924'] 2026-11-30 10:06:21,016 - INFO - VN ctest-vn-69614832 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-30 10:06:21,016 - DEBUG - Verifying the vn in opserver 2026-11-30 10:06:21,016 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832 virtual network link through opserver 10.0.0.177 2026-11-30 10:06:21,016 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-11-30 10:06:21,026 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832?flat'} 2026-11-30 10:06:21,026 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-69614832 is found in opserver 2026-11-30 10:06:21,036 - DEBUG - Do not have enough data to verify VN in agent 2026-11-30 10:06:21,041 - DEBUG - VRF ids for VN ctest-vn-69614832: {} 2026-11-30 10:06:21,097 - DEBUG - Services list from nova: [, , ] 2026-11-30 10:06:21,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6523-1) 2026-11-30 10:06:21,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6523-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6523-1) 2026-11-30 10:06:21,902 - INFO - Waiting for VM ctest-TestBasicPolicy-91268752-61352570 to be up.. 2026-11-30 10:06:21,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:27,014 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:32,092 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:37,171 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:42,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:47,331 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:52,421 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:06:57,507 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-30 10:07:02,595 - DEBUG - VM is in ACTIVE state now 2026-11-30 10:07:02,596 - INFO - VM name : ctest-TestBasicPolicy-91268752-61352570 2026-11-30 10:07:02,674 - DEBUG - VM ctest-TestBasicPolicy-91268752-61352570 ID is 188915da-4159-4879-8ca3-6553834e48bf 2026-11-30 10:07:02,695 - DEBUG - VM ctest-TestBasicPolicy-91268752-61352570 launched on Node cn-jenkins-deploy-platform-ansible-os-6523-1 2026-11-30 10:07:02,773 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/188915da-4159-4879-8ca3-6553834e48bf 2026-11-30 10:07:02,782 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/e126f5ae-275d-4027-a94a-dfd94a326eed 2026-11-30 10:07:06,055 - 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 1024ms') 2026-11-30 10:07:06,055 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91268752-61352570 failed! 2026-11-30 10:07:06,111 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-91268752:ctest-vn-14950994 is 55.239.96.65 and allocation pool is NOT set 2026-11-30 10:07:08,177 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.54 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.546 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 = 0.546/2.041/3.536/1.495 ms') 2026-11-30 10:07:08,177 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-91268752-61352570 passed 2026-11-30 10:07:08,327 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:07:08,327 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91268752-61352570, IP 55.239.96.67, Port 22 2026-11-30 10:07:08,491 - DEBUG - VM ctest-TestBasicPolicy-91268752-61352570 is ready for SSH connections 2026-11-30 10:07:08,491 - INFO - Waiting for VM ctest-TestBasicPolicy-91268752-98079195 to be up.. 2026-11-30 10:07:08,572 - DEBUG - VM is in ACTIVE state now 2026-11-30 10:07:08,573 - INFO - VM name : ctest-TestBasicPolicy-91268752-98079195 2026-11-30 10:07:08,645 - DEBUG - VM ctest-TestBasicPolicy-91268752-98079195 ID is fef51f23-d59a-4412-95cb-253c6add9f2e 2026-11-30 10:07:08,645 - DEBUG - VM ctest-TestBasicPolicy-91268752-98079195 launched on Node cn-jenkins-deploy-platform-ansible-os-6523-1 2026-11-30 10:07:08,720 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/fef51f23-d59a-4412-95cb-253c6add9f2e 2026-11-30 10:07:08,729 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/c02d3508-9ca4-4698-a489-00d6f91d30e9 2026-11-30 10:07:11,972 - 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=2 ttl=63 time=4.04 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 4.042/4.042/4.042/0.000 ms') 2026-11-30 10:07:11,972 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-91268752-98079195 passed 2026-11-30 10:07:12,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:07:12,120 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91268752-98079195, IP 6.106.197.67, Port 22 2026-11-30 10:07:12,185 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-11-30 10:07:12,285 - DEBUG - VM ctest-TestBasicPolicy-91268752-98079195 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-30 10:07:17,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:07:17,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-91268752-98079195, IP 6.106.197.67, Port 22 2026-11-30 10:07:17,453 - DEBUG - VM ctest-TestBasicPolicy-91268752-98079195 is ready for SSH connections 2026-11-30 10:07:17,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:07:17,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.106.197.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-30 10:07:17,453 - DEBUG - ping -s 56 -c 3 -W 1 6.106.197.67 2026-11-30 10:07:21,500 - DEBUG - PING 6.106.197.67 (6.106.197.67): 56 data bytes 64 bytes from 6.106.197.67: seq=0 ttl=63 time=4.716 ms 64 bytes from 6.106.197.67: seq=1 ttl=63 time=0.955 ms 64 bytes from 6.106.197.67: seq=2 ttl=63 time=1.167 ms --- 6.106.197.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.955/2.279/4.716 ms 2026-11-30 10:07:21,500 - INFO - Ping to IP 6.106.197.67 from VM ctest-TestBasicPolicy-91268752-61352570 passed 2026-11-30 10:07:21,679 - DEBUG - Policy Update Response {"network-policy": {"uuid": "774dee88-1b52-417c-8ac5-d4247301e1f9", "href": "http://10.0.0.177:8082/network-policy/774dee88-1b52-417c-8ac5-d4247301e1f9"}} 2026-11-30 10:07:21,679 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-30 10:07:21,679 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.106.197.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-11-30 10:07:21,680 - DEBUG - ping -s 56 -c 3 -W 1 6.106.197.67 2026-11-30 10:07:24,822 - DEBUG - PING 6.106.197.67 (6.106.197.67): 56 data bytes 64 bytes from 6.106.197.67: seq=0 ttl=63 time=1.577 ms --- 6.106.197.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.577/1.577/1.577 ms 2026-11-30 10:07:24,822 - WARNING - Ping to IP 6.106.197.67 from VM ctest-TestBasicPolicy-91268752-61352570 failed 2026-11-30 10:07:24,822 - INFO - Deleting VM ctest-TestBasicPolicy-91268752-98079195 2026-11-30 10:07:24,897 - INFO - Deleting VM ctest-TestBasicPolicy-91268752-61352570 2026-11-30 10:07:25,250 - INFO - Deleted policy ctest-policy-allow-all-15648924 2026-11-30 10:07:25,250 - INFO - Deleting VN ctest-vn-69614832 2026-11-30 10:07:25,281 - DEBUG - VN a8b273f9-feed-4861-8eb2-09773fe83e9c still in use: Unable to complete operation on network a8b273f9-feed-4861-8eb2-09773fe83e9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6174c953-8e29-460b-b485-4e3d10fdaaf2'] 2026-11-30 10:07:25,281 - WARNING - Deleting VN ctest-vn-69614832 failed..Will retry 2026-11-30 10:07:27,315 - DEBUG - VN a8b273f9-feed-4861-8eb2-09773fe83e9c still in use: Unable to complete operation on network a8b273f9-feed-4861-8eb2-09773fe83e9c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-33cddd8a-2d30-4435-86f7-7711e2c06875'] 2026-11-30 10:07:27,315 - WARNING - Deleting VN ctest-vn-69614832 failed..Will retry 2026-11-30 10:07:29,411 - DEBUG - Response for deleting network () 2026-11-30 10:07:29,411 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/718c7ee5-571f-41d9-8c30-daaf6db8461f 2026-11-30 10:07:29,418 - DEBUG - Response Code: 404 2026-11-30 10:07:29,419 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:07:29,424 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:07:29,478 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:07:29,554 - INFO - Validated that VN ctest-vn-69614832 is not found in API Server 2026-11-30 10:07:29,564 - DEBUG - VN ctest-vn-69614832 is not present in Agent 10.0.0.177 2026-11-30 10:07:29,564 - INFO - Validated that VN ctest-vn-69614832 is not in any agent 2026-11-30 10:07:29,581 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69614832 info 2026-11-30 10:07:29,582 - INFO - Deleting VN ctest-vn-14950994 2026-11-30 10:07:29,718 - DEBUG - Response for deleting network () 2026-11-30 10:07:29,718 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b0727e70-5ec4-44ee-b0e4-2b7a01a4bd7b 2026-11-30 10:07:29,727 - DEBUG - Response Code: 404 2026-11-30 10:07:29,727 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-11-30 10:07:29,733 - DEBUG - Requesting: http://10.0.0.177:8082/domain/e57af8ce-9534-4b77-8b29-8894f5f9bba0 2026-11-30 10:07:29,784 - DEBUG - Requesting: http://10.0.0.177:8082/project/e0daba0d-d3de-4841-8aee-4ac7a4416226 2026-11-30 10:07:29,859 - INFO - Validated that VN ctest-vn-14950994 is not found in API Server 2026-11-30 10:07:29,871 - DEBUG - VN ctest-vn-14950994 is not present in Agent 10.0.0.177 2026-11-30 10:07:29,871 - INFO - Validated that VN ctest-vn-14950994 is not in any agent 2026-11-30 10:07:29,888 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14950994 info 2026-11-30 10:07:30,160 - DEBUG - No XMPP flaps were noticed during the test
2026-11-30 10:07:30,160 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:14]
2026-11-30 10:07:30,160 - INFO - -------------------------------------------------------------------------------- 2026-11-30 10:07:30,996 - INFO - Deleted project: ctest-TestBasicPolicy-91268752, ID : e0daba0d-d3de-4841-8aee-4ac7a4416226