2025-12-04 16:44:24,984 - INFO - Domain Default found not creating 2025-12-04 16:44:25,178 - INFO - Project ctest-TestBasicPolicy-37271436 not found, creating it 2025-12-04 16:44:25,646 - INFO - Created Project:ctest-TestBasicPolicy-37271436, ID : 00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:44:27,295 - INFO - ================================================================================ 2025-12-04 16:44:27,296 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-12-04 16:44:27,296 - 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-04 16:44:27,553 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-04 16:44:27,553 - INFO - Initial checks done. Running the testcase now 2025-12-04 16:44:27,554 - INFO - 2025-12-04 16:44:28,141 - DEBUG - Response for create_network : {'network': {'id': 'e34cc12b-657f-43cc-a750-c26a70dbdaaf', 'name': 'ctest-vn-45200035', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'project_id': '00a29902e9ef4224bf991c2821af55e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-vn-45200035'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:44:28,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a0488d1-2f7d-4852-bdcc-e3e488db6ede', 'name': '', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'network_id': 'e34cc12b-657f-43cc-a750-c26a70dbdaaf', 'ip_version': 4, 'cidr': '159.16.214.0/26', 'allocation_pools': [{'start': '159.16.214.2', 'end': '159.16.214.62'}], 'gateway_ip': '159.16.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.16.214.2', 'tags': [], 'project_id': '00a29902e9ef4224bf991c2821af55e2'}} 2025-12-04 16:44:28,347 - INFO - Created VN ctest-vn-45200035 2025-12-04 16:44:28,403 - DEBUG - VN ctest-vn-45200035 UUID is e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:28,685 - DEBUG - Response for create_network : {'network': {'id': 'f05af943-1169-4d03-9883-d80fec2f1c30', 'name': 'ctest-vn-47713143', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'project_id': '00a29902e9ef4224bf991c2821af55e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-vn-47713143'], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:44:28,873 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f57db933-7dc4-4830-b17c-465f33d3bbcc', 'name': '', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'network_id': 'f05af943-1169-4d03-9883-d80fec2f1c30', 'ip_version': 4, 'cidr': '142.31.124.128/26', 'allocation_pools': [{'start': '142.31.124.130', 'end': '142.31.124.190'}], 'gateway_ip': '142.31.124.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.31.124.130', 'tags': [], 'project_id': '00a29902e9ef4224bf991c2821af55e2'}} 2025-12-04 16:44:28,892 - INFO - Created VN ctest-vn-47713143 2025-12-04 16:44:28,947 - DEBUG - VN ctest-vn-47713143 UUID is f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:29,058 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035, 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-37271436:ctest-vn-47713143, 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-04 16:44:29,345 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e34cc12b-657f-43cc-a750-c26a70dbdaaf', 'name': 'ctest-vn-45200035', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'project_id': '00a29902e9ef4224bf991c2821af55e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9a0488d1-2f7d-4852-bdcc-e3e488db6ede'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-vn-45200035'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-policy-allow-all-49673349']], 'subnet_ipam': [{'subnet_cidr': '159.16.214.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:44:29,579 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f05af943-1169-4d03-9883-d80fec2f1c30', 'name': 'ctest-vn-47713143', 'tenant_id': '00a29902e9ef4224bf991c2821af55e2', 'project_id': '00a29902e9ef4224bf991c2821af55e2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f57db933-7dc4-4830-b17c-465f33d3bbcc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-vn-47713143'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-policy-allow-all-49673349']], 'subnet_ipam': [{'subnet_cidr': '142.31.124.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-12-04 16:44:29,743 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:44:30,087 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:44:30,120 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:44:30,132 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:44:30,206 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,217 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:44:30,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:44:30,240 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ddcb3e1-71ef-424e-8727-a9abfe4f20d5 2025-12-04 16:44:30,247 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 16:44:30,247 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,255 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:44:30,269 - INFO - Verified VN network id 11 for VN e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,269 - INFO - Verifications in API Server for VN ctest-vn-45200035 passed 2025-12-04 16:44:30,269 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,279 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:44:30,286 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:44:30,293 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5ddcb3e1-71ef-424e-8727-a9abfe4f20d5 2025-12-04 16:44:30,305 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37271436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16378678336970245068', 'uuid-lslong': '12056349964886596271'}, 'enable': 'true', 'created': '2025-12-04T16:44:28', 'last-modified': '2025-12-04T16:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976817'} 2025-12-04 16:44:30,311 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-12-04 16:44:30,311 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45200035 passed 2025-12-04 16:44:30,312 - DEBUG - ====Verifying policy data for ctest-vn-45200035 in API_Server ====== 2025-12-04 16:44:30,312 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:44:30,316 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:44:30,328 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:44:30,404 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e34cc12b-657f-43cc-a750-c26a70dbdaaf 2025-12-04 16:44:30,413 - DEBUG - ==>Verifying data for policy with id: 432108aa-bcdb-4386-8143-8ea2afb5b8fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-policy-allow-all-49673349'] 2025-12-04 16:44:30,413 - INFO - VN ctest-vn-45200035 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 16:44:30,413 - DEBUG - Verifying the vn in opserver 2025-12-04 16:44:30,413 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035 virtual network link through opserver 10.0.0.38 2025-12-04 16:44:30,413 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 16:44:30,748 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 16:44:30,811 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035?flat'} 2025-12-04 16:44:30,811 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035 is found in opserver 2025-12-04 16:44:30,821 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 16:44:30,826 - DEBUG - VRF ids for VN ctest-vn-45200035: {} 2025-12-04 16:44:30,826 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:44:30,831 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:44:30,843 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:44:30,914 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:30,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:30,938 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:44:30,946 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:44:30,952 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d431404f-3f02-4f82-a631-b2fb896db7c7 2025-12-04 16:44:30,959 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 16:44:30,959 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:30,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:44:30,982 - INFO - Verified VN network id 12 for VN f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:30,982 - INFO - Verifications in API Server for VN ctest-vn-47713143 passed 2025-12-04 16:44:30,982 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:30,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:44:31,002 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:44:31,010 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d431404f-3f02-4f82-a631-b2fb896db7c7 2025-12-04 16:44:31,024 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-47713143', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37271436', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17319429383456902403', 'uuid-lslong': '10989865078612761648'}, 'enable': 'true', 'created': '2025-12-04T16:44:28', 'last-modified': '2025-12-04T16:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.470102'} 2025-12-04 16:44:31,029 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-12-04 16:44:31,030 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47713143 passed 2025-12-04 16:44:31,030 - DEBUG - ====Verifying policy data for ctest-vn-47713143 in API_Server ====== 2025-12-04 16:44:31,030 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:44:31,036 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:44:31,046 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:44:31,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/f05af943-1169-4d03-9883-d80fec2f1c30 2025-12-04 16:44:31,123 - DEBUG - ==>Verifying data for policy with id: 432108aa-bcdb-4386-8143-8ea2afb5b8fe, fqn: ['default-domain', 'ctest-TestBasicPolicy-37271436', 'ctest-policy-allow-all-49673349'] 2025-12-04 16:44:31,124 - INFO - VN ctest-vn-47713143 Policy verification: verify_vn_policy_in_api_server, status: True 2025-12-04 16:44:31,124 - DEBUG - Verifying the vn in opserver 2025-12-04 16:44:31,124 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-47713143 virtual network link through opserver 10.0.0.38 2025-12-04 16:44:31,124 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-12-04 16:44:31,133 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-47713143', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-47713143?flat'} 2025-12-04 16:44:31,133 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-47713143 is found in opserver 2025-12-04 16:44:31,143 - DEBUG - Do not have enough data to verify VN in agent 2025-12-04 16:44:31,148 - DEBUG - VRF ids for VN ctest-vn-47713143: {} 2025-12-04 16:44:31,205 - DEBUG - Services list from nova: [, , ] 2025-12-04 16:44:32,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:44:33,542 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4845-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4845-1) 2025-12-04 16:44:33,543 - INFO - Waiting for VM ctest-TestBasicPolicy-37271436-99610725 to be up.. 2025-12-04 16:44:33,629 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-04 16:44:38,725 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:44:38,725 - INFO - VM name : ctest-TestBasicPolicy-37271436-99610725 2025-12-04 16:44:38,808 - DEBUG - VM ctest-TestBasicPolicy-37271436-99610725 ID is 67fac36c-2d7a-4804-918d-b3c5958399a0 2025-12-04 16:44:38,830 - DEBUG - VM ctest-TestBasicPolicy-37271436-99610725 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:44:38,909 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/67fac36c-2d7a-4804-918d-b3c5958399a0 2025-12-04 16:44:38,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e28a08a6-d26f-4446-be87-e44ffd4909ef 2025-12-04 16:44:42,182 - 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 1017ms') 2025-12-04 16:44:42,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37271436-99610725 failed! 2025-12-04 16:44:42,235 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-37271436:ctest-vn-45200035 is 159.16.214.1 and allocation pool is NOT set 2025-12-04 16:44:44,296 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.04 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 = 3.036/5.593/8.151/2.557 ms') 2025-12-04 16:44:44,296 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-37271436-99610725 passed 2025-12-04 16:44:44,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:44,447 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37271436-99610725, IP 159.16.214.3, Port 22 2025-12-04 16:44:44,514 - 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-04 16:44:44,601 - DEBUG - VM ctest-TestBasicPolicy-37271436-99610725 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-04 16:44:49,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:49,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37271436-99610725, IP 159.16.214.3, Port 22 2025-12-04 16:44:49,759 - DEBUG - VM ctest-TestBasicPolicy-37271436-99610725 is ready for SSH connections 2025-12-04 16:44:49,759 - INFO - Waiting for VM ctest-TestBasicPolicy-37271436-22494466 to be up.. 2025-12-04 16:44:49,833 - DEBUG - VM is in ACTIVE state now 2025-12-04 16:44:49,833 - INFO - VM name : ctest-TestBasicPolicy-37271436-22494466 2025-12-04 16:44:49,905 - DEBUG - VM ctest-TestBasicPolicy-37271436-22494466 ID is 270bdfe4-6611-446f-a006-beb65f1690e6 2025-12-04 16:44:49,905 - DEBUG - VM ctest-TestBasicPolicy-37271436-22494466 launched on Node cn-jenkins-deploy-platform-ansible-os-4845-1 2025-12-04 16:44:49,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/270bdfe4-6611-446f-a006-beb65f1690e6 2025-12-04 16:44:49,989 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3c6f6629-6180-40d1-80cb-5c8ac1eee1c5 2025-12-04 16:44:51,221 - 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.01 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.406 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.406/1.708/3.011/1.302 ms') 2025-12-04 16:44:51,221 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-37271436-22494466 passed 2025-12-04 16:44:51,371 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:51,371 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-37271436-22494466, IP 142.31.124.131, Port 22 2025-12-04 16:44:51,527 - DEBUG - VM ctest-TestBasicPolicy-37271436-22494466 is ready for SSH connections 2025-12-04 16:44:51,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:51,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.31.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:44:51,527 - DEBUG - ping -s 56 -c 3 -W 1 142.31.124.131 2025-12-04 16:44:55,655 - DEBUG - PING 142.31.124.131 (142.31.124.131): 56 data bytes 64 bytes from 142.31.124.131: seq=0 ttl=63 time=4.088 ms 64 bytes from 142.31.124.131: seq=1 ttl=63 time=0.893 ms 64 bytes from 142.31.124.131: seq=2 ttl=63 time=0.863 ms --- 142.31.124.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.948/4.088 ms 2025-12-04 16:44:55,655 - INFO - Ping to IP 142.31.124.131 from VM ctest-TestBasicPolicy-37271436-99610725 passed 2025-12-04 16:44:55,843 - DEBUG - Policy Update Response {"network-policy": {"uuid": "432108aa-bcdb-4386-8143-8ea2afb5b8fe", "href": "http://10.0.0.38:8082/network-policy/432108aa-bcdb-4386-8143-8ea2afb5b8fe"}} 2025-12-04 16:44:55,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-04 16:44:55,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.31.124.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-04 16:44:55,843 - DEBUG - ping -s 56 -c 3 -W 1 142.31.124.131 2025-12-04 16:44:59,085 - DEBUG - PING 142.31.124.131 (142.31.124.131): 56 data bytes --- 142.31.124.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-04 16:44:59,085 - WARNING - Ping to IP 142.31.124.131 from VM ctest-TestBasicPolicy-37271436-99610725 failed 2025-12-04 16:44:59,085 - INFO - Deleting VM ctest-TestBasicPolicy-37271436-22494466 2025-12-04 16:44:59,162 - INFO - Deleting VM ctest-TestBasicPolicy-37271436-99610725 2025-12-04 16:44:59,680 - INFO - Deleted policy ctest-policy-allow-all-49673349 2025-12-04 16:44:59,680 - INFO - Deleting VN ctest-vn-47713143 2025-12-04 16:44:59,720 - DEBUG - VN f05af943-1169-4d03-9883-d80fec2f1c30 still in use: Unable to complete operation on network f05af943-1169-4d03-9883-d80fec2f1c30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba9317b8-2a53-44ab-9360-0fc01d61b42c'] 2025-12-04 16:44:59,720 - WARNING - Deleting VN ctest-vn-47713143 failed..Will retry 2025-12-04 16:45:01,841 - DEBUG - Response for deleting network () 2025-12-04 16:45:01,841 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e3df334b-c5ab-4ddf-af7a-203f3c0b973c 2025-12-04 16:45:01,848 - DEBUG - Response Code: 404 2025-12-04 16:45:01,848 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:45:01,854 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:45:01,910 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:45:01,981 - INFO - Validated that VN ctest-vn-47713143 is not found in API Server 2025-12-04 16:45:01,991 - DEBUG - VN ctest-vn-47713143 is not present in Agent 10.0.0.38 2025-12-04 16:45:01,991 - INFO - Validated that VN ctest-vn-47713143 is not in any agent 2025-12-04 16:45:02,008 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-47713143 info 2025-12-04 16:45:02,008 - INFO - Deleting VN ctest-vn-45200035 2025-12-04 16:45:02,126 - DEBUG - Response for deleting network () 2025-12-04 16:45:02,126 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/a4888508-c4aa-49fc-98da-c5bb8b9954b7 2025-12-04 16:45:02,134 - DEBUG - Response Code: 404 2025-12-04 16:45:02,134 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-12-04 16:45:02,141 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c0e664ba-d85c-49e5-b7f5-e4604e9d8c7a 2025-12-04 16:45:02,197 - DEBUG - Requesting: http://10.0.0.38:8082/project/00a29902-e9ef-4224-bf99-1c2821af55e2 2025-12-04 16:45:02,276 - INFO - Validated that VN ctest-vn-45200035 is not found in API Server 2025-12-04 16:45:02,287 - DEBUG - VN ctest-vn-45200035 is not present in Agent 10.0.0.38 2025-12-04 16:45:02,287 - INFO - Validated that VN ctest-vn-45200035 is not in any agent 2025-12-04 16:45:02,303 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-45200035 info 2025-12-04 16:45:02,557 - DEBUG - No XMPP flaps were noticed during the test 2025-12-04 16:45:02,557 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-12-04 16:45:02,557 - INFO - -------------------------------------------------------------------------------- 2025-12-04 16:45:03,282 - INFO - Deleted project: ctest-TestBasicPolicy-37271436, ID : 00a29902-e9ef-4224-bf99-1c2821af55e2