2026-05-26 16:05:53,542 - INFO - Domain Default found not creating
2026-05-26 16:05:53,705 - INFO - Project ctest-TestPorts-49161426 not found, creating it
2026-05-26 16:05:54,181 - INFO - Created Project:ctest-TestPorts-49161426, ID : 3c56afd2-934d-4139-977c-c85cf381f850
2026-05-26 16:05:55,673 - INFO - ================================================================================
2026-05-26 16:05:55,674 - INFO - STARTING TEST : test_ports_bindings
2026-05-26 16:05:55,674 - 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-05-26 16:05:55,928 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2026-05-26 16:05:55,928 - INFO - Initial checks done. Running the testcase now
2026-05-26 16:05:55,928 - INFO -
2026-05-26 16:05:56,474 - DEBUG - Response for create_network : {'network': {'id': '9ce65d33-1ac2-4729-bcab-acdc69e6efa6', 'name': 'ctest-vn-07869284', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'project_id': '3c56afd2934d4139977cc85cf381f850', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49161426', 'ctest-vn-07869284'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:05:56,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '16b1777c-561a-4dda-90f3-1a9534052086', 'name': '', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': '9ce65d33-1ac2-4729-bcab-acdc69e6efa6', 'ip_version': 4, 'cidr': '164.222.179.64/26', 'allocation_pools': [{'start': '164.222.179.66', 'end': '164.222.179.126'}], 'gateway_ip': '164.222.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.222.179.66', 'tags': [], 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:56,678 - INFO - Created VN ctest-vn-07869284
2026-05-26 16:05:56,729 - DEBUG - VN ctest-vn-07869284 UUID is 9ce65d33-1ac2-4729-bcab-acdc69e6efa6
2026-05-26 16:05:56,834 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49161426', 'ctest-vmi-36963204']}
2026-05-26 16:05:57,107 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36963204', 'id': '658bc41d-08cf-4ffe-840c-6a2ab8c0820d', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': '9ce65d33-1ac2-4729-bcab-acdc69e6efa6', 'mac_address': '02:65:8b:c4:1d:08', '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': '164.222.179.67', 'subnet_id': '16b1777c-561a-4dda-90f3-1a9534052086'}], 'security_groups': ['7788ce35-7f46-4fc7-b502-09cec0182fc7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:57,107 - DEBUG - Created port 658bc41d-08cf-4ffe-840c-6a2ab8c0820d
2026-05-26 16:05:57,213 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/658bc41d-08cf-4ffe-840c-6a2ab8c0820d
2026-05-26 16:05:57,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/658bc41d-08cf-4ffe-840c-6a2ab8c0820d
2026-05-26 16:05:57,546 - INFO - VMI 658bc41d-08cf-4ffe-840c-6a2ab8c0820d verification in API Server passed
2026-05-26 16:05:57,639 - DEBUG - Response for delete_port : ()
2026-05-26 16:05:57,639 - INFO - Deleted port 658bc41d-08cf-4ffe-840c-6a2ab8c0820d
2026-05-26 16:05:57,640 - INFO - Deleting VN ctest-vn-07869284
2026-05-26 16:05:57,736 - DEBUG - Response for deleting network ()
2026-05-26 16:05:57,991 - DEBUG - No XMPP flaps were noticed during the test
2026-05-26 16:05:57,991 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-05-26 16:05:57,991 - INFO - --------------------------------------------------------------------------------
2026-05-26 16:05:57,994 - INFO - ================================================================================
2026-05-26 16:05:57,994 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-26 16:05:57,994 - 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-05-26 16:05:58,278 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2026-05-26 16:05:58,278 - INFO - Initial checks done. Running the testcase now
2026-05-26 16:05:58,278 - INFO -
2026-05-26 16:05:58,448 - DEBUG - Response for create_network : {'network': {'id': 'bceab068-5f7b-4499-99b4-cdad7dc749d0', 'name': 'ctest-vn1-06014759', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'project_id': '3c56afd2934d4139977cc85cf381f850', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49161426', 'ctest-vn1-06014759'], 'port_security_enabled': True, 'description': ''}}
2026-05-26 16:05:58,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fa53cd0-1c3e-4eac-9a78-748e641b7a34', 'name': '', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': 'bceab068-5f7b-4499-99b4-cdad7dc749d0', 'ip_version': 4, 'cidr': '36.207.254.64/26', 'allocation_pools': [{'start': '36.207.254.66', 'end': '36.207.254.126'}], 'gateway_ip': '36.207.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.207.254.66', 'tags': [], 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:58,778 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa038e1b-5e18-4133-8265-a94c275cc90c', 'name': '', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': 'bceab068-5f7b-4499-99b4-cdad7dc749d0', 'ip_version': 4, 'cidr': '35.222.185.0/26', 'allocation_pools': [{'start': '35.222.185.2', 'end': '35.222.185.62'}], 'gateway_ip': '35.222.185.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.222.185.2', 'tags': [], 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:58,798 - INFO - Created VN ctest-vn1-06014759
2026-05-26 16:05:58,849 - DEBUG - VN ctest-vn1-06014759 UUID is bceab068-5f7b-4499-99b4-cdad7dc749d0
2026-05-26 16:05:59,143 - DEBUG - Response for create_port : {'port': {'name': 'ffda6c66-c60d-454d-89bd-59bd3a649d74', 'id': 'ffda6c66-c60d-454d-89bd-59bd3a649d74', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': 'bceab068-5f7b-4499-99b4-cdad7dc749d0', 'mac_address': '02:ff:da:6c:66:c6', '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': '36.207.254.69', 'subnet_id': '1fa53cd0-1c3e-4eac-9a78-748e641b7a34'}], 'security_groups': ['7788ce35-7f46-4fc7-b502-09cec0182fc7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:59,308 - DEBUG - Response for create_port : {'port': {'name': '2de925f8-197d-4183-8aa4-1f83f0c295c0', 'id': '2de925f8-197d-4183-8aa4-1f83f0c295c0', 'tenant_id': '3c56afd2934d4139977cc85cf381f850', 'network_id': 'bceab068-5f7b-4499-99b4-cdad7dc749d0', 'mac_address': '02:2d:e9:25:f8:19', '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': '35.222.185.5', 'subnet_id': 'fa038e1b-5e18-4133-8265-a94c275cc90c'}], 'security_groups': ['7788ce35-7f46-4fc7-b502-09cec0182fc7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3c56afd2934d4139977cc85cf381f850'}}
2026-05-26 16:05:59,363 - DEBUG - Services list from nova: [, , ]
2026-05-26 16:05:59,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1)
2026-05-26 16:06:00,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5829-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5829-1)
2026-05-26 16:06:00,122 - INFO - Waiting for VM ctest-vn1-vm1-21065616 to be up..
2026-05-26 16:06:00,162 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-26 16:06:05,237 - DEBUG - VM is in ACTIVE state now
2026-05-26 16:06:05,237 - INFO - VM name : ctest-vn1-vm1-21065616
2026-05-26 16:06:05,307 - DEBUG - VM ctest-vn1-vm1-21065616 ID is 81bf88e0-5ed3-41ee-85a5-85c472328e7f
2026-05-26 16:06:05,327 - DEBUG - VM ctest-vn1-vm1-21065616 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1
2026-05-26 16:06:05,399 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/81bf88e0-5ed3-41ee-85a5-85c472328e7f
2026-05-26 16:06:05,408 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ffda6c66-c60d-454d-89bd-59bd3a649d74
2026-05-26 16:06:08,658 - 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')
2026-05-26 16:06:08,658 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21065616 failed!
2026-05-26 16:06:08,713 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49161426:ctest-vn1-06014759 is 36.207.254.65 and allocation pool is NOT set
2026-05-26 16:06:08,713 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49161426:ctest-vn1-06014759 is 35.222.185.1 and allocation pool is NOT set
2026-05-26 16:06:10,769 - 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=4.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.539 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.539/2.480/4.421/1.941 ms')
2026-05-26 16:06:10,770 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-21065616 passed
2026-05-26 16:06:10,917 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:10,917 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21065616, IP 36.207.254.69, Port 22
2026-05-26 16:06:10,972 - 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': ''}
2026-05-26 16:06:11,066 - DEBUG - VM ctest-vn1-vm1-21065616 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-26 16:06:16,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:16,067 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-21065616, IP 36.207.254.69, Port 22
2026-05-26 16:06:16,229 - DEBUG - VM ctest-vn1-vm1-21065616 is ready for SSH connections
2026-05-26 16:06:16,229 - INFO - Waiting for VM ctest-vn1-vm2-78056067 to be up..
2026-05-26 16:06:16,303 - DEBUG - VM is in ACTIVE state now
2026-05-26 16:06:16,303 - INFO - VM name : ctest-vn1-vm2-78056067
2026-05-26 16:06:16,378 - DEBUG - VM ctest-vn1-vm2-78056067 ID is 799e3c02-04f8-412d-914b-7699918f0c54
2026-05-26 16:06:16,378 - DEBUG - VM ctest-vn1-vm2-78056067 launched on Node cn-jenkins-deploy-platform-ansible-os-5829-1
2026-05-26 16:06:16,455 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/799e3c02-04f8-412d-914b-7699918f0c54
2026-05-26 16:06:16,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2de925f8-197d-4183-8aa4-1f83f0c295c0
2026-05-26 16:06:17,701 - 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.16 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.829/3.161/1.331 ms')
2026-05-26 16:06:17,701 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78056067 passed
2026-05-26 16:06:17,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:17,853 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78056067, IP 35.222.185.5, Port 22
2026-05-26 16:06:18,008 - DEBUG - VM ctest-vn1-vm2-78056067 is ready for SSH connections
2026-05-26 16:06:18,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:18,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:18,008 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-26 16:06:18,008 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 36.207.254.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-05-26 16:06:18,008 - DEBUG - ping -s 56 -c 3 -W 1 36.207.254.69
2026-05-26 16:06:20,647 - DEBUG - PING 36.207.254.69 (36.207.254.69): 56 data bytes
64 bytes from 36.207.254.69: seq=0 ttl=63 time=5.623 ms
64 bytes from 36.207.254.69: seq=1 ttl=63 time=0.695 ms
64 bytes from 36.207.254.69: seq=2 ttl=63 time=1.143 ms
--- 36.207.254.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.695/2.487/5.623 ms
2026-05-26 16:06:20,647 - INFO - Ping to IP 36.207.254.69 from VM ctest-vn1-vm2-78056067 passed
2026-05-26 16:06:20,647 - INFO - Detaching port 2de925f8-197d-4183-8aa4-1f83f0c295c0 from VM ctest-vn1-vm2-78056067
2026-05-26 16:06:20,701 - INFO - Deleting VM ctest-vn1-vm2-78056067
2026-05-26 16:06:20,774 - INFO - Detaching port ffda6c66-c60d-454d-89bd-59bd3a649d74 from VM ctest-vn1-vm1-21065616
2026-05-26 16:06:20,822 - INFO - Deleting VM ctest-vn1-vm1-21065616
2026-05-26 16:06:21,044 - DEBUG - Response for delete_port : ()
2026-05-26 16:06:21,199 - DEBUG - Response for delete_port : ()
2026-05-26 16:06:21,199 - INFO - Deleting VN ctest-vn1-06014759
2026-05-26 16:06:21,332 - DEBUG - Response for deleting network ()
2026-05-26 16:06:21,595 - DEBUG - No XMPP flaps were noticed during the test
2026-05-26 16:06:21,595 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-05-26 16:06:21,596 - INFO - --------------------------------------------------------------------------------
2026-05-26 16:06:22,275 - INFO - Deleted project: ctest-TestPorts-49161426, ID : 3c56afd2-934d-4139-977c-c85cf381f850