2026-08-20 19:29:53,682 - INFO - Domain Default found not creating
2026-08-20 19:29:53,874 - INFO - Project ctest-TestPorts-09010728 not found, creating it
2026-08-20 19:29:54,429 - INFO - Created Project:ctest-TestPorts-09010728, ID : b028a120-7987-44b9-9aaa-e28eb0758973
2026-08-20 19:29:56,215 - INFO - ================================================================================
2026-08-20 19:29:56,215 - INFO - STARTING TEST : test_ports_bindings
2026-08-20 19:29:56,216 - 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-08-20 19:29:56,493 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.254': '0'}} with
2026-08-20 19:29:56,493 - INFO - Initial checks done. Running the testcase now
2026-08-20 19:29:56,493 - INFO -
2026-08-20 19:29:57,180 - DEBUG - Response for create_network : {'network': {'id': 'fceed9bc-5f97-4dc5-b056-1ee59bf1ff35', 'name': 'ctest-vn-52519417', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'project_id': 'b028a120798744b99aaae28eb0758973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09010728', 'ctest-vn-52519417'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 19:29:57,419 - DEBUG - Response for create_subnet : {'subnet': {'id': '5941836f-8fbb-408e-8839-1ee37ea949ec', 'name': '', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': 'fceed9bc-5f97-4dc5-b056-1ee59bf1ff35', 'ip_version': 4, 'cidr': '155.146.112.128/26', 'allocation_pools': [{'start': '155.146.112.130', 'end': '155.146.112.190'}], 'gateway_ip': '155.146.112.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '155.146.112.130', 'tags': [], 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:29:57,438 - INFO - Created VN ctest-vn-52519417
2026-08-20 19:29:57,490 - DEBUG - VN ctest-vn-52519417 UUID is fceed9bc-5f97-4dc5-b056-1ee59bf1ff35
2026-08-20 19:29:57,608 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09010728', 'ctest-vmi-93545255']}
2026-08-20 19:29:57,893 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-93545255', 'id': 'f9ae7329-0f70-4325-a622-90ba4f6bf275', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': 'fceed9bc-5f97-4dc5-b056-1ee59bf1ff35', 'mac_address': '02:f9:ae:73:29:0f', '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': '155.146.112.131', 'subnet_id': '5941836f-8fbb-408e-8839-1ee37ea949ec'}], 'security_groups': ['d2c4c6bc-db9c-4ed0-8d8b-6792f630ad31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:29:57,893 - DEBUG - Created port f9ae7329-0f70-4325-a622-90ba4f6bf275
2026-08-20 19:29:58,002 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/f9ae7329-0f70-4325-a622-90ba4f6bf275
2026-08-20 19:29:58,383 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/f9ae7329-0f70-4325-a622-90ba4f6bf275
2026-08-20 19:29:58,421 - INFO - VMI f9ae7329-0f70-4325-a622-90ba4f6bf275 verification in API Server passed
2026-08-20 19:29:58,546 - DEBUG - Response for delete_port : ()
2026-08-20 19:29:58,547 - INFO - Deleted port f9ae7329-0f70-4325-a622-90ba4f6bf275
2026-08-20 19:29:58,547 - INFO - Deleting VN ctest-vn-52519417
2026-08-20 19:29:58,679 - DEBUG - Response for deleting network ()
2026-08-20 19:29:58,946 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 19:29:58,946 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-08-20 19:29:58,946 - INFO - --------------------------------------------------------------------------------
2026-08-20 19:29:58,950 - INFO - ================================================================================
2026-08-20 19:29:58,950 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-08-20 19:29:58,950 - 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-08-20 19:29:59,256 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.254': '0'}} with
2026-08-20 19:29:59,256 - INFO - Initial checks done. Running the testcase now
2026-08-20 19:29:59,256 - INFO -
2026-08-20 19:29:59,469 - DEBUG - Response for create_network : {'network': {'id': '30007869-01db-467d-9ee9-00db633b4ad2', 'name': 'ctest-vn1-24043313', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'project_id': 'b028a120798744b99aaae28eb0758973', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09010728', 'ctest-vn1-24043313'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 19:29:59,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '0adc0353-765c-49ef-bb9d-248e6ce90cf7', 'name': '', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': '30007869-01db-467d-9ee9-00db633b4ad2', 'ip_version': 4, 'cidr': '212.132.70.128/26', 'allocation_pools': [{'start': '212.132.70.130', 'end': '212.132.70.190'}], 'gateway_ip': '212.132.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.132.70.130', 'tags': [], 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:29:59,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '27536717-aad2-4e8d-b0fb-b97e16a56630', 'name': '', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': '30007869-01db-467d-9ee9-00db633b4ad2', 'ip_version': 4, 'cidr': '96.251.11.128/26', 'allocation_pools': [{'start': '96.251.11.130', 'end': '96.251.11.190'}], 'gateway_ip': '96.251.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.251.11.130', 'tags': [], 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:29:59,930 - INFO - Created VN ctest-vn1-24043313
2026-08-20 19:29:59,986 - DEBUG - VN ctest-vn1-24043313 UUID is 30007869-01db-467d-9ee9-00db633b4ad2
2026-08-20 19:30:00,337 - DEBUG - Response for create_port : {'port': {'name': '54553404-b2d7-4730-afd1-e0f0ac5fea27', 'id': '54553404-b2d7-4730-afd1-e0f0ac5fea27', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': '30007869-01db-467d-9ee9-00db633b4ad2', 'mac_address': '02:54:55:34:04:b2', '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': '212.132.70.133', 'subnet_id': '0adc0353-765c-49ef-bb9d-248e6ce90cf7'}], 'security_groups': ['d2c4c6bc-db9c-4ed0-8d8b-6792f630ad31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:30:00,555 - DEBUG - Response for create_port : {'port': {'name': '6fa53d1c-2cc3-4f62-b475-d35bf34b10df', 'id': '6fa53d1c-2cc3-4f62-b475-d35bf34b10df', 'tenant_id': 'b028a120798744b99aaae28eb0758973', 'network_id': '30007869-01db-467d-9ee9-00db633b4ad2', 'mac_address': '02:6f:a5:3d:1c:2c', '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': '96.251.11.133', 'subnet_id': '27536717-aad2-4e8d-b0fb-b97e16a56630'}], 'security_groups': ['d2c4c6bc-db9c-4ed0-8d8b-6792f630ad31'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b028a120798744b99aaae28eb0758973'}}
2026-08-20 19:30:00,618 - DEBUG - Services list from nova: [, , ]
2026-08-20 19:30:00,972 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6195-1)
2026-08-20 19:30:01,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6195-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6195-1)
2026-08-20 19:30:01,401 - INFO - Waiting for VM ctest-vn1-vm1-44818020 to be up..
2026-08-20 19:30:01,442 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:06,503 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:11,592 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:16,675 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:21,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:26,965 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:32,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:37,141 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:42,254 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-20 19:30:47,346 - DEBUG - VM is in ACTIVE state now
2026-08-20 19:30:47,346 - INFO - VM name : ctest-vn1-vm1-44818020
2026-08-20 19:30:47,423 - DEBUG - VM ctest-vn1-vm1-44818020 ID is 8c4de81a-2c7f-4d65-9ec7-ebcb277f5f6a
2026-08-20 19:30:47,443 - DEBUG - VM ctest-vn1-vm1-44818020 launched on Node cn-jenkins-deploy-platform-ansible-os-6195-1
2026-08-20 19:30:47,521 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/8c4de81a-2c7f-4d65-9ec7-ebcb277f5f6a
2026-08-20 19:30:47,531 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/54553404-b2d7-4730-afd1-e0f0ac5fea27
2026-08-20 19:30:50,780 - 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=2 ttl=63 time=6.67 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 6.665/6.665/6.665/0.000 ms')
2026-08-20 19:30:50,780 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-44818020 passed
2026-08-20 19:30:50,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:50,934 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44818020, IP 212.132.70.133, Port 22
2026-08-20 19:30:51,001 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-20 19:30:51,099 - DEBUG - VM ctest-vn1-vm1-44818020 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-20 19:30:56,100 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:56,101 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-44818020, IP 212.132.70.133, Port 22
2026-08-20 19:30:56,276 - DEBUG - VM ctest-vn1-vm1-44818020 is ready for SSH connections
2026-08-20 19:30:56,276 - INFO - Waiting for VM ctest-vn1-vm2-76706592 to be up..
2026-08-20 19:30:56,366 - DEBUG - VM is in ACTIVE state now
2026-08-20 19:30:56,366 - INFO - VM name : ctest-vn1-vm2-76706592
2026-08-20 19:30:56,447 - DEBUG - VM ctest-vn1-vm2-76706592 ID is fdd7d60f-67b2-49eb-abee-96a8a93a5632
2026-08-20 19:30:56,447 - DEBUG - VM ctest-vn1-vm2-76706592 launched on Node cn-jenkins-deploy-platform-ansible-os-6195-1
2026-08-20 19:30:56,524 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/fdd7d60f-67b2-49eb-abee-96a8a93a5632
2026-08-20 19:30:56,533 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/6fa53d1c-2cc3-4f62-b475-d35bf34b10df
2026-08-20 19:30:57,791 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.473 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.473/2.467/4.461/1.994 ms')
2026-08-20 19:30:57,791 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-76706592 passed
2026-08-20 19:30:57,950 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:57,950 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76706592, IP 96.251.11.133, Port 22
2026-08-20 19:30:58,121 - DEBUG - VM ctest-vn1-vm2-76706592 is ready for SSH connections
2026-08-20 19:30:58,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:58,121 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:58,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-20 19:30:58,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 212.132.70.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-08-20 19:30:58,122 - DEBUG - ping -s 56 -c 3 -W 1 212.132.70.133
2026-08-20 19:31:02,139 - DEBUG - PING 212.132.70.133 (212.132.70.133): 56 data bytes
64 bytes from 212.132.70.133: seq=0 ttl=63 time=4.835 ms
64 bytes from 212.132.70.133: seq=1 ttl=63 time=1.256 ms
64 bytes from 212.132.70.133: seq=2 ttl=63 time=1.150 ms
--- 212.132.70.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.150/2.413/4.835 ms
2026-08-20 19:31:02,139 - INFO - Ping to IP 212.132.70.133 from VM ctest-vn1-vm2-76706592 passed
2026-08-20 19:31:02,139 - INFO - Detaching port 6fa53d1c-2cc3-4f62-b475-d35bf34b10df from VM ctest-vn1-vm2-76706592
2026-08-20 19:31:02,200 - INFO - Deleting VM ctest-vn1-vm2-76706592
2026-08-20 19:31:02,284 - INFO - Detaching port 54553404-b2d7-4730-afd1-e0f0ac5fea27 from VM ctest-vn1-vm1-44818020
2026-08-20 19:31:02,323 - INFO - Deleting VM ctest-vn1-vm1-44818020
2026-08-20 19:31:02,607 - DEBUG - Response for delete_port : ()
2026-08-20 19:31:02,836 - DEBUG - Response for delete_port : ()
2026-08-20 19:31:02,837 - INFO - Deleting VN ctest-vn1-24043313
2026-08-20 19:31:03,002 - DEBUG - Response for deleting network ()
2026-08-20 19:31:03,280 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 19:31:03,280 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:05]
2026-08-20 19:31:03,280 - INFO - --------------------------------------------------------------------------------
2026-08-20 19:31:04,073 - INFO - Deleted project: ctest-TestPorts-09010728, ID : b028a120-7987-44b9-9aaa-e28eb0758973