2025-11-01 16:05:06,213 - INFO - Domain Default found not creating 2025-11-01 16:05:06,364 - INFO - Project ctest-TestBasicPolicy-02862461 not found, creating it 2025-11-01 16:05:06,811 - INFO - Created Project:ctest-TestBasicPolicy-02862461, ID : 06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:08,372 - INFO - ================================================================================ 2025-11-01 16:05:08,372 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-01 16:05:08,372 - 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-11-01 16:05:08,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-01 16:05:08,625 - INFO - Initial checks done. Running the testcase now 2025-11-01 16:05:08,626 - INFO - 2025-11-01 16:05:09,238 - DEBUG - Response for create_network : {'network': {'id': '562fc494-258b-45ee-8ffc-4e100d292b1f', 'name': 'ctest-vn-68510293', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'project_id': '06812aaa270f455282a2aad63c46287b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-vn-68510293'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:09,412 - DEBUG - Response for create_subnet : {'subnet': {'id': '921c3b1d-28ab-4910-82e6-f73e04797c9d', 'name': '', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'network_id': '562fc494-258b-45ee-8ffc-4e100d292b1f', 'ip_version': 4, 'cidr': '3.191.83.0/26', 'allocation_pools': [{'start': '3.191.83.2', 'end': '3.191.83.62'}], 'gateway_ip': '3.191.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.191.83.2', 'tags': [], 'project_id': '06812aaa270f455282a2aad63c46287b'}} 2025-11-01 16:05:09,431 - INFO - Created VN ctest-vn-68510293 2025-11-01 16:05:09,484 - DEBUG - VN ctest-vn-68510293 UUID is 562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:09,796 - DEBUG - Response for create_network : {'network': {'id': '6a546c3e-3cef-4906-bd33-0cf20f8be257', 'name': 'ctest-vn-79442078', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'project_id': '06812aaa270f455282a2aad63c46287b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-vn-79442078'], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:09,967 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed17ff0a-7ed9-419a-b7b4-dc5b2a363093', 'name': '', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'network_id': '6a546c3e-3cef-4906-bd33-0cf20f8be257', 'ip_version': 4, 'cidr': '144.58.86.192/26', 'allocation_pools': [{'start': '144.58.86.194', 'end': '144.58.86.254'}], 'gateway_ip': '144.58.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.58.86.194', 'tags': [], 'project_id': '06812aaa270f455282a2aad63c46287b'}} 2025-11-01 16:05:09,989 - INFO - Created VN ctest-vn-79442078 2025-11-01 16:05:10,044 - DEBUG - VN ctest-vn-79442078 UUID is 6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:10,177 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293, 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-02862461:ctest-vn-79442078, 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-11-01 16:05:10,499 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '562fc494-258b-45ee-8ffc-4e100d292b1f', 'name': 'ctest-vn-68510293', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'project_id': '06812aaa270f455282a2aad63c46287b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['921c3b1d-28ab-4910-82e6-f73e04797c9d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-vn-68510293'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-policy-allow-all-83200990']], 'subnet_ipam': [{'subnet_cidr': '3.191.83.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:10,793 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a546c3e-3cef-4906-bd33-0cf20f8be257', 'name': 'ctest-vn-79442078', 'tenant_id': '06812aaa270f455282a2aad63c46287b', 'project_id': '06812aaa270f455282a2aad63c46287b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ed17ff0a-7ed9-419a-b7b4-dc5b2a363093'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-vn-79442078'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-policy-allow-all-83200990']], 'subnet_ipam': [{'subnet_cidr': '144.58.86.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-01 16:05:10,948 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:11,289 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:11,318 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:11,329 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:11,399 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,418 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:11,425 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:11,431 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d15f38fa-f543-4751-9d21-eb7ebe5cf20c 2025-11-01 16:05:11,438 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 16:05:11,438 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,446 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:11,459 - INFO - Verified VN network id 12 for VN 562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,459 - INFO - Verifications in API Server for VN ctest-vn-68510293 passed 2025-11-01 16:05:11,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,467 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:11,473 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:11,479 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d15f38fa-f543-4751-9d21-eb7ebe5cf20c 2025-11-01 16:05:11,489 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02862461', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6210398551731291630', 'uuid-lslong': '10375253472402025247'}, 'enable': 'true', 'created': '2025-11-01T16:05:09', 'last-modified': '2025-11-01T16:05:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014512'} 2025-11-01 16:05:11,495 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-01 16:05:11,496 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-68510293 passed 2025-11-01 16:05:11,497 - DEBUG - ====Verifying policy data for ctest-vn-68510293 in API_Server ====== 2025-11-01 16:05:11,497 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:11,501 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:11,512 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:11,581 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/562fc494-258b-45ee-8ffc-4e100d292b1f 2025-11-01 16:05:11,590 - DEBUG - ==>Verifying data for policy with id: ffba66c7-bc3d-4441-a2d5-a5c511432051, fqn: ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-policy-allow-all-83200990'] 2025-11-01 16:05:11,590 - INFO - VN ctest-vn-68510293 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 16:05:11,590 - DEBUG - Verifying the vn in opserver 2025-11-01 16:05:11,590 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293 virtual network link through opserver 10.0.0.50 2025-11-01 16:05:11,590 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-01 16:05:11,920 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-01 16:05:11,975 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293?flat'} 2025-11-01 16:05:11,975 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293 is found in opserver 2025-11-01 16:05:11,984 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 16:05:11,988 - DEBUG - VRF ids for VN ctest-vn-68510293: {} 2025-11-01 16:05:11,988 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:11,993 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:12,004 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:12,074 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,090 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,098 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:12,105 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:12,110 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3c480724-2137-4292-9cdc-aa91586d79d0 2025-11-01 16:05:12,116 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 16:05:12,116 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,124 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:12,136 - INFO - Verified VN network id 13 for VN 6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,136 - INFO - Verifications in API Server for VN ctest-vn-79442078 passed 2025-11-01 16:05:12,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,144 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:12,150 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:12,156 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3c480724-2137-4292-9cdc-aa91586d79d0 2025-11-01 16:05:12,166 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-79442078', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02862461', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7661867880630143238', 'uuid-lslong': '13633254730763067991'}, 'enable': 'true', 'created': '2025-11-01T16:05:09', 'last-modified': '2025-11-01T16:05:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.439598'} 2025-11-01 16:05:12,173 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-01 16:05:12,173 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79442078 passed 2025-11-01 16:05:12,173 - DEBUG - ====Verifying policy data for ctest-vn-79442078 in API_Server ====== 2025-11-01 16:05:12,173 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:12,178 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:12,188 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:12,257 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/6a546c3e-3cef-4906-bd33-0cf20f8be257 2025-11-01 16:05:12,266 - DEBUG - ==>Verifying data for policy with id: ffba66c7-bc3d-4441-a2d5-a5c511432051, fqn: ['default-domain', 'ctest-TestBasicPolicy-02862461', 'ctest-policy-allow-all-83200990'] 2025-11-01 16:05:12,266 - INFO - VN ctest-vn-79442078 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-01 16:05:12,266 - DEBUG - Verifying the vn in opserver 2025-11-01 16:05:12,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-79442078 virtual network link through opserver 10.0.0.50 2025-11-01 16:05:12,266 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-11-01 16:05:12,275 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-79442078', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-79442078?flat'} 2025-11-01 16:05:12,275 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-79442078 is found in opserver 2025-11-01 16:05:12,284 - DEBUG - Do not have enough data to verify VN in agent 2025-11-01 16:05:12,288 - DEBUG - VRF ids for VN ctest-vn-79442078: {} 2025-11-01 16:05:12,346 - DEBUG - Services list from nova: [, , ] 2025-11-01 16:05:13,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:05:14,669 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4590-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4590-1) 2025-11-01 16:05:14,670 - INFO - Waiting for VM ctest-TestBasicPolicy-02862461-09649162 to be up.. 2025-11-01 16:05:14,753 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-01 16:05:19,833 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:05:19,833 - INFO - VM name : ctest-TestBasicPolicy-02862461-09649162 2025-11-01 16:05:19,917 - DEBUG - VM ctest-TestBasicPolicy-02862461-09649162 ID is 83f004bc-7f5c-4943-a3ac-615ef6e3e85f 2025-11-01 16:05:19,940 - DEBUG - VM ctest-TestBasicPolicy-02862461-09649162 launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:05:20,015 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/83f004bc-7f5c-4943-a3ac-615ef6e3e85f 2025-11-01 16:05:20,027 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d4fef74a-5af4-45ae-96f6-4314fa87d1a0 2025-11-01 16:05:23,269 - 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 1003ms') 2025-11-01 16:05:23,269 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02862461-09649162 failed! 2025-11-01 16:05:23,324 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-02862461:ctest-vn-68510293 is 3.191.83.1 and allocation pool is NOT set 2025-11-01 16:05:25,385 - 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=9.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.070/5.360/9.651/4.290 ms') 2025-11-01 16:05:25,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-02862461-09649162 passed 2025-11-01 16:05:25,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:05:25,545 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02862461-09649162, IP 3.191.83.3, Port 22 2025-11-01 16:05:25,610 - 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-11-01 16:05:25,700 - DEBUG - VM ctest-TestBasicPolicy-02862461-09649162 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-01 16:05:30,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:05:30,701 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02862461-09649162, IP 3.191.83.3, Port 22 2025-11-01 16:05:30,859 - DEBUG - VM ctest-TestBasicPolicy-02862461-09649162 is ready for SSH connections 2025-11-01 16:05:30,859 - INFO - Waiting for VM ctest-TestBasicPolicy-02862461-11333793 to be up.. 2025-11-01 16:05:30,938 - DEBUG - VM is in ACTIVE state now 2025-11-01 16:05:30,939 - INFO - VM name : ctest-TestBasicPolicy-02862461-11333793 2025-11-01 16:05:31,015 - DEBUG - VM ctest-TestBasicPolicy-02862461-11333793 ID is 008c5234-d563-401b-a8cf-79a4ec0a819f 2025-11-01 16:05:31,015 - DEBUG - VM ctest-TestBasicPolicy-02862461-11333793 launched on Node cn-jenkins-deploy-platform-ansible-os-4590-1 2025-11-01 16:05:31,091 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/008c5234-d563-401b-a8cf-79a4ec0a819f 2025-11-01 16:05:31,099 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2aba41ce-1e46-493c-9ca1-e660244a60ad 2025-11-01 16:05:32,344 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.441 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.441/1.898/3.356/1.457 ms') 2025-11-01 16:05:32,344 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-02862461-11333793 passed 2025-11-01 16:05:32,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:05:32,496 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-02862461-11333793, IP 144.58.86.195, Port 22 2025-11-01 16:05:32,662 - DEBUG - VM ctest-TestBasicPolicy-02862461-11333793 is ready for SSH connections 2025-11-01 16:05:32,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:05:32,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.58.86.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-01 16:05:32,662 - DEBUG - ping -s 56 -c 3 -W 1 144.58.86.195 2025-11-01 16:05:36,760 - DEBUG - PING 144.58.86.195 (144.58.86.195): 56 data bytes 64 bytes from 144.58.86.195: seq=0 ttl=63 time=3.648 ms 64 bytes from 144.58.86.195: seq=1 ttl=63 time=1.066 ms 64 bytes from 144.58.86.195: seq=2 ttl=63 time=0.888 ms --- 144.58.86.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.867/3.648 ms 2025-11-01 16:05:36,760 - INFO - Ping to IP 144.58.86.195 from VM ctest-TestBasicPolicy-02862461-09649162 passed 2025-11-01 16:05:36,939 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ffba66c7-bc3d-4441-a2d5-a5c511432051", "href": "http://10.0.0.50:8082/network-policy/ffba66c7-bc3d-4441-a2d5-a5c511432051"}} 2025-11-01 16:05:36,940 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-01 16:05:36,940 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.58.86.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-01 16:05:36,940 - DEBUG - ping -s 56 -c 3 -W 1 144.58.86.195 2025-11-01 16:05:40,175 - DEBUG - PING 144.58.86.195 (144.58.86.195): 56 data bytes --- 144.58.86.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-01 16:05:40,175 - WARNING - Ping to IP 144.58.86.195 from VM ctest-TestBasicPolicy-02862461-09649162 failed 2025-11-01 16:05:40,175 - INFO - Deleting VM ctest-TestBasicPolicy-02862461-11333793 2025-11-01 16:05:40,267 - INFO - Deleting VM ctest-TestBasicPolicy-02862461-09649162 2025-11-01 16:05:40,642 - INFO - Deleted policy ctest-policy-allow-all-83200990 2025-11-01 16:05:40,642 - INFO - Deleting VN ctest-vn-79442078 2025-11-01 16:05:40,685 - DEBUG - VN 6a546c3e-3cef-4906-bd33-0cf20f8be257 still in use: Unable to complete operation on network 6a546c3e-3cef-4906-bd33-0cf20f8be257. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d7715614-909e-491b-b581-19a31b218c3f'] 2025-11-01 16:05:40,686 - WARNING - Deleting VN ctest-vn-79442078 failed..Will retry 2025-11-01 16:05:42,788 - DEBUG - Response for deleting network () 2025-11-01 16:05:42,788 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8d9089bd-2424-49eb-8b3c-2662310edd81 2025-11-01 16:05:42,794 - DEBUG - Response Code: 404 2025-11-01 16:05:42,794 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:42,799 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:42,858 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:42,928 - INFO - Validated that VN ctest-vn-79442078 is not found in API Server 2025-11-01 16:05:42,938 - DEBUG - VN ctest-vn-79442078 is not present in Agent 10.0.0.50 2025-11-01 16:05:42,938 - INFO - Validated that VN ctest-vn-79442078 is not in any agent 2025-11-01 16:05:42,950 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79442078 info 2025-11-01 16:05:42,951 - INFO - Deleting VN ctest-vn-68510293 2025-11-01 16:05:43,051 - DEBUG - Response for deleting network () 2025-11-01 16:05:43,051 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0ee9d95f-f85e-4099-9f4d-6dc4f85f2c69 2025-11-01 16:05:43,057 - DEBUG - Response Code: 404 2025-11-01 16:05:43,057 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2025-11-01 16:05:43,062 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a2397960-d558-4df0-b58f-1f7a36c527a4 2025-11-01 16:05:43,113 - DEBUG - Requesting: http://10.0.0.50:8082/project/06812aaa-270f-4552-82a2-aad63c46287b 2025-11-01 16:05:43,184 - INFO - Validated that VN ctest-vn-68510293 is not found in API Server 2025-11-01 16:05:43,194 - DEBUG - VN ctest-vn-68510293 is not present in Agent 10.0.0.50 2025-11-01 16:05:43,194 - INFO - Validated that VN ctest-vn-68510293 is not in any agent 2025-11-01 16:05:43,208 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-68510293 info 2025-11-01 16:05:43,470 - DEBUG - No XMPP flaps were noticed during the test 2025-11-01 16:05:43,470 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-01 16:05:43,470 - INFO - -------------------------------------------------------------------------------- 2025-11-01 16:05:44,221 - INFO - Deleted project: ctest-TestBasicPolicy-02862461, ID : 06812aaa-270f-4552-82a2-aad63c46287b