2026-08-20 10:53:46,738 - INFO - Domain Default found not creating 2026-08-20 10:53:46,931 - INFO - Project ctest-TestBasicPolicy-36212429 not found, creating it 2026-08-20 10:53:47,453 - INFO - Created Project:ctest-TestBasicPolicy-36212429, ID : 02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:53:49,204 - INFO - ================================================================================ 2026-08-20 10:53:49,204 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-08-20 10:53:49,204 - 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-08-20 10:53:49,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.14': '0'}} with 2026-08-20 10:53:49,476 - INFO - Initial checks done. Running the testcase now 2026-08-20 10:53:49,476 - INFO - 2026-08-20 10:53:50,123 - DEBUG - Response for create_network : {'network': {'id': 'ab51fd7c-2eec-4c18-938b-a1e1d130fbca', 'name': 'ctest-vn-05922020', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-vn-05922020'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:53:50,353 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbf3102f-e61d-4ce1-92c3-ad1bb4030fc9', 'name': '', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'network_id': 'ab51fd7c-2eec-4c18-938b-a1e1d130fbca', 'ip_version': 4, 'cidr': '66.5.235.0/26', 'allocation_pools': [{'start': '66.5.235.2', 'end': '66.5.235.62'}], 'gateway_ip': '66.5.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.5.235.2', 'tags': [], 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9'}} 2026-08-20 10:53:50,373 - INFO - Created VN ctest-vn-05922020 2026-08-20 10:53:50,426 - DEBUG - VN ctest-vn-05922020 UUID is ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:50,771 - DEBUG - Response for create_network : {'network': {'id': 'ffb768f6-cb3f-4576-9119-ee7872615685', 'name': 'ctest-vn-37682331', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-vn-37682331'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:53:50,951 - DEBUG - Response for create_subnet : {'subnet': {'id': '591e36e4-8b91-4df4-8f99-b7c6afe66c54', 'name': '', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'network_id': 'ffb768f6-cb3f-4576-9119-ee7872615685', 'ip_version': 4, 'cidr': '35.219.63.192/26', 'allocation_pools': [{'start': '35.219.63.194', 'end': '35.219.63.254'}], 'gateway_ip': '35.219.63.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.219.63.194', 'tags': [], 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9'}} 2026-08-20 10:53:50,968 - INFO - Created VN ctest-vn-37682331 2026-08-20 10:53:51,018 - DEBUG - VN ctest-vn-37682331 UUID is ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:51,174 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020, 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-36212429:ctest-vn-37682331, 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-08-20 10:53:51,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ab51fd7c-2eec-4c18-938b-a1e1d130fbca', 'name': 'ctest-vn-05922020', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bbf3102f-e61d-4ce1-92c3-ad1bb4030fc9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-vn-05922020'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-policy-allow-all-30882290']], 'subnet_ipam': [{'subnet_cidr': '66.5.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:53:51,728 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ffb768f6-cb3f-4576-9119-ee7872615685', 'name': 'ctest-vn-37682331', 'tenant_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'project_id': '02427243c1a54fe0b8f1c74f9478d6d9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['591e36e4-8b91-4df4-8f99-b7c6afe66c54'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-vn-37682331'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-policy-allow-all-30882290']], 'subnet_ipam': [{'subnet_cidr': '35.219.63.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-08-20 10:53:51,902 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:53:52,264 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:53:52,291 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:53:52,304 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:53:52,390 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,403 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,414 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:53:52,422 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:53:52,429 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/e3e6a2bd-f09a-4bf6-8817-cd8f6a100272 2026-08-20 10:53:52,438 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 10:53:52,438 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,448 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:53:52,463 - INFO - Verified VN network id 11 for VN ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,464 - INFO - Verifications in API Server for VN ctest-vn-05922020 passed 2026-08-20 10:53:52,464 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,475 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:53:52,484 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:53:52,492 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/e3e6a2bd-f09a-4bf6-8817-cd8f6a100272 2026-08-20 10:53:52,506 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36212429', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12344926763404250136', 'uuid-lslong': '10631769336587549642'}, 'enable': 'true', 'created': '2026-08-20T10:53:50', 'last-modified': '2026-08-20T10:53:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.046569'} 2026-08-20 10:53:52,513 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-08-20 10:53:52,513 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05922020 passed 2026-08-20 10:53:52,514 - DEBUG - ====Verifying policy data for ctest-vn-05922020 in API_Server ====== 2026-08-20 10:53:52,514 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:53:52,521 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:53:52,533 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:53:52,613 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ab51fd7c-2eec-4c18-938b-a1e1d130fbca 2026-08-20 10:53:52,623 - DEBUG - ==>Verifying data for policy with id: ec138f41-0b76-4d5a-86c5-66cf73286671, fqn: ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-policy-allow-all-30882290'] 2026-08-20 10:53:52,623 - INFO - VN ctest-vn-05922020 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 10:53:52,623 - DEBUG - Verifying the vn in opserver 2026-08-20 10:53:52,623 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020 virtual network link through opserver 10.0.0.177 2026-08-20 10:53:52,624 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 10:53:52,996 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 10:53:53,054 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020?flat'} 2026-08-20 10:53:53,054 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-05922020 is found in opserver 2026-08-20 10:53:53,065 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 10:53:53,071 - DEBUG - VRF ids for VN ctest-vn-05922020: {} 2026-08-20 10:53:53,071 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:53:53,078 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:53:53,089 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:53:53,165 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,177 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,187 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:53:53,195 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:53:53,201 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/97b82c88-0bea-4caf-b7e4-2ac995a6b810 2026-08-20 10:53:53,209 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 10:53:53,209 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,219 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:53:53,233 - INFO - Verified VN network id 12 for VN ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,233 - INFO - Verifications in API Server for VN ctest-vn-37682331 passed 2026-08-20 10:53:53,233 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,242 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:53:53,249 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:53:53,256 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/97b82c88-0bea-4caf-b7e4-2ac995a6b810 2026-08-20 10:53:53,269 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36212429', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18426311809590838646', 'uuid-lslong': '10455650210999785093'}, 'enable': 'true', 'created': '2026-08-20T10:53:50', 'last-modified': '2026-08-20T10:53:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.573155'} 2026-08-20 10:53:53,275 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-08-20 10:53:53,275 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-37682331 passed 2026-08-20 10:53:53,276 - DEBUG - ====Verifying policy data for ctest-vn-37682331 in API_Server ====== 2026-08-20 10:53:53,276 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:53:53,281 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:53:53,293 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:53:53,368 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/ffb768f6-cb3f-4576-9119-ee7872615685 2026-08-20 10:53:53,380 - DEBUG - ==>Verifying data for policy with id: ec138f41-0b76-4d5a-86c5-66cf73286671, fqn: ['default-domain', 'ctest-TestBasicPolicy-36212429', 'ctest-policy-allow-all-30882290'] 2026-08-20 10:53:53,380 - INFO - VN ctest-vn-37682331 Policy verification: verify_vn_policy_in_api_server, status: True 2026-08-20 10:53:53,380 - DEBUG - Verifying the vn in opserver 2026-08-20 10:53:53,380 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331 virtual network link through opserver 10.0.0.177 2026-08-20 10:53:53,380 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks 2026-08-20 10:53:53,391 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331?flat'} 2026-08-20 10:53:53,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331 is found in opserver 2026-08-20 10:53:53,403 - DEBUG - Do not have enough data to verify VN in agent 2026-08-20 10:53:53,408 - DEBUG - VRF ids for VN ctest-vn-37682331: {} 2026-08-20 10:53:53,482 - DEBUG - Services list from nova: [, , ] 2026-08-20 10:53:53,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6186-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6186-1) 2026-08-20 10:53:54,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6186-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6186-1) 2026-08-20 10:53:54,427 - INFO - Waiting for VM ctest-TestBasicPolicy-36212429-73224021 to be up.. 2026-08-20 10:53:54,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:53:59,526 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:04,605 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:09,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:14,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:19,879 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:24,963 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:30,042 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 10:54:35,129 - DEBUG - VM is in ACTIVE state now 2026-08-20 10:54:35,130 - INFO - VM name : ctest-TestBasicPolicy-36212429-73224021 2026-08-20 10:54:35,213 - DEBUG - VM ctest-TestBasicPolicy-36212429-73224021 ID is 2a6f8622-f801-4c26-9718-6e6be97d3530 2026-08-20 10:54:35,240 - DEBUG - VM ctest-TestBasicPolicy-36212429-73224021 launched on Node cn-jenkins-deploy-platform-ansible-os-6186-1 2026-08-20 10:54:35,316 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/2a6f8622-f801-4c26-9718-6e6be97d3530 2026-08-20 10:54:35,327 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/bb3fc4f7-a3cd-45b1-bbd1-88fabcba9615 2026-08-20 10:54:36,580 - 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.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.57 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 = 3.573/5.706/7.840/2.133 ms') 2026-08-20 10:54:36,580 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-36212429-73224021 passed 2026-08-20 10:54:36,734 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:54:36,734 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36212429-73224021, IP 66.5.235.3, Port 22 2026-08-20 10:54:36,800 - 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-08-20 10:54:36,875 - DEBUG - VM ctest-TestBasicPolicy-36212429-73224021 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 10:54:41,876 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:54:41,876 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36212429-73224021, IP 66.5.235.3, Port 22 2026-08-20 10:54:42,039 - DEBUG - VM ctest-TestBasicPolicy-36212429-73224021 is ready for SSH connections 2026-08-20 10:54:42,039 - INFO - Waiting for VM ctest-TestBasicPolicy-36212429-68283298 to be up.. 2026-08-20 10:54:42,128 - DEBUG - VM is in ACTIVE state now 2026-08-20 10:54:42,128 - INFO - VM name : ctest-TestBasicPolicy-36212429-68283298 2026-08-20 10:54:42,214 - DEBUG - VM ctest-TestBasicPolicy-36212429-68283298 ID is aad2a331-7314-4cef-a4be-b319e369acce 2026-08-20 10:54:42,215 - DEBUG - VM ctest-TestBasicPolicy-36212429-68283298 launched on Node cn-jenkins-deploy-platform-ansible-os-6186-1 2026-08-20 10:54:42,291 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/aad2a331-7314-4cef-a4be-b319e369acce 2026-08-20 10:54:42,299 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/4b60cd61-a5c7-4e1f-af4b-b7ad5c872257 2026-08-20 10:54:45,567 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1025ms') 2026-08-20 10:54:45,567 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36212429-68283298 failed! 2026-08-20 10:54:45,622 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-36212429:ctest-vn-37682331 is 35.219.63.193 and allocation pool is NOT set 2026-08-20 10:54:47,694 - 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=7.23 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.94 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 = 2.936/5.085/7.234/2.149 ms') 2026-08-20 10:54:47,695 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-36212429-68283298 passed 2026-08-20 10:54:47,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:54:47,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-36212429-68283298, IP 35.219.63.195, Port 22 2026-08-20 10:54:48,017 - DEBUG - VM ctest-TestBasicPolicy-36212429-68283298 is ready for SSH connections 2026-08-20 10:54:48,017 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:54:48,017 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.219.63.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 10:54:48,017 - DEBUG - ping -s 56 -c 3 -W 1 35.219.63.195 2026-08-20 10:54:52,183 - DEBUG - PING 35.219.63.195 (35.219.63.195): 56 data bytes 64 bytes from 35.219.63.195: seq=0 ttl=63 time=5.379 ms 64 bytes from 35.219.63.195: seq=1 ttl=63 time=1.068 ms 64 bytes from 35.219.63.195: seq=2 ttl=63 time=1.172 ms --- 35.219.63.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.068/2.539/5.379 ms 2026-08-20 10:54:52,183 - INFO - Ping to IP 35.219.63.195 from VM ctest-TestBasicPolicy-36212429-73224021 passed 2026-08-20 10:54:52,366 - DEBUG - Policy Update Response {"network-policy": {"uuid": "ec138f41-0b76-4d5a-86c5-66cf73286671", "href": "http://10.0.0.177:8082/network-policy/ec138f41-0b76-4d5a-86c5-66cf73286671"}} 2026-08-20 10:54:52,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 10:54:52,366 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 35.219.63.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 10:54:52,367 - DEBUG - ping -s 56 -c 3 -W 1 35.219.63.195 2026-08-20 10:54:55,499 - DEBUG - PING 35.219.63.195 (35.219.63.195): 56 data bytes 64 bytes from 35.219.63.195: seq=0 ttl=63 time=1.575 ms --- 35.219.63.195 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.575/1.575/1.575 ms 2026-08-20 10:54:55,499 - WARNING - Ping to IP 35.219.63.195 from VM ctest-TestBasicPolicy-36212429-73224021 failed 2026-08-20 10:54:55,499 - INFO - Deleting VM ctest-TestBasicPolicy-36212429-68283298 2026-08-20 10:54:55,597 - INFO - Deleting VM ctest-TestBasicPolicy-36212429-73224021 2026-08-20 10:54:55,995 - INFO - Deleted policy ctest-policy-allow-all-30882290 2026-08-20 10:54:55,995 - INFO - Deleting VN ctest-vn-37682331 2026-08-20 10:54:56,027 - DEBUG - VN ffb768f6-cb3f-4576-9119-ee7872615685 still in use: Unable to complete operation on network ffb768f6-cb3f-4576-9119-ee7872615685. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c9ac82c0-8515-43e4-9d21-0e1ec7d1cd84'] 2026-08-20 10:54:56,027 - WARNING - Deleting VN ctest-vn-37682331 failed..Will retry 2026-08-20 10:54:58,158 - DEBUG - Response for deleting network () 2026-08-20 10:54:58,158 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/56a14dc6-790e-4039-b607-288f5adc3d12 2026-08-20 10:54:58,165 - DEBUG - Response Code: 404 2026-08-20 10:54:58,166 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:54:58,180 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:54:58,237 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:54:58,323 - INFO - Validated that VN ctest-vn-37682331 is not found in API Server 2026-08-20 10:54:58,338 - DEBUG - VN ctest-vn-37682331 is not present in Agent 10.0.0.177 2026-08-20 10:54:58,338 - INFO - Validated that VN ctest-vn-37682331 is not in any agent 2026-08-20 10:54:58,359 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-37682331 info 2026-08-20 10:54:58,360 - INFO - Deleting VN ctest-vn-05922020 2026-08-20 10:54:58,518 - DEBUG - Response for deleting network () 2026-08-20 10:54:58,518 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3043fe8f-7260-488e-b4f4-608022b19f94 2026-08-20 10:54:58,523 - DEBUG - Response Code: 404 2026-08-20 10:54:58,523 - DEBUG - Requesting: http://10.0.0.177:8082/domains 2026-08-20 10:54:58,528 - DEBUG - Requesting: http://10.0.0.177:8082/domain/74d629f6-c250-46e5-ad00-d05ee3889da0 2026-08-20 10:54:58,597 - DEBUG - Requesting: http://10.0.0.177:8082/project/02427243-c1a5-4fe0-b8f1-c74f9478d6d9 2026-08-20 10:54:58,683 - INFO - Validated that VN ctest-vn-05922020 is not found in API Server 2026-08-20 10:54:58,698 - DEBUG - VN ctest-vn-05922020 is not present in Agent 10.0.0.177 2026-08-20 10:54:58,698 - INFO - Validated that VN ctest-vn-05922020 is not in any agent 2026-08-20 10:54:58,719 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-05922020 info 2026-08-20 10:54:59,004 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 10:54:59,004 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:01:10]
2026-08-20 10:54:59,004 - INFO - -------------------------------------------------------------------------------- 2026-08-20 10:54:59,798 - INFO - Deleted project: ctest-TestBasicPolicy-36212429, ID : 02427243-c1a5-4fe0-b8f1-c74f9478d6d9