2026-05-12 11:46:39,895 - INFO - Domain Default found not creating 2026-05-12 11:46:40,091 - INFO - Project ctest-TestBasicPolicy-51784064 not found, creating it 2026-05-12 11:46:40,530 - INFO - Created Project:ctest-TestBasicPolicy-51784064, ID : 32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:46:42,137 - INFO - ================================================================================ 2026-05-12 11:46:42,137 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-12 11:46:42,137 - 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-05-12 11:46:42,395 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2026-05-12 11:46:42,396 - INFO - Initial checks done. Running the testcase now 2026-05-12 11:46:42,396 - INFO - 2026-05-12 11:46:42,964 - DEBUG - Response for create_network : {'network': {'id': '021bbd8b-64fe-41f7-aa0c-4ea9244255fb', 'name': 'ctest-vn-65619269', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-vn-65619269'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 11:46:43,145 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b8605c-0892-41ea-a484-88ca9dfd9d90', 'name': '', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'network_id': '021bbd8b-64fe-41f7-aa0c-4ea9244255fb', 'ip_version': 4, 'cidr': '75.58.8.128/26', 'allocation_pools': [{'start': '75.58.8.130', 'end': '75.58.8.190'}], 'gateway_ip': '75.58.8.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.58.8.130', 'tags': [], 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5'}} 2026-05-12 11:46:43,163 - INFO - Created VN ctest-vn-65619269 2026-05-12 11:46:43,214 - DEBUG - VN ctest-vn-65619269 UUID is 021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:43,507 - DEBUG - Response for create_network : {'network': {'id': 'd13d216f-2744-434d-8b6e-ac156725dff0', 'name': 'ctest-vn-31148817', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-vn-31148817'], 'port_security_enabled': True, 'description': ''}} 2026-05-12 11:46:43,714 - DEBUG - Response for create_subnet : {'subnet': {'id': '71853423-7b44-4c42-87d6-222766bffdcd', 'name': '', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'network_id': 'd13d216f-2744-434d-8b6e-ac156725dff0', 'ip_version': 4, 'cidr': '200.129.50.64/26', 'allocation_pools': [{'start': '200.129.50.66', 'end': '200.129.50.126'}], 'gateway_ip': '200.129.50.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '200.129.50.66', 'tags': [], 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5'}} 2026-05-12 11:46:43,733 - INFO - Created VN ctest-vn-31148817 2026-05-12 11:46:43,786 - DEBUG - VN ctest-vn-31148817 UUID is d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:43,902 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269, 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-51784064:ctest-vn-31148817, 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-05-12 11:46:44,212 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '021bbd8b-64fe-41f7-aa0c-4ea9244255fb', 'name': 'ctest-vn-65619269', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32b8605c-0892-41ea-a484-88ca9dfd9d90'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-vn-65619269'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-policy-allow-all-89455975']], 'subnet_ipam': [{'subnet_cidr': '75.58.8.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 11:46:44,450 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd13d216f-2744-434d-8b6e-ac156725dff0', 'name': 'ctest-vn-31148817', 'tenant_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'project_id': '32c7b53dbeab4ecbabb6896691dca8c5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['71853423-7b44-4c42-87d6-222766bffdcd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-vn-31148817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-policy-allow-all-89455975']], 'subnet_ipam': [{'subnet_cidr': '200.129.50.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-12 11:46:44,618 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:46:44,915 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:46:44,953 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:46:44,965 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:46:45,045 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,057 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,068 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:46:45,076 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:46:45,083 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/944555da-72ad-41b6-b69f-1f84ddb886d0 2026-05-12 11:46:45,091 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 11:46:45,091 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,103 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:46:45,118 - INFO - Verified VN network id 11 for VN 021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,118 - INFO - Verifications in API Server for VN ctest-vn-65619269 passed 2026-05-12 11:46:45,118 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,129 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:46:45,139 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:46:45,147 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/944555da-72ad-41b6-b69f-1f84ddb886d0 2026-05-12 11:46:45,161 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51784064', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '151923418839532023', 'uuid-lslong': '12253255174533043707'}, 'enable': 'true', 'created': '2026-05-12T11:46:42', 'last-modified': '2026-05-12T11:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.972165'} 2026-05-12 11:46:45,169 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-12 11:46:45,169 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65619269 passed 2026-05-12 11:46:45,170 - DEBUG - ====Verifying policy data for ctest-vn-65619269 in API_Server ====== 2026-05-12 11:46:45,170 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:46:45,176 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:46:45,190 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:46:45,264 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/021bbd8b-64fe-41f7-aa0c-4ea9244255fb 2026-05-12 11:46:45,273 - DEBUG - ==>Verifying data for policy with id: e685b514-7d9e-425b-bd6c-1e9567471776, fqn: ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-policy-allow-all-89455975'] 2026-05-12 11:46:45,273 - INFO - VN ctest-vn-65619269 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 11:46:45,273 - DEBUG - Verifying the vn in opserver 2026-05-12 11:46:45,273 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269 virtual network link through opserver 10.0.0.22 2026-05-12 11:46:45,273 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 11:46:45,576 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 11:46:45,645 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269?flat'} 2026-05-12 11:46:45,645 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269 is found in opserver 2026-05-12 11:46:45,656 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 11:46:45,662 - DEBUG - VRF ids for VN ctest-vn-65619269: {} 2026-05-12 11:46:45,662 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:46:45,668 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:46:45,680 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:46:45,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:45,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:45,791 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:46:45,800 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:46:45,808 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3bcd2a42-e2dc-474a-8386-2eec6435af82 2026-05-12 11:46:45,815 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 11:46:45,816 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:45,826 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:46:45,844 - INFO - Verified VN network id 12 for VN d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:45,844 - INFO - Verifications in API Server for VN ctest-vn-31148817 passed 2026-05-12 11:46:45,844 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:45,856 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:46:45,865 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:46:45,874 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/3bcd2a42-e2dc-474a-8386-2eec6435af82 2026-05-12 11:46:45,886 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-31148817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51784064', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15077243888790160205', 'uuid-lslong': '10047157026634981360'}, 'enable': 'true', 'created': '2026-05-12T11:46:43', 'last-modified': '2026-05-12T11:46:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464820'} 2026-05-12 11:46:45,893 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-12 11:46:45,894 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31148817 passed 2026-05-12 11:46:45,894 - DEBUG - ====Verifying policy data for ctest-vn-31148817 in API_Server ====== 2026-05-12 11:46:45,894 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:46:45,900 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:46:45,912 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:46:45,990 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d13d216f-2744-434d-8b6e-ac156725dff0 2026-05-12 11:46:46,000 - DEBUG - ==>Verifying data for policy with id: e685b514-7d9e-425b-bd6c-1e9567471776, fqn: ['default-domain', 'ctest-TestBasicPolicy-51784064', 'ctest-policy-allow-all-89455975'] 2026-05-12 11:46:46,000 - INFO - VN ctest-vn-31148817 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-12 11:46:46,000 - DEBUG - Verifying the vn in opserver 2026-05-12 11:46:46,000 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-31148817 virtual network link through opserver 10.0.0.22 2026-05-12 11:46:46,000 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-05-12 11:46:46,010 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-31148817', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-31148817?flat'} 2026-05-12 11:46:46,010 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-31148817 is found in opserver 2026-05-12 11:46:46,021 - DEBUG - Do not have enough data to verify VN in agent 2026-05-12 11:46:46,026 - DEBUG - VRF ids for VN ctest-vn-31148817: {} 2026-05-12 11:46:46,091 - DEBUG - Services list from nova: [, , ] 2026-05-12 11:46:47,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5770-1) 2026-05-12 11:46:48,390 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5770-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5770-1) 2026-05-12 11:46:48,390 - INFO - Waiting for VM ctest-TestBasicPolicy-51784064-99472486 to be up.. 2026-05-12 11:46:48,497 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-12 11:46:53,583 - DEBUG - VM is in ACTIVE state now 2026-05-12 11:46:53,583 - INFO - VM name : ctest-TestBasicPolicy-51784064-99472486 2026-05-12 11:46:53,669 - DEBUG - VM ctest-TestBasicPolicy-51784064-99472486 ID is 65699010-42e2-47d1-95fb-91c8259ed1e0 2026-05-12 11:46:53,694 - DEBUG - VM ctest-TestBasicPolicy-51784064-99472486 launched on Node cn-jenkins-deploy-platform-ansible-os-5770-1 2026-05-12 11:46:53,776 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/65699010-42e2-47d1-95fb-91c8259ed1e0 2026-05-12 11:46:53,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/d1733e8f-3289-449f-8add-de004ff7b32b 2026-05-12 11:46:57,060 - 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 1021ms') 2026-05-12 11:46:57,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51784064-99472486 failed! 2026-05-12 11:46:57,118 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-51784064:ctest-vn-65619269 is 75.58.8.129 and allocation pool is NOT set 2026-05-12 11:46:59,174 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.749 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.749/4.341/7.934/3.592 ms') 2026-05-12 11:46:59,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-51784064-99472486 passed 2026-05-12 11:46:59,326 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 11:46:59,326 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51784064-99472486, IP 75.58.8.131, Port 22 2026-05-12 11:46:59,392 - 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-05-12 11:46:59,485 - DEBUG - VM ctest-TestBasicPolicy-51784064-99472486 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-12 11:47:04,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 11:47:04,485 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51784064-99472486, IP 75.58.8.131, Port 22 2026-05-12 11:47:04,652 - DEBUG - VM ctest-TestBasicPolicy-51784064-99472486 is ready for SSH connections 2026-05-12 11:47:04,652 - INFO - Waiting for VM ctest-TestBasicPolicy-51784064-05253587 to be up.. 2026-05-12 11:47:04,737 - DEBUG - VM is in ACTIVE state now 2026-05-12 11:47:04,737 - INFO - VM name : ctest-TestBasicPolicy-51784064-05253587 2026-05-12 11:47:04,820 - DEBUG - VM ctest-TestBasicPolicy-51784064-05253587 ID is f9ee9ad8-83ea-49a3-b7f2-004fb87690cd 2026-05-12 11:47:04,820 - DEBUG - VM ctest-TestBasicPolicy-51784064-05253587 launched on Node cn-jenkins-deploy-platform-ansible-os-5770-1 2026-05-12 11:47:04,907 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/f9ee9ad8-83ea-49a3-b7f2-004fb87690cd 2026-05-12 11:47:04,916 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/13bdf66b-3452-4e35-8ae2-0dbee06ddddf 2026-05-12 11:47:06,183 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.522 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.522/2.129/3.737/1.607 ms') 2026-05-12 11:47:06,183 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-51784064-05253587 passed 2026-05-12 11:47:06,338 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 11:47:06,338 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-51784064-05253587, IP 200.129.50.67, Port 22 2026-05-12 11:47:06,497 - DEBUG - VM ctest-TestBasicPolicy-51784064-05253587 is ready for SSH connections 2026-05-12 11:47:06,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 11:47:06,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.129.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-12 11:47:06,497 - DEBUG - ping -s 56 -c 3 -W 1 200.129.50.67 2026-05-12 11:47:10,668 - DEBUG - PING 200.129.50.67 (200.129.50.67): 56 data bytes 64 bytes from 200.129.50.67: seq=0 ttl=63 time=3.841 ms 64 bytes from 200.129.50.67: seq=1 ttl=63 time=0.865 ms 64 bytes from 200.129.50.67: seq=2 ttl=63 time=1.106 ms --- 200.129.50.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.937/3.841 ms 2026-05-12 11:47:10,668 - INFO - Ping to IP 200.129.50.67 from VM ctest-TestBasicPolicy-51784064-99472486 passed 2026-05-12 11:47:10,849 - DEBUG - Policy Update Response {"network-policy": {"uuid": "e685b514-7d9e-425b-bd6c-1e9567471776", "href": "http://10.0.0.22:8082/network-policy/e685b514-7d9e-425b-bd6c-1e9567471776"}} 2026-05-12 11:47:10,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-12 11:47:10,850 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 200.129.50.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-05-12 11:47:10,850 - DEBUG - ping -s 56 -c 3 -W 1 200.129.50.67 2026-05-12 11:47:14,094 - DEBUG - PING 200.129.50.67 (200.129.50.67): 56 data bytes --- 200.129.50.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-12 11:47:14,094 - WARNING - Ping to IP 200.129.50.67 from VM ctest-TestBasicPolicy-51784064-99472486 failed 2026-05-12 11:47:14,094 - INFO - Deleting VM ctest-TestBasicPolicy-51784064-05253587 2026-05-12 11:47:14,182 - INFO - Deleting VM ctest-TestBasicPolicy-51784064-99472486 2026-05-12 11:47:14,601 - INFO - Deleted policy ctest-policy-allow-all-89455975 2026-05-12 11:47:14,601 - INFO - Deleting VN ctest-vn-31148817 2026-05-12 11:47:14,643 - DEBUG - VN d13d216f-2744-434d-8b6e-ac156725dff0 still in use: Unable to complete operation on network d13d216f-2744-434d-8b6e-ac156725dff0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16994970-fb88-4999-b141-3ada323e113b'] 2026-05-12 11:47:14,644 - WARNING - Deleting VN ctest-vn-31148817 failed..Will retry 2026-05-12 11:47:16,794 - DEBUG - Response for deleting network () 2026-05-12 11:47:16,794 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1c6c6f0f-fdbb-424e-9d90-e624f964c5a5 2026-05-12 11:47:16,801 - DEBUG - Response Code: 404 2026-05-12 11:47:16,801 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:47:16,808 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:47:16,864 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:47:16,939 - INFO - Validated that VN ctest-vn-31148817 is not found in API Server 2026-05-12 11:47:16,950 - DEBUG - VN ctest-vn-31148817 is not present in Agent 10.0.0.22 2026-05-12 11:47:16,950 - INFO - Validated that VN ctest-vn-31148817 is not in any agent 2026-05-12 11:47:16,967 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-31148817 info 2026-05-12 11:47:16,967 - INFO - Deleting VN ctest-vn-65619269 2026-05-12 11:47:17,083 - DEBUG - Response for deleting network () 2026-05-12 11:47:17,083 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/dc527347-6f3f-4952-9ccb-9b726d7e01ac 2026-05-12 11:47:17,088 - DEBUG - Response Code: 404 2026-05-12 11:47:17,088 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-05-12 11:47:17,102 - DEBUG - Requesting: http://10.0.0.22:8082/domain/b8a4053e-aa32-465c-8270-30f4025ea045 2026-05-12 11:47:17,155 - DEBUG - Requesting: http://10.0.0.22:8082/project/32c7b53d-beab-4ecb-abb6-896691dca8c5 2026-05-12 11:47:17,225 - INFO - Validated that VN ctest-vn-65619269 is not found in API Server 2026-05-12 11:47:17,235 - DEBUG - VN ctest-vn-65619269 is not present in Agent 10.0.0.22 2026-05-12 11:47:17,235 - INFO - Validated that VN ctest-vn-65619269 is not in any agent 2026-05-12 11:47:17,251 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-65619269 info 2026-05-12 11:47:17,515 - DEBUG - No XMPP flaps were noticed during the test
2026-05-12 11:47:17,515 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-12 11:47:17,515 - INFO - -------------------------------------------------------------------------------- 2026-05-12 11:47:18,218 - INFO - Deleted project: ctest-TestBasicPolicy-51784064, ID : 32c7b53d-beab-4ecb-abb6-896691dca8c5