2026-09-30 07:29:40,911 - INFO - Domain Default found not creating 2026-09-30 07:29:41,114 - INFO - Project ctest-TestBasicPolicy-74942667 not found, creating it 2026-09-30 07:29:41,644 - INFO - Created Project:ctest-TestBasicPolicy-74942667, ID : 20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:29:43,515 - INFO - ================================================================================ 2026-09-30 07:29:43,515 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-09-30 07:29:43,516 - 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-09-30 07:29:43,786 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-30 07:29:43,787 - INFO - Initial checks done. Running the testcase now 2026-09-30 07:29:43,787 - INFO - 2026-09-30 07:29:44,487 - DEBUG - Response for create_network : {'network': {'id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'name': 'ctest-vn-49368245', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-49368245'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:29:44,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '47dd7956-acc7-42c2-990f-596286ec9168', 'name': '', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'network_id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'ip_version': 4, 'cidr': '180.185.139.64/26', 'allocation_pools': [{'start': '180.185.139.66', 'end': '180.185.139.126'}], 'gateway_ip': '180.185.139.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.185.139.66', 'tags': [], 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44'}} 2026-09-30 07:29:44,752 - INFO - Created VN ctest-vn-49368245 2026-09-30 07:29:44,808 - DEBUG - VN ctest-vn-49368245 UUID is c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:45,157 - DEBUG - Response for create_network : {'network': {'id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'name': 'ctest-vn-69474274', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-69474274'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:29:45,410 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e27d1d35-6f40-4e96-9a00-7d963c7ed7fd', 'name': '', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'network_id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'ip_version': 4, 'cidr': '142.219.104.64/26', 'allocation_pools': [{'start': '142.219.104.66', 'end': '142.219.104.126'}], 'gateway_ip': '142.219.104.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.219.104.66', 'tags': [], 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44'}} 2026-09-30 07:29:45,428 - INFO - Created VN ctest-vn-69474274 2026-09-30 07:29:45,484 - DEBUG - VN ctest-vn-69474274 UUID is c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:45,601 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245, 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-74942667:ctest-vn-69474274, 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-09-30 07:29:45,940 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c9af2443-8b56-45f7-b280-87989ceb897e', 'name': 'ctest-vn-49368245', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['47dd7956-acc7-42c2-990f-596286ec9168'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-49368245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']], 'subnet_ipam': [{'subnet_cidr': '180.185.139.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:29:46,193 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c3a83bdd-b04a-452e-99ae-5c505ff530dc', 'name': 'ctest-vn-69474274', 'tenant_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'project_id': '20b0b39b1ca549a0a2eabec4788a4c44', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e27d1d35-6f40-4e96-9a00-7d963c7ed7fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-vn-69474274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624']], 'subnet_ipam': [{'subnet_cidr': '142.219.104.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:29:46,364 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:29:46,737 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:29:46,769 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:29:46,786 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:29:46,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:46,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:46,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:29:46,904 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:29:46,913 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e46eff6a-ee47-4e27-810a-3c36f02a3aed 2026-09-30 07:29:46,923 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 07:29:46,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:46,935 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:29:46,954 - INFO - Verified VN network id 10 for VN c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:46,954 - INFO - Verifications in API Server for VN ctest-vn-49368245 passed 2026-09-30 07:29:46,954 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:46,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:29:46,976 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:29:46,987 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/e46eff6a-ee47-4e27-810a-3c36f02a3aed 2026-09-30 07:29:47,004 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74942667', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14532874395066975735', 'uuid-lslong': '12862429625307597182'}, 'enable': 'true', 'created': '2026-09-30T07:29:44', 'last-modified': '2026-09-30T07:29:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.102302'} 2026-09-30 07:29:47,015 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-09-30 07:29:47,015 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-49368245 passed 2026-09-30 07:29:47,015 - DEBUG - ====Verifying policy data for ctest-vn-49368245 in API_Server ====== 2026-09-30 07:29:47,015 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:29:47,024 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:29:47,039 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:29:47,122 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c9af2443-8b56-45f7-b280-87989ceb897e 2026-09-30 07:29:47,135 - DEBUG - ==>Verifying data for policy with id: 10091f6f-8faf-49c7-abb0-1eb265c76b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624'] 2026-09-30 07:29:47,135 - INFO - VN ctest-vn-49368245 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 07:29:47,135 - DEBUG - Verifying the vn in opserver 2026-09-30 07:29:47,135 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245 virtual network link through opserver 10.0.0.38 2026-09-30 07:29:47,136 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-30 07:29:47,520 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-30 07:29:47,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245?flat'} 2026-09-30 07:29:47,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245 is found in opserver 2026-09-30 07:29:47,604 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 07:29:47,611 - DEBUG - VRF ids for VN ctest-vn-49368245: {} 2026-09-30 07:29:47,611 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:29:47,620 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:29:47,635 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:29:47,713 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,741 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:29:47,750 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:29:47,760 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6024ea96-53e3-43f6-b0bd-53cdc532e776 2026-09-30 07:29:47,769 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 07:29:47,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:29:47,801 - INFO - Verified VN network id 11 for VN c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,801 - INFO - Verifications in API Server for VN ctest-vn-69474274 passed 2026-09-30 07:29:47,801 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,814 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:29:47,823 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:29:47,832 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6024ea96-53e3-43f6-b0bd-53cdc532e776 2026-09-30 07:29:47,847 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-74942667', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14098584456814806318', 'uuid-lslong': '11073890034027671772'}, 'enable': 'true', 'created': '2026-09-30T07:29:45', 'last-modified': '2026-09-30T07:29:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.688414'} 2026-09-30 07:29:47,856 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-09-30 07:29:47,856 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69474274 passed 2026-09-30 07:29:47,856 - DEBUG - ====Verifying policy data for ctest-vn-69474274 in API_Server ====== 2026-09-30 07:29:47,856 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:29:47,864 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:29:47,878 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:29:47,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c3a83bdd-b04a-452e-99ae-5c505ff530dc 2026-09-30 07:29:47,972 - DEBUG - ==>Verifying data for policy with id: 10091f6f-8faf-49c7-abb0-1eb265c76b1f, fqn: ['default-domain', 'ctest-TestBasicPolicy-74942667', 'ctest-policy-allow-all-72471624'] 2026-09-30 07:29:47,972 - INFO - VN ctest-vn-69474274 Policy verification: verify_vn_policy_in_api_server, status: True 2026-09-30 07:29:47,972 - DEBUG - Verifying the vn in opserver 2026-09-30 07:29:47,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274 virtual network link through opserver 10.0.0.38 2026-09-30 07:29:47,972 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-09-30 07:29:47,986 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274?flat'} 2026-09-30 07:29:47,986 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274 is found in opserver 2026-09-30 07:29:48,029 - DEBUG - Do not have enough data to verify VN in agent 2026-09-30 07:29:48,041 - DEBUG - VRF ids for VN ctest-vn-69474274: {} 2026-09-30 07:29:48,140 - DEBUG - Services list from nova: [, , ] 2026-09-30 07:29:48,577 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6331-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6331-1) 2026-09-30 07:29:49,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6331-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6331-1) 2026-09-30 07:29:49,025 - INFO - Waiting for VM ctest-TestBasicPolicy-74942667-58418878 to be up.. 2026-09-30 07:29:49,063 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:29:54,169 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:29:59,277 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:04,373 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:09,491 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:14,599 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:19,712 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:24,813 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:30:29,924 - DEBUG - VM is in ACTIVE state now 2026-09-30 07:30:29,924 - INFO - VM name : ctest-TestBasicPolicy-74942667-58418878 2026-09-30 07:30:30,067 - DEBUG - VM ctest-TestBasicPolicy-74942667-58418878 ID is 504cd1e3-ef5c-4adf-aef0-8da0811f8de6 2026-09-30 07:30:30,103 - DEBUG - VM ctest-TestBasicPolicy-74942667-58418878 launched on Node cn-jenkins-deploy-platform-ansible-os-6331-1 2026-09-30 07:30:30,231 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/504cd1e3-ef5c-4adf-aef0-8da0811f8de6 2026-09-30 07:30:30,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2e198791-6a05-4061-beda-476225d86a01 2026-09-30 07:30:33,555 - 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 1022ms') 2026-09-30 07:30:33,555 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74942667-58418878 failed! 2026-09-30 07:30:33,616 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-49368245 is 180.185.139.65 and allocation pool is NOT set 2026-09-30 07:30:35,684 - 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=7.35 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.63 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 = 1.629/4.491/7.354/2.862 ms') 2026-09-30 07:30:35,684 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-74942667-58418878 passed 2026-09-30 07:30:35,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:30:35,844 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74942667-58418878, IP 180.185.139.67, Port 22 2026-09-30 07:30:36,015 - DEBUG - VM ctest-TestBasicPolicy-74942667-58418878 is ready for SSH connections 2026-09-30 07:30:36,015 - INFO - Waiting for VM ctest-TestBasicPolicy-74942667-40399385 to be up.. 2026-09-30 07:30:36,115 - DEBUG - VM is in ACTIVE state now 2026-09-30 07:30:36,115 - INFO - VM name : ctest-TestBasicPolicy-74942667-40399385 2026-09-30 07:30:36,208 - DEBUG - VM ctest-TestBasicPolicy-74942667-40399385 ID is c19dfc33-5c67-4239-abed-5f763bf3d317 2026-09-30 07:30:36,208 - DEBUG - VM ctest-TestBasicPolicy-74942667-40399385 launched on Node cn-jenkins-deploy-platform-ansible-os-6331-1 2026-09-30 07:30:36,305 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/c19dfc33-5c67-4239-abed-5f763bf3d317 2026-09-30 07:30:36,316 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/da491bb8-7328-4ef7-8596-160874c68eca 2026-09-30 07:30:39,595 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1023ms') 2026-09-30 07:30:39,596 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74942667-40399385 failed! 2026-09-30 07:30:39,656 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-74942667:ctest-vn-69474274 is 142.219.104.65 and allocation pool is NOT set 2026-09-30 07:30:41,731 - 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=11.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.98 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 = 3.978/7.470/10.963/3.492 ms') 2026-09-30 07:30:41,731 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-74942667-40399385 passed 2026-09-30 07:30:41,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:30:41,888 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74942667-40399385, IP 142.219.104.67, Port 22 2026-09-30 07:30:41,954 - 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-09-30 07:30:42,062 - DEBUG - VM ctest-TestBasicPolicy-74942667-40399385 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-30 07:30:47,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:30:47,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-74942667-40399385, IP 142.219.104.67, Port 22 2026-09-30 07:30:47,234 - DEBUG - VM ctest-TestBasicPolicy-74942667-40399385 is ready for SSH connections 2026-09-30 07:30:47,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:30:47,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.219.104.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-30 07:30:47,234 - DEBUG - ping -s 56 -c 3 -W 1 142.219.104.67 2026-09-30 07:30:51,428 - DEBUG - PING 142.219.104.67 (142.219.104.67): 56 data bytes 64 bytes from 142.219.104.67: seq=0 ttl=63 time=5.402 ms 64 bytes from 142.219.104.67: seq=1 ttl=63 time=1.474 ms 64 bytes from 142.219.104.67: seq=2 ttl=63 time=1.404 ms --- 142.219.104.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.404/2.760/5.402 ms 2026-09-30 07:30:51,428 - INFO - Ping to IP 142.219.104.67 from VM ctest-TestBasicPolicy-74942667-58418878 passed 2026-09-30 07:30:51,632 - DEBUG - Policy Update Response {"network-policy": {"uuid": "10091f6f-8faf-49c7-abb0-1eb265c76b1f", "href": "http://10.0.0.38:8082/network-policy/10091f6f-8faf-49c7-abb0-1eb265c76b1f"}} 2026-09-30 07:30:51,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:30:51,632 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.219.104.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-30 07:30:51,632 - DEBUG - ping -s 56 -c 3 -W 1 142.219.104.67 2026-09-30 07:30:54,786 - DEBUG - PING 142.219.104.67 (142.219.104.67): 56 data bytes 64 bytes from 142.219.104.67: seq=0 ttl=63 time=2.627 ms --- 142.219.104.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 2.627/2.627/2.627 ms 2026-09-30 07:30:54,786 - WARNING - Ping to IP 142.219.104.67 from VM ctest-TestBasicPolicy-74942667-58418878 failed 2026-09-30 07:30:54,786 - INFO - Deleting VM ctest-TestBasicPolicy-74942667-40399385 2026-09-30 07:30:54,883 - INFO - Deleting VM ctest-TestBasicPolicy-74942667-58418878 2026-09-30 07:30:55,356 - INFO - Deleted policy ctest-policy-allow-all-72471624 2026-09-30 07:30:55,356 - INFO - Deleting VN ctest-vn-69474274 2026-09-30 07:30:55,407 - DEBUG - VN c3a83bdd-b04a-452e-99ae-5c505ff530dc still in use: Unable to complete operation on network c3a83bdd-b04a-452e-99ae-5c505ff530dc. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a935b0a-295b-4286-9597-1dacd8034661'] 2026-09-30 07:30:55,407 - WARNING - Deleting VN ctest-vn-69474274 failed..Will retry 2026-09-30 07:30:57,579 - DEBUG - Response for deleting network () 2026-09-30 07:30:57,579 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2cca351f-fe31-4c77-8aa6-7dff50224843 2026-09-30 07:30:57,591 - DEBUG - Response Code: 404 2026-09-30 07:30:57,591 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:30:57,600 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:30:57,660 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:30:57,751 - INFO - Validated that VN ctest-vn-69474274 is not found in API Server 2026-09-30 07:30:57,768 - DEBUG - VN ctest-vn-69474274 is not present in Agent 10.0.0.38 2026-09-30 07:30:57,768 - INFO - Validated that VN ctest-vn-69474274 is not in any agent 2026-09-30 07:30:57,790 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-69474274 info 2026-09-30 07:30:57,790 - INFO - Deleting VN ctest-vn-49368245 2026-09-30 07:30:57,932 - DEBUG - Response for deleting network () 2026-09-30 07:30:57,932 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/df55edfe-8fb0-4128-99c7-042782ed01cb 2026-09-30 07:30:57,942 - DEBUG - Response Code: 404 2026-09-30 07:30:57,942 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-09-30 07:30:57,953 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bc41fe51-6fd7-4bd5-9b10-b81ab74ee310 2026-09-30 07:30:58,011 - DEBUG - Requesting: http://10.0.0.38:8082/project/20b0b39b-1ca5-49a0-a2ea-bec4788a4c44 2026-09-30 07:30:58,109 - INFO - Validated that VN ctest-vn-49368245 is not found in API Server 2026-09-30 07:30:58,128 - DEBUG - VN ctest-vn-49368245 is not present in Agent 10.0.0.38 2026-09-30 07:30:58,128 - INFO - Validated that VN ctest-vn-49368245 is not in any agent 2026-09-30 07:30:58,152 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-49368245 info 2026-09-30 07:30:58,430 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 07:30:58,430 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:15]
2026-09-30 07:30:58,430 - INFO - -------------------------------------------------------------------------------- 2026-09-30 07:30:59,249 - INFO - Deleted project: ctest-TestBasicPolicy-74942667, ID : 20b0b39b-1ca5-49a0-a2ea-bec4788a4c44