2025-10-30 09:54:08,222 - INFO - Domain Default found not creating 2025-10-30 09:54:08,398 - INFO - Project ctest-TestBasicPolicy-50900657 not found, creating it 2025-10-30 09:54:08,928 - INFO - Created Project:ctest-TestBasicPolicy-50900657, ID : 070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:10,497 - INFO - ================================================================================ 2025-10-30 09:54:10,497 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-30 09:54:10,498 - 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-10-30 09:54:10,757 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-10-30 09:54:10,757 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:54:10,757 - INFO - 2025-10-30 09:54:11,387 - DEBUG - Response for create_network : {'network': {'id': '746e3a8b-67bd-429a-8d46-4c6db34b2929', 'name': 'ctest-vn-08476512', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'project_id': '070c697322fd46b0bc3f0924a3d11720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-vn-08476512'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:54:11,577 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a22f035a-c6bd-4c17-888c-4bad6fa6707f', 'name': '', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'network_id': '746e3a8b-67bd-429a-8d46-4c6db34b2929', 'ip_version': 4, 'cidr': '12.64.226.0/26', 'allocation_pools': [{'start': '12.64.226.2', 'end': '12.64.226.62'}], 'gateway_ip': '12.64.226.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.64.226.2', 'tags': [], 'project_id': '070c697322fd46b0bc3f0924a3d11720'}} 2025-10-30 09:54:11,596 - INFO - Created VN ctest-vn-08476512 2025-10-30 09:54:11,651 - DEBUG - VN ctest-vn-08476512 UUID is 746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:11,970 - DEBUG - Response for create_network : {'network': {'id': '21b7c653-e2e1-4bc2-87ab-10c825403998', 'name': 'ctest-vn-96231019', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'project_id': '070c697322fd46b0bc3f0924a3d11720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-vn-96231019'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:54:12,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1b146e3-b2a2-4bca-bd5e-2dd479543610', 'name': '', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'network_id': '21b7c653-e2e1-4bc2-87ab-10c825403998', 'ip_version': 4, 'cidr': '11.4.5.192/26', 'allocation_pools': [{'start': '11.4.5.194', 'end': '11.4.5.254'}], 'gateway_ip': '11.4.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.4.5.194', 'tags': [], 'project_id': '070c697322fd46b0bc3f0924a3d11720'}} 2025-10-30 09:54:12,172 - INFO - Created VN ctest-vn-96231019 2025-10-30 09:54:12,226 - DEBUG - VN ctest-vn-96231019 UUID is 21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:12,378 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512, 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-50900657:ctest-vn-96231019, 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-10-30 09:54:12,679 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '746e3a8b-67bd-429a-8d46-4c6db34b2929', 'name': 'ctest-vn-08476512', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'project_id': '070c697322fd46b0bc3f0924a3d11720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a22f035a-c6bd-4c17-888c-4bad6fa6707f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-vn-08476512'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-policy-allow-all-52078277']], 'subnet_ipam': [{'subnet_cidr': '12.64.226.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:54:12,904 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '21b7c653-e2e1-4bc2-87ab-10c825403998', 'name': 'ctest-vn-96231019', 'tenant_id': '070c697322fd46b0bc3f0924a3d11720', 'project_id': '070c697322fd46b0bc3f0924a3d11720', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c1b146e3-b2a2-4bca-bd5e-2dd479543610'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-vn-96231019'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-policy-allow-all-52078277']], 'subnet_ipam': [{'subnet_cidr': '11.4.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:54:13,075 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:13,415 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:13,443 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:13,454 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:13,528 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,540 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,550 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:13,556 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:13,563 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/646eef89-e541-4c1b-9ce1-d1ea5a48bb6c 2025-10-30 09:54:13,569 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:54:13,569 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,580 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:13,598 - INFO - Verified VN network id 11 for VN 746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,598 - INFO - Verifications in API Server for VN ctest-vn-08476512 passed 2025-10-30 09:54:13,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,607 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:13,614 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:13,621 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/646eef89-e541-4c1b-9ce1-d1ea5a48bb6c 2025-10-30 09:54:13,633 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50900657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8389707526253134490', 'uuid-lslong': '10179908041760778537'}, 'enable': 'true', 'created': '2025-10-30T09:54:11', 'last-modified': '2025-10-30T09:54:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.981763'} 2025-10-30 09:54:13,641 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-30 09:54:13,641 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08476512 passed 2025-10-30 09:54:13,641 - DEBUG - ====Verifying policy data for ctest-vn-08476512 in API_Server ====== 2025-10-30 09:54:13,641 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:13,647 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:13,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:13,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/746e3a8b-67bd-429a-8d46-4c6db34b2929 2025-10-30 09:54:13,740 - DEBUG - ==>Verifying data for policy with id: 45c60687-b961-4b54-9104-33405a9de501, fqn: ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-policy-allow-all-52078277'] 2025-10-30 09:54:13,740 - INFO - VN ctest-vn-08476512 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:54:13,740 - DEBUG - Verifying the vn in opserver 2025-10-30 09:54:13,740 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512 virtual network link through opserver 10.0.0.38 2025-10-30 09:54:13,740 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:54:14,072 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:54:14,135 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512?flat'} 2025-10-30 09:54:14,135 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512 is found in opserver 2025-10-30 09:54:14,145 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:54:14,150 - DEBUG - VRF ids for VN ctest-vn-08476512: {} 2025-10-30 09:54:14,150 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:14,155 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:14,168 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:14,255 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,272 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,283 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:14,291 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:14,298 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/792cbf02-d9d9-45b4-bf46-0e5d1de20c4b 2025-10-30 09:54:14,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:54:14,305 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,315 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:14,334 - INFO - Verified VN network id 12 for VN 21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,335 - INFO - Verifications in API Server for VN ctest-vn-96231019 passed 2025-10-30 09:54:14,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,348 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:14,364 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:14,371 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/792cbf02-d9d9-45b4-bf46-0e5d1de20c4b 2025-10-30 09:54:14,383 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-96231019', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-50900657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2429628587580672962', 'uuid-lslong': '9775925867942263192'}, 'enable': 'true', 'created': '2025-10-30T09:54:11', 'last-modified': '2025-10-30T09:54:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.502942'} 2025-10-30 09:54:14,389 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-30 09:54:14,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96231019 passed 2025-10-30 09:54:14,389 - DEBUG - ====Verifying policy data for ctest-vn-96231019 in API_Server ====== 2025-10-30 09:54:14,389 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:14,395 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:14,405 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:14,482 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/21b7c653-e2e1-4bc2-87ab-10c825403998 2025-10-30 09:54:14,496 - DEBUG - ==>Verifying data for policy with id: 45c60687-b961-4b54-9104-33405a9de501, fqn: ['default-domain', 'ctest-TestBasicPolicy-50900657', 'ctest-policy-allow-all-52078277'] 2025-10-30 09:54:14,496 - INFO - VN ctest-vn-96231019 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-30 09:54:14,496 - DEBUG - Verifying the vn in opserver 2025-10-30 09:54:14,496 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-96231019 virtual network link through opserver 10.0.0.38 2025-10-30 09:54:14,496 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-10-30 09:54:14,509 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-96231019', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-96231019?flat'} 2025-10-30 09:54:14,509 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-96231019 is found in opserver 2025-10-30 09:54:14,523 - DEBUG - Do not have enough data to verify VN in agent 2025-10-30 09:54:14,530 - DEBUG - VRF ids for VN ctest-vn-96231019: {} 2025-10-30 09:54:14,590 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:54:15,684 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4540-1) 2025-10-30 09:54:16,955 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4540-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4540-1) 2025-10-30 09:54:16,956 - INFO - Waiting for VM ctest-TestBasicPolicy-50900657-79505526 to be up.. 2025-10-30 09:54:17,041 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:54:22,126 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:54:22,126 - INFO - VM name : ctest-TestBasicPolicy-50900657-79505526 2025-10-30 09:54:22,201 - DEBUG - VM ctest-TestBasicPolicy-50900657-79505526 ID is 66ecb78c-172e-42e5-b227-1e11a9d8b911 2025-10-30 09:54:22,222 - DEBUG - VM ctest-TestBasicPolicy-50900657-79505526 launched on Node cn-jenkins-deploy-platform-ansible-os-4540-1 2025-10-30 09:54:22,303 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/66ecb78c-172e-42e5-b227-1e11a9d8b911 2025-10-30 09:54:22,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c9d3db82-a060-4304-afd7-c7716f6760e3 2025-10-30 09:54:25,565 - 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 1008ms') 2025-10-30 09:54:25,565 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50900657-79505526 failed! 2025-10-30 09:54:25,619 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-50900657:ctest-vn-08476512 is 12.64.226.1 and allocation pool is NOT set 2025-10-30 09:54:27,688 - 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=7.07 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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 = 1.733/4.403/7.074/2.670 ms') 2025-10-30 09:54:27,689 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-50900657-79505526 passed 2025-10-30 09:54:27,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:54:27,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50900657-79505526, IP 12.64.226.3, Port 22 2025-10-30 09:54:27,909 - 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-10-30 09:54:27,991 - DEBUG - VM ctest-TestBasicPolicy-50900657-79505526 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 09:54:32,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:54:32,992 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50900657-79505526, IP 12.64.226.3, Port 22 2025-10-30 09:54:33,150 - DEBUG - VM ctest-TestBasicPolicy-50900657-79505526 is ready for SSH connections 2025-10-30 09:54:33,150 - INFO - Waiting for VM ctest-TestBasicPolicy-50900657-32827832 to be up.. 2025-10-30 09:54:33,232 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:54:33,232 - INFO - VM name : ctest-TestBasicPolicy-50900657-32827832 2025-10-30 09:54:33,317 - DEBUG - VM ctest-TestBasicPolicy-50900657-32827832 ID is 137cd6a4-acc2-4133-8be9-fec43d0017c3 2025-10-30 09:54:33,317 - DEBUG - VM ctest-TestBasicPolicy-50900657-32827832 launched on Node cn-jenkins-deploy-platform-ansible-os-4540-1 2025-10-30 09:54:33,396 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/137cd6a4-acc2-4133-8be9-fec43d0017c3 2025-10-30 09:54:33,405 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8ebdc9f7-93e9-4d0e-a352-a04473d03282 2025-10-30 09:54:34,637 - 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.12 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.480 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.480/1.801/3.123/1.321 ms') 2025-10-30 09:54:34,637 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-50900657-32827832 passed 2025-10-30 09:54:34,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:54:34,795 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-50900657-32827832, IP 11.4.5.195, Port 22 2025-10-30 09:54:34,951 - DEBUG - VM ctest-TestBasicPolicy-50900657-32827832 is ready for SSH connections 2025-10-30 09:54:34,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:54:34,951 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.4.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:54:34,951 - DEBUG - ping -s 56 -c 3 -W 1 11.4.5.195 2025-10-30 09:54:39,068 - DEBUG - PING 11.4.5.195 (11.4.5.195): 56 data bytes 64 bytes from 11.4.5.195: seq=0 ttl=63 time=3.391 ms 64 bytes from 11.4.5.195: seq=1 ttl=63 time=1.078 ms 64 bytes from 11.4.5.195: seq=2 ttl=63 time=1.030 ms --- 11.4.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.030/1.833/3.391 ms 2025-10-30 09:54:39,069 - INFO - Ping to IP 11.4.5.195 from VM ctest-TestBasicPolicy-50900657-79505526 passed 2025-10-30 09:54:39,246 - DEBUG - Policy Update Response {"network-policy": {"uuid": "45c60687-b961-4b54-9104-33405a9de501", "href": "http://10.0.0.38:8082/network-policy/45c60687-b961-4b54-9104-33405a9de501"}} 2025-10-30 09:54:39,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:54:39,247 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 11.4.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-30 09:54:39,247 - DEBUG - ping -s 56 -c 3 -W 1 11.4.5.195 2025-10-30 09:54:42,495 - DEBUG - PING 11.4.5.195 (11.4.5.195): 56 data bytes --- 11.4.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:54:42,495 - WARNING - Ping to IP 11.4.5.195 from VM ctest-TestBasicPolicy-50900657-79505526 failed 2025-10-30 09:54:42,496 - INFO - Deleting VM ctest-TestBasicPolicy-50900657-32827832 2025-10-30 09:54:42,567 - INFO - Deleting VM ctest-TestBasicPolicy-50900657-79505526 2025-10-30 09:54:42,923 - INFO - Deleted policy ctest-policy-allow-all-52078277 2025-10-30 09:54:42,923 - INFO - Deleting VN ctest-vn-96231019 2025-10-30 09:54:42,958 - DEBUG - VN 21b7c653-e2e1-4bc2-87ab-10c825403998 still in use: Unable to complete operation on network 21b7c653-e2e1-4bc2-87ab-10c825403998. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-860d1424-4d2a-4bbb-9644-6fe00896af42'] 2025-10-30 09:54:42,958 - WARNING - Deleting VN ctest-vn-96231019 failed..Will retry 2025-10-30 09:54:45,072 - DEBUG - Response for deleting network () 2025-10-30 09:54:45,072 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/829f1eb0-632c-4b86-b86b-26b4f39e558f 2025-10-30 09:54:45,078 - DEBUG - Response Code: 404 2025-10-30 09:54:45,078 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:45,083 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:45,137 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:45,209 - INFO - Validated that VN ctest-vn-96231019 is not found in API Server 2025-10-30 09:54:45,219 - DEBUG - VN ctest-vn-96231019 is not present in Agent 10.0.0.38 2025-10-30 09:54:45,219 - INFO - Validated that VN ctest-vn-96231019 is not in any agent 2025-10-30 09:54:45,234 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-96231019 info 2025-10-30 09:54:45,234 - INFO - Deleting VN ctest-vn-08476512 2025-10-30 09:54:45,336 - DEBUG - Response for deleting network () 2025-10-30 09:54:45,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/65cda09c-1820-4c28-b927-bf1e058b59be 2025-10-30 09:54:45,341 - DEBUG - Response Code: 404 2025-10-30 09:54:45,342 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-10-30 09:54:45,350 - DEBUG - Requesting: http://10.0.0.38:8082/domain/b83b907e-9ad7-4f88-94af-475314eb7bb9 2025-10-30 09:54:45,403 - DEBUG - Requesting: http://10.0.0.38:8082/project/070c6973-22fd-46b0-bc3f-0924a3d11720 2025-10-30 09:54:45,474 - INFO - Validated that VN ctest-vn-08476512 is not found in API Server 2025-10-30 09:54:45,485 - DEBUG - VN ctest-vn-08476512 is not present in Agent 10.0.0.38 2025-10-30 09:54:45,485 - INFO - Validated that VN ctest-vn-08476512 is not in any agent 2025-10-30 09:54:45,500 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-08476512 info 2025-10-30 09:54:45,758 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:54:45,758 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2025-10-30 09:54:45,758 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:54:46,468 - INFO - Deleted project: ctest-TestBasicPolicy-50900657, ID : 070c6973-22fd-46b0-bc3f-0924a3d11720