2026-11-02 19:28:27,222 - INFO - Domain Default found not creating 2026-11-02 19:28:27,432 - INFO - Project ctest-TestBasicPolicy-25240860 not found, creating it 2026-11-02 19:28:27,946 - INFO - Created Project:ctest-TestBasicPolicy-25240860, ID : dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:28:29,768 - INFO - ================================================================================ 2026-11-02 19:28:29,768 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-11-02 19:28:29,768 - 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-11-02 19:28:30,037 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-11-02 19:28:30,037 - INFO - Initial checks done. Running the testcase now 2026-11-02 19:28:30,037 - INFO - 2026-11-02 19:28:30,673 - DEBUG - Response for create_network : {'network': {'id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'name': 'ctest-vn-48119119', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-48119119'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:28:30,855 - DEBUG - Response for create_subnet : {'subnet': {'id': '4905607f-5611-4bda-95eb-965ebcae81e1', 'name': '', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'network_id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'ip_version': 4, 'cidr': '92.50.249.192/26', 'allocation_pools': [{'start': '92.50.249.194', 'end': '92.50.249.254'}], 'gateway_ip': '92.50.249.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.50.249.194', 'tags': [], 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1'}} 2026-11-02 19:28:30,873 - INFO - Created VN ctest-vn-48119119 2026-11-02 19:28:30,931 - DEBUG - VN ctest-vn-48119119 UUID is e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:31,241 - DEBUG - Response for create_network : {'network': {'id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'name': 'ctest-vn-30794650', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-30794650'], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:28:31,458 - DEBUG - Response for create_subnet : {'subnet': {'id': '731f7ca8-ee17-4400-9e08-dff4b0082027', 'name': '', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'network_id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'ip_version': 4, 'cidr': '123.93.130.192/26', 'allocation_pools': [{'start': '123.93.130.194', 'end': '123.93.130.254'}], 'gateway_ip': '123.93.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.93.130.194', 'tags': [], 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1'}} 2026-11-02 19:28:31,476 - INFO - Created VN ctest-vn-30794650 2026-11-02 19:28:31,531 - DEBUG - VN ctest-vn-30794650 UUID is 83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:31,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119, 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-25240860:ctest-vn-30794650, 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-11-02 19:28:32,010 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e598897d-881d-4c05-9ec8-9092f586e743', 'name': 'ctest-vn-48119119', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['4905607f-5611-4bda-95eb-965ebcae81e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-48119119'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']], 'subnet_ipam': [{'subnet_cidr': '92.50.249.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:28:32,253 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '83bd1db9-74a9-4f85-abee-d1536ab3a36e', 'name': 'ctest-vn-30794650', 'tenant_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'project_id': 'dbe0b384d0104606a6c0a61eadf6afa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['731f7ca8-ee17-4400-9e08-dff4b0082027'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-vn-30794650'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408']], 'subnet_ipam': [{'subnet_cidr': '123.93.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-11-02 19:28:32,412 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:28:32,791 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:28:32,824 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:28:32,837 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:28:32,934 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:32,945 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:32,954 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:28:32,962 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:28:32,970 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0856747-cf08-4ea9-a3d0-e0189f26e32f 2026-11-02 19:28:32,977 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 19:28:32,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:32,988 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:28:33,005 - INFO - Verified VN network id 12 for VN e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:33,005 - INFO - Verifications in API Server for VN ctest-vn-48119119 passed 2026-11-02 19:28:33,005 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:33,016 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:28:33,024 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:28:33,032 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f0856747-cf08-4ea9-a3d0-e0189f26e32f 2026-11-02 19:28:33,045 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25240860', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16544124403393055749', 'uuid-lslong': '11441553814193628995'}, 'enable': 'true', 'created': '2026-11-02T19:28:30', 'last-modified': '2026-11-02T19:28:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.062025'} 2026-11-02 19:28:33,053 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-11-02 19:28:33,053 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48119119 passed 2026-11-02 19:28:33,053 - DEBUG - ====Verifying policy data for ctest-vn-48119119 in API_Server ====== 2026-11-02 19:28:33,053 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:28:33,059 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:28:33,072 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:28:33,155 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e598897d-881d-4c05-9ec8-9092f586e743 2026-11-02 19:28:33,168 - DEBUG - ==>Verifying data for policy with id: 393feed3-cecf-42b9-a608-784742ed43eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408'] 2026-11-02 19:28:33,168 - INFO - VN ctest-vn-48119119 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 19:28:33,168 - DEBUG - Verifying the vn in opserver 2026-11-02 19:28:33,168 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119 virtual network link through opserver 10.0.0.38 2026-11-02 19:28:33,168 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 19:28:33,559 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 19:28:33,629 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119?flat'} 2026-11-02 19:28:33,629 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119 is found in opserver 2026-11-02 19:28:33,640 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 19:28:33,645 - DEBUG - VRF ids for VN ctest-vn-48119119: {} 2026-11-02 19:28:33,645 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:28:33,650 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:28:33,661 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:28:33,737 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:28:33,768 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:28:33,779 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3426c24-8a5f-4f80-a6a0-763d6ad3e036 2026-11-02 19:28:33,788 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 19:28:33,788 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,799 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:28:33,819 - INFO - Verified VN network id 13 for VN 83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,819 - INFO - Verifications in API Server for VN ctest-vn-30794650 passed 2026-11-02 19:28:33,819 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,831 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:28:33,840 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:28:33,846 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f3426c24-8a5f-4f80-a6a0-763d6ad3e036 2026-11-02 19:28:33,859 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-25240860', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9492776271930281861', 'uuid-lslong': '12389069781145461614'}, 'enable': 'true', 'created': '2026-11-02T19:28:31', 'last-modified': '2026-11-02T19:28:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.631016'} 2026-11-02 19:28:33,868 - DEBUG - Route Targets: ['target:64512:8000006'] 2026-11-02 19:28:33,868 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30794650 passed 2026-11-02 19:28:33,868 - DEBUG - ====Verifying policy data for ctest-vn-30794650 in API_Server ====== 2026-11-02 19:28:33,868 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:28:33,876 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:28:33,888 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:28:33,963 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/83bd1db9-74a9-4f85-abee-d1536ab3a36e 2026-11-02 19:28:33,978 - DEBUG - ==>Verifying data for policy with id: 393feed3-cecf-42b9-a608-784742ed43eb, fqn: ['default-domain', 'ctest-TestBasicPolicy-25240860', 'ctest-policy-allow-all-17950408'] 2026-11-02 19:28:33,978 - INFO - VN ctest-vn-30794650 Policy verification: verify_vn_policy_in_api_server, status: True 2026-11-02 19:28:33,978 - DEBUG - Verifying the vn in opserver 2026-11-02 19:28:33,978 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650 virtual network link through opserver 10.0.0.38 2026-11-02 19:28:33,978 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-11-02 19:28:33,992 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650?flat'} 2026-11-02 19:28:33,992 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-30794650 is found in opserver 2026-11-02 19:28:34,006 - DEBUG - Do not have enough data to verify VN in agent 2026-11-02 19:28:34,012 - DEBUG - VRF ids for VN ctest-vn-30794650: {} 2026-11-02 19:28:34,079 - DEBUG - Services list from nova: [, , ] 2026-11-02 19:28:34,617 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1) 2026-11-02 19:28:35,082 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6470-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6470-1) 2026-11-02 19:28:35,082 - INFO - Waiting for VM ctest-TestBasicPolicy-25240860-18602457 to be up.. 2026-11-02 19:28:35,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:28:40,237 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:28:45,329 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:28:50,415 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:28:55,502 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:29:00,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:29:05,678 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:29:10,773 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-11-02 19:29:15,871 - DEBUG - VM is in ACTIVE state now 2026-11-02 19:29:15,872 - INFO - VM name : ctest-TestBasicPolicy-25240860-18602457 2026-11-02 19:29:15,955 - DEBUG - VM ctest-TestBasicPolicy-25240860-18602457 ID is f1003627-cc29-4ceb-a204-3844a395b611 2026-11-02 19:29:15,978 - DEBUG - VM ctest-TestBasicPolicy-25240860-18602457 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1 2026-11-02 19:29:16,062 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f1003627-cc29-4ceb-a204-3844a395b611 2026-11-02 19:29:16,072 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/820dd085-2f27-4d4e-a2d0-51623784fc34 2026-11-02 19:29:19,355 - 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 1036ms') 2026-11-02 19:29:19,356 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25240860-18602457 failed! 2026-11-02 19:29:19,416 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-25240860:ctest-vn-48119119 is 92.50.249.193 and allocation pool is NOT set 2026-11-02 19:29:21,485 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 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.589/5.014/7.439/2.425 ms') 2026-11-02 19:29:21,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-25240860-18602457 passed 2026-11-02 19:29:21,643 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:29:21,643 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25240860-18602457, IP 92.50.249.195, Port 22 2026-11-02 19:29:21,710 - 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-11-02 19:29:21,806 - DEBUG - VM ctest-TestBasicPolicy-25240860-18602457 is NOT ready for SSH connections, VM status: ACTIVE 2026-11-02 19:29:26,806 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:29:26,806 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25240860-18602457, IP 92.50.249.195, Port 22 2026-11-02 19:29:26,977 - DEBUG - VM ctest-TestBasicPolicy-25240860-18602457 is ready for SSH connections 2026-11-02 19:29:26,977 - INFO - Waiting for VM ctest-TestBasicPolicy-25240860-05380027 to be up.. 2026-11-02 19:29:27,068 - DEBUG - VM is in ACTIVE state now 2026-11-02 19:29:27,068 - INFO - VM name : ctest-TestBasicPolicy-25240860-05380027 2026-11-02 19:29:27,158 - DEBUG - VM ctest-TestBasicPolicy-25240860-05380027 ID is 02bafa39-40a5-4f3c-a173-1a7ebde8cf4e 2026-11-02 19:29:27,158 - DEBUG - VM ctest-TestBasicPolicy-25240860-05380027 launched on Node cn-jenkins-deploy-platform-ansible-os-6470-1 2026-11-02 19:29:27,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/02bafa39-40a5-4f3c-a173-1a7ebde8cf4e 2026-11-02 19:29:27,251 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7cf5846c-676c-4a2a-880f-861586d757a4 2026-11-02 19:29:28,518 - 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=4.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.598 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.598/2.384/4.171/1.786 ms') 2026-11-02 19:29:28,518 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-25240860-05380027 passed 2026-11-02 19:29:28,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:29:28,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-25240860-05380027, IP 123.93.130.195, Port 22 2026-11-02 19:29:28,831 - DEBUG - VM ctest-TestBasicPolicy-25240860-05380027 is ready for SSH connections 2026-11-02 19:29:28,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:29:28,831 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.93.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 19:29:28,832 - DEBUG - ping -s 56 -c 3 -W 1 123.93.130.195 2026-11-02 19:29:32,855 - DEBUG - PING 123.93.130.195 (123.93.130.195): 56 data bytes 64 bytes from 123.93.130.195: seq=0 ttl=63 time=5.063 ms 64 bytes from 123.93.130.195: seq=1 ttl=63 time=0.971 ms 64 bytes from 123.93.130.195: seq=2 ttl=63 time=1.016 ms --- 123.93.130.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.350/5.063 ms 2026-11-02 19:29:32,855 - INFO - Ping to IP 123.93.130.195 from VM ctest-TestBasicPolicy-25240860-18602457 passed 2026-11-02 19:29:33,051 - DEBUG - Policy Update Response {"network-policy": {"uuid": "393feed3-cecf-42b9-a608-784742ed43eb", "href": "http://10.0.0.38:8082/network-policy/393feed3-cecf-42b9-a608-784742ed43eb"}} 2026-11-02 19:29:33,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-11-02 19:29:33,051 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.93.130.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-11-02 19:29:33,051 - DEBUG - ping -s 56 -c 3 -W 1 123.93.130.195 2026-11-02 19:29:36,198 - DEBUG - PING 123.93.130.195 (123.93.130.195): 56 data bytes 64 bytes from 123.93.130.195: seq=0 ttl=63 time=1.874 ms --- 123.93.130.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.874/1.874/1.874 ms 2026-11-02 19:29:36,198 - WARNING - Ping to IP 123.93.130.195 from VM ctest-TestBasicPolicy-25240860-18602457 failed 2026-11-02 19:29:36,198 - INFO - Deleting VM ctest-TestBasicPolicy-25240860-05380027 2026-11-02 19:29:36,270 - INFO - Deleting VM ctest-TestBasicPolicy-25240860-18602457 2026-11-02 19:29:36,662 - INFO - Deleted policy ctest-policy-allow-all-17950408 2026-11-02 19:29:36,662 - INFO - Deleting VN ctest-vn-30794650 2026-11-02 19:29:36,696 - DEBUG - VN 83bd1db9-74a9-4f85-abee-d1536ab3a36e still in use: Unable to complete operation on network 83bd1db9-74a9-4f85-abee-d1536ab3a36e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9408357c-2499-4c74-8fcf-141d93a79a3c'] 2026-11-02 19:29:36,697 - WARNING - Deleting VN ctest-vn-30794650 failed..Will retry 2026-11-02 19:29:38,730 - DEBUG - VN 83bd1db9-74a9-4f85-abee-d1536ab3a36e still in use: Unable to complete operation on network 83bd1db9-74a9-4f85-abee-d1536ab3a36e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f249fd26-70d9-4690-b10a-2139093718d3'] 2026-11-02 19:29:38,730 - WARNING - Deleting VN ctest-vn-30794650 failed..Will retry 2026-11-02 19:29:40,829 - DEBUG - Response for deleting network () 2026-11-02 19:29:40,829 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8490a250-950b-4ac7-814a-0e05ddd9d167 2026-11-02 19:29:40,834 - DEBUG - Response Code: 404 2026-11-02 19:29:40,834 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:29:40,842 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:29:40,894 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:29:40,973 - INFO - Validated that VN ctest-vn-30794650 is not found in API Server 2026-11-02 19:29:40,984 - DEBUG - VN ctest-vn-30794650 is not present in Agent 10.0.0.38 2026-11-02 19:29:40,984 - INFO - Validated that VN ctest-vn-30794650 is not in any agent 2026-11-02 19:29:40,998 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30794650 info 2026-11-02 19:29:40,998 - INFO - Deleting VN ctest-vn-48119119 2026-11-02 19:29:41,103 - DEBUG - Response for deleting network () 2026-11-02 19:29:41,104 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/e0510c42-ec9e-4a4a-bbe7-fab13f04180e 2026-11-02 19:29:41,108 - DEBUG - Response Code: 404 2026-11-02 19:29:41,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-11-02 19:29:41,113 - DEBUG - Requesting: http://10.0.0.38:8082/domain/ff097619-f248-4178-8a91-adf0cb7d2f06 2026-11-02 19:29:41,164 - DEBUG - Requesting: http://10.0.0.38:8082/project/dbe0b384-d010-4606-a6c0-a61eadf6afa1 2026-11-02 19:29:41,236 - INFO - Validated that VN ctest-vn-48119119 is not found in API Server 2026-11-02 19:29:41,245 - DEBUG - VN ctest-vn-48119119 is not present in Agent 10.0.0.38 2026-11-02 19:29:41,245 - INFO - Validated that VN ctest-vn-48119119 is not in any agent 2026-11-02 19:29:41,259 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48119119 info 2026-11-02 19:29:41,517 - DEBUG - No XMPP flaps were noticed during the test 2026-11-02 19:29:41,517 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:12] 2026-11-02 19:29:41,518 - INFO - -------------------------------------------------------------------------------- 2026-11-02 19:29:42,280 - INFO - Deleted project: ctest-TestBasicPolicy-25240860, ID : dbe0b384-d010-4606-a6c0-a61eadf6afa1