2025-11-03 17:56:30,374 - INFO - Domain Default found not creating 2025-11-03 17:56:30,550 - INFO - Project ctest-TestBasicPolicy-06019857 not found, creating it 2025-11-03 17:56:31,020 - INFO - Created Project:ctest-TestBasicPolicy-06019857, ID : 8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:56:32,524 - INFO - ================================================================================ 2025-11-03 17:56:32,525 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-03 17:56:32,525 - 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-03 17:56:32,780 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-03 17:56:32,780 - INFO - Initial checks done. Running the testcase now 2025-11-03 17:56:32,780 - INFO - 2025-11-03 17:56:33,336 - DEBUG - Response for create_network : {'network': {'id': '1c6bc0cc-9996-420c-b830-bb1d8a17fdd4', 'name': 'ctest-vn-42809466', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'project_id': '8155a71ed92f4d6899e012b3f6d3b761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-vn-42809466'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:56:33,570 - DEBUG - Response for create_subnet : {'subnet': {'id': '511f4153-f129-4736-b579-044d9678614d', 'name': '', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'network_id': '1c6bc0cc-9996-420c-b830-bb1d8a17fdd4', 'ip_version': 4, 'cidr': '155.237.98.0/26', 'allocation_pools': [{'start': '155.237.98.2', 'end': '155.237.98.62'}], 'gateway_ip': '155.237.98.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.237.98.2', 'tags': [], 'project_id': '8155a71ed92f4d6899e012b3f6d3b761'}} 2025-11-03 17:56:33,591 - INFO - Created VN ctest-vn-42809466 2025-11-03 17:56:33,642 - DEBUG - VN ctest-vn-42809466 UUID is 1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:33,944 - DEBUG - Response for create_network : {'network': {'id': '9f55e2fc-ac89-4cf5-b600-6471db7e0bb3', 'name': 'ctest-vn-74250841', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'project_id': '8155a71ed92f4d6899e012b3f6d3b761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-vn-74250841'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:56:34,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '505ca12e-5999-40b6-8858-1da504182d67', 'name': '', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'network_id': '9f55e2fc-ac89-4cf5-b600-6471db7e0bb3', 'ip_version': 4, 'cidr': '105.137.26.192/26', 'allocation_pools': [{'start': '105.137.26.194', 'end': '105.137.26.254'}], 'gateway_ip': '105.137.26.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.137.26.194', 'tags': [], 'project_id': '8155a71ed92f4d6899e012b3f6d3b761'}} 2025-11-03 17:56:34,113 - INFO - Created VN ctest-vn-74250841 2025-11-03 17:56:34,166 - DEBUG - VN ctest-vn-74250841 UUID is 9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:34,286 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466, 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-06019857:ctest-vn-74250841, 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-03 17:56:34,583 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1c6bc0cc-9996-420c-b830-bb1d8a17fdd4', 'name': 'ctest-vn-42809466', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'project_id': '8155a71ed92f4d6899e012b3f6d3b761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['511f4153-f129-4736-b579-044d9678614d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-vn-42809466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-policy-allow-all-72444706']], 'subnet_ipam': [{'subnet_cidr': '155.237.98.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:56:34,875 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f55e2fc-ac89-4cf5-b600-6471db7e0bb3', 'name': 'ctest-vn-74250841', 'tenant_id': '8155a71ed92f4d6899e012b3f6d3b761', 'project_id': '8155a71ed92f4d6899e012b3f6d3b761', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['505ca12e-5999-40b6-8858-1da504182d67'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-vn-74250841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-policy-allow-all-72444706']], 'subnet_ipam': [{'subnet_cidr': '105.137.26.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-03 17:56:35,018 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:56:35,319 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:56:35,350 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:56:35,364 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:56:35,439 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,449 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,457 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:56:35,464 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:56:35,470 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/52622694-773b-4fa7-b57c-9f146ffab048 2025-11-03 17:56:35,476 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 17:56:35,476 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,484 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:56:35,499 - INFO - Verified VN network id 11 for VN 1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,499 - INFO - Verifications in API Server for VN ctest-vn-42809466 passed 2025-11-03 17:56:35,499 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,508 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:56:35,515 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:56:35,521 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/52622694-773b-4fa7-b57c-9f146ffab048 2025-11-03 17:56:35,533 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06019857', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2047942440552645132', 'uuid-lslong': '13272313837406125524'}, 'enable': 'true', 'created': '2025-11-03T17:56:33', 'last-modified': '2025-11-03T17:56:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971958'} 2025-11-03 17:56:35,538 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-03 17:56:35,538 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42809466 passed 2025-11-03 17:56:35,539 - DEBUG - ====Verifying policy data for ctest-vn-42809466 in API_Server ====== 2025-11-03 17:56:35,539 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:56:35,544 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:56:35,559 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:56:35,634 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/1c6bc0cc-9996-420c-b830-bb1d8a17fdd4 2025-11-03 17:56:35,644 - DEBUG - ==>Verifying data for policy with id: d15b975c-6aca-4369-83fa-b1bee5689e24, fqn: ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-policy-allow-all-72444706'] 2025-11-03 17:56:35,644 - INFO - VN ctest-vn-42809466 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 17:56:35,644 - DEBUG - Verifying the vn in opserver 2025-11-03 17:56:35,644 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466 virtual network link through opserver 10.0.0.33 2025-11-03 17:56:35,644 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-03 17:56:35,941 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-03 17:56:36,005 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466?flat'} 2025-11-03 17:56:36,005 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466 is found in opserver 2025-11-03 17:56:36,015 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 17:56:36,019 - DEBUG - VRF ids for VN ctest-vn-42809466: {} 2025-11-03 17:56:36,020 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:56:36,025 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:56:36,036 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:56:36,108 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,119 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,127 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:56:36,133 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:56:36,139 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0f9f64bf-fa4a-405a-b53a-4fcc8a4763f5 2025-11-03 17:56:36,145 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 17:56:36,145 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,153 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:56:36,167 - INFO - Verified VN network id 12 for VN 9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,167 - INFO - Verifications in API Server for VN ctest-vn-74250841 passed 2025-11-03 17:56:36,167 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,178 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:56:36,186 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:56:36,193 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0f9f64bf-fa4a-405a-b53a-4fcc8a4763f5 2025-11-03 17:56:36,204 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-74250841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-06019857', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11481332399905262837', 'uuid-lslong': '13114592555079437235'}, 'enable': 'true', 'created': '2025-11-03T17:56:33', 'last-modified': '2025-11-03T17:56:34', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.405135'} 2025-11-03 17:56:36,210 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-03 17:56:36,210 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74250841 passed 2025-11-03 17:56:36,210 - DEBUG - ====Verifying policy data for ctest-vn-74250841 in API_Server ====== 2025-11-03 17:56:36,210 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:56:36,216 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:56:36,226 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:56:36,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 2025-11-03 17:56:36,307 - DEBUG - ==>Verifying data for policy with id: d15b975c-6aca-4369-83fa-b1bee5689e24, fqn: ['default-domain', 'ctest-TestBasicPolicy-06019857', 'ctest-policy-allow-all-72444706'] 2025-11-03 17:56:36,307 - INFO - VN ctest-vn-74250841 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-03 17:56:36,307 - DEBUG - Verifying the vn in opserver 2025-11-03 17:56:36,307 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-74250841 virtual network link through opserver 10.0.0.33 2025-11-03 17:56:36,307 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-03 17:56:36,317 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-74250841', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-74250841?flat'} 2025-11-03 17:56:36,317 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-74250841 is found in opserver 2025-11-03 17:56:36,327 - DEBUG - Do not have enough data to verify VN in agent 2025-11-03 17:56:36,334 - DEBUG - VRF ids for VN ctest-vn-74250841: {} 2025-11-03 17:56:36,397 - DEBUG - Services list from nova: [, , ] 2025-11-03 17:56:37,461 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:56:38,675 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4611-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4611-1) 2025-11-03 17:56:38,675 - INFO - Waiting for VM ctest-TestBasicPolicy-06019857-39866905 to be up.. 2025-11-03 17:56:38,765 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 17:56:43,850 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:56:43,850 - INFO - VM name : ctest-TestBasicPolicy-06019857-39866905 2025-11-03 17:56:43,932 - DEBUG - VM ctest-TestBasicPolicy-06019857-39866905 ID is b8f0d9f4-d3ff-4f57-917e-686be58ef7e0 2025-11-03 17:56:43,960 - DEBUG - VM ctest-TestBasicPolicy-06019857-39866905 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:56:44,040 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b8f0d9f4-d3ff-4f57-917e-686be58ef7e0 2025-11-03 17:56:44,049 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7f751047-8b0b-45ee-8d24-b840d2f2209f 2025-11-03 17:56:47,322 - 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 1022ms') 2025-11-03 17:56:47,323 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06019857-39866905 failed! 2025-11-03 17:56:47,378 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-06019857:ctest-vn-42809466 is 155.237.98.1 and allocation pool is NOT set 2025-11-03 17:56:49,447 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 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 = 3.180/4.483/5.786/1.303 ms') 2025-11-03 17:56:49,447 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-06019857-39866905 passed 2025-11-03 17:56:49,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:56:49,598 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06019857-39866905, IP 155.237.98.3, Port 22 2025-11-03 17:56:49,664 - 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-03 17:56:49,752 - DEBUG - VM ctest-TestBasicPolicy-06019857-39866905 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-03 17:56:54,754 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:56:54,754 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06019857-39866905, IP 155.237.98.3, Port 22 2025-11-03 17:56:54,914 - DEBUG - VM ctest-TestBasicPolicy-06019857-39866905 is ready for SSH connections 2025-11-03 17:56:54,914 - INFO - Waiting for VM ctest-TestBasicPolicy-06019857-79696382 to be up.. 2025-11-03 17:56:55,036 - DEBUG - VM is in ACTIVE state now 2025-11-03 17:56:55,036 - INFO - VM name : ctest-TestBasicPolicy-06019857-79696382 2025-11-03 17:56:55,148 - DEBUG - VM ctest-TestBasicPolicy-06019857-79696382 ID is 388dc914-5226-47a8-81da-74b46f881832 2025-11-03 17:56:55,149 - DEBUG - VM ctest-TestBasicPolicy-06019857-79696382 launched on Node cn-jenkins-deploy-platform-ansible-os-4611-1 2025-11-03 17:56:55,297 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/388dc914-5226-47a8-81da-74b46f881832 2025-11-03 17:56:55,307 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/7ba92edd-8d5d-4a5e-9b5a-529717b50b41 2025-11-03 17:56:56,563 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.907/3.329/1.421 ms') 2025-11-03 17:56:56,563 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-06019857-79696382 passed 2025-11-03 17:56:56,718 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:56:56,718 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-06019857-79696382, IP 105.137.26.195, Port 22 2025-11-03 17:56:56,874 - DEBUG - VM ctest-TestBasicPolicy-06019857-79696382 is ready for SSH connections 2025-11-03 17:56:56,874 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:56:56,874 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.137.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:56:56,875 - DEBUG - ping -s 56 -c 3 -W 1 105.137.26.195 2025-11-03 17:57:01,084 - DEBUG - PING 105.137.26.195 (105.137.26.195): 56 data bytes 64 bytes from 105.137.26.195: seq=0 ttl=63 time=4.111 ms 64 bytes from 105.137.26.195: seq=1 ttl=63 time=1.140 ms 64 bytes from 105.137.26.195: seq=2 ttl=63 time=1.404 ms --- 105.137.26.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.140/2.218/4.111 ms 2025-11-03 17:57:01,084 - INFO - Ping to IP 105.137.26.195 from VM ctest-TestBasicPolicy-06019857-39866905 passed 2025-11-03 17:57:01,262 - DEBUG - Policy Update Response {"network-policy": {"uuid": "d15b975c-6aca-4369-83fa-b1bee5689e24", "href": "http://10.0.0.33:8082/network-policy/d15b975c-6aca-4369-83fa-b1bee5689e24"}} 2025-11-03 17:57:01,262 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 17:57:01,262 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.137.26.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-03 17:57:01,262 - DEBUG - ping -s 56 -c 3 -W 1 105.137.26.195 2025-11-03 17:57:04,479 - DEBUG - PING 105.137.26.195 (105.137.26.195): 56 data bytes --- 105.137.26.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 17:57:04,479 - WARNING - Ping to IP 105.137.26.195 from VM ctest-TestBasicPolicy-06019857-39866905 failed 2025-11-03 17:57:04,479 - INFO - Deleting VM ctest-TestBasicPolicy-06019857-79696382 2025-11-03 17:57:04,550 - INFO - Deleting VM ctest-TestBasicPolicy-06019857-39866905 2025-11-03 17:57:04,965 - INFO - Deleted policy ctest-policy-allow-all-72444706 2025-11-03 17:57:04,966 - INFO - Deleting VN ctest-vn-74250841 2025-11-03 17:57:05,012 - DEBUG - VN 9f55e2fc-ac89-4cf5-b600-6471db7e0bb3 still in use: Unable to complete operation on network 9f55e2fc-ac89-4cf5-b600-6471db7e0bb3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3ec707d3-8026-461f-8c21-dc685752be9d'] 2025-11-03 17:57:05,012 - WARNING - Deleting VN ctest-vn-74250841 failed..Will retry 2025-11-03 17:57:07,121 - DEBUG - Response for deleting network () 2025-11-03 17:57:07,121 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/dff27897-d1fe-43e7-b6aa-2d046492a615 2025-11-03 17:57:07,129 - DEBUG - Response Code: 404 2025-11-03 17:57:07,129 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:57:07,134 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:57:07,188 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:57:07,263 - INFO - Validated that VN ctest-vn-74250841 is not found in API Server 2025-11-03 17:57:07,274 - DEBUG - VN ctest-vn-74250841 is not present in Agent 10.0.0.33 2025-11-03 17:57:07,274 - INFO - Validated that VN ctest-vn-74250841 is not in any agent 2025-11-03 17:57:07,289 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-74250841 info 2025-11-03 17:57:07,289 - INFO - Deleting VN ctest-vn-42809466 2025-11-03 17:57:07,436 - DEBUG - Response for deleting network () 2025-11-03 17:57:07,436 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c78487d6-73a1-4ad6-9f85-42d1cb057589 2025-11-03 17:57:07,449 - DEBUG - Response Code: 404 2025-11-03 17:57:07,450 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2025-11-03 17:57:07,456 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74f4a7a9-0448-4f59-b582-413a395f4304 2025-11-03 17:57:07,511 - DEBUG - Requesting: http://10.0.0.33:8082/project/8155a71e-d92f-4d68-99e0-12b3f6d3b761 2025-11-03 17:57:07,580 - INFO - Validated that VN ctest-vn-42809466 is not found in API Server 2025-11-03 17:57:07,592 - DEBUG - VN ctest-vn-42809466 is not present in Agent 10.0.0.33 2025-11-03 17:57:07,592 - INFO - Validated that VN ctest-vn-42809466 is not in any agent 2025-11-03 17:57:07,606 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-42809466 info 2025-11-03 17:57:07,860 - DEBUG - No XMPP flaps were noticed during the test 2025-11-03 17:57:07,860 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-11-03 17:57:07,860 - INFO - -------------------------------------------------------------------------------- 2025-11-03 17:57:08,543 - INFO - Deleted project: ctest-TestBasicPolicy-06019857, ID : 8155a71e-d92f-4d68-99e0-12b3f6d3b761