2025-10-31 00:22:54,721 - INFO - Domain Default found not creating 2025-10-31 00:22:54,863 - INFO - Project ctest-TestPorts-22974258 not found, creating it 2025-10-31 00:22:55,440 - INFO - Created Project:ctest-TestPorts-22974258, ID : 3dcf9ee8-2654-447b-9e94-44ac24a2963b 2025-10-31 00:22:56,867 - INFO - ================================================================================ 2025-10-31 00:22:56,867 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 00:22:56,868 - 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-10-31 00:22:57,124 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:22:57,124 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:22:57,124 - INFO - 2025-10-31 00:22:57,652 - DEBUG - Response for create_network : {'network': {'id': '330dbef4-80a6-4fea-94f8-632b2e2cfe9e', 'name': 'ctest-vn-06044064', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'project_id': '3dcf9ee82654447b9e9444ac24a2963b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22974258', 'ctest-vn-06044064'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:22:57,804 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d6c9f40-04e5-40c7-8037-f9c304824626', 'name': '', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '330dbef4-80a6-4fea-94f8-632b2e2cfe9e', 'ip_version': 4, 'cidr': '39.32.255.64/26', 'allocation_pools': [{'start': '39.32.255.66', 'end': '39.32.255.126'}], 'gateway_ip': '39.32.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.32.255.66', 'tags': [], 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:22:57,819 - INFO - Created VN ctest-vn-06044064 2025-10-31 00:22:57,871 - DEBUG - VN ctest-vn-06044064 UUID is 330dbef4-80a6-4fea-94f8-632b2e2cfe9e 2025-10-31 00:22:57,968 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22974258', 'ctest-vmi-20571723']} 2025-10-31 00:22:58,235 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-20571723', 'id': 'e278fd35-6751-4af3-949f-6c59b7884032', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '330dbef4-80a6-4fea-94f8-632b2e2cfe9e', 'mac_address': '02:e2:78:fd:35:67', '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': '39.32.255.67', 'subnet_id': '0d6c9f40-04e5-40c7-8037-f9c304824626'}], 'security_groups': ['1e50dac6-1b4e-447b-9832-e3f8009dd50b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:22:58,235 - DEBUG - Created port e278fd35-6751-4af3-949f-6c59b7884032 2025-10-31 00:22:58,343 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e278fd35-6751-4af3-949f-6c59b7884032 2025-10-31 00:22:58,636 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e278fd35-6751-4af3-949f-6c59b7884032 2025-10-31 00:22:58,663 - INFO - VMI e278fd35-6751-4af3-949f-6c59b7884032 verification in API Server passed 2025-10-31 00:22:58,753 - DEBUG - Response for delete_port : () 2025-10-31 00:22:58,753 - INFO - Deleted port e278fd35-6751-4af3-949f-6c59b7884032 2025-10-31 00:22:58,753 - INFO - Deleting VN ctest-vn-06044064 2025-10-31 00:22:58,845 - DEBUG - Response for deleting network () 2025-10-31 00:22:59,114 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:22:59,114 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 00:22:59,114 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:22:59,116 - INFO - ================================================================================ 2025-10-31 00:22:59,116 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 00:22:59,116 - 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-10-31 00:22:59,396 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-31 00:22:59,396 - INFO - Initial checks done. Running the testcase now 2025-10-31 00:22:59,396 - INFO - 2025-10-31 00:22:59,575 - DEBUG - Response for create_network : {'network': {'id': '90e7f77d-6760-45ae-b743-feb4368254c4', 'name': 'ctest-vn1-47536793', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'project_id': '3dcf9ee82654447b9e9444ac24a2963b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22974258', 'ctest-vn1-47536793'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 00:22:59,746 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c66254bd-fd81-41c0-bc62-aca68288fac8', 'name': '', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '90e7f77d-6760-45ae-b743-feb4368254c4', 'ip_version': 4, 'cidr': '105.7.67.128/26', 'allocation_pools': [{'start': '105.7.67.130', 'end': '105.7.67.190'}], 'gateway_ip': '105.7.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.7.67.130', 'tags': [], 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:22:59,905 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bbca0ca1-d793-4725-8c29-e5e5ff55eed1', 'name': '', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '90e7f77d-6760-45ae-b743-feb4368254c4', 'ip_version': 4, 'cidr': '46.7.27.128/26', 'allocation_pools': [{'start': '46.7.27.130', 'end': '46.7.27.190'}], 'gateway_ip': '46.7.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.7.27.130', 'tags': [], 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:22:59,922 - INFO - Created VN ctest-vn1-47536793 2025-10-31 00:22:59,971 - DEBUG - VN ctest-vn1-47536793 UUID is 90e7f77d-6760-45ae-b743-feb4368254c4 2025-10-31 00:23:00,260 - DEBUG - Response for create_port : {'port': {'name': 'fa9ba3af-cbec-4b5d-9039-b0b2d130efab', 'id': 'fa9ba3af-cbec-4b5d-9039-b0b2d130efab', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '90e7f77d-6760-45ae-b743-feb4368254c4', 'mac_address': '02:fa:9b:a3:af:cb', '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': '105.7.67.133', 'subnet_id': 'c66254bd-fd81-41c0-bc62-aca68288fac8'}], 'security_groups': ['1e50dac6-1b4e-447b-9832-e3f8009dd50b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:23:00,411 - DEBUG - Response for create_port : {'port': {'name': '53e66a35-fc7d-4929-b480-ba8b3174f07e', 'id': '53e66a35-fc7d-4929-b480-ba8b3174f07e', 'tenant_id': '3dcf9ee82654447b9e9444ac24a2963b', 'network_id': '90e7f77d-6760-45ae-b743-feb4368254c4', 'mac_address': '02:53:e6:6a:35:fc', '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': '46.7.27.133', 'subnet_id': 'bbca0ca1-d793-4725-8c29-e5e5ff55eed1'}], 'security_groups': ['1e50dac6-1b4e-447b-9832-e3f8009dd50b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3dcf9ee82654447b9e9444ac24a2963b'}} 2025-10-31 00:23:00,465 - DEBUG - Services list from nova: [, , ] 2025-10-31 00:23:00,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:23:01,173 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4562-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4562-1) 2025-10-31 00:23:01,173 - INFO - Waiting for VM ctest-vn1-vm1-98432087 to be up.. 2025-10-31 00:23:01,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 00:23:06,275 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:23:06,275 - INFO - VM name : ctest-vn1-vm1-98432087 2025-10-31 00:23:06,344 - DEBUG - VM ctest-vn1-vm1-98432087 ID is 50e6bebe-7546-417c-895e-0a50dc0a14ae 2025-10-31 00:23:06,365 - DEBUG - VM ctest-vn1-vm1-98432087 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:23:06,439 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/50e6bebe-7546-417c-895e-0a50dc0a14ae 2025-10-31 00:23:06,446 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fa9ba3af-cbec-4b5d-9039-b0b2d130efab 2025-10-31 00:23:09,721 - 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 1010ms') 2025-10-31 00:23:09,721 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-98432087 failed! 2025-10-31 00:23:09,775 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22974258:ctest-vn1-47536793 is 105.7.67.129 and allocation pool is NOT set 2025-10-31 00:23:09,775 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22974258:ctest-vn1-47536793 is 46.7.27.129 and allocation pool is NOT set 2025-10-31 00:23:11,831 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.42 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 = 1.421/2.676/3.931/1.255 ms') 2025-10-31 00:23:11,831 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-98432087 passed 2025-10-31 00:23:11,979 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:11,979 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98432087, IP 105.7.67.133, Port 22 2025-10-31 00:23:12,145 - DEBUG - VM ctest-vn1-vm1-98432087 is ready for SSH connections 2025-10-31 00:23:12,145 - INFO - Waiting for VM ctest-vn1-vm2-38893109 to be up.. 2025-10-31 00:23:12,217 - DEBUG - VM is in ACTIVE state now 2025-10-31 00:23:12,217 - INFO - VM name : ctest-vn1-vm2-38893109 2025-10-31 00:23:12,281 - DEBUG - VM ctest-vn1-vm2-38893109 ID is 7df02cf6-be48-4ee7-8c97-d8e134a49657 2025-10-31 00:23:12,281 - DEBUG - VM ctest-vn1-vm2-38893109 launched on Node cn-jenkins-deploy-platform-ansible-os-4562-1 2025-10-31 00:23:12,472 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7df02cf6-be48-4ee7-8c97-d8e134a49657 2025-10-31 00:23:12,480 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/53e66a35-fc7d-4929-b480-ba8b3174f07e 2025-10-31 00:23:13,713 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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 = 0.366/1.570/2.775/1.204 ms') 2025-10-31 00:23:13,713 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-38893109 passed 2025-10-31 00:23:13,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:13,863 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38893109, IP 46.7.27.133, Port 22 2025-10-31 00:23:14,018 - DEBUG - VM ctest-vn1-vm2-38893109 is ready for SSH connections 2025-10-31 00:23:14,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:14,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:14,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 00:23:14,018 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.7.67.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 00:23:14,018 - DEBUG - ping -s 56 -c 3 -W 1 105.7.67.133 2025-10-31 00:23:17,691 - DEBUG - PING 105.7.67.133 (105.7.67.133): 56 data bytes 64 bytes from 105.7.67.133: seq=0 ttl=63 time=4.221 ms 64 bytes from 105.7.67.133: seq=1 ttl=63 time=0.885 ms 64 bytes from 105.7.67.133: seq=2 ttl=63 time=0.765 ms --- 105.7.67.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.765/1.957/4.221 ms 2025-10-31 00:23:17,691 - INFO - Ping to IP 105.7.67.133 from VM ctest-vn1-vm2-38893109 passed 2025-10-31 00:23:17,691 - INFO - Detaching port 53e66a35-fc7d-4929-b480-ba8b3174f07e from VM ctest-vn1-vm2-38893109 2025-10-31 00:23:17,759 - INFO - Deleting VM ctest-vn1-vm2-38893109 2025-10-31 00:23:17,827 - INFO - Detaching port fa9ba3af-cbec-4b5d-9039-b0b2d130efab from VM ctest-vn1-vm1-98432087 2025-10-31 00:23:17,860 - INFO - Deleting VM ctest-vn1-vm1-98432087 2025-10-31 00:23:18,064 - DEBUG - Response for delete_port : () 2025-10-31 00:23:18,220 - DEBUG - Response for delete_port : () 2025-10-31 00:23:18,220 - INFO - Deleting VN ctest-vn1-47536793 2025-10-31 00:23:18,334 - DEBUG - Response for deleting network () 2025-10-31 00:23:18,595 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 00:23:18,595 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-31 00:23:18,595 - INFO - -------------------------------------------------------------------------------- 2025-10-31 00:23:19,259 - INFO - Deleted project: ctest-TestPorts-22974258, ID : 3dcf9ee8-2654-447b-9e94-44ac24a2963b