2025-12-16 18:07:17,253 - INFO - Domain Default found not creating 2025-12-16 18:07:17,419 - INFO - Project ctest-TestBasicPolicy-40887611 not found, creating it 2025-12-16 18:07:17,873 - INFO - Created Project:ctest-TestBasicPolicy-40887611, ID : 219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:19,311 - INFO - ================================================================================ 2025-12-16 18:07:19,311 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-16 18:07:19,311 - 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 2025-12-16 18:07:19,566 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-12-16 18:07:19,566 - INFO - Initial checks done. Running the testcase now 2025-12-16 18:07:19,567 - INFO - 2025-12-16 18:07:20,092 - DEBUG - Response for create_network : {'network': {'id': 'c75d02ad-20d6-4956-a057-00170285f4d5', 'name': 'ctest-vn-23564979', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'project_id': '219da899c00a4848ac76d17e05f20be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-vn-23564979'], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:07:20,301 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2cdd516-c494-490c-98d7-149f986c113d', 'name': '', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'network_id': 'c75d02ad-20d6-4956-a057-00170285f4d5', 'ip_version': 4, 'cidr': '166.100.198.192/26', 'allocation_pools': [{'start': '166.100.198.194', 'end': '166.100.198.254'}], 'gateway_ip': '166.100.198.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.100.198.194', 'tags': [], 'project_id': '219da899c00a4848ac76d17e05f20be8'}} 2025-12-16 18:07:20,318 - INFO - Created VN ctest-vn-23564979 2025-12-16 18:07:20,369 - DEBUG - VN ctest-vn-23564979 UUID is c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:20,686 - DEBUG - Response for create_network : {'network': {'id': '916b9a41-cbee-44b4-88a9-e1b8094e81d5', 'name': 'ctest-vn-36327400', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'project_id': '219da899c00a4848ac76d17e05f20be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-vn-36327400'], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:07:20,820 - DEBUG - Response for create_subnet : {'subnet': {'id': '51eb19b4-0a8a-404a-996a-bc01a01a0212', 'name': '', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'network_id': '916b9a41-cbee-44b4-88a9-e1b8094e81d5', 'ip_version': 4, 'cidr': '16.97.136.0/26', 'allocation_pools': [{'start': '16.97.136.2', 'end': '16.97.136.62'}], 'gateway_ip': '16.97.136.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.97.136.2', 'tags': [], 'project_id': '219da899c00a4848ac76d17e05f20be8'}} 2025-12-16 18:07:20,835 - INFO - Created VN ctest-vn-36327400 2025-12-16 18:07:20,885 - DEBUG - VN ctest-vn-36327400 UUID is 916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:21,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979, 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-40887611:ctest-vn-36327400, 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] 2025-12-16 18:07:21,319 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c75d02ad-20d6-4956-a057-00170285f4d5', 'name': 'ctest-vn-23564979', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'project_id': '219da899c00a4848ac76d17e05f20be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d2cdd516-c494-490c-98d7-149f986c113d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-vn-23564979'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-policy-allow-all-90969244']], 'subnet_ipam': [{'subnet_cidr': '166.100.198.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:07:21,593 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '916b9a41-cbee-44b4-88a9-e1b8094e81d5', 'name': 'ctest-vn-36327400', 'tenant_id': '219da899c00a4848ac76d17e05f20be8', 'project_id': '219da899c00a4848ac76d17e05f20be8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['51eb19b4-0a8a-404a-996a-bc01a01a0212'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-vn-36327400'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-policy-allow-all-90969244']], 'subnet_ipam': [{'subnet_cidr': '16.97.136.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-16 18:07:21,741 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:22,042 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:22,073 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:22,085 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:22,156 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,166 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,177 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:22,189 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:22,198 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ca47fdd5-b3cf-4fd5-a6d5-004adac52b36 2025-12-16 18:07:22,205 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-16 18:07:22,205 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,214 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:22,228 - INFO - Verified VN network id 11 for VN c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,228 - INFO - Verifications in API Server for VN ctest-vn-23564979 passed 2025-12-16 18:07:22,228 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,237 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:22,244 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:22,250 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/ca47fdd5-b3cf-4fd5-a6d5-004adac52b36 2025-12-16 18:07:22,262 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40887611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14365641328985262422', 'uuid-lslong': '11553703467868878037'}, 'enable': 'true', 'created': '2025-12-16T18:07:20', 'last-modified': '2025-12-16T18:07:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.964051'} 2025-12-16 18:07:22,267 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-16 18:07:22,267 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23564979 passed 2025-12-16 18:07:22,268 - DEBUG - ====Verifying policy data for ctest-vn-23564979 in API_Server ====== 2025-12-16 18:07:22,268 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:22,272 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:22,283 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:22,355 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/c75d02ad-20d6-4956-a057-00170285f4d5 2025-12-16 18:07:22,365 - DEBUG - ==>Verifying data for policy with id: ecfc0246-8496-49c0-99c2-b43d5a426bb3, fqn: ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-policy-allow-all-90969244'] 2025-12-16 18:07:22,365 - INFO - VN ctest-vn-23564979 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-16 18:07:22,365 - DEBUG - Verifying the vn in opserver 2025-12-16 18:07:22,365 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979 virtual network link through opserver 10.0.0.38 2025-12-16 18:07:22,365 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-16 18:07:22,664 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-16 18:07:22,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979?flat'} 2025-12-16 18:07:22,724 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979 is found in opserver 2025-12-16 18:07:22,734 - DEBUG - Do not have enough data to verify VN in agent 2025-12-16 18:07:22,740 - DEBUG - VRF ids for VN ctest-vn-23564979: {} 2025-12-16 18:07:22,740 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:22,747 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:22,760 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:22,832 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:22,844 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:22,855 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:22,863 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:22,870 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e13a2cf-21af-4c82-9cb2-fe7d4fe305a1 2025-12-16 18:07:22,876 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-16 18:07:22,876 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:22,884 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:22,898 - INFO - Verified VN network id 12 for VN 916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:22,898 - INFO - Verifications in API Server for VN ctest-vn-36327400 passed 2025-12-16 18:07:22,898 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:22,907 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:22,914 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:22,921 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6e13a2cf-21af-4c82-9cb2-fe7d4fe305a1 2025-12-16 18:07:22,934 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-36327400', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40887611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10478638565392532660', 'uuid-lslong': '9847650240768672213'}, 'enable': 'true', 'created': '2025-12-16T18:07:20', 'last-modified': '2025-12-16T18:07:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.409027'} 2025-12-16 18:07:22,939 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-16 18:07:22,939 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36327400 passed 2025-12-16 18:07:22,939 - DEBUG - ====Verifying policy data for ctest-vn-36327400 in API_Server ====== 2025-12-16 18:07:22,939 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:22,946 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:22,955 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:23,020 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/916b9a41-cbee-44b4-88a9-e1b8094e81d5 2025-12-16 18:07:23,028 - DEBUG - ==>Verifying data for policy with id: ecfc0246-8496-49c0-99c2-b43d5a426bb3, fqn: ['default-domain', 'ctest-TestBasicPolicy-40887611', 'ctest-policy-allow-all-90969244'] 2025-12-16 18:07:23,028 - INFO - VN ctest-vn-36327400 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-16 18:07:23,028 - DEBUG - Verifying the vn in opserver 2025-12-16 18:07:23,028 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-36327400 virtual network link through opserver 10.0.0.38 2025-12-16 18:07:23,028 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-16 18:07:23,038 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-36327400', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-36327400?flat'} 2025-12-16 18:07:23,038 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-36327400 is found in opserver 2025-12-16 18:07:23,048 - DEBUG - Do not have enough data to verify VN in agent 2025-12-16 18:07:23,053 - DEBUG - VRF ids for VN ctest-vn-36327400: {} 2025-12-16 18:07:23,109 - DEBUG - Services list from nova: [, , ] 2025-12-16 18:07:24,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1) 2025-12-16 18:07:25,269 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4897-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4897-1) 2025-12-16 18:07:25,270 - INFO - Waiting for VM ctest-TestBasicPolicy-40887611-50903185 to be up.. 2025-12-16 18:07:25,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-16 18:07:30,419 - DEBUG - VM is in ACTIVE state now 2025-12-16 18:07:30,419 - INFO - VM name : ctest-TestBasicPolicy-40887611-50903185 2025-12-16 18:07:30,490 - DEBUG - VM ctest-TestBasicPolicy-40887611-50903185 ID is ccecbb80-3e2c-447c-b35f-cc94ac6045b3 2025-12-16 18:07:30,509 - DEBUG - VM ctest-TestBasicPolicy-40887611-50903185 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1 2025-12-16 18:07:30,576 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ccecbb80-3e2c-447c-b35f-cc94ac6045b3 2025-12-16 18:07:30,585 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8c24e8d3-ce1e-4505-bdc2-9383242ab268 2025-12-16 18:07:33,842 - 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') 2025-12-16 18:07:33,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40887611-50903185 failed! 2025-12-16 18:07:33,897 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40887611:ctest-vn-23564979 is 166.100.198.193 and allocation pool is NOT set 2025-12-16 18:07:35,960 - 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=13.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.230/7.604/12.978/5.374 ms') 2025-12-16 18:07:35,960 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40887611-50903185 passed 2025-12-16 18:07:36,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:07:36,109 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40887611-50903185, IP 166.100.198.195, Port 22 2025-12-16 18:07:36,164 - 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': ''} 2025-12-16 18:07:36,237 - DEBUG - VM ctest-TestBasicPolicy-40887611-50903185 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-16 18:07:41,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:07:41,239 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40887611-50903185, IP 166.100.198.195, Port 22 2025-12-16 18:07:41,397 - DEBUG - VM ctest-TestBasicPolicy-40887611-50903185 is ready for SSH connections 2025-12-16 18:07:41,397 - INFO - Waiting for VM ctest-TestBasicPolicy-40887611-23258206 to be up.. 2025-12-16 18:07:41,477 - DEBUG - VM is in ACTIVE state now 2025-12-16 18:07:41,477 - INFO - VM name : ctest-TestBasicPolicy-40887611-23258206 2025-12-16 18:07:41,553 - DEBUG - VM ctest-TestBasicPolicy-40887611-23258206 ID is 101c167b-bc1f-43d2-b72d-45c8a1788b43 2025-12-16 18:07:41,553 - DEBUG - VM ctest-TestBasicPolicy-40887611-23258206 launched on Node cn-jenkins-deploy-platform-ansible-os-4897-1 2025-12-16 18:07:41,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/101c167b-bc1f-43d2-b72d-45c8a1788b43 2025-12-16 18:07:41,634 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/20804b4d-edc0-4fbc-86c4-97f83817cfe4 2025-12-16 18:07:42,866 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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.381/1.720/3.059/1.339 ms') 2025-12-16 18:07:42,866 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40887611-23258206 passed 2025-12-16 18:07:43,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:07:43,017 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40887611-23258206, IP 16.97.136.3, Port 22 2025-12-16 18:07:43,185 - DEBUG - VM ctest-TestBasicPolicy-40887611-23258206 is ready for SSH connections 2025-12-16 18:07:43,185 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:07:43,185 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.97.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-16 18:07:43,185 - DEBUG - ping -s 56 -c 3 -W 1 16.97.136.3 2025-12-16 18:07:47,230 - DEBUG - PING 16.97.136.3 (16.97.136.3): 56 data bytes 64 bytes from 16.97.136.3: seq=0 ttl=63 time=3.449 ms 64 bytes from 16.97.136.3: seq=1 ttl=63 time=0.805 ms 64 bytes from 16.97.136.3: seq=2 ttl=63 time=0.697 ms --- 16.97.136.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.697/1.650/3.449 ms 2025-12-16 18:07:47,230 - INFO - Ping to IP 16.97.136.3 from VM ctest-TestBasicPolicy-40887611-50903185 passed 2025-12-16 18:07:47,401 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ecfc0246-8496-49c0-99c2-b43d5a426bb3", "href": "http://10.0.0.38:8082/network-policy/ecfc0246-8496-49c0-99c2-b43d5a426bb3"}} 2025-12-16 18:07:47,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-16 18:07:47,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.97.136.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-16 18:07:47,401 - DEBUG - ping -s 56 -c 3 -W 1 16.97.136.3 2025-12-16 18:07:50,605 - DEBUG - PING 16.97.136.3 (16.97.136.3): 56 data bytes --- 16.97.136.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-16 18:07:50,605 - WARNING - Ping to IP 16.97.136.3 from VM ctest-TestBasicPolicy-40887611-50903185 failed 2025-12-16 18:07:50,605 - INFO - Deleting VM ctest-TestBasicPolicy-40887611-23258206 2025-12-16 18:07:50,667 - INFO - Deleting VM ctest-TestBasicPolicy-40887611-50903185 2025-12-16 18:07:50,998 - INFO - Deleted policy ctest-policy-allow-all-90969244 2025-12-16 18:07:50,999 - INFO - Deleting VN ctest-vn-36327400 2025-12-16 18:07:51,031 - DEBUG - VN 916b9a41-cbee-44b4-88a9-e1b8094e81d5 still in use: Unable to complete operation on network 916b9a41-cbee-44b4-88a9-e1b8094e81d5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0c6d977-a07a-4788-9a9d-a84e8140ebe9'] 2025-12-16 18:07:51,031 - WARNING - Deleting VN ctest-vn-36327400 failed..Will retry 2025-12-16 18:07:53,129 - DEBUG - Response for deleting network () 2025-12-16 18:07:53,129 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c8101268-1439-40ff-b0a7-b5f0e8fc98fa 2025-12-16 18:07:53,134 - DEBUG - Response Code: 404 2025-12-16 18:07:53,134 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:53,139 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:53,194 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:53,265 - INFO - Validated that VN ctest-vn-36327400 is not found in API Server 2025-12-16 18:07:53,276 - DEBUG - VN ctest-vn-36327400 is not present in Agent 10.0.0.38 2025-12-16 18:07:53,276 - INFO - Validated that VN ctest-vn-36327400 is not in any agent 2025-12-16 18:07:53,291 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-36327400 info 2025-12-16 18:07:53,291 - INFO - Deleting VN ctest-vn-23564979 2025-12-16 18:07:53,395 - DEBUG - Response for deleting network () 2025-12-16 18:07:53,395 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f8568d39-9dbc-46d0-8528-131659872839 2025-12-16 18:07:53,402 - DEBUG - Response Code: 404 2025-12-16 18:07:53,403 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-16 18:07:53,408 - DEBUG - Requesting: http://10.0.0.38:8082/domain/cc3b17c6-d27f-481e-a032-c36b05770de6 2025-12-16 18:07:53,462 - DEBUG - Requesting: http://10.0.0.38:8082/project/219da899-c00a-4848-ac76-d17e05f20be8 2025-12-16 18:07:53,527 - INFO - Validated that VN ctest-vn-23564979 is not found in API Server 2025-12-16 18:07:53,537 - DEBUG - VN ctest-vn-23564979 is not present in Agent 10.0.0.38 2025-12-16 18:07:53,537 - INFO - Validated that VN ctest-vn-23564979 is not in any agent 2025-12-16 18:07:53,550 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23564979 info 2025-12-16 18:07:53,804 - DEBUG - No XMPP flaps were noticed during the test 2025-12-16 18:07:53,804 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:34] 2025-12-16 18:07:53,804 - INFO - -------------------------------------------------------------------------------- 2025-12-16 18:07:54,465 - INFO - Deleted project: ctest-TestBasicPolicy-40887611, ID : 219da899-c00a-4848-ac76-d17e05f20be8