2026-04-27 17:47:47,341 - INFO - Domain Default found not creating
2026-04-27 17:47:47,650 - INFO - Project ctest-TestPorts-79693119 not found, creating it
2026-04-27 17:47:48,165 - INFO - Created Project:ctest-TestPorts-79693119, ID : 06726f35-5533-4bc2-af1d-7841d50423c2
2026-04-27 17:47:49,783 - INFO - ================================================================================
2026-04-27 17:47:49,783 - INFO - STARTING TEST : test_ports_bindings
2026-04-27 17:47:49,783 - 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
2026-04-27 17:47:50,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-27 17:47:50,044 - INFO - Initial checks done. Running the testcase now
2026-04-27 17:47:50,045 - INFO -
2026-04-27 17:47:50,653 - DEBUG - Response for create_network : {'network': {'id': '2e1de9d3-0e05-4656-a74b-92cad3eb484b', 'name': 'ctest-vn-01831426', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'project_id': '06726f3555334bc2af1d7841d50423c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79693119', 'ctest-vn-01831426'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:47:50,864 - DEBUG - Response for create_subnet : {'subnet': {'id': '53169d02-60a0-4af6-8b5b-933a0165bcb1', 'name': '', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': '2e1de9d3-0e05-4656-a74b-92cad3eb484b', 'ip_version': 4, 'cidr': '1.180.76.128/26', 'allocation_pools': [{'start': '1.180.76.130', 'end': '1.180.76.190'}], 'gateway_ip': '1.180.76.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.180.76.130', 'tags': [], 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:50,886 - INFO - Created VN ctest-vn-01831426
2026-04-27 17:47:50,943 - DEBUG - VN ctest-vn-01831426 UUID is 2e1de9d3-0e05-4656-a74b-92cad3eb484b
2026-04-27 17:47:51,062 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79693119', 'ctest-vmi-55116831']}
2026-04-27 17:47:51,335 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55116831', 'id': '7e84af23-c97c-4cd8-ba0f-5fee8092f19b', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': '2e1de9d3-0e05-4656-a74b-92cad3eb484b', 'mac_address': '02:7e:84:af:23:c9', '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': '1.180.76.131', 'subnet_id': '53169d02-60a0-4af6-8b5b-933a0165bcb1'}], 'security_groups': ['a78ec156-b52c-435d-a7a7-a14c092bd04b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:51,336 - DEBUG - Created port 7e84af23-c97c-4cd8-ba0f-5fee8092f19b
2026-04-27 17:47:51,443 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e84af23-c97c-4cd8-ba0f-5fee8092f19b
2026-04-27 17:47:51,748 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e84af23-c97c-4cd8-ba0f-5fee8092f19b
2026-04-27 17:47:51,788 - INFO - VMI 7e84af23-c97c-4cd8-ba0f-5fee8092f19b verification in API Server passed
2026-04-27 17:47:51,886 - DEBUG - Response for delete_port : ()
2026-04-27 17:47:51,886 - INFO - Deleted port 7e84af23-c97c-4cd8-ba0f-5fee8092f19b
2026-04-27 17:47:51,886 - INFO - Deleting VN ctest-vn-01831426
2026-04-27 17:47:51,995 - DEBUG - Response for deleting network ()
2026-04-27 17:47:52,264 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 17:47:52,264 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-04-27 17:47:52,264 - INFO - --------------------------------------------------------------------------------
2026-04-27 17:47:52,267 - INFO - ================================================================================
2026-04-27 17:47:52,267 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-04-27 17:47:52,267 - 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
2026-04-27 17:47:52,561 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-04-27 17:47:52,561 - INFO - Initial checks done. Running the testcase now
2026-04-27 17:47:52,561 - INFO -
2026-04-27 17:47:52,764 - DEBUG - Response for create_network : {'network': {'id': 'eabba81f-7ab9-4db3-891b-d81d683c47fd', 'name': 'ctest-vn1-79776755', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'project_id': '06726f3555334bc2af1d7841d50423c2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79693119', 'ctest-vn1-79776755'], 'port_security_enabled': True, 'description': ''}}
2026-04-27 17:47:52,925 - DEBUG - Response for create_subnet : {'subnet': {'id': '9fc54288-c8d8-428c-ac4e-3890755a8118', 'name': '', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': 'eabba81f-7ab9-4db3-891b-d81d683c47fd', 'ip_version': 4, 'cidr': '148.27.189.0/26', 'allocation_pools': [{'start': '148.27.189.2', 'end': '148.27.189.62'}], 'gateway_ip': '148.27.189.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.27.189.2', 'tags': [], 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:53,099 - DEBUG - Response for create_subnet : {'subnet': {'id': '38e98b49-a23a-4347-bead-3d0bbcb4a2ca', 'name': '', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': 'eabba81f-7ab9-4db3-891b-d81d683c47fd', 'ip_version': 4, 'cidr': '7.145.132.192/26', 'allocation_pools': [{'start': '7.145.132.194', 'end': '7.145.132.254'}], 'gateway_ip': '7.145.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.145.132.194', 'tags': [], 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:53,121 - INFO - Created VN ctest-vn1-79776755
2026-04-27 17:47:53,175 - DEBUG - VN ctest-vn1-79776755 UUID is eabba81f-7ab9-4db3-891b-d81d683c47fd
2026-04-27 17:47:53,504 - DEBUG - Response for create_port : {'port': {'name': '45be7b7c-99f8-44d3-a7dd-0cacad4e40d3', 'id': '45be7b7c-99f8-44d3-a7dd-0cacad4e40d3', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': 'eabba81f-7ab9-4db3-891b-d81d683c47fd', 'mac_address': '02:45:be:7b:7c:99', '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': '148.27.189.5', 'subnet_id': '9fc54288-c8d8-428c-ac4e-3890755a8118'}], 'security_groups': ['a78ec156-b52c-435d-a7a7-a14c092bd04b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:53,713 - DEBUG - Response for create_port : {'port': {'name': '75a822c3-bf46-4a3a-b116-12d99c26c640', 'id': '75a822c3-bf46-4a3a-b116-12d99c26c640', 'tenant_id': '06726f3555334bc2af1d7841d50423c2', 'network_id': 'eabba81f-7ab9-4db3-891b-d81d683c47fd', 'mac_address': '02:75:a8:22:c3:bf', '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': '7.145.132.197', 'subnet_id': '38e98b49-a23a-4347-bead-3d0bbcb4a2ca'}], 'security_groups': ['a78ec156-b52c-435d-a7a7-a14c092bd04b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '06726f3555334bc2af1d7841d50423c2'}}
2026-04-27 17:47:53,778 - DEBUG - Services list from nova: [, , ]
2026-04-27 17:47:54,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1)
2026-04-27 17:47:54,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5698-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5698-1)
2026-04-27 17:47:54,725 - INFO - Waiting for VM ctest-vn1-vm1-07224318 to be up..
2026-04-27 17:47:54,770 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-04-27 17:47:59,862 - DEBUG - VM is in ACTIVE state now
2026-04-27 17:47:59,862 - INFO - VM name : ctest-vn1-vm1-07224318
2026-04-27 17:47:59,951 - DEBUG - VM ctest-vn1-vm1-07224318 ID is 8d2705de-1f86-417d-b389-7c9ad2d8c8b7
2026-04-27 17:47:59,976 - DEBUG - VM ctest-vn1-vm1-07224318 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1
2026-04-27 17:48:00,086 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8d2705de-1f86-417d-b389-7c9ad2d8c8b7
2026-04-27 17:48:00,097 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/45be7b7c-99f8-44d3-a7dd-0cacad4e40d3
2026-04-27 17:48:03,382 - 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-04-27 17:48:03,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07224318 failed!
2026-04-27 17:48:03,439 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79693119:ctest-vn1-79776755 is 148.27.189.1 and allocation pool is NOT set
2026-04-27 17:48:03,439 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79693119:ctest-vn1-79776755 is 7.145.132.193 and allocation pool is NOT set
2026-04-27 17:48:07,505 - 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=14.7 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 14.706/14.706/14.706/0.000 ms')
2026-04-27 17:48:07,505 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07224318 passed
2026-04-27 17:48:07,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 17:48:07,667 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07224318, IP 148.27.189.5, Port 22
2026-04-27 17:48:07,833 - DEBUG - VM ctest-vn1-vm1-07224318 is ready for SSH connections
2026-04-27 17:48:07,833 - INFO - Waiting for VM ctest-vn1-vm2-41189677 to be up..
2026-04-27 17:48:07,920 - DEBUG - VM is in ACTIVE state now
2026-04-27 17:48:07,920 - INFO - VM name : ctest-vn1-vm2-41189677
2026-04-27 17:48:08,007 - DEBUG - VM ctest-vn1-vm2-41189677 ID is 31d4cc47-0d12-40a6-be55-bd102762e02c
2026-04-27 17:48:08,007 - DEBUG - VM ctest-vn1-vm2-41189677 launched on Node cn-jenkins-deploy-platform-ansible-os-5698-1
2026-04-27 17:48:08,104 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31d4cc47-0d12-40a6-be55-bd102762e02c
2026-04-27 17:48:08,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/75a822c3-bf46-4a3a-b116-12d99c26c640
2026-04-27 17:48:09,362 - 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=2.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.732 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.732/1.822/2.912/1.090 ms')
2026-04-27 17:48:09,362 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-41189677 passed
2026-04-27 17:48:09,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 17:48:09,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-41189677, IP 7.145.132.197, Port 22
2026-04-27 17:48:09,667 - DEBUG - VM ctest-vn1-vm2-41189677 is ready for SSH connections
2026-04-27 17:48:09,667 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 17:48:09,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 17:48:09,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-04-27 17:48:09,668 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.27.189.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-04-27 17:48:09,668 - DEBUG - ping -s 56 -c 3 -W 1 148.27.189.5
2026-04-27 17:48:12,350 - DEBUG - PING 148.27.189.5 (148.27.189.5): 56 data bytes
64 bytes from 148.27.189.5: seq=0 ttl=63 time=3.844 ms
64 bytes from 148.27.189.5: seq=1 ttl=63 time=1.130 ms
64 bytes from 148.27.189.5: seq=2 ttl=63 time=1.012 ms
--- 148.27.189.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.012/1.995/3.844 ms
2026-04-27 17:48:12,350 - INFO - Ping to IP 148.27.189.5 from VM ctest-vn1-vm2-41189677 passed
2026-04-27 17:48:12,350 - INFO - Detaching port 75a822c3-bf46-4a3a-b116-12d99c26c640 from VM ctest-vn1-vm2-41189677
2026-04-27 17:48:12,416 - INFO - Deleting VM ctest-vn1-vm2-41189677
2026-04-27 17:48:12,494 - INFO - Detaching port 45be7b7c-99f8-44d3-a7dd-0cacad4e40d3 from VM ctest-vn1-vm1-07224318
2026-04-27 17:48:12,535 - INFO - Deleting VM ctest-vn1-vm1-07224318
2026-04-27 17:48:12,813 - DEBUG - Response for delete_port : ()
2026-04-27 17:48:13,063 - DEBUG - Response for delete_port : ()
2026-04-27 17:48:13,063 - INFO - Deleting VN ctest-vn1-79776755
2026-04-27 17:48:13,230 - DEBUG - Response for deleting network ()
2026-04-27 17:48:13,504 - DEBUG - No XMPP flaps were noticed during the test
2026-04-27 17:48:13,504 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2026-04-27 17:48:13,504 - INFO - --------------------------------------------------------------------------------
2026-04-27 17:48:14,275 - INFO - Deleted project: ctest-TestPorts-79693119, ID : 06726f35-5533-4bc2-af1d-7841d50423c2