2026-02-02 13:09:59,515 - INFO - Domain Default found not creating 2026-02-02 13:09:59,694 - INFO - Project ctest-TestBasicPolicy-64187717 not found, creating it 2026-02-02 13:10:00,179 - INFO - Created Project:ctest-TestBasicPolicy-64187717, ID : 309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:01,853 - INFO - ================================================================================ 2026-02-02 13:10:01,854 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-02-02 13:10:01,854 - 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-02 13:10:02,115 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2026-02-02 13:10:02,115 - INFO - Initial checks done. Running the testcase now 2026-02-02 13:10:02,115 - INFO - 2026-02-02 13:10:02,736 - DEBUG - Response for create_network : {'network': {'id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'name': 'ctest-vn-86584486', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-86584486'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:10:02,901 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f860b458-dda8-468a-9b21-f6f0246261e1', 'name': '', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'network_id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'ip_version': 4, 'cidr': '93.242.210.64/26', 'allocation_pools': [{'start': '93.242.210.66', 'end': '93.242.210.126'}], 'gateway_ip': '93.242.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.242.210.66', 'tags': [], 'project_id': '309da8bcf21d442a9d473374f031f8b5'}} 2026-02-02 13:10:02,921 - INFO - Created VN ctest-vn-86584486 2026-02-02 13:10:02,976 - DEBUG - VN ctest-vn-86584486 UUID is 4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:03,316 - DEBUG - Response for create_network : {'network': {'id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'name': 'ctest-vn-71841419', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-71841419'], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:10:03,522 - DEBUG - Response for create_subnet : {'subnet': {'id': '22be38bd-60c9-452a-a364-21f965337113', 'name': '', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'network_id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'ip_version': 4, 'cidr': '75.183.60.192/26', 'allocation_pools': [{'start': '75.183.60.194', 'end': '75.183.60.254'}], 'gateway_ip': '75.183.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.183.60.194', 'tags': [], 'project_id': '309da8bcf21d442a9d473374f031f8b5'}} 2026-02-02 13:10:03,542 - INFO - Created VN ctest-vn-71841419 2026-02-02 13:10:03,596 - DEBUG - VN ctest-vn-71841419 UUID is 5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:03,718 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486, 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-64187717:ctest-vn-71841419, 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-02 13:10:04,028 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4af3f176-b9b1-4b43-bec8-b94cd40446ff', 'name': 'ctest-vn-86584486', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f860b458-dda8-468a-9b21-f6f0246261e1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-86584486'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']], 'subnet_ipam': [{'subnet_cidr': '93.242.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:10:04,272 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5930c90b-b496-44a6-ae07-3399ef662a83', 'name': 'ctest-vn-71841419', 'tenant_id': '309da8bcf21d442a9d473374f031f8b5', 'project_id': '309da8bcf21d442a9d473374f031f8b5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22be38bd-60c9-452a-a364-21f965337113'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-vn-71841419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383']], 'subnet_ipam': [{'subnet_cidr': '75.183.60.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-02-02 13:10:04,444 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:04,748 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:04,789 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:04,803 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:04,879 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:04,891 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:04,903 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:04,912 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:04,921 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/af04ef06-60fc-40d2-956d-bb56c660359d 2026-02-02 13:10:04,929 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 13:10:04,929 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:04,939 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:04,957 - INFO - Verified VN network id 9 for VN 4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:04,957 - INFO - Verifications in API Server for VN ctest-vn-86584486 passed 2026-02-02 13:10:04,957 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:04,969 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:04,977 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:04,986 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/af04ef06-60fc-40d2-956d-bb56c660359d 2026-02-02 13:10:05,000 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64187717', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5400925870371195715', 'uuid-lslong': '13747441602174142207'}, 'enable': 'true', 'created': '2026-02-02T13:10:02', 'last-modified': '2026-02-02T13:10:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.995386'} 2026-02-02 13:10:05,008 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-02-02 13:10:05,008 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86584486 passed 2026-02-02 13:10:05,008 - DEBUG - ====Verifying policy data for ctest-vn-86584486 in API_Server ====== 2026-02-02 13:10:05,008 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:05,015 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:05,026 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:05,105 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/4af3f176-b9b1-4b43-bec8-b94cd40446ff 2026-02-02 13:10:05,116 - DEBUG - ==>Verifying data for policy with id: b98bddb9-f551-4b55-b3bb-6b1d490886bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383'] 2026-02-02 13:10:05,116 - INFO - VN ctest-vn-86584486 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 13:10:05,116 - DEBUG - Verifying the vn in opserver 2026-02-02 13:10:05,116 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486 virtual network link through opserver 10.0.0.41 2026-02-02 13:10:05,117 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-02 13:10:05,421 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-02 13:10:05,495 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486?flat'} 2026-02-02 13:10:05,495 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486 is found in opserver 2026-02-02 13:10:05,505 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 13:10:05,510 - DEBUG - VRF ids for VN ctest-vn-86584486: {} 2026-02-02 13:10:05,510 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:05,516 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:05,529 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:05,607 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,620 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,629 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:05,636 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:05,644 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/15dd13b8-d489-41d8-ba7e-a66814b2cd99 2026-02-02 13:10:05,651 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 13:10:05,651 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,660 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:05,675 - INFO - Verified VN network id 10 for VN 5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,676 - INFO - Verifications in API Server for VN ctest-vn-71841419 passed 2026-02-02 13:10:05,676 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,685 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:05,692 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:05,699 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/15dd13b8-d489-41d8-ba7e-a66814b2cd99 2026-02-02 13:10:05,712 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-64187717', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6426857720369267878', 'uuid-lslong': '12540048423675898499'}, 'enable': 'true', 'created': '2026-02-02T13:10:03', 'last-modified': '2026-02-02T13:10:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.465965'} 2026-02-02 13:10:05,717 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-02-02 13:10:05,717 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-71841419 passed 2026-02-02 13:10:05,718 - DEBUG - ====Verifying policy data for ctest-vn-71841419 in API_Server ====== 2026-02-02 13:10:05,718 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:05,725 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:05,742 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:05,816 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/5930c90b-b496-44a6-ae07-3399ef662a83 2026-02-02 13:10:05,827 - DEBUG - ==>Verifying data for policy with id: b98bddb9-f551-4b55-b3bb-6b1d490886bf, fqn: ['default-domain', 'ctest-TestBasicPolicy-64187717', 'ctest-policy-allow-all-89871383'] 2026-02-02 13:10:05,827 - INFO - VN ctest-vn-71841419 Policy verification: verify_vn_policy_in_api_server, status: True 2026-02-02 13:10:05,827 - DEBUG - Verifying the vn in opserver 2026-02-02 13:10:05,827 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419 virtual network link through opserver 10.0.0.41 2026-02-02 13:10:05,827 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2026-02-02 13:10:05,836 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419?flat'} 2026-02-02 13:10:05,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-71841419 is found in opserver 2026-02-02 13:10:05,846 - DEBUG - Do not have enough data to verify VN in agent 2026-02-02 13:10:05,850 - DEBUG - VRF ids for VN ctest-vn-71841419: {} 2026-02-02 13:10:05,921 - DEBUG - Services list from nova: [, , ] 2026-02-02 13:10:06,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5173-1) 2026-02-02 13:10:08,194 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5173-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5173-1) 2026-02-02 13:10:08,194 - INFO - Waiting for VM ctest-TestBasicPolicy-64187717-06072992 to be up.. 2026-02-02 13:10:08,292 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-02 13:10:13,381 - DEBUG - VM is in ACTIVE state now 2026-02-02 13:10:13,381 - INFO - VM name : ctest-TestBasicPolicy-64187717-06072992 2026-02-02 13:10:13,469 - DEBUG - VM ctest-TestBasicPolicy-64187717-06072992 ID is 1214ed72-83b6-4268-b15a-7645b0408229 2026-02-02 13:10:13,498 - DEBUG - VM ctest-TestBasicPolicy-64187717-06072992 launched on Node cn-jenkins-deploy-platform-ansible-os-5173-1 2026-02-02 13:10:13,598 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1214ed72-83b6-4268-b15a-7645b0408229 2026-02-02 13:10:13,611 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/e59a9ded-faec-4513-a6ae-3f56a5a38729 2026-02-02 13:10:16,852 - 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 1028ms') 2026-02-02 13:10:16,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64187717-06072992 failed! 2026-02-02 13:10:16,908 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-64187717:ctest-vn-86584486 is 93.242.210.65 and allocation pool is NOT set 2026-02-02 13:10:18,972 - 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=4.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.33 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 = 3.332/4.158/4.984/0.826 ms') 2026-02-02 13:10:18,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-64187717-06072992 passed 2026-02-02 13:10:19,124 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:10:19,124 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64187717-06072992, IP 93.242.210.67, Port 22 2026-02-02 13:10:19,190 - 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-02 13:10:19,286 - DEBUG - VM ctest-TestBasicPolicy-64187717-06072992 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-02 13:10:24,286 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:10:24,286 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64187717-06072992, IP 93.242.210.67, Port 22 2026-02-02 13:10:24,454 - DEBUG - VM ctest-TestBasicPolicy-64187717-06072992 is ready for SSH connections 2026-02-02 13:10:24,455 - INFO - Waiting for VM ctest-TestBasicPolicy-64187717-76073373 to be up.. 2026-02-02 13:10:24,543 - DEBUG - VM is in ACTIVE state now 2026-02-02 13:10:24,543 - INFO - VM name : ctest-TestBasicPolicy-64187717-76073373 2026-02-02 13:10:24,642 - DEBUG - VM ctest-TestBasicPolicy-64187717-76073373 ID is fd7b9b82-5aeb-45e3-b95f-418bd2ff3ef7 2026-02-02 13:10:24,642 - DEBUG - VM ctest-TestBasicPolicy-64187717-76073373 launched on Node cn-jenkins-deploy-platform-ansible-os-5173-1 2026-02-02 13:10:24,730 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/fd7b9b82-5aeb-45e3-b95f-418bd2ff3ef7 2026-02-02 13:10:24,739 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/93e3598b-95ed-4064-9027-e37802c46014 2026-02-02 13:10:25,977 - 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=3.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.423 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.423/1.924/3.425/1.501 ms') 2026-02-02 13:10:25,977 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-64187717-76073373 passed 2026-02-02 13:10:26,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:10:26,132 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-64187717-76073373, IP 75.183.60.195, Port 22 2026-02-02 13:10:26,306 - DEBUG - VM ctest-TestBasicPolicy-64187717-76073373 is ready for SSH connections 2026-02-02 13:10:26,306 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:10:26,306 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.183.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-02 13:10:26,306 - DEBUG - ping -s 56 -c 3 -W 1 75.183.60.195 2026-02-02 13:10:30,059 - DEBUG - PING 75.183.60.195 (75.183.60.195): 56 data bytes 64 bytes from 75.183.60.195: seq=0 ttl=63 time=4.406 ms 64 bytes from 75.183.60.195: seq=1 ttl=63 time=1.400 ms 64 bytes from 75.183.60.195: seq=2 ttl=63 time=1.058 ms --- 75.183.60.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.058/2.288/4.406 ms 2026-02-02 13:10:30,059 - INFO - Ping to IP 75.183.60.195 from VM ctest-TestBasicPolicy-64187717-06072992 passed 2026-02-02 13:10:30,244 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b98bddb9-f551-4b55-b3bb-6b1d490886bf", "href": "http://10.0.0.41:8082/network-policy/b98bddb9-f551-4b55-b3bb-6b1d490886bf"}} 2026-02-02 13:10:30,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-02 13:10:30,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.183.60.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2026-02-02 13:10:30,244 - DEBUG - ping -s 56 -c 3 -W 1 75.183.60.195 2026-02-02 13:10:33,474 - DEBUG - PING 75.183.60.195 (75.183.60.195): 56 data bytes --- 75.183.60.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-02 13:10:33,475 - WARNING - Ping to IP 75.183.60.195 from VM ctest-TestBasicPolicy-64187717-06072992 failed 2026-02-02 13:10:33,475 - INFO - Deleting VM ctest-TestBasicPolicy-64187717-76073373 2026-02-02 13:10:33,557 - INFO - Deleting VM ctest-TestBasicPolicy-64187717-06072992 2026-02-02 13:10:34,029 - INFO - Deleted policy ctest-policy-allow-all-89871383 2026-02-02 13:10:34,029 - INFO - Deleting VN ctest-vn-71841419 2026-02-02 13:10:34,072 - DEBUG - VN 5930c90b-b496-44a6-ae07-3399ef662a83 still in use: Unable to complete operation on network 5930c90b-b496-44a6-ae07-3399ef662a83. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-995caf06-e885-444a-afda-4dc54126e4a0'] 2026-02-02 13:10:34,074 - WARNING - Deleting VN ctest-vn-71841419 failed..Will retry 2026-02-02 13:10:36,183 - DEBUG - Response for deleting network () 2026-02-02 13:10:36,183 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/b332fcaf-8e96-4205-8268-fc524c83eac4 2026-02-02 13:10:36,192 - DEBUG - Response Code: 404 2026-02-02 13:10:36,192 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:36,198 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:36,256 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:36,334 - INFO - Validated that VN ctest-vn-71841419 is not found in API Server 2026-02-02 13:10:36,344 - DEBUG - VN ctest-vn-71841419 is not present in Agent 10.0.0.41 2026-02-02 13:10:36,344 - INFO - Validated that VN ctest-vn-71841419 is not in any agent 2026-02-02 13:10:36,360 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-71841419 info 2026-02-02 13:10:36,360 - INFO - Deleting VN ctest-vn-86584486 2026-02-02 13:10:36,472 - DEBUG - Response for deleting network () 2026-02-02 13:10:36,472 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/f3b7823d-4305-4d86-86b7-f15d1ea31d86 2026-02-02 13:10:36,478 - DEBUG - Response Code: 404 2026-02-02 13:10:36,479 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2026-02-02 13:10:36,487 - DEBUG - Requesting: http://10.0.0.41:8082/domain/afca86ae-5a0b-4d74-a2b9-f8801d022134 2026-02-02 13:10:36,542 - DEBUG - Requesting: http://10.0.0.41:8082/project/309da8bc-f21d-442a-9d47-3374f031f8b5 2026-02-02 13:10:36,614 - INFO - Validated that VN ctest-vn-86584486 is not found in API Server 2026-02-02 13:10:36,624 - DEBUG - VN ctest-vn-86584486 is not present in Agent 10.0.0.41 2026-02-02 13:10:36,624 - INFO - Validated that VN ctest-vn-86584486 is not in any agent 2026-02-02 13:10:36,644 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86584486 info 2026-02-02 13:10:36,897 - DEBUG - No XMPP flaps were noticed during the test 2026-02-02 13:10:36,897 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35] 2026-02-02 13:10:36,897 - INFO - -------------------------------------------------------------------------------- 2026-02-02 13:10:37,630 - INFO - Deleted project: ctest-TestBasicPolicy-64187717, ID : 309da8bc-f21d-442a-9d47-3374f031f8b5