2026-06-01 16:54:15,054 - INFO - Domain Default found not creating
2026-06-01 16:54:15,253 - INFO - Project ctest-TestPorts-50555002 not found, creating it
2026-06-01 16:54:15,778 - INFO - Created Project:ctest-TestPorts-50555002, ID : 77cecefa-46e0-415c-8e4d-62b144043dba
2026-06-01 16:54:17,401 - INFO - ================================================================================
2026-06-01 16:54:17,401 - INFO - STARTING TEST : test_ports_bindings
2026-06-01 16:54:17,401 - 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-06-01 16:54:17,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with
2026-06-01 16:54:17,672 - INFO - Initial checks done. Running the testcase now
2026-06-01 16:54:17,672 - INFO -
2026-06-01 16:54:18,254 - DEBUG - Response for create_network : {'network': {'id': 'd0cbc545-c183-49f6-a40a-53c52e52cb6f', 'name': 'ctest-vn-14729415', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'project_id': '77cecefa46e0415c8e4d62b144043dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50555002', 'ctest-vn-14729415'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 16:54:18,442 - DEBUG - Response for create_subnet : {'subnet': {'id': '7191ed4e-4d74-43ee-a57b-759f9b7c058c', 'name': '', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': 'd0cbc545-c183-49f6-a40a-53c52e52cb6f', 'ip_version': 4, 'cidr': '219.210.169.64/26', 'allocation_pools': [{'start': '219.210.169.66', 'end': '219.210.169.126'}], 'gateway_ip': '219.210.169.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.210.169.66', 'tags': [], 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:18,461 - INFO - Created VN ctest-vn-14729415
2026-06-01 16:54:18,520 - DEBUG - VN ctest-vn-14729415 UUID is d0cbc545-c183-49f6-a40a-53c52e52cb6f
2026-06-01 16:54:18,625 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-50555002', 'ctest-vmi-74934858']}
2026-06-01 16:54:18,900 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74934858', 'id': '4604996d-6d09-4c0d-9c16-7d9964630ef0', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': 'd0cbc545-c183-49f6-a40a-53c52e52cb6f', 'mac_address': '02:46:04:99:6d:6d', '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': '219.210.169.67', 'subnet_id': '7191ed4e-4d74-43ee-a57b-759f9b7c058c'}], 'security_groups': ['da21b493-9634-464a-82a8-a73003d164fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:18,900 - DEBUG - Created port 4604996d-6d09-4c0d-9c16-7d9964630ef0
2026-06-01 16:54:19,008 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4604996d-6d09-4c0d-9c16-7d9964630ef0
2026-06-01 16:54:19,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4604996d-6d09-4c0d-9c16-7d9964630ef0
2026-06-01 16:54:19,350 - INFO - VMI 4604996d-6d09-4c0d-9c16-7d9964630ef0 verification in API Server passed
2026-06-01 16:54:19,437 - DEBUG - Response for delete_port : ()
2026-06-01 16:54:19,437 - INFO - Deleted port 4604996d-6d09-4c0d-9c16-7d9964630ef0
2026-06-01 16:54:19,437 - INFO - Deleting VN ctest-vn-14729415
2026-06-01 16:54:19,544 - DEBUG - Response for deleting network ()
2026-06-01 16:54:19,797 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 16:54:19,797 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-06-01 16:54:19,797 - INFO - --------------------------------------------------------------------------------
2026-06-01 16:54:19,800 - INFO - ================================================================================
2026-06-01 16:54:19,800 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-01 16:54:19,800 - 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-06-01 16:54:20,085 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.129': '0'}} with
2026-06-01 16:54:20,085 - INFO - Initial checks done. Running the testcase now
2026-06-01 16:54:20,085 - INFO -
2026-06-01 16:54:20,256 - DEBUG - Response for create_network : {'network': {'id': '02b32d37-fb5d-40b5-a6b3-248385b06c52', 'name': 'ctest-vn1-94017872', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'project_id': '77cecefa46e0415c8e4d62b144043dba', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-50555002', 'ctest-vn1-94017872'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 16:54:20,437 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e30e9f33-1250-46bb-92eb-df3e0a514380', 'name': '', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': '02b32d37-fb5d-40b5-a6b3-248385b06c52', 'ip_version': 4, 'cidr': '123.122.198.128/26', 'allocation_pools': [{'start': '123.122.198.130', 'end': '123.122.198.190'}], 'gateway_ip': '123.122.198.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.122.198.130', 'tags': [], 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:20,614 - DEBUG - Response for create_subnet : {'subnet': {'id': '08adfb47-4ad8-4b48-bf7b-43a771ccd22f', 'name': '', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': '02b32d37-fb5d-40b5-a6b3-248385b06c52', 'ip_version': 4, 'cidr': '214.106.169.128/26', 'allocation_pools': [{'start': '214.106.169.130', 'end': '214.106.169.190'}], 'gateway_ip': '214.106.169.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '214.106.169.130', 'tags': [], 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:20,636 - INFO - Created VN ctest-vn1-94017872
2026-06-01 16:54:20,688 - DEBUG - VN ctest-vn1-94017872 UUID is 02b32d37-fb5d-40b5-a6b3-248385b06c52
2026-06-01 16:54:20,989 - DEBUG - Response for create_port : {'port': {'name': '225663d3-d602-4977-8626-f0820b64b970', 'id': '225663d3-d602-4977-8626-f0820b64b970', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': '02b32d37-fb5d-40b5-a6b3-248385b06c52', 'mac_address': '02:22:56:63:d3:d6', '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': '123.122.198.133', 'subnet_id': 'e30e9f33-1250-46bb-92eb-df3e0a514380'}], 'security_groups': ['da21b493-9634-464a-82a8-a73003d164fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:21,158 - DEBUG - Response for create_port : {'port': {'name': '65a57f0d-ac71-4cf4-be1e-65a2b7459b00', 'id': '65a57f0d-ac71-4cf4-be1e-65a2b7459b00', 'tenant_id': '77cecefa46e0415c8e4d62b144043dba', 'network_id': '02b32d37-fb5d-40b5-a6b3-248385b06c52', 'mac_address': '02:65:a5:7f:0d:ac', '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': '214.106.169.133', 'subnet_id': '08adfb47-4ad8-4b48-bf7b-43a771ccd22f'}], 'security_groups': ['da21b493-9634-464a-82a8-a73003d164fa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '77cecefa46e0415c8e4d62b144043dba'}}
2026-06-01 16:54:21,219 - DEBUG - Services list from nova: [, , ]
2026-06-01 16:54:21,590 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5873-1)
2026-06-01 16:54:22,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5873-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5873-1)
2026-06-01 16:54:22,024 - INFO - Waiting for VM ctest-vn1-vm1-63658363 to be up..
2026-06-01 16:54:22,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-01 16:54:27,145 - DEBUG - VM is in ACTIVE state now
2026-06-01 16:54:27,145 - INFO - VM name : ctest-vn1-vm1-63658363
2026-06-01 16:54:27,229 - DEBUG - VM ctest-vn1-vm1-63658363 ID is 4c36b811-11ae-45be-9cc9-f2911e59cd59
2026-06-01 16:54:27,248 - DEBUG - VM ctest-vn1-vm1-63658363 launched on Node cn-jenkins-deploy-platform-ansible-os-5873-1
2026-06-01 16:54:27,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4c36b811-11ae-45be-9cc9-f2911e59cd59
2026-06-01 16:54:27,331 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/225663d3-d602-4977-8626-f0820b64b970
2026-06-01 16:54:30,570 - 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 1002ms')
2026-06-01 16:54:30,571 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63658363 failed!
2026-06-01 16:54:30,628 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50555002:ctest-vn1-94017872 is 123.122.198.129 and allocation pool is NOT set
2026-06-01 16:54:30,628 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-50555002:ctest-vn1-94017872 is 214.106.169.129 and allocation pool is NOT set
2026-06-01 16:54:32,693 - 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=13.5 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.05 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.049/7.756/13.464/5.707 ms')
2026-06-01 16:54:32,693 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-63658363 passed
2026-06-01 16:54:32,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-01 16:54:32,840 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-63658363, IP 123.122.198.133, Port 22
2026-06-01 16:54:33,005 - DEBUG - VM ctest-vn1-vm1-63658363 is ready for SSH connections
2026-06-01 16:54:33,005 - INFO - Waiting for VM ctest-vn1-vm2-91871216 to be up..
2026-06-01 16:54:33,094 - DEBUG - VM is in ACTIVE state now
2026-06-01 16:54:33,094 - INFO - VM name : ctest-vn1-vm2-91871216
2026-06-01 16:54:33,183 - DEBUG - VM ctest-vn1-vm2-91871216 ID is 77907463-fdac-44d4-bab8-757a79b51a5d
2026-06-01 16:54:33,184 - DEBUG - VM ctest-vn1-vm2-91871216 launched on Node cn-jenkins-deploy-platform-ansible-os-5873-1
2026-06-01 16:54:33,256 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/77907463-fdac-44d4-bab8-757a79b51a5d
2026-06-01 16:54:33,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/65a57f0d-ac71-4cf4-be1e-65a2b7459b00
2026-06-01 16:54:34,520 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.697 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.697/2.030/3.363/1.333 ms')
2026-06-01 16:54:34,521 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91871216 passed
2026-06-01 16:54:34,672 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-01 16:54:34,672 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91871216, IP 214.106.169.133, Port 22
2026-06-01 16:54:34,832 - DEBUG - VM ctest-vn1-vm2-91871216 is ready for SSH connections
2026-06-01 16:54:34,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-01 16:54:34,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-01 16:54:34,832 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-01 16:54:34,832 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 123.122.198.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2026-06-01 16:54:34,832 - DEBUG - ping -s 56 -c 3 -W 1 123.122.198.133
2026-06-01 16:54:37,476 - DEBUG - PING 123.122.198.133 (123.122.198.133): 56 data bytes
64 bytes from 123.122.198.133: seq=0 ttl=63 time=3.918 ms
64 bytes from 123.122.198.133: seq=1 ttl=63 time=1.267 ms
64 bytes from 123.122.198.133: seq=2 ttl=63 time=1.054 ms
--- 123.122.198.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.054/2.079/3.918 ms
2026-06-01 16:54:37,476 - INFO - Ping to IP 123.122.198.133 from VM ctest-vn1-vm2-91871216 passed
2026-06-01 16:54:37,476 - INFO - Detaching port 65a57f0d-ac71-4cf4-be1e-65a2b7459b00 from VM ctest-vn1-vm2-91871216
2026-06-01 16:54:37,541 - INFO - Deleting VM ctest-vn1-vm2-91871216
2026-06-01 16:54:37,625 - INFO - Detaching port 225663d3-d602-4977-8626-f0820b64b970 from VM ctest-vn1-vm1-63658363
2026-06-01 16:54:37,663 - INFO - Deleting VM ctest-vn1-vm1-63658363
2026-06-01 16:54:37,902 - DEBUG - Response for delete_port : ()
2026-06-01 16:54:38,096 - DEBUG - Response for delete_port : ()
2026-06-01 16:54:38,096 - INFO - Deleting VN ctest-vn1-94017872
2026-06-01 16:54:38,219 - DEBUG - Response for deleting network ()
2026-06-01 16:54:38,473 - DEBUG - No XMPP flaps were noticed during the test
2026-06-01 16:54:38,473 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2026-06-01 16:54:38,473 - INFO - --------------------------------------------------------------------------------
2026-06-01 16:54:39,162 - INFO - Deleted project: ctest-TestPorts-50555002, ID : 77cecefa-46e0-415c-8e4d-62b144043dba