2025-10-23 10:17:39,983 - INFO - Domain Default found not creating 2025-10-23 10:17:40,151 - INFO - Project ctest-TestBasicPolicy-40798184 not found, creating it 2025-10-23 10:17:40,639 - INFO - Created Project:ctest-TestBasicPolicy-40798184, ID : 0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:17:42,243 - INFO - ================================================================================ 2025-10-23 10:17:42,243 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-10-23 10:17:42,243 - 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 2025-10-23 10:17:42,507 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0'}} with 2025-10-23 10:17:42,507 - INFO - Initial checks done. Running the testcase now 2025-10-23 10:17:42,507 - INFO - 2025-10-23 10:17:43,135 - DEBUG - Response for create_network : {'network': {'id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'name': 'ctest-vn-23594077', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-23594077'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:17:43,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '30c9b829-4927-42f0-b958-e57a837625e8', 'name': '', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'network_id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'ip_version': 4, 'cidr': '92.80.14.192/26', 'allocation_pools': [{'start': '92.80.14.194', 'end': '92.80.14.254'}], 'gateway_ip': '92.80.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.80.14.194', 'tags': [], 'project_id': '0d86eb6b5b544b2599e3524983ae9687'}} 2025-10-23 10:17:43,367 - INFO - Created VN ctest-vn-23594077 2025-10-23 10:17:43,419 - DEBUG - VN ctest-vn-23594077 UUID is 32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:43,743 - DEBUG - Response for create_network : {'network': {'id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'name': 'ctest-vn-07765546', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-07765546'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:17:43,911 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dff78a8c-5a9e-469d-a3df-4688af178477', 'name': '', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'network_id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'ip_version': 4, 'cidr': '91.118.143.64/26', 'allocation_pools': [{'start': '91.118.143.66', 'end': '91.118.143.126'}], 'gateway_ip': '91.118.143.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.118.143.66', 'tags': [], 'project_id': '0d86eb6b5b544b2599e3524983ae9687'}} 2025-10-23 10:17:43,930 - INFO - Created VN ctest-vn-07765546 2025-10-23 10:17:43,983 - DEBUG - VN ctest-vn-07765546 UUID is 17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:44,110 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077, 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-40798184:ctest-vn-07765546, 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] 2025-10-23 10:17:44,443 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '32bf8a41-e73f-4130-84c0-e0a89e04537c', 'name': 'ctest-vn-23594077', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['30c9b829-4927-42f0-b958-e57a837625e8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-23594077'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']], 'subnet_ipam': [{'subnet_cidr': '92.80.14.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:17:44,730 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17ce9b29-3083-43f2-b65b-7040e3a687f0', 'name': 'ctest-vn-07765546', 'tenant_id': '0d86eb6b5b544b2599e3524983ae9687', 'project_id': '0d86eb6b5b544b2599e3524983ae9687', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['dff78a8c-5a9e-469d-a3df-4688af178477'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-vn-07765546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809']], 'subnet_ipam': [{'subnet_cidr': '91.118.143.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-10-23 10:17:44,879 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:17:45,223 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:17:45,255 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:17:45,273 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:17:45,349 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,363 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,376 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:17:45,385 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:17:45,393 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/70b1dc44-9f7a-4d14-8160-6b39ca336d40 2025-10-23 10:17:45,401 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:17:45,401 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,411 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:17:45,426 - INFO - Verified VN network id 11 for VN 32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,427 - INFO - Verifications in API Server for VN ctest-vn-23594077 passed 2025-10-23 10:17:45,427 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,436 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:17:45,443 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:17:45,451 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/70b1dc44-9f7a-4d14-8160-6b39ca336d40 2025-10-23 10:17:45,464 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40798184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3656793438105321776', 'uuid-lslong': '9565892623345144700'}, 'enable': 'true', 'created': '2025-10-23T10:17:43', 'last-modified': '2025-10-23T10:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047780'} 2025-10-23 10:17:45,470 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-10-23 10:17:45,470 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23594077 passed 2025-10-23 10:17:45,470 - DEBUG - ====Verifying policy data for ctest-vn-23594077 in API_Server ====== 2025-10-23 10:17:45,470 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:17:45,476 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:17:45,491 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:17:45,565 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/32bf8a41-e73f-4130-84c0-e0a89e04537c 2025-10-23 10:17:45,576 - DEBUG - ==>Verifying data for policy with id: 337c11c6-dadc-4da7-b300-e7d314e741f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809'] 2025-10-23 10:17:45,576 - INFO - VN ctest-vn-23594077 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:17:45,576 - DEBUG - Verifying the vn in opserver 2025-10-23 10:17:45,576 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077 virtual network link through opserver 10.0.0.41 2025-10-23 10:17:45,576 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-23 10:17:45,910 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-23 10:17:45,969 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077?flat'} 2025-10-23 10:17:45,969 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077 is found in opserver 2025-10-23 10:17:45,979 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:17:45,984 - DEBUG - VRF ids for VN ctest-vn-23594077: {} 2025-10-23 10:17:45,984 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:17:45,990 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:17:46,002 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:17:46,072 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,085 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,096 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:17:46,104 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:17:46,112 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3af246eb-9045-4929-8443-aa3a3b8bc27c 2025-10-23 10:17:46,119 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:17:46,119 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,128 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:17:46,143 - INFO - Verified VN network id 12 for VN 17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,144 - INFO - Verifications in API Server for VN ctest-vn-07765546 passed 2025-10-23 10:17:46,144 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,154 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:17:46,161 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:17:46,169 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/3af246eb-9045-4929-8443-aa3a3b8bc27c 2025-10-23 10:17:46,182 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40798184', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1715479109284611058', 'uuid-lslong': '13140219761783113712'}, 'enable': 'true', 'created': '2025-10-23T10:17:43', 'last-modified': '2025-10-23T10:17:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520239'} 2025-10-23 10:17:46,188 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-10-23 10:17:46,188 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07765546 passed 2025-10-23 10:17:46,188 - DEBUG - ====Verifying policy data for ctest-vn-07765546 in API_Server ====== 2025-10-23 10:17:46,189 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:17:46,195 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:17:46,207 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:17:46,290 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/17ce9b29-3083-43f2-b65b-7040e3a687f0 2025-10-23 10:17:46,300 - DEBUG - ==>Verifying data for policy with id: 337c11c6-dadc-4da7-b300-e7d314e741f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-40798184', 'ctest-policy-allow-all-02076809'] 2025-10-23 10:17:46,300 - INFO - VN ctest-vn-07765546 Policy verification: verify_vn_policy_in_api_server, status: True 2025-10-23 10:17:46,300 - DEBUG - Verifying the vn in opserver 2025-10-23 10:17:46,300 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546 virtual network link through opserver 10.0.0.41 2025-10-23 10:17:46,300 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2025-10-23 10:17:46,310 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546?flat'} 2025-10-23 10:17:46,310 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-07765546 is found in opserver 2025-10-23 10:17:46,320 - DEBUG - Do not have enough data to verify VN in agent 2025-10-23 10:17:46,324 - DEBUG - VRF ids for VN ctest-vn-07765546: {} 2025-10-23 10:17:46,385 - DEBUG - Services list from nova: [, , ] 2025-10-23 10:17:47,513 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:17:48,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4455-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4455-1) 2025-10-23 10:17:48,792 - INFO - Waiting for VM ctest-TestBasicPolicy-40798184-58864638 to be up.. 2025-10-23 10:17:48,875 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 10:17:53,956 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:17:53,956 - INFO - VM name : ctest-TestBasicPolicy-40798184-58864638 2025-10-23 10:17:54,032 - DEBUG - VM ctest-TestBasicPolicy-40798184-58864638 ID is 47ad566d-c8c4-4ffa-b2fa-34018b7fc6e1 2025-10-23 10:17:54,053 - DEBUG - VM ctest-TestBasicPolicy-40798184-58864638 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:17:54,141 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/47ad566d-c8c4-4ffa-b2fa-34018b7fc6e1 2025-10-23 10:17:54,151 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6452a063-b4f4-41e9-87f7-13c52fa44e08 2025-10-23 10:17:57,422 - 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 1019ms') 2025-10-23 10:17:57,423 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40798184-58864638 failed! 2025-10-23 10:17:57,479 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-40798184:ctest-vn-23594077 is 92.80.14.193 and allocation pool is NOT set 2025-10-23 10:17:59,542 - 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=10.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.695 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 = 0.695/5.626/10.557/4.931 ms') 2025-10-23 10:17:59,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-40798184-58864638 passed 2025-10-23 10:17:59,715 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:17:59,715 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40798184-58864638, IP 92.80.14.195, Port 22 2025-10-23 10:17:59,782 - 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': ''} 2025-10-23 10:17:59,863 - DEBUG - VM ctest-TestBasicPolicy-40798184-58864638 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 10:18:04,864 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:18:04,864 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40798184-58864638, IP 92.80.14.195, Port 22 2025-10-23 10:18:05,019 - DEBUG - VM ctest-TestBasicPolicy-40798184-58864638 is ready for SSH connections 2025-10-23 10:18:05,019 - INFO - Waiting for VM ctest-TestBasicPolicy-40798184-54901291 to be up.. 2025-10-23 10:18:05,103 - DEBUG - VM is in ACTIVE state now 2025-10-23 10:18:05,103 - INFO - VM name : ctest-TestBasicPolicy-40798184-54901291 2025-10-23 10:18:05,185 - DEBUG - VM ctest-TestBasicPolicy-40798184-54901291 ID is 42d060e4-9722-4590-8dd4-858771f8b03d 2025-10-23 10:18:05,185 - DEBUG - VM ctest-TestBasicPolicy-40798184-54901291 launched on Node cn-jenkins-deploy-platform-ansible-os-4455-1 2025-10-23 10:18:05,281 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/42d060e4-9722-4590-8dd4-858771f8b03d 2025-10-23 10:18:05,292 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4b0f92cb-fecf-4215-a7fd-7e6764855596 2025-10-23 10:18:06,537 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.854/3.306/1.452 ms') 2025-10-23 10:18:06,537 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-40798184-54901291 passed 2025-10-23 10:18:06,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:18:06,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-40798184-54901291, IP 91.118.143.67, Port 22 2025-10-23 10:18:06,885 - DEBUG - VM ctest-TestBasicPolicy-40798184-54901291 is ready for SSH connections 2025-10-23 10:18:06,885 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:18:06,885 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.118.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:18:06,885 - DEBUG - ping -s 56 -c 3 -W 1 91.118.143.67 2025-10-23 10:18:11,057 - DEBUG - PING 91.118.143.67 (91.118.143.67): 56 data bytes 64 bytes from 91.118.143.67: seq=0 ttl=63 time=3.721 ms 64 bytes from 91.118.143.67: seq=1 ttl=63 time=0.980 ms 64 bytes from 91.118.143.67: seq=2 ttl=63 time=0.789 ms --- 91.118.143.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.789/1.830/3.721 ms 2025-10-23 10:18:11,057 - INFO - Ping to IP 91.118.143.67 from VM ctest-TestBasicPolicy-40798184-58864638 passed 2025-10-23 10:18:11,251 - DEBUG - Policy Update Response {"network-policy": {"uuid": "337c11c6-dadc-4da7-b300-e7d314e741f6", "href": "http://10.0.0.41:8082/network-policy/337c11c6-dadc-4da7-b300-e7d314e741f6"}} 2025-10-23 10:18:11,251 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 10:18:11,251 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 91.118.143.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-23 10:18:11,251 - DEBUG - ping -s 56 -c 3 -W 1 91.118.143.67 2025-10-23 10:18:14,509 - DEBUG - PING 91.118.143.67 (91.118.143.67): 56 data bytes --- 91.118.143.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 10:18:14,509 - WARNING - Ping to IP 91.118.143.67 from VM ctest-TestBasicPolicy-40798184-58864638 failed 2025-10-23 10:18:14,509 - INFO - Deleting VM ctest-TestBasicPolicy-40798184-54901291 2025-10-23 10:18:14,590 - INFO - Deleting VM ctest-TestBasicPolicy-40798184-58864638 2025-10-23 10:18:15,054 - INFO - Deleted policy ctest-policy-allow-all-02076809 2025-10-23 10:18:15,054 - INFO - Deleting VN ctest-vn-07765546 2025-10-23 10:18:15,110 - DEBUG - VN 17ce9b29-3083-43f2-b65b-7040e3a687f0 still in use: Unable to complete operation on network 17ce9b29-3083-43f2-b65b-7040e3a687f0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c3de2dcb-7472-4be1-bf6b-bbc664d83a89'] 2025-10-23 10:18:15,110 - WARNING - Deleting VN ctest-vn-07765546 failed..Will retry 2025-10-23 10:18:17,227 - DEBUG - Response for deleting network () 2025-10-23 10:18:17,227 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/4f384390-a87f-4bc1-af22-d2f97e92a432 2025-10-23 10:18:17,237 - DEBUG - Response Code: 404 2025-10-23 10:18:17,237 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:18:17,242 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:18:17,298 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:18:17,373 - INFO - Validated that VN ctest-vn-07765546 is not found in API Server 2025-10-23 10:18:17,383 - DEBUG - VN ctest-vn-07765546 is not present in Agent 10.0.0.41 2025-10-23 10:18:17,383 - INFO - Validated that VN ctest-vn-07765546 is not in any agent 2025-10-23 10:18:17,398 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-07765546 info 2025-10-23 10:18:17,398 - INFO - Deleting VN ctest-vn-23594077 2025-10-23 10:18:17,511 - DEBUG - Response for deleting network () 2025-10-23 10:18:17,511 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/de244f6a-3668-4b6c-be1b-64e53aec5533 2025-10-23 10:18:17,518 - DEBUG - Response Code: 404 2025-10-23 10:18:17,518 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2025-10-23 10:18:17,525 - DEBUG - Requesting: http://10.0.0.41:8082/domain/381a01b8-dc7b-4f5b-8259-a3ab61fa1020 2025-10-23 10:18:17,581 - DEBUG - Requesting: http://10.0.0.41:8082/project/0d86eb6b-5b54-4b25-99e3-524983ae9687 2025-10-23 10:18:17,654 - INFO - Validated that VN ctest-vn-23594077 is not found in API Server 2025-10-23 10:18:17,664 - DEBUG - VN ctest-vn-23594077 is not present in Agent 10.0.0.41 2025-10-23 10:18:17,664 - INFO - Validated that VN ctest-vn-23594077 is not in any agent 2025-10-23 10:18:17,678 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-23594077 info 2025-10-23 10:18:17,933 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 10:18:17,933 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:35]
2025-10-23 10:18:17,933 - INFO - -------------------------------------------------------------------------------- 2025-10-23 10:18:18,682 - INFO - Deleted project: ctest-TestBasicPolicy-40798184, ID : 0d86eb6b-5b54-4b25-99e3-524983ae9687