2026-02-07 11:37:13,698 - INFO - Domain Default found not creating 2026-02-07 11:37:14,171 - INFO - Project ctest-TestBasicPolicy-30473569 not found, creating it 2026-02-07 11:37:14,944 - INFO - Created Project:ctest-TestBasicPolicy-30473569, ID : 84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:17,281 - INFO - ================================================================================ 2026-02-07 11:37:17,281 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-07 11:37:17,282 - 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-02-07 11:37:17,608 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-07 11:37:17,608 - INFO - Initial checks done. Running the testcase now 2026-02-07 11:37:17,608 - INFO - 2026-02-07 11:37:18,517 - DEBUG - Response for create_network : {'network': {'id': 'e44da176-6958-429e-ae24-3a6c277de3ea', 'name': 'ctest-vn-40874595', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'project_id': '84d1fb4cd5494794a283a6136adb46f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-vn-40874595'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:37:18,779 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb9490a6-9186-4a82-83ba-3d3aa5562ef8', 'name': '', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'network_id': 'e44da176-6958-429e-ae24-3a6c277de3ea', 'ip_version': 4, 'cidr': '96.212.6.0/26', 'allocation_pools': [{'start': '96.212.6.2', 'end': '96.212.6.62'}], 'gateway_ip': '96.212.6.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.212.6.2', 'tags': [], 'project_id': '84d1fb4cd5494794a283a6136adb46f7'}} 2026-02-07 11:37:18,802 - INFO - Created VN ctest-vn-40874595 2026-02-07 11:37:18,861 - DEBUG - VN ctest-vn-40874595 UUID is e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:19,154 - DEBUG - Response for create_network : {'network': {'id': '9d385b5c-f36e-4071-9d23-3d241eed41ef', 'name': 'ctest-vn-58808712', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'project_id': '84d1fb4cd5494794a283a6136adb46f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-vn-58808712'], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:37:19,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '59038262-846b-4ee3-a005-654374bff199', 'name': '', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'network_id': '9d385b5c-f36e-4071-9d23-3d241eed41ef', 'ip_version': 4, 'cidr': '21.15.201.128/26', 'allocation_pools': [{'start': '21.15.201.130', 'end': '21.15.201.190'}], 'gateway_ip': '21.15.201.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.15.201.130', 'tags': [], 'project_id': '84d1fb4cd5494794a283a6136adb46f7'}} 2026-02-07 11:37:19,355 - INFO - Created VN ctest-vn-58808712 2026-02-07 11:37:19,409 - DEBUG - VN ctest-vn-58808712 UUID is 9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:19,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595, 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-30473569:ctest-vn-58808712, 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-02-07 11:37:19,947 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e44da176-6958-429e-ae24-3a6c277de3ea', 'name': 'ctest-vn-40874595', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'project_id': '84d1fb4cd5494794a283a6136adb46f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cb9490a6-9186-4a82-83ba-3d3aa5562ef8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-vn-40874595'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-policy-allow-all-16104368']], 'subnet_ipam': [{'subnet_cidr': '96.212.6.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:37:20,338 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9d385b5c-f36e-4071-9d23-3d241eed41ef', 'name': 'ctest-vn-58808712', 'tenant_id': '84d1fb4cd5494794a283a6136adb46f7', 'project_id': '84d1fb4cd5494794a283a6136adb46f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['59038262-846b-4ee3-a005-654374bff199'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-vn-58808712'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-policy-allow-all-16104368']], 'subnet_ipam': [{'subnet_cidr': '21.15.201.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-07 11:37:20,482 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:20,849 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:20,916 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:20,950 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:21,044 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,059 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,075 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:21,086 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:21,097 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/845c83b4-021d-4509-addc-bd73868ac174 2026-02-07 11:37:21,108 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-07 11:37:21,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,124 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:21,150 - INFO - Verified VN network id 11 for VN e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,150 - INFO - Verifications in API Server for VN ctest-vn-40874595 passed 2026-02-07 11:37:21,151 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:21,181 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:21,192 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/845c83b4-021d-4509-addc-bd73868ac174 2026-02-07 11:37:21,212 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30473569', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16450982543799894686', 'uuid-lslong': '12548218697954485226'}, 'enable': 'true', 'created': '2026-02-07T11:37:18', 'last-modified': '2026-02-07T11:37:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.297509'} 2026-02-07 11:37:21,224 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-07 11:37:21,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40874595 passed 2026-02-07 11:37:21,225 - DEBUG - ====Verifying policy data for ctest-vn-40874595 in API_Server ====== 2026-02-07 11:37:21,225 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:21,233 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:21,253 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:21,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/e44da176-6958-429e-ae24-3a6c277de3ea 2026-02-07 11:37:21,400 - DEBUG - ==>Verifying data for policy with id: 8da55301-7924-4fb9-a409-47d09a9fcf51, fqn: ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-policy-allow-all-16104368'] 2026-02-07 11:37:21,400 - INFO - VN ctest-vn-40874595 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-07 11:37:21,400 - DEBUG - Verifying the vn in opserver 2026-02-07 11:37:21,400 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595 virtual network link through opserver 10.0.0.38 2026-02-07 11:37:21,400 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-07 11:37:21,740 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-07 11:37:21,841 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595?flat'} 2026-02-07 11:37:21,841 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595 is found in opserver 2026-02-07 11:37:21,862 - DEBUG - Do not have enough data to verify VN in agent 2026-02-07 11:37:21,871 - DEBUG - VRF ids for VN ctest-vn-40874595: {} 2026-02-07 11:37:21,871 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:21,880 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:21,891 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:21,976 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:21,996 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:22,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:22,027 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:22,038 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7554c622-9f0b-4096-867c-71c426183fa3 2026-02-07 11:37:22,050 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-07 11:37:22,050 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:22,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:22,087 - INFO - Verified VN network id 12 for VN 9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:22,087 - INFO - Verifications in API Server for VN ctest-vn-58808712 passed 2026-02-07 11:37:22,087 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:22,108 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:22,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:22,136 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/7554c622-9f0b-4096-867c-71c426183fa3 2026-02-07 11:37:22,157 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-58808712', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-30473569', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11328905317429690481', 'uuid-lslong': '11322961113486541295'}, 'enable': 'true', 'created': '2026-02-07T11:37:19', 'last-modified': '2026-02-07T11:37:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.901969'} 2026-02-07 11:37:22,163 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-07 11:37:22,163 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58808712 passed 2026-02-07 11:37:22,163 - DEBUG - ====Verifying policy data for ctest-vn-58808712 in API_Server ====== 2026-02-07 11:37:22,163 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:22,169 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:22,179 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:22,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/9d385b5c-f36e-4071-9d23-3d241eed41ef 2026-02-07 11:37:22,280 - DEBUG - ==>Verifying data for policy with id: 8da55301-7924-4fb9-a409-47d09a9fcf51, fqn: ['default-domain', 'ctest-TestBasicPolicy-30473569', 'ctest-policy-allow-all-16104368'] 2026-02-07 11:37:22,280 - INFO - VN ctest-vn-58808712 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-07 11:37:22,280 - DEBUG - Verifying the vn in opserver 2026-02-07 11:37:22,280 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-58808712 virtual network link through opserver 10.0.0.38 2026-02-07 11:37:22,280 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2026-02-07 11:37:22,294 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-58808712', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-58808712?flat'} 2026-02-07 11:37:22,294 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-58808712 is found in opserver 2026-02-07 11:37:22,308 - DEBUG - Do not have enough data to verify VN in agent 2026-02-07 11:37:22,313 - DEBUG - VRF ids for VN ctest-vn-58808712: {} 2026-02-07 11:37:22,388 - DEBUG - Services list from nova: [, , ] 2026-02-07 11:37:23,746 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1) 2026-02-07 11:37:25,152 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5230-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5230-1) 2026-02-07 11:37:25,153 - INFO - Waiting for VM ctest-TestBasicPolicy-30473569-42040433 to be up.. 2026-02-07 11:37:25,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-07 11:37:30,514 - DEBUG - VM is in ACTIVE state now 2026-02-07 11:37:30,514 - INFO - VM name : ctest-TestBasicPolicy-30473569-42040433 2026-02-07 11:37:30,698 - DEBUG - VM ctest-TestBasicPolicy-30473569-42040433 ID is 28a6e120-2011-4970-9903-c2f5f1252d1c 2026-02-07 11:37:30,746 - DEBUG - VM ctest-TestBasicPolicy-30473569-42040433 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1 2026-02-07 11:37:30,927 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28a6e120-2011-4970-9903-c2f5f1252d1c 2026-02-07 11:37:30,944 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bc237d44-af75-4913-a676-0176514765fe 2026-02-07 11:37:34,293 - 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 1021ms') 2026-02-07 11:37:34,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30473569-42040433 failed! 2026-02-07 11:37:34,349 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-30473569:ctest-vn-40874595 is 96.212.6.1 and allocation pool is NOT set 2026-02-07 11:37:36,426 - 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.47 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.95 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.954/4.712/7.471/2.758 ms') 2026-02-07 11:37:36,427 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-30473569-42040433 passed 2026-02-07 11:37:36,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:37:36,590 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30473569-42040433, IP 96.212.6.3, Port 22 2026-02-07 11:37:36,662 - 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-02-07 11:37:36,773 - DEBUG - VM ctest-TestBasicPolicy-30473569-42040433 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-07 11:37:41,774 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:37:41,775 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30473569-42040433, IP 96.212.6.3, Port 22 2026-02-07 11:37:41,984 - DEBUG - VM ctest-TestBasicPolicy-30473569-42040433 is ready for SSH connections 2026-02-07 11:37:41,984 - INFO - Waiting for VM ctest-TestBasicPolicy-30473569-27748909 to be up.. 2026-02-07 11:37:42,214 - DEBUG - VM is in ACTIVE state now 2026-02-07 11:37:42,214 - INFO - VM name : ctest-TestBasicPolicy-30473569-27748909 2026-02-07 11:37:42,527 - DEBUG - VM ctest-TestBasicPolicy-30473569-27748909 ID is 1b14f160-4fe3-4373-bea4-e388bb27e932 2026-02-07 11:37:42,528 - DEBUG - VM ctest-TestBasicPolicy-30473569-27748909 launched on Node cn-jenkins-deploy-platform-ansible-os-5230-1 2026-02-07 11:37:42,686 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/1b14f160-4fe3-4373-bea4-e388bb27e932 2026-02-07 11:37:42,699 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/09a3cc58-aba5-4cb7-8a48-7a524af99df2 2026-02-07 11:37:44,021 - 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=10.5 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.743 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.743/5.620/10.498/4.877 ms') 2026-02-07 11:37:44,021 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-30473569-27748909 passed 2026-02-07 11:37:44,202 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:37:44,202 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-30473569-27748909, IP 21.15.201.131, Port 22 2026-02-07 11:37:44,400 - DEBUG - VM ctest-TestBasicPolicy-30473569-27748909 is ready for SSH connections 2026-02-07 11:37:44,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:37:44,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.15.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-07 11:37:44,401 - DEBUG - ping -s 56 -c 3 -W 1 21.15.201.131 2026-02-07 11:37:49,035 - DEBUG - PING 21.15.201.131 (21.15.201.131): 56 data bytes 64 bytes from 21.15.201.131: seq=0 ttl=63 time=6.152 ms 64 bytes from 21.15.201.131: seq=1 ttl=63 time=5.951 ms 64 bytes from 21.15.201.131: seq=2 ttl=63 time=3.388 ms --- 21.15.201.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 3.388/5.163/6.152 ms 2026-02-07 11:37:49,036 - INFO - Ping to IP 21.15.201.131 from VM ctest-TestBasicPolicy-30473569-42040433 passed 2026-02-07 11:37:49,293 - DEBUG - Policy Update Response {"network-policy": {"uuid": "8da55301-7924-4fb9-a409-47d09a9fcf51", "href": "http://10.0.0.38:8082/network-policy/8da55301-7924-4fb9-a409-47d09a9fcf51"}} 2026-02-07 11:37:49,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-07 11:37:49,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 21.15.201.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-07 11:37:49,294 - DEBUG - ping -s 56 -c 3 -W 1 21.15.201.131 2026-02-07 11:37:52,652 - DEBUG - PING 21.15.201.131 (21.15.201.131): 56 data bytes --- 21.15.201.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-07 11:37:52,652 - WARNING - Ping to IP 21.15.201.131 from VM ctest-TestBasicPolicy-30473569-42040433 failed 2026-02-07 11:37:52,653 - INFO - Deleting VM ctest-TestBasicPolicy-30473569-27748909 2026-02-07 11:37:52,816 - INFO - Deleting VM ctest-TestBasicPolicy-30473569-42040433 2026-02-07 11:37:53,411 - INFO - Deleted policy ctest-policy-allow-all-16104368 2026-02-07 11:37:53,411 - INFO - Deleting VN ctest-vn-58808712 2026-02-07 11:37:53,458 - DEBUG - VN 9d385b5c-f36e-4071-9d23-3d241eed41ef still in use: Unable to complete operation on network 9d385b5c-f36e-4071-9d23-3d241eed41ef. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-efb11611-3804-482b-8515-89d0ef91531e'] 2026-02-07 11:37:53,458 - WARNING - Deleting VN ctest-vn-58808712 failed..Will retry 2026-02-07 11:37:55,672 - DEBUG - Response for deleting network () 2026-02-07 11:37:55,673 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/cbfc53c8-800f-4628-ac83-74fbe401d29e 2026-02-07 11:37:55,681 - DEBUG - Response Code: 404 2026-02-07 11:37:55,682 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:55,689 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:55,745 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:55,838 - INFO - Validated that VN ctest-vn-58808712 is not found in API Server 2026-02-07 11:37:55,854 - DEBUG - VN ctest-vn-58808712 is not present in Agent 10.0.0.38 2026-02-07 11:37:55,854 - INFO - Validated that VN ctest-vn-58808712 is not in any agent 2026-02-07 11:37:55,880 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58808712 info 2026-02-07 11:37:55,880 - INFO - Deleting VN ctest-vn-40874595 2026-02-07 11:37:56,052 - DEBUG - Response for deleting network () 2026-02-07 11:37:56,052 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2470e05d-f090-47f9-a609-6dd2a7a4dd92 2026-02-07 11:37:56,061 - DEBUG - Response Code: 404 2026-02-07 11:37:56,061 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2026-02-07 11:37:56,069 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6f9aac57-0177-49f6-ac0e-7162fee2631b 2026-02-07 11:37:56,135 - DEBUG - Requesting: http://10.0.0.38:8082/project/84d1fb4c-d549-4794-a283-a6136adb46f7 2026-02-07 11:37:56,248 - INFO - Validated that VN ctest-vn-40874595 is not found in API Server 2026-02-07 11:37:56,269 - DEBUG - VN ctest-vn-40874595 is not present in Agent 10.0.0.38 2026-02-07 11:37:56,269 - INFO - Validated that VN ctest-vn-40874595 is not in any agent 2026-02-07 11:37:56,299 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-40874595 info 2026-02-07 11:37:56,616 - DEBUG - No XMPP flaps were noticed during the test
2026-02-07 11:37:56,616 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:39]
2026-02-07 11:37:56,616 - INFO - -------------------------------------------------------------------------------- 2026-02-07 11:37:57,487 - INFO - Deleted project: ctest-TestBasicPolicy-30473569, ID : 84d1fb4c-d549-4794-a283-a6136adb46f7