2026-01-22 16:23:32,928 - INFO - Domain Default found not creating 2026-01-22 16:23:33,111 - INFO - Project ctest-TestBasicPolicy-04922935 not found, creating it 2026-01-22 16:23:33,586 - INFO - Created Project:ctest-TestBasicPolicy-04922935, ID : d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:23:35,136 - INFO - ================================================================================ 2026-01-22 16:23:35,136 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 16:23:35,136 - 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-01-22 16:23:35,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.130': '0'}} with 2026-01-22 16:23:35,395 - INFO - Initial checks done. Running the testcase now 2026-01-22 16:23:35,395 - INFO - 2026-01-22 16:23:35,973 - DEBUG - Response for create_network : {'network': {'id': '6c21cecd-6775-4c2e-909e-4813f395e0cd', 'name': 'ctest-vn-56058115', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-vn-56058115'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:23:36,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '3534e077-93c3-43bd-ade4-21d8da459041', 'name': '', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'network_id': '6c21cecd-6775-4c2e-909e-4813f395e0cd', 'ip_version': 4, 'cidr': '193.158.69.0/26', 'allocation_pools': [{'start': '193.158.69.2', 'end': '193.158.69.62'}], 'gateway_ip': '193.158.69.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.158.69.2', 'tags': [], 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c'}} 2026-01-22 16:23:36,156 - INFO - Created VN ctest-vn-56058115 2026-01-22 16:23:36,206 - DEBUG - VN ctest-vn-56058115 UUID is 6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:36,504 - DEBUG - Response for create_network : {'network': {'id': 'e427abd0-4f9b-44a6-a8be-455b9c2b52aa', 'name': 'ctest-vn-28390864', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-vn-28390864'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:23:36,716 - DEBUG - Response for create_subnet : {'subnet': {'id': '4317a636-cc77-41f8-9fb5-0881a7548960', 'name': '', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'network_id': 'e427abd0-4f9b-44a6-a8be-455b9c2b52aa', 'ip_version': 4, 'cidr': '196.202.97.64/26', 'allocation_pools': [{'start': '196.202.97.66', 'end': '196.202.97.126'}], 'gateway_ip': '196.202.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.202.97.66', 'tags': [], 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c'}} 2026-01-22 16:23:36,736 - INFO - Created VN ctest-vn-28390864 2026-01-22 16:23:36,790 - DEBUG - VN ctest-vn-28390864 UUID is e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:36,905 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115, 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-04922935:ctest-vn-28390864, 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-01-22 16:23:37,205 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c21cecd-6775-4c2e-909e-4813f395e0cd', 'name': 'ctest-vn-56058115', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3534e077-93c3-43bd-ade4-21d8da459041'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-vn-56058115'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-policy-allow-all-87768404']], 'subnet_ipam': [{'subnet_cidr': '193.158.69.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:23:37,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e427abd0-4f9b-44a6-a8be-455b9c2b52aa', 'name': 'ctest-vn-28390864', 'tenant_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'project_id': 'd9fe7e44aa484237b2c08e421d630d7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4317a636-cc77-41f8-9fb5-0881a7548960'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-vn-28390864'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-policy-allow-all-87768404']], 'subnet_ipam': [{'subnet_cidr': '196.202.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 16:23:37,626 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:23:37,934 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:23:37,970 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:23:37,983 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:23:38,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,075 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,084 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:23:38,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:23:38,097 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af036dc1-8694-40ac-a6c7-a7cb82bb737f 2026-01-22 16:23:38,104 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 16:23:38,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,113 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:23:38,127 - INFO - Verified VN network id 11 for VN 6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,127 - INFO - Verifications in API Server for VN ctest-vn-56058115 passed 2026-01-22 16:23:38,127 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,138 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:23:38,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:23:38,157 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/af036dc1-8694-40ac-a6c7-a7cb82bb737f 2026-01-22 16:23:38,171 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04922935', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7791736211927026734', 'uuid-lslong': '10420845838310170829'}, 'enable': 'true', 'created': '2026-01-22T16:23:35', 'last-modified': '2026-01-22T16:23:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995059'} 2026-01-22 16:23:38,179 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 16:23:38,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56058115 passed 2026-01-22 16:23:38,179 - DEBUG - ====Verifying policy data for ctest-vn-56058115 in API_Server ====== 2026-01-22 16:23:38,179 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:23:38,185 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:23:38,197 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:23:38,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6c21cecd-6775-4c2e-909e-4813f395e0cd 2026-01-22 16:23:38,290 - DEBUG - ==>Verifying data for policy with id: 20293af0-9385-4a78-af73-f53712c6ca9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-policy-allow-all-87768404'] 2026-01-22 16:23:38,290 - INFO - VN ctest-vn-56058115 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 16:23:38,290 - DEBUG - Verifying the vn in opserver 2026-01-22 16:23:38,290 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115 virtual network link through opserver 10.0.0.38 2026-01-22 16:23:38,290 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 16:23:38,583 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 16:23:38,654 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115?flat'} 2026-01-22 16:23:38,654 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115 is found in opserver 2026-01-22 16:23:38,664 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 16:23:38,669 - DEBUG - VRF ids for VN ctest-vn-56058115: {} 2026-01-22 16:23:38,669 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:23:38,675 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:23:38,686 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:23:38,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,771 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:23:38,790 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:23:38,798 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/001f66d0-d5e6-4eb4-a74f-a66b2d9a6bcd 2026-01-22 16:23:38,806 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:23:38,806 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,816 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:23:38,832 - INFO - Verified VN network id 12 for VN e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,832 - INFO - Verifications in API Server for VN ctest-vn-28390864 passed 2026-01-22 16:23:38,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,842 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:23:38,851 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:23:38,858 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/001f66d0-d5e6-4eb4-a74f-a66b2d9a6bcd 2026-01-22 16:23:38,871 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-28390864', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-04922935', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16440297875916407974', 'uuid-lslong': '12159232303711343274'}, 'enable': 'true', 'created': '2026-01-22T16:23:36', 'last-modified': '2026-01-22T16:23:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.455005'} 2026-01-22 16:23:38,879 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 16:23:38,879 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28390864 passed 2026-01-22 16:23:38,880 - DEBUG - ====Verifying policy data for ctest-vn-28390864 in API_Server ====== 2026-01-22 16:23:38,880 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:23:38,886 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:23:38,898 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:23:38,969 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e427abd0-4f9b-44a6-a8be-455b9c2b52aa 2026-01-22 16:23:38,978 - DEBUG - ==>Verifying data for policy with id: 20293af0-9385-4a78-af73-f53712c6ca9b, fqn: ['default-domain', 'ctest-TestBasicPolicy-04922935', 'ctest-policy-allow-all-87768404'] 2026-01-22 16:23:38,978 - INFO - VN ctest-vn-28390864 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 16:23:38,978 - DEBUG - Verifying the vn in opserver 2026-01-22 16:23:38,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-28390864 virtual network link through opserver 10.0.0.38 2026-01-22 16:23:38,978 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 16:23:38,989 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-28390864', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-28390864?flat'} 2026-01-22 16:23:38,989 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-28390864 is found in opserver 2026-01-22 16:23:38,999 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 16:23:39,003 - DEBUG - VRF ids for VN ctest-vn-28390864: {} 2026-01-22 16:23:39,062 - DEBUG - Services list from nova: [, , ] 2026-01-22 16:23:40,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5064-1) 2026-01-22 16:23:41,321 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5064-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5064-1) 2026-01-22 16:23:41,321 - INFO - Waiting for VM ctest-TestBasicPolicy-04922935-59026994 to be up.. 2026-01-22 16:23:41,414 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 16:23:46,496 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:23:46,496 - INFO - VM name : ctest-TestBasicPolicy-04922935-59026994 2026-01-22 16:23:46,586 - DEBUG - VM ctest-TestBasicPolicy-04922935-59026994 ID is fcb1b21c-bfab-4f23-aced-339e464b2b9a 2026-01-22 16:23:46,607 - DEBUG - VM ctest-TestBasicPolicy-04922935-59026994 launched on Node cn-jenkins-deploy-platform-ansible-os-5064-1 2026-01-22 16:23:46,696 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/fcb1b21c-bfab-4f23-aced-339e464b2b9a 2026-01-22 16:23:46,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1e67b7b-f204-40bc-91a9-785971e78d6f 2026-01-22 16:23:49,952 - 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 1006ms') 2026-01-22 16:23:49,952 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04922935-59026994 failed! 2026-01-22 16:23:50,010 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-04922935:ctest-vn-56058115 is 193.158.69.1 and allocation pool is NOT set 2026-01-22 16:23:52,069 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 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.072/4.953/8.835/3.881 ms') 2026-01-22 16:23:52,069 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-04922935-59026994 passed 2026-01-22 16:23:52,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:52,226 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04922935-59026994, IP 193.158.69.3, Port 22 2026-01-22 16:23:52,296 - 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-01-22 16:23:52,384 - DEBUG - VM ctest-TestBasicPolicy-04922935-59026994 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 16:23:57,384 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:57,385 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04922935-59026994, IP 193.158.69.3, Port 22 2026-01-22 16:23:57,541 - DEBUG - VM ctest-TestBasicPolicy-04922935-59026994 is ready for SSH connections 2026-01-22 16:23:57,541 - INFO - Waiting for VM ctest-TestBasicPolicy-04922935-12679211 to be up.. 2026-01-22 16:23:57,625 - DEBUG - VM is in ACTIVE state now 2026-01-22 16:23:57,625 - INFO - VM name : ctest-TestBasicPolicy-04922935-12679211 2026-01-22 16:23:57,700 - DEBUG - VM ctest-TestBasicPolicy-04922935-12679211 ID is 217aed7b-9041-46d2-ae28-8ecfd9c9fbdd 2026-01-22 16:23:57,701 - DEBUG - VM ctest-TestBasicPolicy-04922935-12679211 launched on Node cn-jenkins-deploy-platform-ansible-os-5064-1 2026-01-22 16:23:57,780 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/217aed7b-9041-46d2-ae28-8ecfd9c9fbdd 2026-01-22 16:23:57,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/37002486-b6e1-4e56-890b-698173217201 2026-01-22 16:23:59,026 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.410 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.410/1.724/3.038/1.314 ms') 2026-01-22 16:23:59,026 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-04922935-12679211 passed 2026-01-22 16:23:59,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:59,182 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-04922935-12679211, IP 196.202.97.67, Port 22 2026-01-22 16:23:59,337 - DEBUG - VM ctest-TestBasicPolicy-04922935-12679211 is ready for SSH connections 2026-01-22 16:23:59,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:23:59,337 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.202.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 16:23:59,337 - DEBUG - ping -s 56 -c 3 -W 1 196.202.97.67 2026-01-22 16:24:03,434 - DEBUG - PING 196.202.97.67 (196.202.97.67): 56 data bytes 64 bytes from 196.202.97.67: seq=0 ttl=63 time=4.389 ms 64 bytes from 196.202.97.67: seq=1 ttl=63 time=1.022 ms 64 bytes from 196.202.97.67: seq=2 ttl=63 time=0.971 ms --- 196.202.97.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.127/4.389 ms 2026-01-22 16:24:03,435 - INFO - Ping to IP 196.202.97.67 from VM ctest-TestBasicPolicy-04922935-59026994 passed 2026-01-22 16:24:03,613 - DEBUG - Policy Update Response {"network-policy": {"uuid": "20293af0-9385-4a78-af73-f53712c6ca9b", "href": "http://10.0.0.38:8082/network-policy/20293af0-9385-4a78-af73-f53712c6ca9b"}} 2026-01-22 16:24:03,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 16:24:03,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.202.97.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 16:24:03,614 - DEBUG - ping -s 56 -c 3 -W 1 196.202.97.67 2026-01-22 16:24:06,837 - DEBUG - PING 196.202.97.67 (196.202.97.67): 56 data bytes --- 196.202.97.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 16:24:06,837 - WARNING - Ping to IP 196.202.97.67 from VM ctest-TestBasicPolicy-04922935-59026994 failed 2026-01-22 16:24:06,837 - INFO - Deleting VM ctest-TestBasicPolicy-04922935-12679211 2026-01-22 16:24:06,917 - INFO - Deleting VM ctest-TestBasicPolicy-04922935-59026994 2026-01-22 16:24:07,467 - INFO - Deleted policy ctest-policy-allow-all-87768404 2026-01-22 16:24:07,467 - INFO - Deleting VN ctest-vn-28390864 2026-01-22 16:24:07,532 - DEBUG - VN e427abd0-4f9b-44a6-a8be-455b9c2b52aa still in use: Unable to complete operation on network e427abd0-4f9b-44a6-a8be-455b9c2b52aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f7833b7c-8d6a-4e37-888e-6d266b4fb9cc'] 2026-01-22 16:24:07,532 - WARNING - Deleting VN ctest-vn-28390864 failed..Will retry 2026-01-22 16:24:09,665 - DEBUG - Response for deleting network () 2026-01-22 16:24:09,666 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1f499a98-4313-4ba3-b183-b1468768752c 2026-01-22 16:24:09,672 - DEBUG - Response Code: 404 2026-01-22 16:24:09,673 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:24:09,680 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:24:09,741 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:24:09,816 - INFO - Validated that VN ctest-vn-28390864 is not found in API Server 2026-01-22 16:24:09,826 - DEBUG - VN ctest-vn-28390864 is not present in Agent 10.0.0.38 2026-01-22 16:24:09,826 - INFO - Validated that VN ctest-vn-28390864 is not in any agent 2026-01-22 16:24:09,843 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-28390864 info 2026-01-22 16:24:09,843 - INFO - Deleting VN ctest-vn-56058115 2026-01-22 16:24:09,970 - DEBUG - Response for deleting network () 2026-01-22 16:24:09,970 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/898a44cb-c0b5-42de-a56d-fb5f017e2b62 2026-01-22 16:24:09,978 - DEBUG - Response Code: 404 2026-01-22 16:24:09,978 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 16:24:09,984 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d2b7b0b7-bbea-43c0-b1dd-669b15e68da7 2026-01-22 16:24:10,039 - DEBUG - Requesting: http://10.0.0.38:8082/project/d9fe7e44-aa48-4237-b2c0-8e421d630d7c 2026-01-22 16:24:10,116 - INFO - Validated that VN ctest-vn-56058115 is not found in API Server 2026-01-22 16:24:10,126 - DEBUG - VN ctest-vn-56058115 is not present in Agent 10.0.0.38 2026-01-22 16:24:10,126 - INFO - Validated that VN ctest-vn-56058115 is not in any agent 2026-01-22 16:24:10,154 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56058115 info 2026-01-22 16:24:10,421 - DEBUG - No XMPP flaps were noticed during the test
2026-01-22 16:24:10,421 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-01-22 16:24:10,421 - INFO - -------------------------------------------------------------------------------- 2026-01-22 16:24:11,200 - INFO - Deleted project: ctest-TestBasicPolicy-04922935, ID : d9fe7e44-aa48-4237-b2c0-8e421d630d7c