2026-02-09 10:07:14,037 - INFO - Domain Default found not creating
2026-02-09 10:07:14,188 - INFO - Project ctest-TestPorts-81863806 not found, creating it
2026-02-09 10:07:14,651 - INFO - Created Project:ctest-TestPorts-81863806, ID : 0f1136b3-f4af-4a54-b403-c197c509c6a5
2026-02-09 10:07:16,069 - INFO - ================================================================================
2026-02-09 10:07:16,069 - INFO - STARTING TEST : test_ports_bindings
2026-02-09 10:07:16,069 - 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-09 10:07:16,332 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-09 10:07:16,332 - INFO - Initial checks done. Running the testcase now
2026-02-09 10:07:16,332 - INFO -
2026-02-09 10:07:16,886 - DEBUG - Response for create_network : {'network': {'id': '1357297b-7d55-416b-9799-f9e4733e34b7', 'name': 'ctest-vn-99952660', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'project_id': '0f1136b3f4af4a54b403c197c509c6a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81863806', 'ctest-vn-99952660'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:07:17,072 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d73ebbe-d261-4ae0-986c-828af3798f08', 'name': '', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': '1357297b-7d55-416b-9799-f9e4733e34b7', 'ip_version': 4, 'cidr': '134.28.106.64/26', 'allocation_pools': [{'start': '134.28.106.66', 'end': '134.28.106.126'}], 'gateway_ip': '134.28.106.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.28.106.66', 'tags': [], 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:17,088 - INFO - Created VN ctest-vn-99952660
2026-02-09 10:07:17,139 - DEBUG - VN ctest-vn-99952660 UUID is 1357297b-7d55-416b-9799-f9e4733e34b7
2026-02-09 10:07:17,242 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-81863806', 'ctest-vmi-78376484']}
2026-02-09 10:07:17,523 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78376484', 'id': '5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': '1357297b-7d55-416b-9799-f9e4733e34b7', 'mac_address': '02:5f:2b:84:cf:8c', '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': '134.28.106.67', 'subnet_id': '9d73ebbe-d261-4ae0-986c-828af3798f08'}], 'security_groups': ['e5db0c72-fc14-44ff-944e-7ce4fa8bf38f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:17,523 - DEBUG - Created port 5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5
2026-02-09 10:07:17,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5
2026-02-09 10:07:17,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5
2026-02-09 10:07:17,954 - INFO - VMI 5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5 verification in API Server passed
2026-02-09 10:07:18,032 - DEBUG - Response for delete_port : ()
2026-02-09 10:07:18,032 - INFO - Deleted port 5f2b84cf-8c97-43a8-ad5f-3dd055f5a8e5
2026-02-09 10:07:18,032 - INFO - Deleting VN ctest-vn-99952660
2026-02-09 10:07:18,126 - DEBUG - Response for deleting network ()
2026-02-09 10:07:18,385 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 10:07:18,386 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-02-09 10:07:18,386 - INFO - --------------------------------------------------------------------------------
2026-02-09 10:07:18,388 - INFO - ================================================================================
2026-02-09 10:07:18,388 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-02-09 10:07:18,388 - 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-09 10:07:18,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-02-09 10:07:18,676 - INFO - Initial checks done. Running the testcase now
2026-02-09 10:07:18,676 - INFO -
2026-02-09 10:07:18,837 - DEBUG - Response for create_network : {'network': {'id': 'c44e2f3f-ef80-4a0c-bea8-c80950f568f1', 'name': 'ctest-vn1-11102652', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'project_id': '0f1136b3f4af4a54b403c197c509c6a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-81863806', 'ctest-vn1-11102652'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 10:07:19,041 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fd542fb-1ccd-41ab-ac3a-f222c31e0b61', 'name': '', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': 'c44e2f3f-ef80-4a0c-bea8-c80950f568f1', 'ip_version': 4, 'cidr': '7.115.190.64/26', 'allocation_pools': [{'start': '7.115.190.66', 'end': '7.115.190.126'}], 'gateway_ip': '7.115.190.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.115.190.66', 'tags': [], 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:19,186 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b1d1c0a3-eb84-49f8-9a11-3ebff605bd87', 'name': '', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': 'c44e2f3f-ef80-4a0c-bea8-c80950f568f1', 'ip_version': 4, 'cidr': '92.16.130.128/26', 'allocation_pools': [{'start': '92.16.130.130', 'end': '92.16.130.190'}], 'gateway_ip': '92.16.130.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.16.130.130', 'tags': [], 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:19,203 - INFO - Created VN ctest-vn1-11102652
2026-02-09 10:07:19,251 - DEBUG - VN ctest-vn1-11102652 UUID is c44e2f3f-ef80-4a0c-bea8-c80950f568f1
2026-02-09 10:07:19,520 - DEBUG - Response for create_port : {'port': {'name': 'a99ec2e1-2559-4be2-a4e7-caece9bf62f6', 'id': 'a99ec2e1-2559-4be2-a4e7-caece9bf62f6', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': 'c44e2f3f-ef80-4a0c-bea8-c80950f568f1', 'mac_address': '02:a9:9e:c2:e1:25', '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': '7.115.190.69', 'subnet_id': '7fd542fb-1ccd-41ab-ac3a-f222c31e0b61'}], 'security_groups': ['e5db0c72-fc14-44ff-944e-7ce4fa8bf38f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:19,683 - DEBUG - Response for create_port : {'port': {'name': '728be78c-4850-4882-b0bb-54a948f4f5e2', 'id': '728be78c-4850-4882-b0bb-54a948f4f5e2', 'tenant_id': '0f1136b3f4af4a54b403c197c509c6a5', 'network_id': 'c44e2f3f-ef80-4a0c-bea8-c80950f568f1', 'mac_address': '02:72:8b:e7:8c:48', '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': '92.16.130.133', 'subnet_id': 'b1d1c0a3-eb84-49f8-9a11-3ebff605bd87'}], 'security_groups': ['e5db0c72-fc14-44ff-944e-7ce4fa8bf38f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0f1136b3f4af4a54b403c197c509c6a5'}}
2026-02-09 10:07:19,737 - DEBUG - Services list from nova: [, , ]
2026-02-09 10:07:20,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5241-1)
2026-02-09 10:07:20,505 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5241-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5241-1)
2026-02-09 10:07:20,505 - INFO - Waiting for VM ctest-vn1-vm1-42919468 to be up..
2026-02-09 10:07:20,540 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-02-09 10:07:25,611 - DEBUG - VM is in ACTIVE state now
2026-02-09 10:07:25,611 - INFO - VM name : ctest-vn1-vm1-42919468
2026-02-09 10:07:25,681 - DEBUG - VM ctest-vn1-vm1-42919468 ID is 04e8b88c-060d-4f1e-95c7-cd5c9f14a275
2026-02-09 10:07:25,704 - DEBUG - VM ctest-vn1-vm1-42919468 launched on Node cn-jenkins-deploy-platform-ansible-os-5241-1
2026-02-09 10:07:25,781 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/04e8b88c-060d-4f1e-95c7-cd5c9f14a275
2026-02-09 10:07:25,790 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a99ec2e1-2559-4be2-a4e7-caece9bf62f6
2026-02-09 10:07:29,043 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1017ms')
2026-02-09 10:07:29,044 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42919468 failed!
2026-02-09 10:07:29,096 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81863806:ctest-vn1-11102652 is 7.115.190.65 and allocation pool is NOT set
2026-02-09 10:07:29,096 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-81863806:ctest-vn1-11102652 is 92.16.130.129 and allocation pool is NOT set
2026-02-09 10:07:31,159 - 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.11 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.755/3.108/1.353 ms')
2026-02-09 10:07:31,160 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-42919468 passed
2026-02-09 10:07:31,312 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:31,312 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42919468, IP 7.115.190.69, Port 22
2026-02-09 10:07:31,368 - 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-02-09 10:07:31,451 - DEBUG - VM ctest-vn1-vm1-42919468 is NOT ready for SSH connections, VM status: ACTIVE
2026-02-09 10:07:36,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:36,453 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42919468, IP 7.115.190.69, Port 22
2026-02-09 10:07:36,603 - DEBUG - VM ctest-vn1-vm1-42919468 is ready for SSH connections
2026-02-09 10:07:36,603 - INFO - Waiting for VM ctest-vn1-vm2-76007356 to be up..
2026-02-09 10:07:36,680 - DEBUG - VM is in ACTIVE state now
2026-02-09 10:07:36,680 - INFO - VM name : ctest-vn1-vm2-76007356
2026-02-09 10:07:36,746 - DEBUG - VM ctest-vn1-vm2-76007356 ID is 0c4d3c23-482e-4ffc-81e5-906666b55a05
2026-02-09 10:07:36,746 - DEBUG - VM ctest-vn1-vm2-76007356 launched on Node cn-jenkins-deploy-platform-ansible-os-5241-1
2026-02-09 10:07:36,813 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/0c4d3c23-482e-4ffc-81e5-906666b55a05
2026-02-09 10:07:36,820 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/728be78c-4850-4882-b0bb-54a948f4f5e2
2026-02-09 10:07:38,053 - 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=3.13 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.353 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.353/1.740/3.127/1.387 ms')
2026-02-09 10:07:38,053 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-76007356 passed
2026-02-09 10:07:38,208 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:38,208 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-76007356, IP 92.16.130.133, Port 22
2026-02-09 10:07:38,359 - DEBUG - VM ctest-vn1-vm2-76007356 is ready for SSH connections
2026-02-09 10:07:38,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:38,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:38,359 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-02-09 10:07:38,359 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.115.190.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-02-09 10:07:38,359 - DEBUG - ping -s 56 -c 3 -W 1 7.115.190.69
2026-02-09 10:07:42,319 - DEBUG - PING 7.115.190.69 (7.115.190.69): 56 data bytes
64 bytes from 7.115.190.69: seq=0 ttl=63 time=3.217 ms
64 bytes from 7.115.190.69: seq=1 ttl=63 time=1.003 ms
64 bytes from 7.115.190.69: seq=2 ttl=63 time=0.702 ms
--- 7.115.190.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.702/1.640/3.217 ms
2026-02-09 10:07:42,319 - INFO - Ping to IP 7.115.190.69 from VM ctest-vn1-vm2-76007356 passed
2026-02-09 10:07:42,319 - INFO - Detaching port 728be78c-4850-4882-b0bb-54a948f4f5e2 from VM ctest-vn1-vm2-76007356
2026-02-09 10:07:42,368 - INFO - Deleting VM ctest-vn1-vm2-76007356
2026-02-09 10:07:42,429 - INFO - Detaching port a99ec2e1-2559-4be2-a4e7-caece9bf62f6 from VM ctest-vn1-vm1-42919468
2026-02-09 10:07:42,461 - INFO - Deleting VM ctest-vn1-vm1-42919468
2026-02-09 10:07:42,657 - DEBUG - Response for delete_port : ()
2026-02-09 10:07:42,786 - DEBUG - Response for delete_port : ()
2026-02-09 10:07:42,786 - INFO - Deleting VN ctest-vn1-11102652
2026-02-09 10:07:42,895 - DEBUG - Response for deleting network ()
2026-02-09 10:07:43,148 - DEBUG - No XMPP flaps were noticed during the test
2026-02-09 10:07:43,148 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2026-02-09 10:07:43,148 - INFO - --------------------------------------------------------------------------------
2026-02-09 10:07:43,801 - INFO - Deleted project: ctest-TestPorts-81863806, ID : 0f1136b3-f4af-4a54-b403-c197c509c6a5