2026-01-30 09:50:22,017 - INFO - Domain Default found not creating 2026-01-30 09:50:22,210 - INFO - Project ctest-TestBasicPolicy-33459800 not found, creating it 2026-01-30 09:50:22,685 - INFO - Created Project:ctest-TestBasicPolicy-33459800, ID : 34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:24,267 - INFO - ================================================================================ 2026-01-30 09:50:24,267 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-30 09:50:24,267 - 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-30 09:50:24,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-01-30 09:50:24,528 - INFO - Initial checks done. Running the testcase now 2026-01-30 09:50:24,528 - INFO - 2026-01-30 09:50:25,123 - DEBUG - Response for create_network : {'network': {'id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'name': 'ctest-vn-74906137', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-74906137'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 09:50:25,308 - DEBUG - Response for create_subnet : {'subnet': {'id': '3259921b-e464-4866-b233-3f7b06ced8f2', 'name': '', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'network_id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'ip_version': 4, 'cidr': '45.4.219.128/26', 'allocation_pools': [{'start': '45.4.219.130', 'end': '45.4.219.190'}], 'gateway_ip': '45.4.219.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.4.219.130', 'tags': [], 'project_id': '34e4e3e3f4b84c59bd25528e82076be2'}} 2026-01-30 09:50:25,337 - INFO - Created VN ctest-vn-74906137 2026-01-30 09:50:25,390 - DEBUG - VN ctest-vn-74906137 UUID is 729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:25,713 - DEBUG - Response for create_network : {'network': {'id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'name': 'ctest-vn-39944228', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-39944228'], 'port_security_enabled': True, 'description': ''}} 2026-01-30 09:50:25,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '36d2b82b-e807-4cff-908b-8ab0be405132', 'name': '', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'network_id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'ip_version': 4, 'cidr': '109.93.208.64/26', 'allocation_pools': [{'start': '109.93.208.66', 'end': '109.93.208.126'}], 'gateway_ip': '109.93.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.93.208.66', 'tags': [], 'project_id': '34e4e3e3f4b84c59bd25528e82076be2'}} 2026-01-30 09:50:25,958 - INFO - Created VN ctest-vn-39944228 2026-01-30 09:50:26,010 - DEBUG - VN ctest-vn-39944228 UUID is a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:26,125 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137, 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-33459800:ctest-vn-39944228, 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-30 09:50:26,419 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '729d1c08-bad5-4fdc-b3d3-5f92c8e214c1', 'name': 'ctest-vn-74906137', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3259921b-e464-4866-b233-3f7b06ced8f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-74906137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']], 'subnet_ipam': [{'subnet_cidr': '45.4.219.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 09:50:26,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a94f29f0-bf24-40f7-9bef-80d116beb104', 'name': 'ctest-vn-39944228', 'tenant_id': '34e4e3e3f4b84c59bd25528e82076be2', 'project_id': '34e4e3e3f4b84c59bd25528e82076be2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36d2b82b-e807-4cff-908b-8ab0be405132'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-vn-39944228'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417']], 'subnet_ipam': [{'subnet_cidr': '109.93.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-30 09:50:26,842 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:27,154 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:27,188 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:27,201 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:27,277 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,290 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:27,305 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:27,313 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22c6d6bf-065e-4edf-b797-b7a5d9e9f08c 2026-01-30 09:50:27,319 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 09:50:27,319 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,327 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:27,341 - INFO - Verified VN network id 11 for VN 729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,341 - INFO - Verifications in API Server for VN ctest-vn-74906137 passed 2026-01-30 09:50:27,341 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,352 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:27,360 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:27,367 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/22c6d6bf-065e-4edf-b797-b7a5d9e9f08c 2026-01-30 09:50:27,380 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33459800', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8258788115487215580', 'uuid-lslong': '12957805636915172545'}, 'enable': 'true', 'created': '2026-01-30T09:50:25', 'last-modified': '2026-01-30T09:50:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.982715'} 2026-01-30 09:50:27,387 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-30 09:50:27,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74906137 passed 2026-01-30 09:50:27,387 - DEBUG - ====Verifying policy data for ctest-vn-74906137 in API_Server ====== 2026-01-30 09:50:27,387 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:27,394 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:27,407 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:27,480 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/729d1c08-bad5-4fdc-b3d3-5f92c8e214c1 2026-01-30 09:50:27,489 - DEBUG - ==>Verifying data for policy with id: f8ce269c-b92c-4c74-ac99-814e15ec937f, fqn: ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417'] 2026-01-30 09:50:27,489 - INFO - VN ctest-vn-74906137 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 09:50:27,489 - DEBUG - Verifying the vn in opserver 2026-01-30 09:50:27,489 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137 virtual network link through opserver 10.0.0.38 2026-01-30 09:50:27,489 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 09:50:27,783 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 09:50:27,855 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137?flat'} 2026-01-30 09:50:27,855 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137 is found in opserver 2026-01-30 09:50:27,866 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 09:50:27,872 - DEBUG - VRF ids for VN ctest-vn-74906137: {} 2026-01-30 09:50:27,872 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:27,878 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:27,890 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:27,957 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:27,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:27,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:28,003 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:28,012 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/efe1ff1c-adbb-46d9-b748-096912a3a90e 2026-01-30 09:50:28,019 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 09:50:28,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:28,029 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:28,045 - INFO - Verified VN network id 12 for VN a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:28,045 - INFO - Verifications in API Server for VN ctest-vn-39944228 passed 2026-01-30 09:50:28,046 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:28,058 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:28,067 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:28,075 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/efe1ff1c-adbb-46d9-b748-096912a3a90e 2026-01-30 09:50:28,085 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33459800', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12200016029545677047', 'uuid-lslong': '11236341230830792964'}, 'enable': 'true', 'created': '2026-01-30T09:50:25', 'last-modified': '2026-01-30T09:50:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.461650'} 2026-01-30 09:50:28,091 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-30 09:50:28,091 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-39944228 passed 2026-01-30 09:50:28,092 - DEBUG - ====Verifying policy data for ctest-vn-39944228 in API_Server ====== 2026-01-30 09:50:28,092 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:28,098 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:28,110 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:28,184 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/a94f29f0-bf24-40f7-9bef-80d116beb104 2026-01-30 09:50:28,195 - DEBUG - ==>Verifying data for policy with id: f8ce269c-b92c-4c74-ac99-814e15ec937f, fqn: ['default-domain', 'ctest-TestBasicPolicy-33459800', 'ctest-policy-allow-all-44030417'] 2026-01-30 09:50:28,195 - INFO - VN ctest-vn-39944228 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-30 09:50:28,195 - DEBUG - Verifying the vn in opserver 2026-01-30 09:50:28,195 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228 virtual network link through opserver 10.0.0.38 2026-01-30 09:50:28,195 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-30 09:50:28,206 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228?flat'} 2026-01-30 09:50:28,206 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-39944228 is found in opserver 2026-01-30 09:50:28,216 - DEBUG - Do not have enough data to verify VN in agent 2026-01-30 09:50:28,223 - DEBUG - VRF ids for VN ctest-vn-39944228: {} 2026-01-30 09:50:28,282 - DEBUG - Services list from nova: [, , ] 2026-01-30 09:50:29,400 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5142-1) 2026-01-30 09:50:30,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5142-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5142-1) 2026-01-30 09:50:30,627 - INFO - Waiting for VM ctest-TestBasicPolicy-33459800-37114518 to be up.. 2026-01-30 09:50:30,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-30 09:50:35,810 - DEBUG - VM is in ACTIVE state now 2026-01-30 09:50:35,810 - INFO - VM name : ctest-TestBasicPolicy-33459800-37114518 2026-01-30 09:50:35,896 - DEBUG - VM ctest-TestBasicPolicy-33459800-37114518 ID is 90d3e89d-f2a5-4549-af66-1c530c3e0dc5 2026-01-30 09:50:35,921 - DEBUG - VM ctest-TestBasicPolicy-33459800-37114518 launched on Node cn-jenkins-deploy-platform-ansible-os-5142-1 2026-01-30 09:50:36,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/90d3e89d-f2a5-4549-af66-1c530c3e0dc5 2026-01-30 09:50:36,016 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/45b325ec-9de3-40da-a574-bcb6fcf5b6f4 2026-01-30 09:50:39,278 - 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 1019ms') 2026-01-30 09:50:39,279 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33459800-37114518 failed! 2026-01-30 09:50:39,342 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-33459800:ctest-vn-74906137 is 45.4.219.129 and allocation pool is NOT set 2026-01-30 09:50:41,406 - 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=10.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.53 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 = 2.533/6.504/10.475/3.971 ms') 2026-01-30 09:50:41,406 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-33459800-37114518 passed 2026-01-30 09:50:41,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 09:50:41,558 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33459800-37114518, IP 45.4.219.131, Port 22 2026-01-30 09:50:41,614 - 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-30 09:50:41,699 - DEBUG - VM ctest-TestBasicPolicy-33459800-37114518 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-30 09:50:46,701 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 09:50:46,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33459800-37114518, IP 45.4.219.131, Port 22 2026-01-30 09:50:46,858 - DEBUG - VM ctest-TestBasicPolicy-33459800-37114518 is ready for SSH connections 2026-01-30 09:50:46,858 - INFO - Waiting for VM ctest-TestBasicPolicy-33459800-67699789 to be up.. 2026-01-30 09:50:46,947 - DEBUG - VM is in ACTIVE state now 2026-01-30 09:50:46,947 - INFO - VM name : ctest-TestBasicPolicy-33459800-67699789 2026-01-30 09:50:47,030 - DEBUG - VM ctest-TestBasicPolicy-33459800-67699789 ID is 76d66132-67bc-4053-86c4-6869135f4fbd 2026-01-30 09:50:47,030 - DEBUG - VM ctest-TestBasicPolicy-33459800-67699789 launched on Node cn-jenkins-deploy-platform-ansible-os-5142-1 2026-01-30 09:50:47,118 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/76d66132-67bc-4053-86c4-6869135f4fbd 2026-01-30 09:50:47,128 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ff0bd405-8166-4b95-9cc0-09f4fb9197e2 2026-01-30 09:50:48,381 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 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.398/1.894/3.390/1.496 ms') 2026-01-30 09:50:48,381 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-33459800-67699789 passed 2026-01-30 09:50:48,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 09:50:48,534 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-33459800-67699789, IP 109.93.208.67, Port 22 2026-01-30 09:50:48,690 - DEBUG - VM ctest-TestBasicPolicy-33459800-67699789 is ready for SSH connections 2026-01-30 09:50:48,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 09:50:48,690 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.93.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 09:50:48,690 - DEBUG - ping -s 56 -c 3 -W 1 109.93.208.67 2026-01-30 09:50:52,854 - DEBUG - PING 109.93.208.67 (109.93.208.67): 56 data bytes 64 bytes from 109.93.208.67: seq=0 ttl=63 time=4.068 ms 64 bytes from 109.93.208.67: seq=1 ttl=63 time=1.008 ms 64 bytes from 109.93.208.67: seq=2 ttl=63 time=1.456 ms --- 109.93.208.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.008/2.177/4.068 ms 2026-01-30 09:50:52,854 - INFO - Ping to IP 109.93.208.67 from VM ctest-TestBasicPolicy-33459800-37114518 passed 2026-01-30 09:50:53,042 - DEBUG - Policy Update Response {"network-policy": {"uuid": "f8ce269c-b92c-4c74-ac99-814e15ec937f", "href": "http://10.0.0.38:8082/network-policy/f8ce269c-b92c-4c74-ac99-814e15ec937f"}} 2026-01-30 09:50:53,042 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-30 09:50:53,042 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 109.93.208.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-30 09:50:53,042 - DEBUG - ping -s 56 -c 3 -W 1 109.93.208.67 2026-01-30 09:50:56,270 - DEBUG - PING 109.93.208.67 (109.93.208.67): 56 data bytes --- 109.93.208.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-30 09:50:56,270 - WARNING - Ping to IP 109.93.208.67 from VM ctest-TestBasicPolicy-33459800-37114518 failed 2026-01-30 09:50:56,271 - INFO - Deleting VM ctest-TestBasicPolicy-33459800-67699789 2026-01-30 09:50:56,350 - INFO - Deleting VM ctest-TestBasicPolicy-33459800-37114518 2026-01-30 09:50:56,749 - INFO - Deleted policy ctest-policy-allow-all-44030417 2026-01-30 09:50:56,750 - INFO - Deleting VN ctest-vn-39944228 2026-01-30 09:50:56,785 - DEBUG - VN a94f29f0-bf24-40f7-9bef-80d116beb104 still in use: Unable to complete operation on network a94f29f0-bf24-40f7-9bef-80d116beb104. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72c6064b-5fad-4659-8723-015fa7c64209'] 2026-01-30 09:50:56,785 - WARNING - Deleting VN ctest-vn-39944228 failed..Will retry 2026-01-30 09:50:58,895 - DEBUG - Response for deleting network () 2026-01-30 09:50:58,895 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/987b8fa3-f8ab-4687-b4b7-305a80ef2018 2026-01-30 09:50:58,902 - DEBUG - Response Code: 404 2026-01-30 09:50:58,902 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:58,908 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:58,964 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:59,037 - INFO - Validated that VN ctest-vn-39944228 is not found in API Server 2026-01-30 09:50:59,048 - DEBUG - VN ctest-vn-39944228 is not present in Agent 10.0.0.38 2026-01-30 09:50:59,048 - INFO - Validated that VN ctest-vn-39944228 is not in any agent 2026-01-30 09:50:59,061 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-39944228 info 2026-01-30 09:50:59,062 - INFO - Deleting VN ctest-vn-74906137 2026-01-30 09:50:59,175 - DEBUG - Response for deleting network () 2026-01-30 09:50:59,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/eb72b29b-ca05-4008-a6c0-73e33c895d11 2026-01-30 09:50:59,180 - DEBUG - Response Code: 404 2026-01-30 09:50:59,180 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-30 09:50:59,186 - DEBUG - Requesting: http://10.0.0.38:8082/domain/bebb46fa-28d4-4591-a497-35cf3ec2a9ec 2026-01-30 09:50:59,239 - DEBUG - Requesting: http://10.0.0.38:8082/project/34e4e3e3-f4b8-4c59-bd25-528e82076be2 2026-01-30 09:50:59,311 - INFO - Validated that VN ctest-vn-74906137 is not found in API Server 2026-01-30 09:50:59,321 - DEBUG - VN ctest-vn-74906137 is not present in Agent 10.0.0.38 2026-01-30 09:50:59,321 - INFO - Validated that VN ctest-vn-74906137 is not in any agent 2026-01-30 09:50:59,334 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74906137 info 2026-01-30 09:50:59,587 - DEBUG - No XMPP flaps were noticed during the test 2026-01-30 09:50:59,587 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-30 09:50:59,587 - INFO - -------------------------------------------------------------------------------- 2026-01-30 09:51:00,288 - INFO - Deleted project: ctest-TestBasicPolicy-33459800, ID : 34e4e3e3-f4b8-4c59-bd25-528e82076be2