2026-02-26 14:36:30,143 - INFO - Domain Default found not creating
2026-02-26 14:36:30,324 - INFO - Project ctest-TestPorts-37284521 not found, creating it
2026-02-26 14:36:30,803 - INFO - Created Project:ctest-TestPorts-37284521, ID : 21053866-ec6a-4d64-aaaa-75ddd7f56284
2026-02-26 14:36:32,321 - INFO - ================================================================================
2026-02-26 14:36:32,321 - INFO - STARTING TEST : test_ports_bindings
2026-02-26 14:36:32,321 - 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-02-26 14:36:32,579 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-02-26 14:36:32,579 - INFO - Initial checks done. Running the testcase now
2026-02-26 14:36:32,579 - INFO -
2026-02-26 14:36:33,158 - DEBUG - Response for create_network : {'network': {'id': '0c4f351b-5992-4f15-b257-a86aacfb3875', 'name': 'ctest-vn-10072535', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'project_id': '21053866ec6a4d64aaaa75ddd7f56284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37284521', 'ctest-vn-10072535'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 14:36:33,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c44b86ca-dbe1-48e5-a8a9-cf34c0077ca7', 'name': '', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0c4f351b-5992-4f15-b257-a86aacfb3875', 'ip_version': 4, 'cidr': '213.153.52.0/26', 'allocation_pools': [{'start': '213.153.52.2', 'end': '213.153.52.62'}], 'gateway_ip': '213.153.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.153.52.2', 'tags': [], 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:33,372 - INFO - Created VN ctest-vn-10072535
2026-02-26 14:36:33,424 - DEBUG - VN ctest-vn-10072535 UUID is 0c4f351b-5992-4f15-b257-a86aacfb3875
2026-02-26 14:36:33,543 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-37284521', 'ctest-vmi-41723235']}
2026-02-26 14:36:33,797 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41723235', 'id': '7be9608b-c240-4a04-9b1b-e092483ced72', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0c4f351b-5992-4f15-b257-a86aacfb3875', 'mac_address': '02:7b:e9:60:8b:c2', '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': '213.153.52.3', 'subnet_id': 'c44b86ca-dbe1-48e5-a8a9-cf34c0077ca7'}], 'security_groups': ['644a4af2-00c0-4d94-b7cb-43fbcc35affa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:33,797 - DEBUG - Created port 7be9608b-c240-4a04-9b1b-e092483ced72
2026-02-26 14:36:33,900 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7be9608b-c240-4a04-9b1b-e092483ced72
2026-02-26 14:36:34,195 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7be9608b-c240-4a04-9b1b-e092483ced72
2026-02-26 14:36:34,233 - INFO - VMI 7be9608b-c240-4a04-9b1b-e092483ced72 verification in API Server passed
2026-02-26 14:36:34,329 - DEBUG - Response for delete_port : ()
2026-02-26 14:36:34,329 - INFO - Deleted port 7be9608b-c240-4a04-9b1b-e092483ced72
2026-02-26 14:36:34,329 - INFO - Deleting VN ctest-vn-10072535
2026-02-26 14:36:34,429 - DEBUG - Response for deleting network ()
2026-02-26 14:36:34,686 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 14:36:34,686 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-26 14:36:34,686 - INFO - --------------------------------------------------------------------------------
2026-02-26 14:36:34,688 - INFO - ================================================================================
2026-02-26 14:36:34,688 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-26 14:36:34,688 - 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-02-26 14:36:34,973 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-02-26 14:36:34,973 - INFO - Initial checks done. Running the testcase now
2026-02-26 14:36:34,973 - INFO -
2026-02-26 14:36:35,146 - DEBUG - Response for create_network : {'network': {'id': '0fa8f0ec-48af-45f0-8134-6d831b5fd347', 'name': 'ctest-vn1-12421173', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'project_id': '21053866ec6a4d64aaaa75ddd7f56284', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-37284521', 'ctest-vn1-12421173'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 14:36:35,327 - DEBUG - Response for create_subnet : {'subnet': {'id': '16be7ca0-201a-4d4b-a5e0-2b52b11459f3', 'name': '', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0fa8f0ec-48af-45f0-8134-6d831b5fd347', 'ip_version': 4, 'cidr': '76.5.176.192/26', 'allocation_pools': [{'start': '76.5.176.194', 'end': '76.5.176.254'}], 'gateway_ip': '76.5.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.5.176.194', 'tags': [], 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:35,474 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a781c56-7907-4d11-8f4f-152e5906e969', 'name': '', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0fa8f0ec-48af-45f0-8134-6d831b5fd347', 'ip_version': 4, 'cidr': '184.88.159.128/26', 'allocation_pools': [{'start': '184.88.159.130', 'end': '184.88.159.190'}], 'gateway_ip': '184.88.159.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.88.159.130', 'tags': [], 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:35,495 - INFO - Created VN ctest-vn1-12421173
2026-02-26 14:36:35,548 - DEBUG - VN ctest-vn1-12421173 UUID is 0fa8f0ec-48af-45f0-8134-6d831b5fd347
2026-02-26 14:36:35,853 - DEBUG - Response for create_port : {'port': {'name': '1b3860aa-3b70-4be3-b00a-69cc0063065b', 'id': '1b3860aa-3b70-4be3-b00a-69cc0063065b', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0fa8f0ec-48af-45f0-8134-6d831b5fd347', 'mac_address': '02:1b:38:60:aa:3b', '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': '76.5.176.197', 'subnet_id': '16be7ca0-201a-4d4b-a5e0-2b52b11459f3'}], 'security_groups': ['644a4af2-00c0-4d94-b7cb-43fbcc35affa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:36,033 - DEBUG - Response for create_port : {'port': {'name': '377914c2-2390-44ad-b1f2-b98dc2fd3956', 'id': '377914c2-2390-44ad-b1f2-b98dc2fd3956', 'tenant_id': '21053866ec6a4d64aaaa75ddd7f56284', 'network_id': '0fa8f0ec-48af-45f0-8134-6d831b5fd347', 'mac_address': '02:37:79:14:c2:23', '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': '184.88.159.133', 'subnet_id': '7a781c56-7907-4d11-8f4f-152e5906e969'}], 'security_groups': ['644a4af2-00c0-4d94-b7cb-43fbcc35affa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '21053866ec6a4d64aaaa75ddd7f56284'}}
2026-02-26 14:36:36,100 - DEBUG - Services list from nova: [, , ]
2026-02-26 14:36:36,453 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5407-1)
2026-02-26 14:36:36,853 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5407-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5407-1)
2026-02-26 14:36:36,854 - INFO - Waiting for VM ctest-vn1-vm1-18946852 to be up..
2026-02-26 14:36:36,894 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-26 14:36:41,971 - DEBUG - VM is in ACTIVE state now
2026-02-26 14:36:41,971 - INFO - VM name : ctest-vn1-vm1-18946852
2026-02-26 14:36:42,048 - DEBUG - VM ctest-vn1-vm1-18946852 ID is bbcac559-390e-479a-9cdc-77dd9022b973
2026-02-26 14:36:42,068 - DEBUG - VM ctest-vn1-vm1-18946852 launched on Node cn-jenkins-deploy-platform-ansible-os-5407-1
2026-02-26 14:36:42,148 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bbcac559-390e-479a-9cdc-77dd9022b973
2026-02-26 14:36:42,158 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1b3860aa-3b70-4be3-b00a-69cc0063065b
2026-02-26 14:36:45,416 - 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 1026ms')
2026-02-26 14:36:45,416 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18946852 failed!
2026-02-26 14:36:45,472 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37284521:ctest-vn1-12421173 is 76.5.176.193 and allocation pool is NOT set
2026-02-26 14:36:45,473 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-37284521:ctest-vn1-12421173 is 184.88.159.129 and allocation pool is NOT set
2026-02-26 14:36:47,534 - 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.77 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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 = 2.227/5.998/9.769/3.771 ms')
2026-02-26 14:36:47,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-18946852 passed
2026-02-26 14:36:47,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:47,685 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18946852, IP 76.5.176.197, Port 22
2026-02-26 14:36:47,740 - 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-02-26 14:36:47,819 - DEBUG - VM ctest-vn1-vm1-18946852 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-26 14:36:52,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:52,819 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-18946852, IP 76.5.176.197, Port 22
2026-02-26 14:36:52,976 - DEBUG - VM ctest-vn1-vm1-18946852 is ready for SSH connections
2026-02-26 14:36:52,976 - INFO - Waiting for VM ctest-vn1-vm2-89488802 to be up..
2026-02-26 14:36:53,057 - DEBUG - VM is in ACTIVE state now
2026-02-26 14:36:53,057 - INFO - VM name : ctest-vn1-vm2-89488802
2026-02-26 14:36:53,140 - DEBUG - VM ctest-vn1-vm2-89488802 ID is 54ebb0d7-3f8c-43d8-b30f-1f8e7019406d
2026-02-26 14:36:53,140 - DEBUG - VM ctest-vn1-vm2-89488802 launched on Node cn-jenkins-deploy-platform-ansible-os-5407-1
2026-02-26 14:36:53,224 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/54ebb0d7-3f8c-43d8-b30f-1f8e7019406d
2026-02-26 14:36:53,233 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/377914c2-2390-44ad-b1f2-b98dc2fd3956
2026-02-26 14:36:54,481 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.546 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.546/2.054/3.563/1.508 ms')
2026-02-26 14:36:54,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89488802 passed
2026-02-26 14:36:54,633 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:54,633 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89488802, IP 184.88.159.133, Port 22
2026-02-26 14:36:54,799 - DEBUG - VM ctest-vn1-vm2-89488802 is ready for SSH connections
2026-02-26 14:36:54,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:54,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:54,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-26 14:36:54,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 76.5.176.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-02-26 14:36:54,799 - DEBUG - ping -s 56 -c 3 -W 1 76.5.176.197
2026-02-26 14:36:57,485 - DEBUG - PING 76.5.176.197 (76.5.176.197): 56 data bytes
64 bytes from 76.5.176.197: seq=0 ttl=63 time=8.308 ms
64 bytes from 76.5.176.197: seq=1 ttl=63 time=0.909 ms
64 bytes from 76.5.176.197: seq=2 ttl=63 time=1.108 ms
--- 76.5.176.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.909/3.441/8.308 ms
2026-02-26 14:36:57,485 - INFO - Ping to IP 76.5.176.197 from VM ctest-vn1-vm2-89488802 passed
2026-02-26 14:36:57,485 - INFO - Detaching port 377914c2-2390-44ad-b1f2-b98dc2fd3956 from VM ctest-vn1-vm2-89488802
2026-02-26 14:36:57,536 - INFO - Deleting VM ctest-vn1-vm2-89488802
2026-02-26 14:36:57,612 - INFO - Detaching port 1b3860aa-3b70-4be3-b00a-69cc0063065b from VM ctest-vn1-vm1-18946852
2026-02-26 14:36:57,647 - INFO - Deleting VM ctest-vn1-vm1-18946852
2026-02-26 14:36:57,890 - DEBUG - Response for delete_port : ()
2026-02-26 14:36:58,048 - DEBUG - Response for delete_port : ()
2026-02-26 14:36:58,048 - INFO - Deleting VN ctest-vn1-12421173
2026-02-26 14:36:58,169 - DEBUG - Response for deleting network ()
2026-02-26 14:36:58,426 - DEBUG - No XMPP flaps were noticed during the test
2026-02-26 14:36:58,426 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-02-26 14:36:58,426 - INFO - --------------------------------------------------------------------------------
2026-02-26 14:36:59,132 - INFO - Deleted project: ctest-TestPorts-37284521, ID : 21053866-ec6a-4d64-aaaa-75ddd7f56284