2026-01-12 19:23:41,398 - INFO - Domain Default found not creating 2026-01-12 19:23:41,596 - INFO - Project ctest-TestPorts-29594132 not found, creating it 2026-01-12 19:23:42,061 - INFO - Created Project:ctest-TestPorts-29594132, ID : 1fd2fe76-275e-422b-9cbc-5df1701037bc 2026-01-12 19:23:43,726 - INFO - ================================================================================ 2026-01-12 19:23:43,726 - INFO - STARTING TEST : test_ports_bindings 2026-01-12 19:23:43,726 - 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-01-12 19:23:43,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-12 19:23:43,991 - INFO - Initial checks done. Running the testcase now 2026-01-12 19:23:43,992 - INFO - 2026-01-12 19:23:44,572 - DEBUG - Response for create_network : {'network': {'id': '7c28e1ce-111c-4211-b4d1-f8925ac75147', 'name': 'ctest-vn-57833707', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'project_id': '1fd2fe76275e422b9cbc5df1701037bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29594132', 'ctest-vn-57833707'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:23:44,780 - DEBUG - Response for create_subnet : {'subnet': {'id': '115ac79d-8d19-48e3-b694-e4e7b2b0417e', 'name': '', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': '7c28e1ce-111c-4211-b4d1-f8925ac75147', 'ip_version': 4, 'cidr': '112.79.40.128/26', 'allocation_pools': [{'start': '112.79.40.130', 'end': '112.79.40.190'}], 'gateway_ip': '112.79.40.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.79.40.130', 'tags': [], 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:44,802 - INFO - Created VN ctest-vn-57833707 2026-01-12 19:23:44,855 - DEBUG - VN ctest-vn-57833707 UUID is 7c28e1ce-111c-4211-b4d1-f8925ac75147 2026-01-12 19:23:44,968 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-29594132', 'ctest-vmi-22940196']} 2026-01-12 19:23:45,240 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-22940196', 'id': '8de20783-f75c-43f0-8256-7c78688cf915', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': '7c28e1ce-111c-4211-b4d1-f8925ac75147', 'mac_address': '02:8d:e2:07:83:f7', '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': '112.79.40.131', 'subnet_id': '115ac79d-8d19-48e3-b694-e4e7b2b0417e'}], 'security_groups': ['a6ac322b-72e5-4a7c-844a-2fe0cee34170'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:45,240 - DEBUG - Created port 8de20783-f75c-43f0-8256-7c78688cf915 2026-01-12 19:23:45,347 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8de20783-f75c-43f0-8256-7c78688cf915 2026-01-12 19:23:45,662 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/8de20783-f75c-43f0-8256-7c78688cf915 2026-01-12 19:23:45,700 - INFO - VMI 8de20783-f75c-43f0-8256-7c78688cf915 verification in API Server passed 2026-01-12 19:23:45,795 - DEBUG - Response for delete_port : () 2026-01-12 19:23:45,795 - INFO - Deleted port 8de20783-f75c-43f0-8256-7c78688cf915 2026-01-12 19:23:45,795 - INFO - Deleting VN ctest-vn-57833707 2026-01-12 19:23:45,894 - DEBUG - Response for deleting network () 2026-01-12 19:23:46,164 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 19:23:46,164 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-12 19:23:46,164 - INFO - -------------------------------------------------------------------------------- 2026-01-12 19:23:46,166 - INFO - ================================================================================ 2026-01-12 19:23:46,167 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-12 19:23:46,167 - 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-01-12 19:23:46,460 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-01-12 19:23:46,460 - INFO - Initial checks done. Running the testcase now 2026-01-12 19:23:46,460 - INFO - 2026-01-12 19:23:46,639 - DEBUG - Response for create_network : {'network': {'id': 'e6bcbcf6-fafd-450d-a9b8-16d7552ffa49', 'name': 'ctest-vn1-86045570', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'project_id': '1fd2fe76275e422b9cbc5df1701037bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-29594132', 'ctest-vn1-86045570'], 'port_security_enabled': True, 'description': ''}} 2026-01-12 19:23:46,812 - DEBUG - Response for create_subnet : {'subnet': {'id': 'efd57958-9f48-46d0-ad8a-e39bedb2e587', 'name': '', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': 'e6bcbcf6-fafd-450d-a9b8-16d7552ffa49', 'ip_version': 4, 'cidr': '162.168.209.192/26', 'allocation_pools': [{'start': '162.168.209.194', 'end': '162.168.209.254'}], 'gateway_ip': '162.168.209.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.168.209.194', 'tags': [], 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:47,014 - DEBUG - Response for create_subnet : {'subnet': {'id': '75448a6c-11fa-47f3-9f75-b2edb2186fe3', 'name': '', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': 'e6bcbcf6-fafd-450d-a9b8-16d7552ffa49', 'ip_version': 4, 'cidr': '145.23.239.0/26', 'allocation_pools': [{'start': '145.23.239.2', 'end': '145.23.239.62'}], 'gateway_ip': '145.23.239.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.23.239.2', 'tags': [], 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:47,034 - INFO - Created VN ctest-vn1-86045570 2026-01-12 19:23:47,087 - DEBUG - VN ctest-vn1-86045570 UUID is e6bcbcf6-fafd-450d-a9b8-16d7552ffa49 2026-01-12 19:23:47,388 - DEBUG - Response for create_port : {'port': {'name': '2a1c054e-e4ed-43e4-8b53-b3409cd20cc2', 'id': '2a1c054e-e4ed-43e4-8b53-b3409cd20cc2', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': 'e6bcbcf6-fafd-450d-a9b8-16d7552ffa49', 'mac_address': '02:2a:1c:05:4e:e4', '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': '162.168.209.197', 'subnet_id': 'efd57958-9f48-46d0-ad8a-e39bedb2e587'}], 'security_groups': ['a6ac322b-72e5-4a7c-844a-2fe0cee34170'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:47,552 - DEBUG - Response for create_port : {'port': {'name': '5de63ff0-3756-4cf0-bb15-3ea8b3367b52', 'id': '5de63ff0-3756-4cf0-bb15-3ea8b3367b52', 'tenant_id': '1fd2fe76275e422b9cbc5df1701037bc', 'network_id': 'e6bcbcf6-fafd-450d-a9b8-16d7552ffa49', 'mac_address': '02:5d:e6:3f:f0:37', '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': '145.23.239.5', 'subnet_id': '75448a6c-11fa-47f3-9f75-b2edb2186fe3'}], 'security_groups': ['a6ac322b-72e5-4a7c-844a-2fe0cee34170'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1fd2fe76275e422b9cbc5df1701037bc'}} 2026-01-12 19:23:47,609 - DEBUG - Services list from nova: [, , ] 2026-01-12 19:23:47,958 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:23:48,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4995-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4995-1) 2026-01-12 19:23:48,348 - INFO - Waiting for VM ctest-vn1-vm1-55475974 to be up.. 2026-01-12 19:23:48,388 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-12 19:23:53,460 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:23:53,460 - INFO - VM name : ctest-vn1-vm1-55475974 2026-01-12 19:23:53,530 - DEBUG - VM ctest-vn1-vm1-55475974 ID is e1bbc252-bcbf-43ac-8149-fd303948b761 2026-01-12 19:23:53,549 - DEBUG - VM ctest-vn1-vm1-55475974 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:23:53,641 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/e1bbc252-bcbf-43ac-8149-fd303948b761 2026-01-12 19:23:53,649 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2a1c054e-e4ed-43e4-8b53-b3409cd20cc2 2026-01-12 19:23:56,886 - 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 1001ms') 2026-01-12 19:23:56,886 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55475974 failed! 2026-01-12 19:23:56,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29594132:ctest-vn1-86045570 is 162.168.209.193 and allocation pool is NOT set 2026-01-12 19:23:56,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-29594132:ctest-vn1-86045570 is 145.23.239.1 and allocation pool is NOT set 2026-01-12 19:24:01,017 - 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=8.40 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 8.404/8.404/8.404/0.000 ms') 2026-01-12 19:24:01,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55475974 passed 2026-01-12 19:24:01,175 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:01,175 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55475974, IP 162.168.209.197, Port 22 2026-01-12 19:24:01,241 - 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-01-12 19:24:01,333 - DEBUG - VM ctest-vn1-vm1-55475974 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-12 19:24:06,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:06,333 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55475974, IP 162.168.209.197, Port 22 2026-01-12 19:24:06,499 - DEBUG - VM ctest-vn1-vm1-55475974 is ready for SSH connections 2026-01-12 19:24:06,499 - INFO - Waiting for VM ctest-vn1-vm2-96355528 to be up.. 2026-01-12 19:24:06,577 - DEBUG - VM is in ACTIVE state now 2026-01-12 19:24:06,577 - INFO - VM name : ctest-vn1-vm2-96355528 2026-01-12 19:24:06,658 - DEBUG - VM ctest-vn1-vm2-96355528 ID is 3385f40d-a303-4555-a050-3df98e2d85db 2026-01-12 19:24:06,658 - DEBUG - VM ctest-vn1-vm2-96355528 launched on Node cn-jenkins-deploy-platform-ansible-os-4995-1 2026-01-12 19:24:06,734 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3385f40d-a303-4555-a050-3df98e2d85db 2026-01-12 19:24:06,744 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5de63ff0-3756-4cf0-bb15-3ea8b3367b52 2026-01-12 19:24:08,003 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.520 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.520/1.801/3.083/1.281 ms') 2026-01-12 19:24:08,003 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-96355528 passed 2026-01-12 19:24:08,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:08,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-96355528, IP 145.23.239.5, Port 22 2026-01-12 19:24:08,307 - DEBUG - VM ctest-vn1-vm2-96355528 is ready for SSH connections 2026-01-12 19:24:08,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:08,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:08,307 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-12 19:24:08,307 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.168.209.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-01-12 19:24:08,308 - DEBUG - ping -s 56 -c 3 -W 1 162.168.209.197 2026-01-12 19:24:10,963 - DEBUG - PING 162.168.209.197 (162.168.209.197): 56 data bytes 64 bytes from 162.168.209.197: seq=0 ttl=63 time=4.612 ms 64 bytes from 162.168.209.197: seq=1 ttl=63 time=1.379 ms 64 bytes from 162.168.209.197: seq=2 ttl=63 time=1.228 ms --- 162.168.209.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.228/2.406/4.612 ms 2026-01-12 19:24:10,963 - INFO - Ping to IP 162.168.209.197 from VM ctest-vn1-vm2-96355528 passed 2026-01-12 19:24:10,964 - INFO - Detaching port 5de63ff0-3756-4cf0-bb15-3ea8b3367b52 from VM ctest-vn1-vm2-96355528 2026-01-12 19:24:11,025 - INFO - Deleting VM ctest-vn1-vm2-96355528 2026-01-12 19:24:11,114 - INFO - Detaching port 2a1c054e-e4ed-43e4-8b53-b3409cd20cc2 from VM ctest-vn1-vm1-55475974 2026-01-12 19:24:11,154 - INFO - Deleting VM ctest-vn1-vm1-55475974 2026-01-12 19:24:11,415 - DEBUG - Response for delete_port : () 2026-01-12 19:24:11,581 - DEBUG - Response for delete_port : () 2026-01-12 19:24:11,581 - INFO - Deleting VN ctest-vn1-86045570 2026-01-12 19:24:11,733 - DEBUG - Response for deleting network () 2026-01-12 19:24:12,001 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 19:24:12,001 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2026-01-12 19:24:12,001 - INFO - -------------------------------------------------------------------------------- 2026-01-12 19:24:12,714 - INFO - Deleted project: ctest-TestPorts-29594132, ID : 1fd2fe76-275e-422b-9cbc-5df1701037bc