2025-11-27 02:06:53,866 - INFO - Domain Default found not creating 2025-11-27 02:06:54,046 - INFO - Project ctest-TestPorts-32196253 not found, creating it 2025-11-27 02:06:54,529 - INFO - Created Project:ctest-TestPorts-32196253, ID : e4d5fc05-d698-401f-9d0e-7cf5a70e38ff 2025-11-27 02:06:56,249 - INFO - ================================================================================ 2025-11-27 02:06:56,249 - INFO - STARTING TEST : test_ports_bindings 2025-11-27 02:06:56,249 - INFO - TEST DESCRIPTION : Verify that we are able to create a port with custom port bindings Steps: 1) Create Port with Port bindings profile set to {'foo': 'bar'} 2) Retrieve and verify the same is set 2025-11-27 02:06:56,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-27 02:06:56,509 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:06:56,509 - INFO - 2025-11-27 02:06:57,117 - DEBUG - Response for create_network : {'network': {'id': '9b6256b5-7970-4d6f-abd4-450b58dd3c3b', 'name': 'ctest-vn-66853958', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32196253', 'ctest-vn-66853958'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:06:57,361 - DEBUG - Response for create_subnet : {'subnet': {'id': '83b487f7-37d4-44cc-9fcf-c301c298ae17', 'name': '', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '9b6256b5-7970-4d6f-abd4-450b58dd3c3b', 'ip_version': 4, 'cidr': '135.164.12.64/26', 'allocation_pools': [{'start': '135.164.12.66', 'end': '135.164.12.126'}], 'gateway_ip': '135.164.12.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.164.12.66', 'tags': [], 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:06:57,379 - INFO - Created VN ctest-vn-66853958 2025-11-27 02:06:57,432 - DEBUG - VN ctest-vn-66853958 UUID is 9b6256b5-7970-4d6f-abd4-450b58dd3c3b 2025-11-27 02:06:57,542 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-32196253', 'ctest-vmi-37033068']} 2025-11-27 02:06:57,777 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37033068', 'id': '4c9cd2ba-2c2a-47f4-8886-7df26427118e', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '9b6256b5-7970-4d6f-abd4-450b58dd3c3b', 'mac_address': '02:4c:9c:d2:ba:2c', 'binding:profile': {'foo': 'bar'}, 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '135.164.12.67', 'subnet_id': '83b487f7-37d4-44cc-9fcf-c301c298ae17'}], 'security_groups': ['bccb1e6a-56ba-4c98-af74-a3dfce402980'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:06:57,777 - DEBUG - Created port 4c9cd2ba-2c2a-47f4-8886-7df26427118e 2025-11-27 02:06:57,880 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4c9cd2ba-2c2a-47f4-8886-7df26427118e 2025-11-27 02:06:58,217 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4c9cd2ba-2c2a-47f4-8886-7df26427118e 2025-11-27 02:06:58,251 - INFO - VMI 4c9cd2ba-2c2a-47f4-8886-7df26427118e verification in API Server passed 2025-11-27 02:06:58,361 - DEBUG - Response for delete_port : () 2025-11-27 02:06:58,361 - INFO - Deleted port 4c9cd2ba-2c2a-47f4-8886-7df26427118e 2025-11-27 02:06:58,362 - INFO - Deleting VN ctest-vn-66853958 2025-11-27 02:06:58,483 - DEBUG - Response for deleting network () 2025-11-27 02:06:58,737 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:06:58,738 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-27 02:06:58,738 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:06:58,740 - INFO - ================================================================================ 2025-11-27 02:06:58,740 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-27 02:06:58,740 - INFO - TEST DESCRIPTION : Create ports with specific Subnet and IP Create two ports in a VN with 2 subnets and specific IPs Attach to two VMs Ping between them should pass 2025-11-27 02:06:59,035 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-27 02:06:59,035 - INFO - Initial checks done. Running the testcase now 2025-11-27 02:06:59,035 - INFO - 2025-11-27 02:06:59,231 - DEBUG - Response for create_network : {'network': {'id': '462294b5-0ebd-4300-a747-5e968575d6f1', 'name': 'ctest-vn1-11891022', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-32196253', 'ctest-vn1-11891022'], 'port_security_enabled': True, 'description': ''}} 2025-11-27 02:06:59,393 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e083fb66-266d-465a-9895-fffbac4e7f12', 'name': '', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '462294b5-0ebd-4300-a747-5e968575d6f1', 'ip_version': 4, 'cidr': '120.163.75.192/26', 'allocation_pools': [{'start': '120.163.75.194', 'end': '120.163.75.254'}], 'gateway_ip': '120.163.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.163.75.194', 'tags': [], 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:06:59,569 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e69b18e9-17e0-40d3-bf00-b24888dac2c8', 'name': '', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '462294b5-0ebd-4300-a747-5e968575d6f1', 'ip_version': 4, 'cidr': '103.194.115.0/26', 'allocation_pools': [{'start': '103.194.115.2', 'end': '103.194.115.62'}], 'gateway_ip': '103.194.115.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.194.115.2', 'tags': [], 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:06:59,591 - INFO - Created VN ctest-vn1-11891022 2025-11-27 02:06:59,644 - DEBUG - VN ctest-vn1-11891022 UUID is 462294b5-0ebd-4300-a747-5e968575d6f1 2025-11-27 02:06:59,957 - DEBUG - Response for create_port : {'port': {'name': '777fe862-c971-4091-b3b9-16a112b8de6b', 'id': '777fe862-c971-4091-b3b9-16a112b8de6b', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '462294b5-0ebd-4300-a747-5e968575d6f1', 'mac_address': '02:77:7f:e8:62:c9', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '120.163.75.197', 'subnet_id': 'e083fb66-266d-465a-9895-fffbac4e7f12'}], 'security_groups': ['bccb1e6a-56ba-4c98-af74-a3dfce402980'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:07:00,140 - DEBUG - Response for create_port : {'port': {'name': '740f0df0-fff6-4199-a435-400c63b67858', 'id': '740f0df0-fff6-4199-a435-400c63b67858', 'tenant_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff', 'network_id': '462294b5-0ebd-4300-a747-5e968575d6f1', 'mac_address': '02:74:0f:0d:f0:ff', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '103.194.115.5', 'subnet_id': 'e69b18e9-17e0-40d3-bf00-b24888dac2c8'}], 'security_groups': ['bccb1e6a-56ba-4c98-af74-a3dfce402980'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e4d5fc05d698401f9d0e7cf5a70e38ff'}} 2025-11-27 02:07:00,209 - DEBUG - Services list from nova: [, , ] 2025-11-27 02:07:00,635 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:07:01,163 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4817-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4817-1) 2025-11-27 02:07:01,163 - INFO - Waiting for VM ctest-vn1-vm1-75233910 to be up.. 2025-11-27 02:07:01,207 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-27 02:07:06,286 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:06,287 - INFO - VM name : ctest-vn1-vm1-75233910 2025-11-27 02:07:06,368 - DEBUG - VM ctest-vn1-vm1-75233910 ID is 21665620-dff4-4eae-8b17-46f1ca6952fa 2025-11-27 02:07:06,388 - DEBUG - VM ctest-vn1-vm1-75233910 launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:07:06,484 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/21665620-dff4-4eae-8b17-46f1ca6952fa 2025-11-27 02:07:06,494 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/777fe862-c971-4091-b3b9-16a112b8de6b 2025-11-27 02:07:09,747 - 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 1018ms') 2025-11-27 02:07:09,747 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75233910 failed! 2025-11-27 02:07:09,804 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32196253:ctest-vn1-11891022 is 120.163.75.193 and allocation pool is NOT set 2025-11-27 02:07:09,804 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-32196253:ctest-vn1-11891022 is 103.194.115.1 and allocation pool is NOT set 2025-11-27 02:07:13,884 - 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=2 ttl=63 time=15.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1016ms\r\nrtt min/avg/max/mdev = 15.090/15.090/15.090/0.000 ms') 2025-11-27 02:07:13,884 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-75233910 passed 2025-11-27 02:07:14,032 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:14,032 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75233910, IP 120.163.75.197, Port 22 2025-11-27 02:07:14,097 - 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-11-27 02:07:14,177 - DEBUG - VM ctest-vn1-vm1-75233910 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-27 02:07:19,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:19,178 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-75233910, IP 120.163.75.197, Port 22 2025-11-27 02:07:19,346 - DEBUG - VM ctest-vn1-vm1-75233910 is ready for SSH connections 2025-11-27 02:07:19,346 - INFO - Waiting for VM ctest-vn1-vm2-05124841 to be up.. 2025-11-27 02:07:19,425 - DEBUG - VM is in ACTIVE state now 2025-11-27 02:07:19,425 - INFO - VM name : ctest-vn1-vm2-05124841 2025-11-27 02:07:19,502 - DEBUG - VM ctest-vn1-vm2-05124841 ID is 8f150fc4-fa68-41ce-b6e0-1f5f13f6c0a5 2025-11-27 02:07:19,502 - DEBUG - VM ctest-vn1-vm2-05124841 launched on Node cn-jenkins-deploy-platform-ansible-os-4817-1 2025-11-27 02:07:19,576 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8f150fc4-fa68-41ce-b6e0-1f5f13f6c0a5 2025-11-27 02:07:19,584 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/740f0df0-fff6-4199-a435-400c63b67858 2025-11-27 02:07:20,824 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.524 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.524/2.213/3.903/1.689 ms') 2025-11-27 02:07:20,824 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05124841 passed 2025-11-27 02:07:20,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:20,972 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05124841, IP 103.194.115.5, Port 22 2025-11-27 02:07:21,127 - DEBUG - VM ctest-vn1-vm2-05124841 is ready for SSH connections 2025-11-27 02:07:21,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:21,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:21,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-27 02:07:21,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 120.163.75.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-27 02:07:21,128 - DEBUG - ping -s 56 -c 3 -W 1 120.163.75.197 2025-11-27 02:07:23,825 - DEBUG - PING 120.163.75.197 (120.163.75.197): 56 data bytes 64 bytes from 120.163.75.197: seq=0 ttl=63 time=4.557 ms 64 bytes from 120.163.75.197: seq=1 ttl=63 time=0.970 ms 64 bytes from 120.163.75.197: seq=2 ttl=63 time=1.145 ms --- 120.163.75.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.970/2.224/4.557 ms 2025-11-27 02:07:23,825 - INFO - Ping to IP 120.163.75.197 from VM ctest-vn1-vm2-05124841 passed 2025-11-27 02:07:23,826 - INFO - Detaching port 740f0df0-fff6-4199-a435-400c63b67858 from VM ctest-vn1-vm2-05124841 2025-11-27 02:07:23,878 - INFO - Deleting VM ctest-vn1-vm2-05124841 2025-11-27 02:07:23,958 - INFO - Detaching port 777fe862-c971-4091-b3b9-16a112b8de6b from VM ctest-vn1-vm1-75233910 2025-11-27 02:07:24,008 - INFO - Deleting VM ctest-vn1-vm1-75233910 2025-11-27 02:07:24,244 - DEBUG - Response for delete_port : () 2025-11-27 02:07:24,413 - DEBUG - Response for delete_port : () 2025-11-27 02:07:24,413 - INFO - Deleting VN ctest-vn1-11891022 2025-11-27 02:07:24,537 - DEBUG - Response for deleting network () 2025-11-27 02:07:24,792 - DEBUG - No XMPP flaps were noticed during the test
2025-11-27 02:07:24,792 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-11-27 02:07:24,792 - INFO - -------------------------------------------------------------------------------- 2025-11-27 02:07:25,513 - INFO - Deleted project: ctest-TestPorts-32196253, ID : e4d5fc05-d698-401f-9d0e-7cf5a70e38ff