2026-05-15 13:20:46,242 - INFO - Domain Default found not creating 2026-05-15 13:20:46,419 - INFO - Project ctest-TestBasicPolicy-00596464 not found, creating it 2026-05-15 13:20:46,882 - INFO - Created Project:ctest-TestBasicPolicy-00596464, ID : e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:20:48,377 - INFO - ================================================================================ 2026-05-15 13:20:48,378 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-15 13:20:48,378 - 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-15 13:20:48,634 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2026-05-15 13:20:48,634 - INFO - Initial checks done. Running the testcase now 2026-05-15 13:20:48,634 - INFO - 2026-05-15 13:20:49,185 - DEBUG - Response for create_network : {'network': {'id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'name': 'ctest-vn-12465204', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12465204'], 'port_security_enabled': True, 'description': ''}} 2026-05-15 13:20:49,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '414fefb4-7be4-4818-a20c-501f4003b7c5', 'name': '', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'network_id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'ip_version': 4, 'cidr': '36.66.203.0/26', 'allocation_pools': [{'start': '36.66.203.2', 'end': '36.66.203.62'}], 'gateway_ip': '36.66.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.66.203.2', 'tags': [], 'project_id': 'e450810bb4164bd784c3d7d383202f4f'}} 2026-05-15 13:20:49,408 - INFO - Created VN ctest-vn-12465204 2026-05-15 13:20:49,461 - DEBUG - VN ctest-vn-12465204 UUID is 00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:49,757 - DEBUG - Response for create_network : {'network': {'id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'name': 'ctest-vn-12054068', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12054068'], 'port_security_enabled': True, 'description': ''}} 2026-05-15 13:20:49,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '552a09e9-d53b-4b6c-92dc-c80bc0a3a5a2', 'name': '', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'network_id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'ip_version': 4, 'cidr': '134.99.219.0/26', 'allocation_pools': [{'start': '134.99.219.2', 'end': '134.99.219.62'}], 'gateway_ip': '134.99.219.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.99.219.2', 'tags': [], 'project_id': 'e450810bb4164bd784c3d7d383202f4f'}} 2026-05-15 13:20:49,979 - INFO - Created VN ctest-vn-12054068 2026-05-15 13:20:50,032 - DEBUG - VN ctest-vn-12054068 UUID is 16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:50,150 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204, 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-00596464:ctest-vn-12054068, 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-15 13:20:50,453 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '00d4c720-9dda-4371-be7b-7d5d2718e19f', 'name': 'ctest-vn-12465204', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['414fefb4-7be4-4818-a20c-501f4003b7c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12465204'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']], 'subnet_ipam': [{'subnet_cidr': '36.66.203.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-15 13:20:50,695 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16899242-7fb7-4b04-bb27-e164f5a8148d', 'name': 'ctest-vn-12054068', 'tenant_id': 'e450810bb4164bd784c3d7d383202f4f', 'project_id': 'e450810bb4164bd784c3d7d383202f4f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['552a09e9-d53b-4b6c-92dc-c80bc0a3a5a2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-vn-12054068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051']], 'subnet_ipam': [{'subnet_cidr': '134.99.219.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-15 13:20:50,872 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:20:51,186 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:20:51,217 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:20:51,231 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:20:51,306 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,319 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,330 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:20:51,337 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:20:51,345 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/236382d4-4db8-4cde-b58b-92b6b46c3ca2 2026-05-15 13:20:51,352 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-15 13:20:51,352 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,361 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:20:51,376 - INFO - Verified VN network id 11 for VN 00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,376 - INFO - Verifications in API Server for VN ctest-vn-12465204 passed 2026-05-15 13:20:51,376 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,386 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:20:51,393 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:20:51,403 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/236382d4-4db8-4cde-b58b-92b6b46c3ca2 2026-05-15 13:20:51,416 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00596464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '59891637963866993', 'uuid-lslong': '13725702128383091103'}, 'enable': 'true', 'created': '2026-05-15T13:20:49', 'last-modified': '2026-05-15T13:20:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.988483'} 2026-05-15 13:20:51,422 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-15 13:20:51,422 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12465204 passed 2026-05-15 13:20:51,423 - DEBUG - ====Verifying policy data for ctest-vn-12465204 in API_Server ====== 2026-05-15 13:20:51,423 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:20:51,429 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:20:51,441 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:20:51,516 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/00d4c720-9dda-4371-be7b-7d5d2718e19f 2026-05-15 13:20:51,527 - DEBUG - ==>Verifying data for policy with id: 135bc6c0-3bd1-45b5-9e25-caf06a8426ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051'] 2026-05-15 13:20:51,527 - INFO - VN ctest-vn-12465204 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-15 13:20:51,527 - DEBUG - Verifying the vn in opserver 2026-05-15 13:20:51,527 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204 virtual network link through opserver 10.0.0.242 2026-05-15 13:20:51,527 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-15 13:20:51,826 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-15 13:20:51,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204?flat'} 2026-05-15 13:20:51,892 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204 is found in opserver 2026-05-15 13:20:51,902 - DEBUG - Do not have enough data to verify VN in agent 2026-05-15 13:20:51,906 - DEBUG - VRF ids for VN ctest-vn-12465204: {} 2026-05-15 13:20:51,907 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:20:51,913 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:20:51,923 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:20:51,996 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,007 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,017 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:20:52,025 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:20:52,033 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a6f554d5-b0d2-4ed6-85ab-fc8ac25d4680 2026-05-15 13:20:52,041 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-15 13:20:52,041 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,051 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:20:52,066 - INFO - Verified VN network id 12 for VN 16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,066 - INFO - Verifications in API Server for VN ctest-vn-12054068 passed 2026-05-15 13:20:52,066 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,075 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:20:52,082 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:20:52,089 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/a6f554d5-b0d2-4ed6-85ab-fc8ac25d4680 2026-05-15 13:20:52,102 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-00596464', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1623989954951990020', 'uuid-lslong': '13485995432918652045'}, 'enable': 'true', 'created': '2026-05-15T13:20:49', 'last-modified': '2026-05-15T13:20:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.426112'} 2026-05-15 13:20:52,108 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-15 13:20:52,108 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12054068 passed 2026-05-15 13:20:52,108 - DEBUG - ====Verifying policy data for ctest-vn-12054068 in API_Server ====== 2026-05-15 13:20:52,108 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:20:52,115 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:20:52,129 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:20:52,199 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/16899242-7fb7-4b04-bb27-e164f5a8148d 2026-05-15 13:20:52,208 - DEBUG - ==>Verifying data for policy with id: 135bc6c0-3bd1-45b5-9e25-caf06a8426ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-00596464', 'ctest-policy-allow-all-64106051'] 2026-05-15 13:20:52,208 - INFO - VN ctest-vn-12054068 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-15 13:20:52,208 - DEBUG - Verifying the vn in opserver 2026-05-15 13:20:52,209 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068 virtual network link through opserver 10.0.0.242 2026-05-15 13:20:52,209 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks 2026-05-15 13:20:52,220 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068?flat'} 2026-05-15 13:20:52,220 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12054068 is found in opserver 2026-05-15 13:20:52,230 - DEBUG - Do not have enough data to verify VN in agent 2026-05-15 13:20:52,234 - DEBUG - VRF ids for VN ctest-vn-12054068: {} 2026-05-15 13:20:52,294 - DEBUG - Services list from nova: [, , ] 2026-05-15 13:20:53,326 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5786-1) 2026-05-15 13:20:54,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5786-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5786-1) 2026-05-15 13:20:54,481 - INFO - Waiting for VM ctest-TestBasicPolicy-00596464-38419392 to be up.. 2026-05-15 13:20:54,577 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-15 13:20:59,660 - DEBUG - VM is in ACTIVE state now 2026-05-15 13:20:59,660 - INFO - VM name : ctest-TestBasicPolicy-00596464-38419392 2026-05-15 13:20:59,764 - DEBUG - VM ctest-TestBasicPolicy-00596464-38419392 ID is 0329e0f4-2cc0-4f58-909d-5549f36c5984 2026-05-15 13:20:59,786 - DEBUG - VM ctest-TestBasicPolicy-00596464-38419392 launched on Node cn-jenkins-deploy-platform-ansible-os-5786-1 2026-05-15 13:20:59,865 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/0329e0f4-2cc0-4f58-909d-5549f36c5984 2026-05-15 13:20:59,873 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c017c77f-dba5-4874-95cd-ca69c0352744 2026-05-15 13:21:03,127 - 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 1023ms') 2026-05-15 13:21:03,127 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00596464-38419392 failed! 2026-05-15 13:21:03,181 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-00596464:ctest-vn-12465204 is 36.66.203.1 and allocation pool is NOT set 2026-05-15 13:21:05,246 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=8.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.48 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.482/4.892/8.302/3.410 ms') 2026-05-15 13:21:05,246 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-00596464-38419392 passed 2026-05-15 13:21:05,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-15 13:21:05,401 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00596464-38419392, IP 36.66.203.3, Port 22 2026-05-15 13:21:05,466 - 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-15 13:21:05,554 - DEBUG - VM ctest-TestBasicPolicy-00596464-38419392 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-15 13:21:10,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-15 13:21:10,555 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00596464-38419392, IP 36.66.203.3, Port 22 2026-05-15 13:21:10,712 - DEBUG - VM ctest-TestBasicPolicy-00596464-38419392 is ready for SSH connections 2026-05-15 13:21:10,712 - INFO - Waiting for VM ctest-TestBasicPolicy-00596464-40074909 to be up.. 2026-05-15 13:21:10,792 - DEBUG - VM is in ACTIVE state now 2026-05-15 13:21:10,792 - INFO - VM name : ctest-TestBasicPolicy-00596464-40074909 2026-05-15 13:21:10,867 - DEBUG - VM ctest-TestBasicPolicy-00596464-40074909 ID is 6e671d4f-3c2a-41d0-bfb5-8aaf7667049c 2026-05-15 13:21:10,867 - DEBUG - VM ctest-TestBasicPolicy-00596464-40074909 launched on Node cn-jenkins-deploy-platform-ansible-os-5786-1 2026-05-15 13:21:10,943 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/6e671d4f-3c2a-41d0-bfb5-8aaf7667049c 2026-05-15 13:21:10,951 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/d1af80c1-b6ee-41b6-9be2-7661e5d0feee 2026-05-15 13:21:12,184 - 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=2.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.535 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.535/1.680/2.825/1.145 ms') 2026-05-15 13:21:12,184 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-00596464-40074909 passed 2026-05-15 13:21:12,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-15 13:21:12,333 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-00596464-40074909, IP 134.99.219.3, Port 22 2026-05-15 13:21:12,488 - DEBUG - VM ctest-TestBasicPolicy-00596464-40074909 is ready for SSH connections 2026-05-15 13:21:12,488 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-15 13:21:12,489 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.99.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-15 13:21:12,489 - DEBUG - ping -s 56 -c 3 -W 1 134.99.219.3 2026-05-15 13:21:16,532 - DEBUG - PING 134.99.219.3 (134.99.219.3): 56 data bytes 64 bytes from 134.99.219.3: seq=0 ttl=63 time=3.686 ms 64 bytes from 134.99.219.3: seq=1 ttl=63 time=1.004 ms 64 bytes from 134.99.219.3: seq=2 ttl=63 time=0.919 ms --- 134.99.219.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.919/1.869/3.686 ms 2026-05-15 13:21:16,532 - INFO - Ping to IP 134.99.219.3 from VM ctest-TestBasicPolicy-00596464-38419392 passed 2026-05-15 13:21:16,712 - DEBUG - Policy Update Response {"network-policy": {"uuid": "135bc6c0-3bd1-45b5-9e25-caf06a8426ee", "href": "http://10.0.0.242:8082/network-policy/135bc6c0-3bd1-45b5-9e25-caf06a8426ee"}} 2026-05-15 13:21:16,712 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-15 13:21:16,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.99.219.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2026-05-15 13:21:16,713 - DEBUG - ping -s 56 -c 3 -W 1 134.99.219.3 2026-05-15 13:21:19,937 - DEBUG - PING 134.99.219.3 (134.99.219.3): 56 data bytes --- 134.99.219.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-15 13:21:19,938 - WARNING - Ping to IP 134.99.219.3 from VM ctest-TestBasicPolicy-00596464-38419392 failed 2026-05-15 13:21:19,938 - INFO - Deleting VM ctest-TestBasicPolicy-00596464-40074909 2026-05-15 13:21:20,034 - INFO - Deleting VM ctest-TestBasicPolicy-00596464-38419392 2026-05-15 13:21:20,426 - INFO - Deleted policy ctest-policy-allow-all-64106051 2026-05-15 13:21:20,426 - INFO - Deleting VN ctest-vn-12054068 2026-05-15 13:21:20,469 - DEBUG - VN 16899242-7fb7-4b04-bb27-e164f5a8148d still in use: Unable to complete operation on network 16899242-7fb7-4b04-bb27-e164f5a8148d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-b03ae73a-94b5-4de6-8d45-010a9bd6be26'] 2026-05-15 13:21:20,470 - WARNING - Deleting VN ctest-vn-12054068 failed..Will retry 2026-05-15 13:21:22,743 - DEBUG - Response for deleting network () 2026-05-15 13:21:22,744 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/41883757-2273-44e1-90a0-876d9e637b1b 2026-05-15 13:21:22,752 - DEBUG - Response Code: 404 2026-05-15 13:21:22,752 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:21:22,769 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:21:22,838 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:21:22,946 - INFO - Validated that VN ctest-vn-12054068 is not found in API Server 2026-05-15 13:21:22,957 - DEBUG - VN ctest-vn-12054068 is not present in Agent 10.0.0.242 2026-05-15 13:21:22,957 - INFO - Validated that VN ctest-vn-12054068 is not in any agent 2026-05-15 13:21:22,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12054068 info 2026-05-15 13:21:22,972 - INFO - Deleting VN ctest-vn-12465204 2026-05-15 13:21:23,143 - DEBUG - Response for deleting network () 2026-05-15 13:21:23,143 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/d01b84cd-5d92-4b14-a5f3-5b5c6c015814 2026-05-15 13:21:23,149 - DEBUG - Response Code: 404 2026-05-15 13:21:23,150 - DEBUG - Requesting: http://10.0.0.242:8082/domains 2026-05-15 13:21:23,154 - DEBUG - Requesting: http://10.0.0.242:8082/domain/9619467f-079e-4f61-af04-20f51b9f4526 2026-05-15 13:21:23,211 - DEBUG - Requesting: http://10.0.0.242:8082/project/e450810b-b416-4bd7-84c3-d7d383202f4f 2026-05-15 13:21:23,283 - INFO - Validated that VN ctest-vn-12465204 is not found in API Server 2026-05-15 13:21:23,292 - DEBUG - VN ctest-vn-12465204 is not present in Agent 10.0.0.242 2026-05-15 13:21:23,292 - INFO - Validated that VN ctest-vn-12465204 is not in any agent 2026-05-15 13:21:23,308 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12465204 info 2026-05-15 13:21:23,566 - DEBUG - No XMPP flaps were noticed during the test
2026-05-15 13:21:23,566 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-15 13:21:23,566 - INFO - -------------------------------------------------------------------------------- 2026-05-15 13:21:24,267 - INFO - Deleted project: ctest-TestBasicPolicy-00596464, ID : e450810b-b416-4bd7-84c3-d7d383202f4f