2026-05-28 09:07:23,601 - INFO - Domain Default found not creating 2026-05-28 09:07:23,775 - INFO - Project ctest-TestBasicPolicy-35846128 not found, creating it 2026-05-28 09:07:24,277 - INFO - Created Project:ctest-TestBasicPolicy-35846128, ID : dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:07:26,629 - INFO - ================================================================================ 2026-05-28 09:07:26,629 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-28 09:07:26,630 - 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 2026-05-28 09:07:26,904 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-05-28 09:07:26,904 - INFO - Initial checks done. Running the testcase now 2026-05-28 09:07:26,904 - INFO - 2026-05-28 09:07:27,491 - DEBUG - Response for create_network : {'network': {'id': '22632af6-2ef3-444b-81e5-a4cc434ccc51', 'name': 'ctest-vn-95565128', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-vn-95565128'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:07:27,693 - DEBUG - Response for create_subnet : {'subnet': {'id': '24cfc3a6-b030-4b80-aa20-fe0b194ad2ff', 'name': '', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'network_id': '22632af6-2ef3-444b-81e5-a4cc434ccc51', 'ip_version': 4, 'cidr': '149.106.40.64/26', 'allocation_pools': [{'start': '149.106.40.66', 'end': '149.106.40.126'}], 'gateway_ip': '149.106.40.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.106.40.66', 'tags': [], 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003'}} 2026-05-28 09:07:27,713 - INFO - Created VN ctest-vn-95565128 2026-05-28 09:07:27,767 - DEBUG - VN ctest-vn-95565128 UUID is 22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:28,066 - DEBUG - Response for create_network : {'network': {'id': 'da16f34c-c915-4ff2-9710-cc969a307493', 'name': 'ctest-vn-21257569', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-vn-21257569'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:07:28,230 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f5ffefb-55bd-41a5-9538-61e4549ebb4c', 'name': '', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'network_id': 'da16f34c-c915-4ff2-9710-cc969a307493', 'ip_version': 4, 'cidr': '78.63.246.64/26', 'allocation_pools': [{'start': '78.63.246.66', 'end': '78.63.246.126'}], 'gateway_ip': '78.63.246.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.63.246.66', 'tags': [], 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003'}} 2026-05-28 09:07:28,247 - INFO - Created VN ctest-vn-21257569 2026-05-28 09:07:28,299 - DEBUG - VN ctest-vn-21257569 UUID is da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:28,455 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128, 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-35846128:ctest-vn-21257569, 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] 2026-05-28 09:07:28,771 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '22632af6-2ef3-444b-81e5-a4cc434ccc51', 'name': 'ctest-vn-95565128', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24cfc3a6-b030-4b80-aa20-fe0b194ad2ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-vn-95565128'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-policy-allow-all-75855889']], 'subnet_ipam': [{'subnet_cidr': '149.106.40.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:07:29,019 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'da16f34c-c915-4ff2-9710-cc969a307493', 'name': 'ctest-vn-21257569', 'tenant_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'project_id': 'dc1fbb6d548147eaaac5b155d07fa003', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0f5ffefb-55bd-41a5-9538-61e4549ebb4c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-vn-21257569'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-policy-allow-all-75855889']], 'subnet_ipam': [{'subnet_cidr': '78.63.246.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-28 09:07:29,175 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:07:29,521 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:07:29,553 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:07:29,565 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:07:29,639 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,650 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,660 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:07:29,667 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:07:29,673 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6eee13bb-d47a-4dda-9356-51ba149b1c71 2026-05-28 09:07:29,678 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 09:07:29,678 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,686 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:07:29,701 - INFO - Verified VN network id 12 for VN 22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,702 - INFO - Verifications in API Server for VN ctest-vn-95565128 passed 2026-05-28 09:07:29,702 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,712 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:07:29,720 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:07:29,726 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/6eee13bb-d47a-4dda-9356-51ba149b1c71 2026-05-28 09:07:29,739 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35846128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2477871456821920843', 'uuid-lslong': '9360068597768834129'}, 'enable': 'true', 'created': '2026-05-28T09:07:27', 'last-modified': '2026-05-28T09:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994760'} 2026-05-28 09:07:29,745 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-28 09:07:29,745 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95565128 passed 2026-05-28 09:07:29,745 - DEBUG - ====Verifying policy data for ctest-vn-95565128 in API_Server ====== 2026-05-28 09:07:29,745 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:07:29,750 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:07:29,760 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:07:29,832 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/22632af6-2ef3-444b-81e5-a4cc434ccc51 2026-05-28 09:07:29,841 - DEBUG - ==>Verifying data for policy with id: 77a08bcd-7619-4257-ba1b-09676e37ed92, fqn: ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-policy-allow-all-75855889'] 2026-05-28 09:07:29,841 - INFO - VN ctest-vn-95565128 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 09:07:29,841 - DEBUG - Verifying the vn in opserver 2026-05-28 09:07:29,841 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128 virtual network link through opserver 10.0.0.33 2026-05-28 09:07:29,842 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 09:07:30,176 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 09:07:30,237 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128?flat'} 2026-05-28 09:07:30,237 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128 is found in opserver 2026-05-28 09:07:30,247 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 09:07:30,252 - DEBUG - VRF ids for VN ctest-vn-95565128: {} 2026-05-28 09:07:30,252 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:07:30,257 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:07:30,269 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:07:30,340 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,352 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,360 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:07:30,367 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:07:30,373 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9f9abfe-2c31-444c-bc35-ae7cbc6c6e91 2026-05-28 09:07:30,378 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 09:07:30,378 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,386 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:07:30,401 - INFO - Verified VN network id 13 for VN da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,401 - INFO - Verifications in API Server for VN ctest-vn-21257569 passed 2026-05-28 09:07:30,401 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,410 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:07:30,416 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:07:30,422 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/b9f9abfe-2c31-444c-bc35-ae7cbc6c6e91 2026-05-28 09:07:30,432 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-21257569', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-35846128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15715015460872605682', 'uuid-lslong': '10885425246558516371'}, 'enable': 'true', 'created': '2026-05-28T09:07:28', 'last-modified': '2026-05-28T09:07:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.441413'} 2026-05-28 09:07:30,438 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-28 09:07:30,438 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21257569 passed 2026-05-28 09:07:30,438 - DEBUG - ====Verifying policy data for ctest-vn-21257569 in API_Server ====== 2026-05-28 09:07:30,438 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:07:30,443 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:07:30,454 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:07:30,535 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/da16f34c-c915-4ff2-9710-cc969a307493 2026-05-28 09:07:30,544 - DEBUG - ==>Verifying data for policy with id: 77a08bcd-7619-4257-ba1b-09676e37ed92, fqn: ['default-domain', 'ctest-TestBasicPolicy-35846128', 'ctest-policy-allow-all-75855889'] 2026-05-28 09:07:30,544 - INFO - VN ctest-vn-21257569 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-28 09:07:30,544 - DEBUG - Verifying the vn in opserver 2026-05-28 09:07:30,544 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-21257569 virtual network link through opserver 10.0.0.33 2026-05-28 09:07:30,545 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-28 09:07:30,554 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-21257569', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-21257569?flat'} 2026-05-28 09:07:30,554 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-21257569 is found in opserver 2026-05-28 09:07:30,565 - DEBUG - Do not have enough data to verify VN in agent 2026-05-28 09:07:30,570 - DEBUG - VRF ids for VN ctest-vn-21257569: {} 2026-05-28 09:07:30,633 - DEBUG - Services list from nova: [, , ] 2026-05-28 09:07:31,769 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5843-1) 2026-05-28 09:07:33,026 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5843-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5843-1) 2026-05-28 09:07:33,027 - INFO - Waiting for VM ctest-TestBasicPolicy-35846128-60859544 to be up.. 2026-05-28 09:07:33,121 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 09:07:38,219 - DEBUG - VM is in ACTIVE state now 2026-05-28 09:07:38,219 - INFO - VM name : ctest-TestBasicPolicy-35846128-60859544 2026-05-28 09:07:38,312 - DEBUG - VM ctest-TestBasicPolicy-35846128-60859544 ID is 672d08ce-78c3-47fd-85fc-d8cdf6d4b5e0 2026-05-28 09:07:38,339 - DEBUG - VM ctest-TestBasicPolicy-35846128-60859544 launched on Node cn-jenkins-deploy-platform-ansible-os-5843-1 2026-05-28 09:07:38,439 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/672d08ce-78c3-47fd-85fc-d8cdf6d4b5e0 2026-05-28 09:07:38,450 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1bdbd8fc-a26b-47cc-8e53-b82265411767 2026-05-28 09:07:41,652 - 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 1010ms') 2026-05-28 09:07:41,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35846128-60859544 failed! 2026-05-28 09:07:41,711 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-35846128:ctest-vn-95565128 is 149.106.40.65 and allocation pool is NOT set 2026-05-28 09:07:43,776 - 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=11.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.72 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 = 2.719/7.172/11.625/4.453 ms') 2026-05-28 09:07:43,776 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-35846128-60859544 passed 2026-05-28 09:07:43,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:07:43,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35846128-60859544, IP 149.106.40.67, Port 22 2026-05-28 09:07:43,994 - 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': ''} 2026-05-28 09:07:44,093 - DEBUG - VM ctest-TestBasicPolicy-35846128-60859544 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 09:07:49,094 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:07:49,094 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35846128-60859544, IP 149.106.40.67, Port 22 2026-05-28 09:07:49,281 - DEBUG - VM ctest-TestBasicPolicy-35846128-60859544 is ready for SSH connections 2026-05-28 09:07:49,282 - INFO - Waiting for VM ctest-TestBasicPolicy-35846128-70785457 to be up.. 2026-05-28 09:07:49,363 - DEBUG - VM is in ACTIVE state now 2026-05-28 09:07:49,363 - INFO - VM name : ctest-TestBasicPolicy-35846128-70785457 2026-05-28 09:07:49,448 - DEBUG - VM ctest-TestBasicPolicy-35846128-70785457 ID is ce5d953b-c17f-4595-9972-4aacb0c5aa1e 2026-05-28 09:07:49,448 - DEBUG - VM ctest-TestBasicPolicy-35846128-70785457 launched on Node cn-jenkins-deploy-platform-ansible-os-5843-1 2026-05-28 09:07:49,522 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ce5d953b-c17f-4595-9972-4aacb0c5aa1e 2026-05-28 09:07:49,530 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/95c3b6a9-f813-44e0-903f-e6a6d0846654 2026-05-28 09:07:50,780 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.461/2.145/3.830/1.684 ms') 2026-05-28 09:07:50,780 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-35846128-70785457 passed 2026-05-28 09:07:50,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:07:50,927 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-35846128-70785457, IP 78.63.246.67, Port 22 2026-05-28 09:07:51,083 - DEBUG - VM ctest-TestBasicPolicy-35846128-70785457 is ready for SSH connections 2026-05-28 09:07:51,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:07:51,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.63.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-28 09:07:51,083 - DEBUG - ping -s 56 -c 3 -W 1 78.63.246.67 2026-05-28 09:07:54,851 - DEBUG - PING 78.63.246.67 (78.63.246.67): 56 data bytes 64 bytes from 78.63.246.67: seq=0 ttl=63 time=4.013 ms 64 bytes from 78.63.246.67: seq=1 ttl=63 time=1.029 ms 64 bytes from 78.63.246.67: seq=2 ttl=63 time=0.906 ms --- 78.63.246.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.982/4.013 ms 2026-05-28 09:07:54,851 - INFO - Ping to IP 78.63.246.67 from VM ctest-TestBasicPolicy-35846128-60859544 passed 2026-05-28 09:07:55,031 - DEBUG - Policy Update Response {"network-policy": {"uuid": "77a08bcd-7619-4257-ba1b-09676e37ed92", "href": "http://10.0.0.33:8082/network-policy/77a08bcd-7619-4257-ba1b-09676e37ed92"}} 2026-05-28 09:07:55,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 09:07:55,031 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.63.246.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-28 09:07:55,031 - DEBUG - ping -s 56 -c 3 -W 1 78.63.246.67 2026-05-28 09:07:58,257 - DEBUG - PING 78.63.246.67 (78.63.246.67): 56 data bytes --- 78.63.246.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 09:07:58,257 - WARNING - Ping to IP 78.63.246.67 from VM ctest-TestBasicPolicy-35846128-60859544 failed 2026-05-28 09:07:58,257 - INFO - Deleting VM ctest-TestBasicPolicy-35846128-70785457 2026-05-28 09:07:58,331 - INFO - Deleting VM ctest-TestBasicPolicy-35846128-60859544 2026-05-28 09:07:58,739 - INFO - Deleted policy ctest-policy-allow-all-75855889 2026-05-28 09:07:58,739 - INFO - Deleting VN ctest-vn-21257569 2026-05-28 09:07:58,779 - DEBUG - VN da16f34c-c915-4ff2-9710-cc969a307493 still in use: Unable to complete operation on network da16f34c-c915-4ff2-9710-cc969a307493. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1cfd978e-63f7-4bb2-b742-56bcd8af79ac'] 2026-05-28 09:07:58,779 - WARNING - Deleting VN ctest-vn-21257569 failed..Will retry 2026-05-28 09:08:00,889 - DEBUG - Response for deleting network () 2026-05-28 09:08:00,889 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/16a7a4c6-4169-484b-b3b9-de516976ecbf 2026-05-28 09:08:00,894 - DEBUG - Response Code: 404 2026-05-28 09:08:00,894 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:08:00,900 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:08:00,952 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:08:01,020 - INFO - Validated that VN ctest-vn-21257569 is not found in API Server 2026-05-28 09:08:01,030 - DEBUG - VN ctest-vn-21257569 is not present in Agent 10.0.0.33 2026-05-28 09:08:01,030 - INFO - Validated that VN ctest-vn-21257569 is not in any agent 2026-05-28 09:08:01,044 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21257569 info 2026-05-28 09:08:01,044 - INFO - Deleting VN ctest-vn-95565128 2026-05-28 09:08:01,157 - DEBUG - Response for deleting network () 2026-05-28 09:08:01,158 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/d07ca28b-e3c5-46ab-91ac-4563b3a66e79 2026-05-28 09:08:01,166 - DEBUG - Response Code: 404 2026-05-28 09:08:01,166 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-28 09:08:01,171 - DEBUG - Requesting: http://10.0.0.33:8082/domain/74fe28d1-ba1d-49c5-8c80-173f73584c7c 2026-05-28 09:08:01,224 - DEBUG - Requesting: http://10.0.0.33:8082/project/dc1fbb6d-5481-47ea-aac5-b155d07fa003 2026-05-28 09:08:01,305 - INFO - Validated that VN ctest-vn-95565128 is not found in API Server 2026-05-28 09:08:01,317 - DEBUG - VN ctest-vn-95565128 is not present in Agent 10.0.0.33 2026-05-28 09:08:01,317 - INFO - Validated that VN ctest-vn-95565128 is not in any agent 2026-05-28 09:08:01,333 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-95565128 info 2026-05-28 09:08:01,589 - DEBUG - No XMPP flaps were noticed during the test 2026-05-28 09:08:01,589 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-05-28 09:08:01,589 - INFO - -------------------------------------------------------------------------------- 2026-05-28 09:08:02,362 - INFO - Deleted project: ctest-TestBasicPolicy-35846128, ID : dc1fbb6d-5481-47ea-aac5-b155d07fa003