2026-01-22 10:25:26,112 - INFO - Domain Default found not creating 2026-01-22 10:25:26,321 - INFO - Project ctest-TestBasicPolicy-26937222 not found, creating it 2026-01-22 10:25:26,822 - INFO - Created Project:ctest-TestBasicPolicy-26937222, ID : d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:25:28,501 - INFO - ================================================================================ 2026-01-22 10:25:28,501 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-01-22 10:25:28,501 - 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 10:25:28,776 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2026-01-22 10:25:28,776 - INFO - Initial checks done. Running the testcase now 2026-01-22 10:25:28,776 - INFO - 2026-01-22 10:25:29,386 - DEBUG - Response for create_network : {'network': {'id': '1663cf84-ccb1-419c-8782-721abb9c58fd', 'name': 'ctest-vn-30317999', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-vn-30317999'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:25:29,576 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a64085e3-8ddd-45b0-9188-f767fe4eda96', 'name': '', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'network_id': '1663cf84-ccb1-419c-8782-721abb9c58fd', 'ip_version': 4, 'cidr': '37.135.14.64/26', 'allocation_pools': [{'start': '37.135.14.66', 'end': '37.135.14.126'}], 'gateway_ip': '37.135.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.135.14.66', 'tags': [], 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5'}} 2026-01-22 10:25:29,598 - INFO - Created VN ctest-vn-30317999 2026-01-22 10:25:29,654 - DEBUG - VN ctest-vn-30317999 UUID is 1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:29,983 - DEBUG - Response for create_network : {'network': {'id': 'f325ffc2-2a87-4047-9c76-15a35b08df07', 'name': 'ctest-vn-20260933', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-vn-20260933'], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:25:30,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '98d47ff7-b98d-40b2-90e4-6fb32df3ff97', 'name': '', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'network_id': 'f325ffc2-2a87-4047-9c76-15a35b08df07', 'ip_version': 4, 'cidr': '113.141.85.128/26', 'allocation_pools': [{'start': '113.141.85.130', 'end': '113.141.85.190'}], 'gateway_ip': '113.141.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.141.85.130', 'tags': [], 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5'}} 2026-01-22 10:25:30,203 - INFO - Created VN ctest-vn-20260933 2026-01-22 10:25:30,263 - DEBUG - VN ctest-vn-20260933 UUID is f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:30,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999, 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-26937222:ctest-vn-20260933, 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 10:25:30,686 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1663cf84-ccb1-419c-8782-721abb9c58fd', 'name': 'ctest-vn-30317999', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a64085e3-8ddd-45b0-9188-f767fe4eda96'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-vn-30317999'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-policy-allow-all-18377621']], 'subnet_ipam': [{'subnet_cidr': '37.135.14.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:25:30,931 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f325ffc2-2a87-4047-9c76-15a35b08df07', 'name': 'ctest-vn-20260933', 'tenant_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'project_id': 'd5be7e93fef94fc29d5e129fc3740ec5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['98d47ff7-b98d-40b2-90e4-6fb32df3ff97'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-vn-20260933'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-policy-allow-all-18377621']], 'subnet_ipam': [{'subnet_cidr': '113.141.85.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-01-22 10:25:31,094 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:25:31,397 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:25:31,439 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:25:31,453 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:25:31,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,538 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,549 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:25:31,557 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:25:31,565 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7f273c75-9b9f-4b56-a64c-7ba827918395 2026-01-22 10:25:31,572 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 10:25:31,572 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,584 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:25:31,604 - INFO - Verified VN network id 11 for VN 1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,605 - INFO - Verifications in API Server for VN ctest-vn-30317999 passed 2026-01-22 10:25:31,605 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,615 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:25:31,623 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:25:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7f273c75-9b9f-4b56-a64c-7ba827918395 2026-01-22 10:25:31,642 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26937222', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1613361260805570972', 'uuid-lslong': '9764492401234958589'}, 'enable': 'true', 'created': '2026-01-22T10:25:29', 'last-modified': '2026-01-22T10:25:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.980381'} 2026-01-22 10:25:31,649 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-01-22 10:25:31,649 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30317999 passed 2026-01-22 10:25:31,649 - DEBUG - ====Verifying policy data for ctest-vn-30317999 in API_Server ====== 2026-01-22 10:25:31,649 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:25:31,655 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:25:31,667 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:25:31,741 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1663cf84-ccb1-419c-8782-721abb9c58fd 2026-01-22 10:25:31,753 - DEBUG - ==>Verifying data for policy with id: 850be095-cb6f-4d65-bf9d-2cfae2405901, fqn: ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-policy-allow-all-18377621'] 2026-01-22 10:25:31,753 - INFO - VN ctest-vn-30317999 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 10:25:31,753 - DEBUG - Verifying the vn in opserver 2026-01-22 10:25:31,753 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999 virtual network link through opserver 10.0.0.38 2026-01-22 10:25:31,753 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 10:25:32,064 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 10:25:32,142 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999?flat'} 2026-01-22 10:25:32,142 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999 is found in opserver 2026-01-22 10:25:32,153 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 10:25:32,158 - DEBUG - VRF ids for VN ctest-vn-30317999: {} 2026-01-22 10:25:32,159 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:25:32,164 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:25:32,178 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:25:32,250 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,276 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:25:32,284 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:25:32,291 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db4d5822-9cf2-4a8c-bbc2-324195961f14 2026-01-22 10:25:32,301 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 10:25:32,301 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,312 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:25:32,328 - INFO - Verified VN network id 12 for VN f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,328 - INFO - Verifications in API Server for VN ctest-vn-20260933 passed 2026-01-22 10:25:32,328 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,338 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:25:32,347 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:25:32,355 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/db4d5822-9cf2-4a8c-bbc2-324195961f14 2026-01-22 10:25:32,369 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-20260933', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26937222', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17520691134757027911', 'uuid-lslong': '11274222508519776007'}, 'enable': 'true', 'created': '2026-01-22T10:25:29', 'last-modified': '2026-01-22T10:25:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.463768'} 2026-01-22 10:25:32,375 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-01-22 10:25:32,375 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20260933 passed 2026-01-22 10:25:32,376 - DEBUG - ====Verifying policy data for ctest-vn-20260933 in API_Server ====== 2026-01-22 10:25:32,376 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:25:32,382 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:25:32,397 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:25:32,475 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f325ffc2-2a87-4047-9c76-15a35b08df07 2026-01-22 10:25:32,485 - DEBUG - ==>Verifying data for policy with id: 850be095-cb6f-4d65-bf9d-2cfae2405901, fqn: ['default-domain', 'ctest-TestBasicPolicy-26937222', 'ctest-policy-allow-all-18377621'] 2026-01-22 10:25:32,485 - INFO - VN ctest-vn-20260933 Policy verification: verify_vn_policy_in_api_server, status: True 2026-01-22 10:25:32,485 - DEBUG - Verifying the vn in opserver 2026-01-22 10:25:32,485 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-20260933 virtual network link through opserver 10.0.0.38 2026-01-22 10:25:32,485 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-01-22 10:25:32,496 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-20260933', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-20260933?flat'} 2026-01-22 10:25:32,497 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-20260933 is found in opserver 2026-01-22 10:25:32,508 - DEBUG - Do not have enough data to verify VN in agent 2026-01-22 10:25:32,514 - DEBUG - VRF ids for VN ctest-vn-20260933: {} 2026-01-22 10:25:32,581 - DEBUG - Services list from nova: [, , ] 2026-01-22 10:25:33,728 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:25:34,994 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5061-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5061-1) 2026-01-22 10:25:34,995 - INFO - Waiting for VM ctest-TestBasicPolicy-26937222-52863991 to be up.. 2026-01-22 10:25:35,098 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-22 10:25:40,194 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:25:40,195 - INFO - VM name : ctest-TestBasicPolicy-26937222-52863991 2026-01-22 10:25:40,286 - DEBUG - VM ctest-TestBasicPolicy-26937222-52863991 ID is 22e13db4-9e98-4bc2-85a3-7b3df60193c9 2026-01-22 10:25:40,312 - DEBUG - VM ctest-TestBasicPolicy-26937222-52863991 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:25:40,395 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/22e13db4-9e98-4bc2-85a3-7b3df60193c9 2026-01-22 10:25:40,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0118f4ca-76f6-4b4a-b469-d01e2e6b4626 2026-01-22 10:25:43,664 - 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 1009ms') 2026-01-22 10:25:43,665 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26937222-52863991 failed! 2026-01-22 10:25:43,723 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-26937222:ctest-vn-30317999 is 37.135.14.65 and allocation pool is NOT set 2026-01-22 10:25:45,793 - 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=5.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.96 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.960/4.025/5.090/1.065 ms') 2026-01-22 10:25:45,793 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-26937222-52863991 passed 2026-01-22 10:25:45,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:45,946 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26937222-52863991, IP 37.135.14.67, Port 22 2026-01-22 10:25:46,007 - 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 10:25:46,107 - DEBUG - VM ctest-TestBasicPolicy-26937222-52863991 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-22 10:25:51,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:51,108 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26937222-52863991, IP 37.135.14.67, Port 22 2026-01-22 10:25:51,282 - DEBUG - VM ctest-TestBasicPolicy-26937222-52863991 is ready for SSH connections 2026-01-22 10:25:51,283 - INFO - Waiting for VM ctest-TestBasicPolicy-26937222-40372170 to be up.. 2026-01-22 10:25:51,368 - DEBUG - VM is in ACTIVE state now 2026-01-22 10:25:51,368 - INFO - VM name : ctest-TestBasicPolicy-26937222-40372170 2026-01-22 10:25:51,455 - DEBUG - VM ctest-TestBasicPolicy-26937222-40372170 ID is 47e7ab4c-fd57-44d1-9737-09ec9d5fec16 2026-01-22 10:25:51,455 - DEBUG - VM ctest-TestBasicPolicy-26937222-40372170 launched on Node cn-jenkins-deploy-platform-ansible-os-5061-1 2026-01-22 10:25:51,544 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/47e7ab4c-fd57-44d1-9737-09ec9d5fec16 2026-01-22 10:25:51,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a1cb8859-aa30-4d47-b2f7-73dd43f735d5 2026-01-22 10:25:52,799 - 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=4.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.496 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.496/2.306/4.116/1.810 ms') 2026-01-22 10:25:52,800 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-26937222-40372170 passed 2026-01-22 10:25:52,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:52,958 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-26937222-40372170, IP 113.141.85.131, Port 22 2026-01-22 10:25:53,125 - DEBUG - VM ctest-TestBasicPolicy-26937222-40372170 is ready for SSH connections 2026-01-22 10:25:53,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:53,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.141.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 10:25:53,126 - DEBUG - ping -s 56 -c 3 -W 1 113.141.85.131 2026-01-22 10:25:56,920 - DEBUG - PING 113.141.85.131 (113.141.85.131): 56 data bytes 64 bytes from 113.141.85.131: seq=0 ttl=63 time=3.649 ms 64 bytes from 113.141.85.131: seq=1 ttl=63 time=1.154 ms 64 bytes from 113.141.85.131: seq=2 ttl=63 time=1.117 ms --- 113.141.85.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.117/1.973/3.649 ms 2026-01-22 10:25:56,921 - INFO - Ping to IP 113.141.85.131 from VM ctest-TestBasicPolicy-26937222-52863991 passed 2026-01-22 10:25:57,102 - DEBUG - Policy Update Response {"network-policy": {"uuid": "850be095-cb6f-4d65-bf9d-2cfae2405901", "href": "http://10.0.0.38:8082/network-policy/850be095-cb6f-4d65-bf9d-2cfae2405901"}} 2026-01-22 10:25:57,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-22 10:25:57,102 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 113.141.85.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-22 10:25:57,102 - DEBUG - ping -s 56 -c 3 -W 1 113.141.85.131 2026-01-22 10:26:00,315 - DEBUG - PING 113.141.85.131 (113.141.85.131): 56 data bytes --- 113.141.85.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-22 10:26:00,315 - WARNING - Ping to IP 113.141.85.131 from VM ctest-TestBasicPolicy-26937222-52863991 failed 2026-01-22 10:26:00,315 - INFO - Deleting VM ctest-TestBasicPolicy-26937222-40372170 2026-01-22 10:26:00,400 - INFO - Deleting VM ctest-TestBasicPolicy-26937222-52863991 2026-01-22 10:26:00,831 - INFO - Deleted policy ctest-policy-allow-all-18377621 2026-01-22 10:26:00,831 - INFO - Deleting VN ctest-vn-20260933 2026-01-22 10:26:00,872 - DEBUG - VN f325ffc2-2a87-4047-9c76-15a35b08df07 still in use: Unable to complete operation on network f325ffc2-2a87-4047-9c76-15a35b08df07. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ea7e624d-54e2-4714-b00f-fbef066661d8'] 2026-01-22 10:26:00,873 - WARNING - Deleting VN ctest-vn-20260933 failed..Will retry 2026-01-22 10:26:02,992 - DEBUG - Response for deleting network () 2026-01-22 10:26:02,993 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/75b02ff4-bded-499d-b5a3-fa42657d46e7 2026-01-22 10:26:02,999 - DEBUG - Response Code: 404 2026-01-22 10:26:02,999 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:26:03,006 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:26:03,062 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:26:03,144 - INFO - Validated that VN ctest-vn-20260933 is not found in API Server 2026-01-22 10:26:03,154 - DEBUG - VN ctest-vn-20260933 is not present in Agent 10.0.0.38 2026-01-22 10:26:03,155 - INFO - Validated that VN ctest-vn-20260933 is not in any agent 2026-01-22 10:26:03,169 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-20260933 info 2026-01-22 10:26:03,169 - INFO - Deleting VN ctest-vn-30317999 2026-01-22 10:26:03,282 - DEBUG - Response for deleting network () 2026-01-22 10:26:03,282 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/62b442d0-9bed-49c8-a06b-ca79e1eb6d70 2026-01-22 10:26:03,290 - DEBUG - Response Code: 404 2026-01-22 10:26:03,290 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-01-22 10:26:03,295 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d017d9ed-b1ec-48ea-9d26-a6f145346bf2 2026-01-22 10:26:03,347 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5be7e93-fef9-4fc2-9d5e-129fc3740ec5 2026-01-22 10:26:03,428 - INFO - Validated that VN ctest-vn-30317999 is not found in API Server 2026-01-22 10:26:03,442 - DEBUG - VN ctest-vn-30317999 is not present in Agent 10.0.0.38 2026-01-22 10:26:03,442 - INFO - Validated that VN ctest-vn-30317999 is not in any agent 2026-01-22 10:26:03,457 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30317999 info 2026-01-22 10:26:03,717 - DEBUG - No XMPP flaps were noticed during the test 2026-01-22 10:26:03,717 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-01-22 10:26:03,718 - INFO - -------------------------------------------------------------------------------- 2026-01-22 10:26:04,451 - INFO - Deleted project: ctest-TestBasicPolicy-26937222, ID : d5be7e93-fef9-4fc2-9d5e-129fc3740ec5