2026-05-27 15:53:21,514 - INFO - Domain Default found not creating
2026-05-27 15:53:21,668 - INFO - Project ctest-TestPorts-50194947 not found, creating it
2026-05-27 15:53:22,122 - INFO - Created Project:ctest-TestPorts-50194947, ID : b53659ab-bcfa-4662-bb77-99cb882eef0d
2026-05-27 15:53:23,654 - INFO - ================================================================================
2026-05-27 15:53:23,654 - INFO - STARTING TEST : test_ports_bindings
2026-05-27 15:53:23,655 - 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-27 15:53:23,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-05-27 15:53:23,908 - INFO - Initial checks done. Running the testcase now
2026-05-27 15:53:23,908 - INFO -
2026-05-27 15:53:24,466 - DEBUG - Response for create_network : {'network': {'id': '0d6e7ddf-6688-4c87-8c2f-350fd2c18e56', 'name': 'ctest-vn-97131967', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'project_id': 'b53659abbcfa4662bb7799cb882eef0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50194947', 'ctest-vn-97131967'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:53:24,651 - DEBUG - Response for create_subnet : {'subnet': {'id': '056c7bbe-af38-4f8e-8c4d-bfaf9c7227ad', 'name': '', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '0d6e7ddf-6688-4c87-8c2f-350fd2c18e56', 'ip_version': 4, 'cidr': '18.36.176.192/26', 'allocation_pools': [{'start': '18.36.176.194', 'end': '18.36.176.254'}], 'gateway_ip': '18.36.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.36.176.194', 'tags': [], 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:24,669 - INFO - Created VN ctest-vn-97131967
2026-05-27 15:53:24,719 - DEBUG - VN ctest-vn-97131967 UUID is 0d6e7ddf-6688-4c87-8c2f-350fd2c18e56
2026-05-27 15:53:24,825 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50194947', 'ctest-vmi-67883928']}
2026-05-27 15:53:25,125 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-67883928', 'id': '5d6bdd08-9100-422b-b795-3d97ada52ffd', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '0d6e7ddf-6688-4c87-8c2f-350fd2c18e56', 'mac_address': '02:5d:6b:dd:08:91', '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': '18.36.176.195', 'subnet_id': '056c7bbe-af38-4f8e-8c4d-bfaf9c7227ad'}], 'security_groups': ['e8fcb2d4-1fb2-47f8-a95f-c3d9c9c4a442'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:25,125 - DEBUG - Created port 5d6bdd08-9100-422b-b795-3d97ada52ffd
2026-05-27 15:53:25,231 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5d6bdd08-9100-422b-b795-3d97ada52ffd
2026-05-27 15:53:25,533 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5d6bdd08-9100-422b-b795-3d97ada52ffd
2026-05-27 15:53:25,572 - INFO - VMI 5d6bdd08-9100-422b-b795-3d97ada52ffd verification in API Server passed
2026-05-27 15:53:25,659 - DEBUG - Response for delete_port : ()
2026-05-27 15:53:25,659 - INFO - Deleted port 5d6bdd08-9100-422b-b795-3d97ada52ffd
2026-05-27 15:53:25,659 - INFO - Deleting VN ctest-vn-97131967
2026-05-27 15:53:25,754 - DEBUG - Response for deleting network ()
2026-05-27 15:53:26,009 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 15:53:26,009 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-05-27 15:53:26,009 - INFO - --------------------------------------------------------------------------------
2026-05-27 15:53:26,012 - INFO - ================================================================================
2026-05-27 15:53:26,012 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-27 15:53:26,012 - 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-27 15:53:26,296 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.17': '0'}} with
2026-05-27 15:53:26,296 - INFO - Initial checks done. Running the testcase now
2026-05-27 15:53:26,296 - INFO -
2026-05-27 15:53:26,456 - DEBUG - Response for create_network : {'network': {'id': '056b40bc-4f93-4b38-9eea-3d06bb8197d6', 'name': 'ctest-vn1-40149588', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'project_id': 'b53659abbcfa4662bb7799cb882eef0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50194947', 'ctest-vn1-40149588'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 15:53:26,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a530c0e9-831d-41be-89ee-75b172827618', 'name': '', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '056b40bc-4f93-4b38-9eea-3d06bb8197d6', 'ip_version': 4, 'cidr': '65.136.241.64/26', 'allocation_pools': [{'start': '65.136.241.66', 'end': '65.136.241.126'}], 'gateway_ip': '65.136.241.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.136.241.66', 'tags': [], 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:26,877 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c3113182-ac48-49c0-b53d-a4c71342e70e', 'name': '', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '056b40bc-4f93-4b38-9eea-3d06bb8197d6', 'ip_version': 4, 'cidr': '154.247.117.64/26', 'allocation_pools': [{'start': '154.247.117.66', 'end': '154.247.117.126'}], 'gateway_ip': '154.247.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.247.117.66', 'tags': [], 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:26,893 - INFO - Created VN ctest-vn1-40149588
2026-05-27 15:53:26,943 - DEBUG - VN ctest-vn1-40149588 UUID is 056b40bc-4f93-4b38-9eea-3d06bb8197d6
2026-05-27 15:53:27,236 - DEBUG - Response for create_port : {'port': {'name': 'd0c52783-58ff-4226-aeb0-7b3c037659ce', 'id': 'd0c52783-58ff-4226-aeb0-7b3c037659ce', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '056b40bc-4f93-4b38-9eea-3d06bb8197d6', 'mac_address': '02:d0:c5:27:83:58', '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': '65.136.241.69', 'subnet_id': 'a530c0e9-831d-41be-89ee-75b172827618'}], 'security_groups': ['e8fcb2d4-1fb2-47f8-a95f-c3d9c9c4a442'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:27,412 - DEBUG - Response for create_port : {'port': {'name': 'f9a2abf2-d4ab-4b59-985a-8df10dc45dbd', 'id': 'f9a2abf2-d4ab-4b59-985a-8df10dc45dbd', 'tenant_id': 'b53659abbcfa4662bb7799cb882eef0d', 'network_id': '056b40bc-4f93-4b38-9eea-3d06bb8197d6', 'mac_address': '02:f9:a2:ab:f2:d4', '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': '154.247.117.69', 'subnet_id': 'c3113182-ac48-49c0-b53d-a4c71342e70e'}], 'security_groups': ['e8fcb2d4-1fb2-47f8-a95f-c3d9c9c4a442'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b53659abbcfa4662bb7799cb882eef0d'}}
2026-05-27 15:53:27,468 - DEBUG - Services list from nova: [, , ]
2026-05-27 15:53:27,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5831-1)
2026-05-27 15:53:28,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5831-1)
2026-05-27 15:53:28,161 - INFO - Waiting for VM ctest-vn1-vm1-92839403 to be up..
2026-05-27 15:53:28,312 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 15:53:33,389 - DEBUG - VM is in ACTIVE state now
2026-05-27 15:53:33,389 - INFO - VM name : ctest-vn1-vm1-92839403
2026-05-27 15:53:33,461 - DEBUG - VM ctest-vn1-vm1-92839403 ID is 597cac59-7259-46d4-b3f7-a900cb4e44a2
2026-05-27 15:53:33,487 - DEBUG - VM ctest-vn1-vm1-92839403 launched on Node cn-jenkins-deploy-platform-ansible-os-5831-1
2026-05-27 15:53:33,562 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/597cac59-7259-46d4-b3f7-a900cb4e44a2
2026-05-27 15:53:33,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/d0c52783-58ff-4226-aeb0-7b3c037659ce
2026-05-27 15:53:36,831 - 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 1023ms')
2026-05-27 15:53:36,831 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92839403 failed!
2026-05-27 15:53:36,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50194947:ctest-vn1-40149588 is 65.136.241.65 and allocation pool is NOT set
2026-05-27 15:53:36,884 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50194947:ctest-vn1-40149588 is 154.247.117.65 and allocation pool is NOT set
2026-05-27 15:53:38,951 - 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=9.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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 = 2.620/5.897/9.174/3.277 ms')
2026-05-27 15:53:38,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92839403 passed
2026-05-27 15:53:39,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:39,100 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92839403, IP 65.136.241.69, Port 22
2026-05-27 15:53:39,155 - 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-27 15:53:39,229 - DEBUG - VM ctest-vn1-vm1-92839403 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-27 15:53:44,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:44,230 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92839403, IP 65.136.241.69, Port 22
2026-05-27 15:53:44,398 - DEBUG - VM ctest-vn1-vm1-92839403 is ready for SSH connections
2026-05-27 15:53:44,398 - INFO - Waiting for VM ctest-vn1-vm2-31484949 to be up..
2026-05-27 15:53:44,475 - DEBUG - VM is in ACTIVE state now
2026-05-27 15:53:44,475 - INFO - VM name : ctest-vn1-vm2-31484949
2026-05-27 15:53:44,551 - DEBUG - VM ctest-vn1-vm2-31484949 ID is 6098e6fb-476f-41bd-8c17-90ff6a14a912
2026-05-27 15:53:44,551 - DEBUG - VM ctest-vn1-vm2-31484949 launched on Node cn-jenkins-deploy-platform-ansible-os-5831-1
2026-05-27 15:53:44,629 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6098e6fb-476f-41bd-8c17-90ff6a14a912
2026-05-27 15:53:44,638 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f9a2abf2-d4ab-4b59-985a-8df10dc45dbd
2026-05-27 15:53:45,876 - 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.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.465/1.973/3.482/1.508 ms')
2026-05-27 15:53:45,876 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31484949 passed
2026-05-27 15:53:46,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:46,024 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31484949, IP 154.247.117.69, Port 22
2026-05-27 15:53:46,189 - DEBUG - VM ctest-vn1-vm2-31484949 is ready for SSH connections
2026-05-27 15:53:46,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:46,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:46,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 15:53:46,189 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.136.241.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123
2026-05-27 15:53:46,190 - DEBUG - ping -s 56 -c 3 -W 1 65.136.241.69
2026-05-27 15:53:48,852 - DEBUG - PING 65.136.241.69 (65.136.241.69): 56 data bytes
64 bytes from 65.136.241.69: seq=0 ttl=63 time=3.479 ms
64 bytes from 65.136.241.69: seq=1 ttl=63 time=1.306 ms
64 bytes from 65.136.241.69: seq=2 ttl=63 time=1.062 ms
--- 65.136.241.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.062/1.949/3.479 ms
2026-05-27 15:53:48,852 - INFO - Ping to IP 65.136.241.69 from VM ctest-vn1-vm2-31484949 passed
2026-05-27 15:53:48,852 - INFO - Detaching port f9a2abf2-d4ab-4b59-985a-8df10dc45dbd from VM ctest-vn1-vm2-31484949
2026-05-27 15:53:48,903 - INFO - Deleting VM ctest-vn1-vm2-31484949
2026-05-27 15:53:48,973 - INFO - Detaching port d0c52783-58ff-4226-aeb0-7b3c037659ce from VM ctest-vn1-vm1-92839403
2026-05-27 15:53:49,011 - INFO - Deleting VM ctest-vn1-vm1-92839403
2026-05-27 15:53:49,264 - DEBUG - Response for delete_port : ()
2026-05-27 15:53:49,437 - DEBUG - Response for delete_port : ()
2026-05-27 15:53:49,437 - INFO - Deleting VN ctest-vn1-40149588
2026-05-27 15:53:49,587 - DEBUG - Response for deleting network ()
2026-05-27 15:53:49,852 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 15:53:49,852 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-05-27 15:53:49,852 - INFO - --------------------------------------------------------------------------------
2026-05-27 15:53:50,539 - INFO - Deleted project: ctest-TestPorts-50194947, ID : b53659ab-bcfa-4662-bb77-99cb882eef0d