2026-04-02 02:31:09,953 - INFO - Domain Default found not creating 2026-04-02 02:31:10,167 - INFO - Project ctest-TestBasicPolicy-87801819 not found, creating it 2026-04-02 02:31:10,661 - INFO - Created Project:ctest-TestBasicPolicy-87801819, ID : 1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:12,340 - INFO - ================================================================================ 2026-04-02 02:31:12,340 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-02 02:31:12,340 - 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-04-02 02:31:12,613 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.252': '0'}} with 2026-04-02 02:31:12,613 - INFO - Initial checks done. Running the testcase now 2026-04-02 02:31:12,613 - INFO - 2026-04-02 02:31:13,270 - DEBUG - Response for create_network : {'network': {'id': '06139124-6880-4a1c-aac2-c1323f730dd8', 'name': 'ctest-vn-56443380', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-vn-56443380'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:31:13,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc50554b-2e6e-4872-8f44-a2c79852eefa', 'name': '', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'network_id': '06139124-6880-4a1c-aac2-c1323f730dd8', 'ip_version': 4, 'cidr': '138.215.215.64/26', 'allocation_pools': [{'start': '138.215.215.66', 'end': '138.215.215.126'}], 'gateway_ip': '138.215.215.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.215.215.66', 'tags': [], 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b'}} 2026-04-02 02:31:13,507 - INFO - Created VN ctest-vn-56443380 2026-04-02 02:31:13,563 - DEBUG - VN ctest-vn-56443380 UUID is 06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:13,881 - DEBUG - Response for create_network : {'network': {'id': '5be21083-2e1d-4f23-bac4-eafb88817241', 'name': 'ctest-vn-90917068', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-vn-90917068'], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:31:14,094 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3610993-991c-42e3-8df9-0a3fdb12dc9c', 'name': '', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'network_id': '5be21083-2e1d-4f23-bac4-eafb88817241', 'ip_version': 4, 'cidr': '42.94.71.64/26', 'allocation_pools': [{'start': '42.94.71.66', 'end': '42.94.71.126'}], 'gateway_ip': '42.94.71.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.94.71.66', 'tags': [], 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b'}} 2026-04-02 02:31:14,113 - INFO - Created VN ctest-vn-90917068 2026-04-02 02:31:14,167 - DEBUG - VN ctest-vn-90917068 UUID is 5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:14,290 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380, 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-87801819:ctest-vn-90917068, 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-04-02 02:31:14,599 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '06139124-6880-4a1c-aac2-c1323f730dd8', 'name': 'ctest-vn-56443380', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc50554b-2e6e-4872-8f44-a2c79852eefa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-vn-56443380'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-policy-allow-all-10343308']], 'subnet_ipam': [{'subnet_cidr': '138.215.215.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:31:14,896 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5be21083-2e1d-4f23-bac4-eafb88817241', 'name': 'ctest-vn-90917068', 'tenant_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'project_id': '1f3549c78d0049728b8cbb7bf01ac90b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3610993-991c-42e3-8df9-0a3fdb12dc9c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-vn-90917068'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-policy-allow-all-10343308']], 'subnet_ipam': [{'subnet_cidr': '42.94.71.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-02 02:31:15,036 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:15,365 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:15,402 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:15,416 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:15,489 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,499 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,510 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:15,519 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:15,527 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fe516b98-6492-434d-bc97-04a5b5d1d9fb 2026-04-02 02:31:15,535 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 02:31:15,535 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,545 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:15,566 - INFO - Verified VN network id 12 for VN 06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,566 - INFO - Verifications in API Server for VN ctest-vn-56443380 passed 2026-04-02 02:31:15,566 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,576 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:15,584 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:15,594 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/fe516b98-6492-434d-bc97-04a5b5d1d9fb 2026-04-02 02:31:15,606 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87801819', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '437853174343158300', 'uuid-lslong': '12304609553486646744'}, 'enable': 'true', 'created': '2026-04-02T02:31:13', 'last-modified': '2026-04-02T02:31:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.030552'} 2026-04-02 02:31:15,612 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-02 02:31:15,612 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56443380 passed 2026-04-02 02:31:15,613 - DEBUG - ====Verifying policy data for ctest-vn-56443380 in API_Server ====== 2026-04-02 02:31:15,613 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:15,619 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:15,631 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:15,704 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/06139124-6880-4a1c-aac2-c1323f730dd8 2026-04-02 02:31:15,713 - DEBUG - ==>Verifying data for policy with id: a9c8e37a-750f-43d9-8c46-7d467d8113bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-policy-allow-all-10343308'] 2026-04-02 02:31:15,713 - INFO - VN ctest-vn-56443380 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 02:31:15,713 - DEBUG - Verifying the vn in opserver 2026-04-02 02:31:15,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380 virtual network link through opserver 10.0.0.22 2026-04-02 02:31:15,714 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-02 02:31:16,012 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-02 02:31:16,087 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380?flat'} 2026-04-02 02:31:16,087 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380 is found in opserver 2026-04-02 02:31:16,098 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 02:31:16,104 - DEBUG - VRF ids for VN ctest-vn-56443380: {} 2026-04-02 02:31:16,104 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:16,110 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:16,122 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:16,195 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,206 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,214 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:16,222 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:16,228 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bbf52663-2b7c-4476-b253-f5dee4fe27f0 2026-04-02 02:31:16,235 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 02:31:16,235 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,242 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:16,258 - INFO - Verified VN network id 13 for VN 5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,258 - INFO - Verifications in API Server for VN ctest-vn-90917068 passed 2026-04-02 02:31:16,258 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,267 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:16,274 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:16,281 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/bbf52663-2b7c-4476-b253-f5dee4fe27f0 2026-04-02 02:31:16,295 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-90917068', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-87801819', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6620872557788483363', 'uuid-lslong': '13458139952537760321'}, 'enable': 'true', 'created': '2026-04-02T02:31:13', 'last-modified': '2026-04-02T02:31:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.464751'} 2026-04-02 02:31:16,301 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-02 02:31:16,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-90917068 passed 2026-04-02 02:31:16,302 - DEBUG - ====Verifying policy data for ctest-vn-90917068 in API_Server ====== 2026-04-02 02:31:16,302 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:16,310 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:16,324 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:16,401 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/5be21083-2e1d-4f23-bac4-eafb88817241 2026-04-02 02:31:16,412 - DEBUG - ==>Verifying data for policy with id: a9c8e37a-750f-43d9-8c46-7d467d8113bc, fqn: ['default-domain', 'ctest-TestBasicPolicy-87801819', 'ctest-policy-allow-all-10343308'] 2026-04-02 02:31:16,412 - INFO - VN ctest-vn-90917068 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-02 02:31:16,412 - DEBUG - Verifying the vn in opserver 2026-04-02 02:31:16,412 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-90917068 virtual network link through opserver 10.0.0.22 2026-04-02 02:31:16,412 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2026-04-02 02:31:16,423 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-90917068', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-90917068?flat'} 2026-04-02 02:31:16,423 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-90917068 is found in opserver 2026-04-02 02:31:16,432 - DEBUG - Do not have enough data to verify VN in agent 2026-04-02 02:31:16,437 - DEBUG - VRF ids for VN ctest-vn-90917068: {} 2026-04-02 02:31:16,501 - DEBUG - Services list from nova: [, , ] 2026-04-02 02:31:17,603 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5577-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5577-1) 2026-04-02 02:31:18,854 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5577-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5577-1) 2026-04-02 02:31:18,854 - INFO - Waiting for VM ctest-TestBasicPolicy-87801819-25115474 to be up.. 2026-04-02 02:31:18,955 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-02 02:31:24,059 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:31:24,059 - INFO - VM name : ctest-TestBasicPolicy-87801819-25115474 2026-04-02 02:31:24,150 - DEBUG - VM ctest-TestBasicPolicy-87801819-25115474 ID is 6746d7c2-7868-4d44-85a6-26d8422ed4f1 2026-04-02 02:31:24,176 - DEBUG - VM ctest-TestBasicPolicy-87801819-25115474 launched on Node cn-jenkins-deploy-platform-ansible-os-5577-1 2026-04-02 02:31:24,265 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6746d7c2-7868-4d44-85a6-26d8422ed4f1 2026-04-02 02:31:24,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9b6815ce-20f4-4070-afe4-c3d00198af7f 2026-04-02 02:31:27,549 - 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 1029ms') 2026-04-02 02:31:27,549 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87801819-25115474 failed! 2026-04-02 02:31:27,607 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-87801819:ctest-vn-56443380 is 138.215.215.65 and allocation pool is NOT set 2026-04-02 02:31:29,671 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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 = 0.479/3.979/7.479/3.500 ms') 2026-04-02 02:31:29,672 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-87801819-25115474 passed 2026-04-02 02:31:29,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:31:29,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87801819-25115474, IP 138.215.215.67, Port 22 2026-04-02 02:31:29,893 - 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-04-02 02:31:29,983 - DEBUG - VM ctest-TestBasicPolicy-87801819-25115474 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-02 02:31:34,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:31:34,984 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87801819-25115474, IP 138.215.215.67, Port 22 2026-04-02 02:31:35,158 - DEBUG - VM ctest-TestBasicPolicy-87801819-25115474 is ready for SSH connections 2026-04-02 02:31:35,158 - INFO - Waiting for VM ctest-TestBasicPolicy-87801819-82904650 to be up.. 2026-04-02 02:31:35,242 - DEBUG - VM is in ACTIVE state now 2026-04-02 02:31:35,242 - INFO - VM name : ctest-TestBasicPolicy-87801819-82904650 2026-04-02 02:31:35,336 - DEBUG - VM ctest-TestBasicPolicy-87801819-82904650 ID is 62af1d32-3b86-4a3a-8f5e-57a86ceb851d 2026-04-02 02:31:35,336 - DEBUG - VM ctest-TestBasicPolicy-87801819-82904650 launched on Node cn-jenkins-deploy-platform-ansible-os-5577-1 2026-04-02 02:31:35,420 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/62af1d32-3b86-4a3a-8f5e-57a86ceb851d 2026-04-02 02:31:35,430 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6f2c9c7e-9ef2-4496-b48b-d10154ab22a4 2026-04-02 02:31:36,673 - 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=5.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/3.129/5.713/2.584 ms') 2026-04-02 02:31:36,673 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-87801819-82904650 passed 2026-04-02 02:31:36,827 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:31:36,827 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-87801819-82904650, IP 42.94.71.67, Port 22 2026-04-02 02:31:37,002 - DEBUG - VM ctest-TestBasicPolicy-87801819-82904650 is ready for SSH connections 2026-04-02 02:31:37,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:31:37,002 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.94.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-02 02:31:37,002 - DEBUG - ping -s 56 -c 3 -W 1 42.94.71.67 2026-04-02 02:31:41,158 - DEBUG - PING 42.94.71.67 (42.94.71.67): 56 data bytes 64 bytes from 42.94.71.67: seq=0 ttl=63 time=5.284 ms 64 bytes from 42.94.71.67: seq=1 ttl=63 time=1.454 ms 64 bytes from 42.94.71.67: seq=2 ttl=63 time=1.091 ms --- 42.94.71.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.091/2.609/5.284 ms 2026-04-02 02:31:41,158 - INFO - Ping to IP 42.94.71.67 from VM ctest-TestBasicPolicy-87801819-25115474 passed 2026-04-02 02:31:41,347 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a9c8e37a-750f-43d9-8c46-7d467d8113bc", "href": "http://10.0.0.22:8082/network-policy/a9c8e37a-750f-43d9-8c46-7d467d8113bc"}} 2026-04-02 02:31:41,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-02 02:31:41,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 42.94.71.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2026-04-02 02:31:41,348 - DEBUG - ping -s 56 -c 3 -W 1 42.94.71.67 2026-04-02 02:31:44,598 - DEBUG - PING 42.94.71.67 (42.94.71.67): 56 data bytes --- 42.94.71.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-02 02:31:44,598 - WARNING - Ping to IP 42.94.71.67 from VM ctest-TestBasicPolicy-87801819-25115474 failed 2026-04-02 02:31:44,598 - INFO - Deleting VM ctest-TestBasicPolicy-87801819-82904650 2026-04-02 02:31:44,687 - INFO - Deleting VM ctest-TestBasicPolicy-87801819-25115474 2026-04-02 02:31:45,169 - INFO - Deleted policy ctest-policy-allow-all-10343308 2026-04-02 02:31:45,169 - INFO - Deleting VN ctest-vn-90917068 2026-04-02 02:31:45,225 - DEBUG - VN 5be21083-2e1d-4f23-bac4-eafb88817241 still in use: Unable to complete operation on network 5be21083-2e1d-4f23-bac4-eafb88817241. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dbdd1dd4-57ec-4305-a7cf-07747d165772'] 2026-04-02 02:31:45,225 - WARNING - Deleting VN ctest-vn-90917068 failed..Will retry 2026-04-02 02:31:47,368 - DEBUG - Response for deleting network () 2026-04-02 02:31:47,368 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/5c40aacd-66cd-403d-ae17-8c6e4b81c3f3 2026-04-02 02:31:47,379 - DEBUG - Response Code: 404 2026-04-02 02:31:47,380 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:47,388 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:47,447 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:47,523 - INFO - Validated that VN ctest-vn-90917068 is not found in API Server 2026-04-02 02:31:47,535 - DEBUG - VN ctest-vn-90917068 is not present in Agent 10.0.0.22 2026-04-02 02:31:47,535 - INFO - Validated that VN ctest-vn-90917068 is not in any agent 2026-04-02 02:31:47,552 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-90917068 info 2026-04-02 02:31:47,552 - INFO - Deleting VN ctest-vn-56443380 2026-04-02 02:31:47,700 - DEBUG - Response for deleting network () 2026-04-02 02:31:47,700 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c581dc0b-ea9c-4bbf-a270-044500dff425 2026-04-02 02:31:47,707 - DEBUG - Response Code: 404 2026-04-02 02:31:47,708 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2026-04-02 02:31:47,715 - DEBUG - Requesting: http://10.0.0.22:8082/domain/cc192362-2178-4c81-a1c5-22de6770d012 2026-04-02 02:31:47,773 - DEBUG - Requesting: http://10.0.0.22:8082/project/1f3549c7-8d00-4972-8b8c-bb7bf01ac90b 2026-04-02 02:31:47,851 - INFO - Validated that VN ctest-vn-56443380 is not found in API Server 2026-04-02 02:31:47,861 - DEBUG - VN ctest-vn-56443380 is not present in Agent 10.0.0.22 2026-04-02 02:31:47,861 - INFO - Validated that VN ctest-vn-56443380 is not in any agent 2026-04-02 02:31:47,881 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56443380 info 2026-04-02 02:31:48,141 - DEBUG - No XMPP flaps were noticed during the test
2026-04-02 02:31:48,141 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36]
2026-04-02 02:31:48,141 - INFO - -------------------------------------------------------------------------------- 2026-04-02 02:31:48,897 - INFO - Deleted project: ctest-TestBasicPolicy-87801819, ID : 1f3549c7-8d00-4972-8b8c-bb7bf01ac90b