2026-05-18 02:10:34,533 - INFO - Domain Default found not creating 2026-05-18 02:10:34,705 - INFO - Project ctest-TestBasicPolicy-54023864 not found, creating it 2026-05-18 02:10:35,161 - INFO - Created Project:ctest-TestBasicPolicy-54023864, ID : d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:10:36,627 - INFO - ================================================================================ 2026-05-18 02:10:36,627 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-18 02:10:36,627 - 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-18 02:10:36,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with 2026-05-18 02:10:36,890 - INFO - Initial checks done. Running the testcase now 2026-05-18 02:10:36,890 - INFO - 2026-05-18 02:10:37,434 - DEBUG - Response for create_network : {'network': {'id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'name': 'ctest-vn-77265996', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-77265996'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:10:37,624 - DEBUG - Response for create_subnet : {'subnet': {'id': '06a76ea8-4dfe-4d53-a137-ab67c7ffd010', 'name': '', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'network_id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'ip_version': 4, 'cidr': '210.150.139.0/26', 'allocation_pools': [{'start': '210.150.139.2', 'end': '210.150.139.62'}], 'gateway_ip': '210.150.139.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.150.139.2', 'tags': [], 'project_id': 'd113faec06764d84aff9bcdab10c8427'}} 2026-05-18 02:10:37,642 - INFO - Created VN ctest-vn-77265996 2026-05-18 02:10:37,693 - DEBUG - VN ctest-vn-77265996 UUID is c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:37,976 - DEBUG - Response for create_network : {'network': {'id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'name': 'ctest-vn-52668095', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-52668095'], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:10:38,169 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5d8b9f4-bf07-48a4-af58-7ff2390d3939', 'name': '', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'network_id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'ip_version': 4, 'cidr': '201.68.196.192/26', 'allocation_pools': [{'start': '201.68.196.194', 'end': '201.68.196.254'}], 'gateway_ip': '201.68.196.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.68.196.194', 'tags': [], 'project_id': 'd113faec06764d84aff9bcdab10c8427'}} 2026-05-18 02:10:38,186 - INFO - Created VN ctest-vn-52668095 2026-05-18 02:10:38,237 - DEBUG - VN ctest-vn-52668095 UUID is caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:38,351 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996, 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-54023864:ctest-vn-52668095, 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-18 02:10:38,644 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c740e53e-fc08-4a2c-a9ca-3835de823884', 'name': 'ctest-vn-77265996', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06a76ea8-4dfe-4d53-a137-ab67c7ffd010'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-77265996'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']], 'subnet_ipam': [{'subnet_cidr': '210.150.139.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:10:38,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'caa5e1a3-b7c6-494a-8a7d-d7a32c399465', 'name': 'ctest-vn-52668095', 'tenant_id': 'd113faec06764d84aff9bcdab10c8427', 'project_id': 'd113faec06764d84aff9bcdab10c8427', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c5d8b9f4-bf07-48a4-af58-7ff2390d3939'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-vn-52668095'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252']], 'subnet_ipam': [{'subnet_cidr': '201.68.196.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-18 02:10:39,029 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:10:39,318 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:10:39,348 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:10:39,360 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:10:39,435 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,446 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,456 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:10:39,462 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:10:39,469 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97d4f737-fd29-4528-9e4a-882a81bb960c 2026-05-18 02:10:39,475 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:10:39,475 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,483 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:10:39,498 - INFO - Verified VN network id 11 for VN c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,498 - INFO - Verifications in API Server for VN ctest-vn-77265996 passed 2026-05-18 02:10:39,498 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,507 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:10:39,513 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:10:39,519 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/97d4f737-fd29-4528-9e4a-882a81bb960c 2026-05-18 02:10:39,530 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023864', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14357727670736276012', 'uuid-lslong': '12234653141722871940'}, 'enable': 'true', 'created': '2026-05-18T02:10:37', 'last-modified': '2026-05-18T02:10:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.907296'} 2026-05-18 02:10:39,567 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-18 02:10:39,567 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-77265996 passed 2026-05-18 02:10:39,567 - DEBUG - ====Verifying policy data for ctest-vn-77265996 in API_Server ====== 2026-05-18 02:10:39,567 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:10:39,572 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:10:39,583 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:10:39,652 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c740e53e-fc08-4a2c-a9ca-3835de823884 2026-05-18 02:10:39,660 - DEBUG - ==>Verifying data for policy with id: 6f3381ff-1eb1-4613-b073-10be075faefd, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252'] 2026-05-18 02:10:39,660 - INFO - VN ctest-vn-77265996 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:10:39,660 - DEBUG - Verifying the vn in opserver 2026-05-18 02:10:39,660 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996 virtual network link through opserver 10.0.0.19 2026-05-18 02:10:39,660 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-18 02:10:39,953 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-18 02:10:40,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996?flat'} 2026-05-18 02:10:40,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996 is found in opserver 2026-05-18 02:10:40,026 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:10:40,032 - DEBUG - VRF ids for VN ctest-vn-77265996: {} 2026-05-18 02:10:40,033 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:10:40,038 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:10:40,049 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:10:40,123 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,136 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,146 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:10:40,154 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:10:40,162 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f50a6293-67d6-421c-a2e4-62263bb6d07d 2026-05-18 02:10:40,169 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 02:10:40,169 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,180 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:10:40,197 - INFO - Verified VN network id 12 for VN caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,197 - INFO - Verifications in API Server for VN ctest-vn-52668095 passed 2026-05-18 02:10:40,197 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,207 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:10:40,215 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:10:40,223 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/f50a6293-67d6-421c-a2e4-62263bb6d07d 2026-05-18 02:10:40,236 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54023864', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14602325460097845578', 'uuid-lslong': '9979369445144499301'}, 'enable': 'true', 'created': '2026-05-18T02:10:37', 'last-modified': '2026-05-18T02:10:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.388906'} 2026-05-18 02:10:40,242 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-18 02:10:40,242 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52668095 passed 2026-05-18 02:10:40,243 - DEBUG - ====Verifying policy data for ctest-vn-52668095 in API_Server ====== 2026-05-18 02:10:40,243 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:10:40,248 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:10:40,259 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:10:40,330 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/caa5e1a3-b7c6-494a-8a7d-d7a32c399465 2026-05-18 02:10:40,341 - DEBUG - ==>Verifying data for policy with id: 6f3381ff-1eb1-4613-b073-10be075faefd, fqn: ['default-domain', 'ctest-TestBasicPolicy-54023864', 'ctest-policy-allow-all-84449252'] 2026-05-18 02:10:40,341 - INFO - VN ctest-vn-52668095 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-18 02:10:40,341 - DEBUG - Verifying the vn in opserver 2026-05-18 02:10:40,341 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095 virtual network link through opserver 10.0.0.19 2026-05-18 02:10:40,341 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks 2026-05-18 02:10:40,352 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095?flat'} 2026-05-18 02:10:40,352 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-52668095 is found in opserver 2026-05-18 02:10:40,361 - DEBUG - Do not have enough data to verify VN in agent 2026-05-18 02:10:40,365 - DEBUG - VRF ids for VN ctest-vn-52668095: {} 2026-05-18 02:10:40,424 - DEBUG - Services list from nova: [, , ] 2026-05-18 02:10:41,427 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5791-1) 2026-05-18 02:10:42,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5791-1) 2026-05-18 02:10:42,573 - INFO - Waiting for VM ctest-TestBasicPolicy-54023864-36520186 to be up.. 2026-05-18 02:10:42,656 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-18 02:10:47,743 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:10:47,743 - INFO - VM name : ctest-TestBasicPolicy-54023864-36520186 2026-05-18 02:10:47,820 - DEBUG - VM ctest-TestBasicPolicy-54023864-36520186 ID is 64185102-c4c2-4ad4-a302-4bf615116ebb 2026-05-18 02:10:47,842 - DEBUG - VM ctest-TestBasicPolicy-54023864-36520186 launched on Node cn-jenkins-deploy-platform-ansible-os-5791-1 2026-05-18 02:10:47,922 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/64185102-c4c2-4ad4-a302-4bf615116ebb 2026-05-18 02:10:47,931 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6aa3c283-6a59-46bd-93c4-4d53182ca84f 2026-05-18 02:10:51,197 - 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 1030ms') 2026-05-18 02:10:51,197 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54023864-36520186 failed! 2026-05-18 02:10:51,253 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-54023864:ctest-vn-77265996 is 210.150.139.1 and allocation pool is NOT set 2026-05-18 02:10:53,317 - 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=9.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.983/5.620/9.257/3.637 ms') 2026-05-18 02:10:53,317 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-54023864-36520186 passed 2026-05-18 02:10:53,468 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:53,468 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023864-36520186, IP 210.150.139.3, Port 22 2026-05-18 02:10:53,535 - 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-18 02:10:53,612 - DEBUG - VM ctest-TestBasicPolicy-54023864-36520186 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-18 02:10:58,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:10:58,613 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023864-36520186, IP 210.150.139.3, Port 22 2026-05-18 02:10:58,769 - DEBUG - VM ctest-TestBasicPolicy-54023864-36520186 is ready for SSH connections 2026-05-18 02:10:58,769 - INFO - Waiting for VM ctest-TestBasicPolicy-54023864-24046515 to be up.. 2026-05-18 02:10:58,847 - DEBUG - VM is in ACTIVE state now 2026-05-18 02:10:58,847 - INFO - VM name : ctest-TestBasicPolicy-54023864-24046515 2026-05-18 02:10:58,922 - DEBUG - VM ctest-TestBasicPolicy-54023864-24046515 ID is 1d2fbf2f-912a-4acf-9edd-2dae2ad1fe17 2026-05-18 02:10:58,922 - DEBUG - VM ctest-TestBasicPolicy-54023864-24046515 launched on Node cn-jenkins-deploy-platform-ansible-os-5791-1 2026-05-18 02:10:59,001 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/1d2fbf2f-912a-4acf-9edd-2dae2ad1fe17 2026-05-18 02:10:59,009 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/ed517138-98e2-4c56-b40e-c3b609970dd8 2026-05-18 02:11:00,278 - 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.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.431 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.431/1.621/2.812/1.190 ms') 2026-05-18 02:11:00,278 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-54023864-24046515 passed 2026-05-18 02:11:00,429 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:11:00,429 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-54023864-24046515, IP 201.68.196.195, Port 22 2026-05-18 02:11:00,584 - DEBUG - VM ctest-TestBasicPolicy-54023864-24046515 is ready for SSH connections 2026-05-18 02:11:00,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:11:00,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.68.196.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-18 02:11:00,584 - DEBUG - ping -s 56 -c 3 -W 1 201.68.196.195 2026-05-18 02:11:04,645 - DEBUG - PING 201.68.196.195 (201.68.196.195): 56 data bytes 64 bytes from 201.68.196.195: seq=0 ttl=63 time=3.559 ms 64 bytes from 201.68.196.195: seq=1 ttl=63 time=0.763 ms 64 bytes from 201.68.196.195: seq=2 ttl=63 time=0.954 ms --- 201.68.196.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.758/3.559 ms 2026-05-18 02:11:04,645 - INFO - Ping to IP 201.68.196.195 from VM ctest-TestBasicPolicy-54023864-36520186 passed 2026-05-18 02:11:04,821 - DEBUG - Policy Update Response {"network-policy": {"uuid": "6f3381ff-1eb1-4613-b073-10be075faefd", "href": "http://10.0.0.19:8082/network-policy/6f3381ff-1eb1-4613-b073-10be075faefd"}} 2026-05-18 02:11:04,821 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-18 02:11:04,821 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 201.68.196.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-05-18 02:11:04,821 - DEBUG - ping -s 56 -c 3 -W 1 201.68.196.195 2026-05-18 02:11:08,053 - DEBUG - PING 201.68.196.195 (201.68.196.195): 56 data bytes --- 201.68.196.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-18 02:11:08,054 - WARNING - Ping to IP 201.68.196.195 from VM ctest-TestBasicPolicy-54023864-36520186 failed 2026-05-18 02:11:08,054 - INFO - Deleting VM ctest-TestBasicPolicy-54023864-24046515 2026-05-18 02:11:08,118 - INFO - Deleting VM ctest-TestBasicPolicy-54023864-36520186 2026-05-18 02:11:08,475 - INFO - Deleted policy ctest-policy-allow-all-84449252 2026-05-18 02:11:08,475 - INFO - Deleting VN ctest-vn-52668095 2026-05-18 02:11:08,521 - DEBUG - VN caa5e1a3-b7c6-494a-8a7d-d7a32c399465 still in use: Unable to complete operation on network caa5e1a3-b7c6-494a-8a7d-d7a32c399465. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6e6dc001-0d4f-4605-ac6e-e67743382554'] 2026-05-18 02:11:08,521 - WARNING - Deleting VN ctest-vn-52668095 failed..Will retry 2026-05-18 02:11:10,610 - DEBUG - Response for deleting network () 2026-05-18 02:11:10,610 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/64cbeff1-7522-4a94-b2c9-48a01ce1f936 2026-05-18 02:11:10,617 - DEBUG - Response Code: 404 2026-05-18 02:11:10,617 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:11:10,622 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:11:10,675 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:11:10,741 - INFO - Validated that VN ctest-vn-52668095 is not found in API Server 2026-05-18 02:11:10,750 - DEBUG - VN ctest-vn-52668095 is not present in Agent 10.0.0.19 2026-05-18 02:11:10,750 - INFO - Validated that VN ctest-vn-52668095 is not in any agent 2026-05-18 02:11:10,763 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-52668095 info 2026-05-18 02:11:10,763 - INFO - Deleting VN ctest-vn-77265996 2026-05-18 02:11:10,856 - DEBUG - Response for deleting network () 2026-05-18 02:11:10,856 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/cb74d1e9-fed8-4f7c-90ad-2e4a58f654fe 2026-05-18 02:11:10,864 - DEBUG - Response Code: 404 2026-05-18 02:11:10,864 - DEBUG - Requesting: http://10.0.0.19:8082/domains 2026-05-18 02:11:10,870 - DEBUG - Requesting: http://10.0.0.19:8082/domain/8873ed90-408b-4729-837a-11ebc2ac97ca 2026-05-18 02:11:10,921 - DEBUG - Requesting: http://10.0.0.19:8082/project/d113faec-0676-4d84-aff9-bcdab10c8427 2026-05-18 02:11:10,988 - INFO - Validated that VN ctest-vn-77265996 is not found in API Server 2026-05-18 02:11:10,997 - DEBUG - VN ctest-vn-77265996 is not present in Agent 10.0.0.19 2026-05-18 02:11:10,997 - INFO - Validated that VN ctest-vn-77265996 is not in any agent 2026-05-18 02:11:11,010 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-77265996 info 2026-05-18 02:11:11,265 - DEBUG - No XMPP flaps were noticed during the test
2026-05-18 02:11:11,265 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2026-05-18 02:11:11,265 - INFO - -------------------------------------------------------------------------------- 2026-05-18 02:11:11,928 - INFO - Deleted project: ctest-TestBasicPolicy-54023864, ID : d113faec-0676-4d84-aff9-bcdab10c8427