2026-04-01 17:49:47,021 - INFO - Domain Default found not creating 2026-04-01 17:49:47,196 - INFO - Project ctest-TestBasicPolicy-52618812 not found, creating it 2026-04-01 17:49:47,653 - INFO - Created Project:ctest-TestBasicPolicy-52618812, ID : b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:49:49,132 - INFO - ================================================================================ 2026-04-01 17:49:49,132 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-01 17:49:49,133 - 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-04-01 17:49:49,407 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-04-01 17:49:49,407 - INFO - Initial checks done. Running the testcase now 2026-04-01 17:49:49,407 - INFO - 2026-04-01 17:49:49,970 - DEBUG - Response for create_network : {'network': {'id': '3fd57262-68f4-4ad6-a613-5ff66c6fcb3e', 'name': 'ctest-vn-95663756', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'project_id': 'b2487e2ac9824b5a83ee3213f4636972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-vn-95663756'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:50,142 - DEBUG - Response for create_subnet : {'subnet': {'id': '44f5e046-13b6-41d9-acef-b84f944b29cb', 'name': '', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'network_id': '3fd57262-68f4-4ad6-a613-5ff66c6fcb3e', 'ip_version': 4, 'cidr': '192.30.250.128/26', 'allocation_pools': [{'start': '192.30.250.130', 'end': '192.30.250.190'}], 'gateway_ip': '192.30.250.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.30.250.130', 'tags': [], 'project_id': 'b2487e2ac9824b5a83ee3213f4636972'}} 2026-04-01 17:49:50,159 - INFO - Created VN ctest-vn-95663756 2026-04-01 17:49:50,211 - DEBUG - VN ctest-vn-95663756 UUID is 3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:50,535 - DEBUG - Response for create_network : {'network': {'id': '5ffe3c77-1a5d-4b6e-8803-ed632f93687f', 'name': 'ctest-vn-68953052', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'project_id': 'b2487e2ac9824b5a83ee3213f4636972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-vn-68953052'], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:50,744 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f94eb175-6413-4415-9394-f47a840f3aae', 'name': '', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'network_id': '5ffe3c77-1a5d-4b6e-8803-ed632f93687f', 'ip_version': 4, 'cidr': '191.172.105.0/26', 'allocation_pools': [{'start': '191.172.105.2', 'end': '191.172.105.62'}], 'gateway_ip': '191.172.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.172.105.2', 'tags': [], 'project_id': 'b2487e2ac9824b5a83ee3213f4636972'}} 2026-04-01 17:49:50,761 - INFO - Created VN ctest-vn-68953052 2026-04-01 17:49:50,811 - DEBUG - VN ctest-vn-68953052 UUID is 5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:50,967 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756, 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-52618812:ctest-vn-68953052, 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-04-01 17:49:51,252 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3fd57262-68f4-4ad6-a613-5ff66c6fcb3e', 'name': 'ctest-vn-95663756', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'project_id': 'b2487e2ac9824b5a83ee3213f4636972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44f5e046-13b6-41d9-acef-b84f944b29cb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-vn-95663756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-policy-allow-all-45434508']], 'subnet_ipam': [{'subnet_cidr': '192.30.250.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:51,469 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ffe3c77-1a5d-4b6e-8803-ed632f93687f', 'name': 'ctest-vn-68953052', 'tenant_id': 'b2487e2ac9824b5a83ee3213f4636972', 'project_id': 'b2487e2ac9824b5a83ee3213f4636972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f94eb175-6413-4415-9394-f47a840f3aae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-vn-68953052'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-policy-allow-all-45434508']], 'subnet_ipam': [{'subnet_cidr': '191.172.105.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-01 17:49:51,635 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:49:51,941 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:49:51,972 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:49:51,985 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:49:52,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,068 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,076 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:49:52,082 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:49:52,089 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c301aecb-e302-489d-9b4c-03cab0ea4b4e 2026-04-01 17:49:52,095 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-01 17:49:52,095 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,104 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:49:52,117 - INFO - Verified VN network id 11 for VN 3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,117 - INFO - Verifications in API Server for VN ctest-vn-95663756 passed 2026-04-01 17:49:52,117 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,125 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:49:52,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:49:52,136 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/c301aecb-e302-489d-9b4c-03cab0ea4b4e 2026-04-01 17:49:52,146 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52618812', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4599708361422031574', 'uuid-lslong': '11967014146839399230'}, 'enable': 'true', 'created': '2026-04-01T17:49:49', 'last-modified': '2026-04-01T17:49:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911543'} 2026-04-01 17:49:52,153 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-01 17:49:52,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95663756 passed 2026-04-01 17:49:52,153 - DEBUG - ====Verifying policy data for ctest-vn-95663756 in API_Server ====== 2026-04-01 17:49:52,153 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:49:52,158 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:49:52,167 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:49:52,237 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3fd57262-68f4-4ad6-a613-5ff66c6fcb3e 2026-04-01 17:49:52,245 - DEBUG - ==>Verifying data for policy with id: 0ec9a10e-58cd-49cc-b00b-b76b1111d301, fqn: ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-policy-allow-all-45434508'] 2026-04-01 17:49:52,245 - INFO - VN ctest-vn-95663756 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-01 17:49:52,245 - DEBUG - Verifying the vn in opserver 2026-04-01 17:49:52,245 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756 virtual network link through opserver 10.0.0.50 2026-04-01 17:49:52,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-01 17:49:52,553 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-01 17:49:52,613 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756?flat'} 2026-04-01 17:49:52,613 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756 is found in opserver 2026-04-01 17:49:52,621 - DEBUG - Do not have enough data to verify VN in agent 2026-04-01 17:49:52,625 - DEBUG - VRF ids for VN ctest-vn-95663756: {} 2026-04-01 17:49:52,625 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:49:52,631 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:49:52,642 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:49:52,710 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,728 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:49:52,736 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:49:52,741 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3d3fb617-92b5-4250-b1d2-556ebe4bf3a1 2026-04-01 17:49:52,747 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-01 17:49:52,747 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,756 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:49:52,769 - INFO - Verified VN network id 12 for VN 5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,769 - INFO - Verifications in API Server for VN ctest-vn-68953052 passed 2026-04-01 17:49:52,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,778 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:49:52,785 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:49:52,791 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3d3fb617-92b5-4250-b1d2-556ebe4bf3a1 2026-04-01 17:49:52,801 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-68953052', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52618812', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6917032559928757102', 'uuid-lslong': '9800938224344066175'}, 'enable': 'true', 'created': '2026-04-01T17:49:50', 'last-modified': '2026-04-01T17:49:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.351685'} 2026-04-01 17:49:52,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-01 17:49:52,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68953052 passed 2026-04-01 17:49:52,809 - DEBUG - ====Verifying policy data for ctest-vn-68953052 in API_Server ====== 2026-04-01 17:49:52,809 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:49:52,815 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:49:52,824 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:49:52,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/5ffe3c77-1a5d-4b6e-8803-ed632f93687f 2026-04-01 17:49:52,901 - DEBUG - ==>Verifying data for policy with id: 0ec9a10e-58cd-49cc-b00b-b76b1111d301, fqn: ['default-domain', 'ctest-TestBasicPolicy-52618812', 'ctest-policy-allow-all-45434508'] 2026-04-01 17:49:52,901 - INFO - VN ctest-vn-68953052 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-01 17:49:52,901 - DEBUG - Verifying the vn in opserver 2026-04-01 17:49:52,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-68953052 virtual network link through opserver 10.0.0.50 2026-04-01 17:49:52,901 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-01 17:49:52,910 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-68953052', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-68953052?flat'} 2026-04-01 17:49:52,910 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-68953052 is found in opserver 2026-04-01 17:49:52,920 - DEBUG - Do not have enough data to verify VN in agent 2026-04-01 17:49:52,923 - DEBUG - VRF ids for VN ctest-vn-68953052: {} 2026-04-01 17:49:52,990 - DEBUG - Services list from nova: [, , ] 2026-04-01 17:49:54,056 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5571-1) 2026-04-01 17:49:55,244 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5571-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5571-1) 2026-04-01 17:49:55,244 - INFO - Waiting for VM ctest-TestBasicPolicy-52618812-51559039 to be up.. 2026-04-01 17:49:55,322 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-01 17:50:00,407 - DEBUG - VM is in ACTIVE state now 2026-04-01 17:50:00,407 - INFO - VM name : ctest-TestBasicPolicy-52618812-51559039 2026-04-01 17:50:00,485 - DEBUG - VM ctest-TestBasicPolicy-52618812-51559039 ID is 5ad78431-0540-4000-b96c-677728bcae96 2026-04-01 17:50:00,507 - DEBUG - VM ctest-TestBasicPolicy-52618812-51559039 launched on Node cn-jenkins-deploy-platform-ansible-os-5571-1 2026-04-01 17:50:00,583 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5ad78431-0540-4000-b96c-677728bcae96 2026-04-01 17:50:00,590 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/57bccbb7-62c6-4ad3-9906-f4feebf239dc 2026-04-01 17:50:03,852 - 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-04-01 17:50:03,853 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52618812-51559039 failed! 2026-04-01 17:50:03,907 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52618812:ctest-vn-95663756 is 192.30.250.129 and allocation pool is NOT set 2026-04-01 17:50:05,971 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.47 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 = 1.466/4.810/8.155/3.344 ms') 2026-04-01 17:50:05,971 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52618812-51559039 passed 2026-04-01 17:50:06,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:50:06,119 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52618812-51559039, IP 192.30.250.131, Port 22 2026-04-01 17:50:06,185 - 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-04-01 17:50:06,268 - DEBUG - VM ctest-TestBasicPolicy-52618812-51559039 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-01 17:50:11,268 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:50:11,268 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52618812-51559039, IP 192.30.250.131, Port 22 2026-04-01 17:50:11,426 - DEBUG - VM ctest-TestBasicPolicy-52618812-51559039 is ready for SSH connections 2026-04-01 17:50:11,426 - INFO - Waiting for VM ctest-TestBasicPolicy-52618812-01156354 to be up.. 2026-04-01 17:50:11,501 - DEBUG - VM is in ACTIVE state now 2026-04-01 17:50:11,502 - INFO - VM name : ctest-TestBasicPolicy-52618812-01156354 2026-04-01 17:50:11,570 - DEBUG - VM ctest-TestBasicPolicy-52618812-01156354 ID is 81c7f384-621d-4454-add5-bfa6cd6cb493 2026-04-01 17:50:11,571 - DEBUG - VM ctest-TestBasicPolicy-52618812-01156354 launched on Node cn-jenkins-deploy-platform-ansible-os-5571-1 2026-04-01 17:50:11,646 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/81c7f384-621d-4454-add5-bfa6cd6cb493 2026-04-01 17:50:11,655 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/f41b6f3e-b55e-4095-9701-16c43a52dc61 2026-04-01 17:50:12,889 - 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.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.408 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.408/1.817/3.226/1.409 ms') 2026-04-01 17:50:12,889 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52618812-01156354 passed 2026-04-01 17:50:13,039 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:50:13,039 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52618812-01156354, IP 191.172.105.3, Port 22 2026-04-01 17:50:13,195 - DEBUG - VM ctest-TestBasicPolicy-52618812-01156354 is ready for SSH connections 2026-04-01 17:50:13,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:50:13,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.172.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-01 17:50:13,195 - DEBUG - ping -s 56 -c 3 -W 1 191.172.105.3 2026-04-01 17:50:17,241 - DEBUG - PING 191.172.105.3 (191.172.105.3): 56 data bytes 64 bytes from 191.172.105.3: seq=0 ttl=63 time=3.684 ms 64 bytes from 191.172.105.3: seq=1 ttl=63 time=1.137 ms 64 bytes from 191.172.105.3: seq=2 ttl=63 time=0.962 ms --- 191.172.105.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.962/1.927/3.684 ms 2026-04-01 17:50:17,241 - INFO - Ping to IP 191.172.105.3 from VM ctest-TestBasicPolicy-52618812-51559039 passed 2026-04-01 17:50:17,415 - DEBUG - Policy Update Response {"network-policy": {"uuid": "0ec9a10e-58cd-49cc-b00b-b76b1111d301", "href": "http://10.0.0.50:8082/network-policy/0ec9a10e-58cd-49cc-b00b-b76b1111d301"}} 2026-04-01 17:50:17,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-01 17:50:17,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.172.105.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-01 17:50:17,415 - DEBUG - ping -s 56 -c 3 -W 1 191.172.105.3 2026-04-01 17:50:20,623 - DEBUG - PING 191.172.105.3 (191.172.105.3): 56 data bytes --- 191.172.105.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-01 17:50:20,623 - WARNING - Ping to IP 191.172.105.3 from VM ctest-TestBasicPolicy-52618812-51559039 failed 2026-04-01 17:50:20,623 - INFO - Deleting VM ctest-TestBasicPolicy-52618812-01156354 2026-04-01 17:50:20,686 - INFO - Deleting VM ctest-TestBasicPolicy-52618812-51559039 2026-04-01 17:50:21,060 - INFO - Deleted policy ctest-policy-allow-all-45434508 2026-04-01 17:50:21,060 - INFO - Deleting VN ctest-vn-68953052 2026-04-01 17:50:21,092 - DEBUG - VN 5ffe3c77-1a5d-4b6e-8803-ed632f93687f still in use: Unable to complete operation on network 5ffe3c77-1a5d-4b6e-8803-ed632f93687f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ffc6b90-842c-4d89-9723-aab2c693f542'] 2026-04-01 17:50:21,092 - WARNING - Deleting VN ctest-vn-68953052 failed..Will retry 2026-04-01 17:50:23,186 - DEBUG - Response for deleting network () 2026-04-01 17:50:23,186 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/70eb22e1-e338-44eb-9cfc-a991a4c33fab 2026-04-01 17:50:23,193 - DEBUG - Response Code: 404 2026-04-01 17:50:23,194 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:50:23,198 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:50:23,252 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:50:23,326 - INFO - Validated that VN ctest-vn-68953052 is not found in API Server 2026-04-01 17:50:23,334 - DEBUG - VN ctest-vn-68953052 is not present in Agent 10.0.0.50 2026-04-01 17:50:23,334 - INFO - Validated that VN ctest-vn-68953052 is not in any agent 2026-04-01 17:50:23,349 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68953052 info 2026-04-01 17:50:23,349 - INFO - Deleting VN ctest-vn-95663756 2026-04-01 17:50:23,448 - DEBUG - Response for deleting network () 2026-04-01 17:50:23,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5bc60ba4-4d7b-4bad-b818-d0abbb497a86 2026-04-01 17:50:23,453 - DEBUG - Response Code: 404 2026-04-01 17:50:23,453 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-01 17:50:23,459 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3db96bd2-688c-4493-8241-b8350c0354c9 2026-04-01 17:50:23,512 - DEBUG - Requesting: http://10.0.0.50:8082/project/b2487e2a-c982-4b5a-83ee-3213f4636972 2026-04-01 17:50:23,584 - INFO - Validated that VN ctest-vn-95663756 is not found in API Server 2026-04-01 17:50:23,593 - DEBUG - VN ctest-vn-95663756 is not present in Agent 10.0.0.50 2026-04-01 17:50:23,594 - INFO - Validated that VN ctest-vn-95663756 is not in any agent 2026-04-01 17:50:23,605 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95663756 info 2026-04-01 17:50:23,860 - DEBUG - No XMPP flaps were noticed during the test
2026-04-01 17:50:23,860 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34]
2026-04-01 17:50:23,860 - INFO - -------------------------------------------------------------------------------- 2026-04-01 17:50:24,547 - INFO - Deleted project: ctest-TestBasicPolicy-52618812, ID : b2487e2a-c982-4b5a-83ee-3213f4636972