2025-09-16 11:39:13,377 - INFO - Domain Default found not creating 2025-09-16 11:39:13,855 - INFO - Project ctest-TestPorts-43776573 not found, creating it 2025-09-16 11:39:14,303 - INFO - Created Project:ctest-TestPorts-43776573, ID : e79a0420-684d-44f5-89aa-03ad0a1f60fb 2025-09-16 11:39:15,801 - INFO - ================================================================================ 2025-09-16 11:39:15,801 - INFO - STARTING TEST : test_ports_bindings 2025-09-16 11:39:15,801 - 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-09-16 11:39:16,066 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 11:39:16,066 - INFO - Initial checks done. Running the testcase now 2025-09-16 11:39:16,066 - INFO - 2025-09-16 11:39:16,604 - DEBUG - Response for create_network : {'network': {'id': '49c355cc-d0c3-4367-a1b4-7952c1a2cadb', 'name': 'ctest-vn-87713784', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43776573', 'ctest-vn-87713784'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:39:16,802 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cb48a45-2104-4c64-9fda-f124d5a62b8d', 'name': '', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': '49c355cc-d0c3-4367-a1b4-7952c1a2cadb', 'ip_version': 4, 'cidr': '129.32.88.0/26', 'allocation_pools': [{'start': '129.32.88.2', 'end': '129.32.88.62'}], 'gateway_ip': '129.32.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.32.88.2', 'tags': [], 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:16,820 - INFO - Created VN ctest-vn-87713784 2025-09-16 11:39:16,874 - DEBUG - VN ctest-vn-87713784 UUID is 49c355cc-d0c3-4367-a1b4-7952c1a2cadb 2025-09-16 11:39:16,987 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43776573', 'ctest-vmi-27150343']} 2025-09-16 11:39:17,226 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-27150343', 'id': 'b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': '49c355cc-d0c3-4367-a1b4-7952c1a2cadb', 'mac_address': '02:b4:a4:e8:cf:d7', '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': '129.32.88.3', 'subnet_id': '5cb48a45-2104-4c64-9fda-f124d5a62b8d'}], 'security_groups': ['f401a59b-7daa-4efc-9880-9fa4d3df2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:17,226 - DEBUG - Created port b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e 2025-09-16 11:39:17,330 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e 2025-09-16 11:39:17,621 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e 2025-09-16 11:39:17,651 - INFO - VMI b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e verification in API Server passed 2025-09-16 11:39:17,730 - DEBUG - Response for delete_port : () 2025-09-16 11:39:17,730 - INFO - Deleted port b4a4e8cf-d70e-4a72-9031-32fe0e8d0e4e 2025-09-16 11:39:17,730 - INFO - Deleting VN ctest-vn-87713784 2025-09-16 11:39:17,819 - DEBUG - Response for deleting network () 2025-09-16 11:39:18,075 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 11:39:18,075 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-16 11:39:18,075 - INFO - -------------------------------------------------------------------------------- 2025-09-16 11:39:18,077 - INFO - ================================================================================ 2025-09-16 11:39:18,077 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-16 11:39:18,077 - 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-09-16 11:39:18,363 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-16 11:39:18,363 - INFO - Initial checks done. Running the testcase now 2025-09-16 11:39:18,363 - INFO - 2025-09-16 11:39:18,537 - DEBUG - Response for create_network : {'network': {'id': 'c8867582-d850-453d-a991-75e406605f4a', 'name': 'ctest-vn1-81127683', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43776573', 'ctest-vn1-81127683'], 'port_security_enabled': True, 'description': ''}} 2025-09-16 11:39:18,695 - DEBUG - Response for create_subnet : {'subnet': {'id': '7605a301-7b2a-4874-877f-5796605cb767', 'name': '', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': 'c8867582-d850-453d-a991-75e406605f4a', 'ip_version': 4, 'cidr': '32.110.81.0/26', 'allocation_pools': [{'start': '32.110.81.2', 'end': '32.110.81.62'}], 'gateway_ip': '32.110.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.110.81.2', 'tags': [], 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:18,885 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c74f3a8-fb30-4493-b286-881aff5afb04', 'name': '', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': 'c8867582-d850-453d-a991-75e406605f4a', 'ip_version': 4, 'cidr': '175.29.200.192/26', 'allocation_pools': [{'start': '175.29.200.194', 'end': '175.29.200.254'}], 'gateway_ip': '175.29.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.29.200.194', 'tags': [], 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:18,908 - INFO - Created VN ctest-vn1-81127683 2025-09-16 11:39:18,962 - DEBUG - VN ctest-vn1-81127683 UUID is c8867582-d850-453d-a991-75e406605f4a 2025-09-16 11:39:19,270 - DEBUG - Response for create_port : {'port': {'name': '281de1c6-fed6-4334-ac7c-18c3cb4340c1', 'id': '281de1c6-fed6-4334-ac7c-18c3cb4340c1', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': 'c8867582-d850-453d-a991-75e406605f4a', 'mac_address': '02:28:1d:e1:c6:fe', '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': '32.110.81.5', 'subnet_id': '7605a301-7b2a-4874-877f-5796605cb767'}], 'security_groups': ['f401a59b-7daa-4efc-9880-9fa4d3df2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:19,436 - DEBUG - Response for create_port : {'port': {'name': 'c1e0edf4-507b-46d5-92b1-35d5f58d75f1', 'id': 'c1e0edf4-507b-46d5-92b1-35d5f58d75f1', 'tenant_id': 'e79a0420684d44f589aa03ad0a1f60fb', 'network_id': 'c8867582-d850-453d-a991-75e406605f4a', 'mac_address': '02:c1:e0:ed:f4:50', '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': '175.29.200.197', 'subnet_id': '2c74f3a8-fb30-4493-b286-881aff5afb04'}], 'security_groups': ['f401a59b-7daa-4efc-9880-9fa4d3df2512'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e79a0420684d44f589aa03ad0a1f60fb'}} 2025-09-16 11:39:19,497 - DEBUG - Services list from nova: [, , ] 2025-09-16 11:39:19,822 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:39:20,251 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4121-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4121-1) 2025-09-16 11:39:20,251 - INFO - Waiting for VM ctest-vn1-vm1-71785052 to be up.. 2025-09-16 11:39:20,289 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-16 11:39:25,364 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:39:25,364 - INFO - VM name : ctest-vn1-vm1-71785052 2025-09-16 11:39:25,435 - DEBUG - VM ctest-vn1-vm1-71785052 ID is b39d4ccf-a612-45c8-a61e-817de333657a 2025-09-16 11:39:25,453 - DEBUG - VM ctest-vn1-vm1-71785052 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:39:25,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b39d4ccf-a612-45c8-a61e-817de333657a 2025-09-16 11:39:25,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/281de1c6-fed6-4334-ac7c-18c3cb4340c1 2025-09-16 11:39:28,784 - 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 1015ms') 2025-09-16 11:39:28,784 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71785052 failed! 2025-09-16 11:39:28,838 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43776573:ctest-vn1-81127683 is 32.110.81.1 and allocation pool is NOT set 2025-09-16 11:39:28,838 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43776573:ctest-vn1-81127683 is 175.29.200.193 and allocation pool is NOT set 2025-09-16 11:39:30,904 - 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=6.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.01 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 = 4.011/5.190/6.369/1.179 ms') 2025-09-16 11:39:30,905 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71785052 passed 2025-09-16 11:39:31,054 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:31,054 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71785052, IP 32.110.81.5, Port 22 2025-09-16 11:39:31,113 - 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-09-16 11:39:31,187 - DEBUG - VM ctest-vn1-vm1-71785052 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-16 11:39:36,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:36,188 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71785052, IP 32.110.81.5, Port 22 2025-09-16 11:39:36,353 - DEBUG - VM ctest-vn1-vm1-71785052 is ready for SSH connections 2025-09-16 11:39:36,353 - INFO - Waiting for VM ctest-vn1-vm2-58593982 to be up.. 2025-09-16 11:39:36,426 - DEBUG - VM is in ACTIVE state now 2025-09-16 11:39:36,426 - INFO - VM name : ctest-vn1-vm2-58593982 2025-09-16 11:39:36,634 - DEBUG - VM ctest-vn1-vm2-58593982 ID is 7c76488e-6aae-450f-aa4a-3e7b682b4560 2025-09-16 11:39:36,634 - DEBUG - VM ctest-vn1-vm2-58593982 launched on Node cn-jenkins-deploy-platform-ansible-os-4121-1 2025-09-16 11:39:36,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c76488e-6aae-450f-aa4a-3e7b682b4560 2025-09-16 11:39:36,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/c1e0edf4-507b-46d5-92b1-35d5f58d75f1 2025-09-16 11:39:37,951 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.528 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.528/1.774/3.020/1.246 ms') 2025-09-16 11:39:37,951 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-58593982 passed 2025-09-16 11:39:38,102 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:38,102 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58593982, IP 175.29.200.197, Port 22 2025-09-16 11:39:38,258 - DEBUG - VM ctest-vn1-vm2-58593982 is ready for SSH connections 2025-09-16 11:39:38,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:38,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:38,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-16 11:39:38,260 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 32.110.81.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-16 11:39:38,260 - DEBUG - ping -s 56 -c 3 -W 1 32.110.81.5 2025-09-16 11:39:41,351 - DEBUG - PING 32.110.81.5 (32.110.81.5): 56 data bytes 64 bytes from 32.110.81.5: seq=0 ttl=63 time=4.273 ms 64 bytes from 32.110.81.5: seq=1 ttl=63 time=1.142 ms 64 bytes from 32.110.81.5: seq=2 ttl=63 time=0.778 ms --- 32.110.81.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.778/2.064/4.273 ms 2025-09-16 11:39:41,351 - INFO - Ping to IP 32.110.81.5 from VM ctest-vn1-vm2-58593982 passed 2025-09-16 11:39:41,351 - INFO - Detaching port c1e0edf4-507b-46d5-92b1-35d5f58d75f1 from VM ctest-vn1-vm2-58593982 2025-09-16 11:39:41,404 - INFO - Deleting VM ctest-vn1-vm2-58593982 2025-09-16 11:39:41,473 - INFO - Detaching port 281de1c6-fed6-4334-ac7c-18c3cb4340c1 from VM ctest-vn1-vm1-71785052 2025-09-16 11:39:41,507 - INFO - Deleting VM ctest-vn1-vm1-71785052 2025-09-16 11:39:41,720 - DEBUG - Response for delete_port : () 2025-09-16 11:39:41,862 - DEBUG - Response for delete_port : () 2025-09-16 11:39:41,862 - INFO - Deleting VN ctest-vn1-81127683 2025-09-16 11:39:41,980 - DEBUG - Response for deleting network () 2025-09-16 11:39:42,252 - DEBUG - No XMPP flaps were noticed during the test
2025-09-16 11:39:42,252 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-16 11:39:42,252 - INFO - -------------------------------------------------------------------------------- 2025-09-16 11:39:42,954 - INFO - Deleted project: ctest-TestPorts-43776573, ID : e79a0420-684d-44f5-89aa-03ad0a1f60fb