2026-01-05 16:19:59,548 - INFO - Domain Default found not creating
2026-01-05 16:19:59,719 - INFO - Project ctest-TestPorts-49411687 not found, creating it
2026-01-05 16:20:00,156 - INFO - Created Project:ctest-TestPorts-49411687, ID : ae1a37bd-5bb5-4559-9b52-5edc449e5fc0
2026-01-05 16:20:01,573 - INFO - ================================================================================
2026-01-05 16:20:01,573 - INFO - STARTING TEST : test_ports_bindings
2026-01-05 16:20:01,573 - 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-05 16:20:01,830 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-05 16:20:01,830 - INFO - Initial checks done. Running the testcase now
2026-01-05 16:20:01,830 - INFO -
2026-01-05 16:20:02,357 - DEBUG - Response for create_network : {'network': {'id': 'a355e580-a8d5-4842-8766-3324ffb3b981', 'name': 'ctest-vn-38344205', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49411687', 'ctest-vn-38344205'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 16:20:02,568 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c39fff00-81e2-42fd-ab3f-a4ce8e2b8f04', 'name': '', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a355e580-a8d5-4842-8766-3324ffb3b981', 'ip_version': 4, 'cidr': '168.138.68.64/26', 'allocation_pools': [{'start': '168.138.68.66', 'end': '168.138.68.126'}], 'gateway_ip': '168.138.68.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.138.68.66', 'tags': [], 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:02,585 - INFO - Created VN ctest-vn-38344205
2026-01-05 16:20:02,636 - DEBUG - VN ctest-vn-38344205 UUID is a355e580-a8d5-4842-8766-3324ffb3b981
2026-01-05 16:20:02,737 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-49411687', 'ctest-vmi-95614013']}
2026-01-05 16:20:02,997 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95614013', 'id': 'a4ae94c9-180d-42a7-a66b-e7807a32da6b', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a355e580-a8d5-4842-8766-3324ffb3b981', 'mac_address': '02:a4:ae:94:c9:18', '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': '168.138.68.67', 'subnet_id': 'c39fff00-81e2-42fd-ab3f-a4ce8e2b8f04'}], 'security_groups': ['91b0ac49-15e9-4e3c-ac21-1650202e108a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:02,997 - DEBUG - Created port a4ae94c9-180d-42a7-a66b-e7807a32da6b
2026-01-05 16:20:03,101 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a4ae94c9-180d-42a7-a66b-e7807a32da6b
2026-01-05 16:20:03,685 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a4ae94c9-180d-42a7-a66b-e7807a32da6b
2026-01-05 16:20:03,725 - INFO - VMI a4ae94c9-180d-42a7-a66b-e7807a32da6b verification in API Server passed
2026-01-05 16:20:03,819 - DEBUG - Response for delete_port : ()
2026-01-05 16:20:03,820 - INFO - Deleted port a4ae94c9-180d-42a7-a66b-e7807a32da6b
2026-01-05 16:20:03,820 - INFO - Deleting VN ctest-vn-38344205
2026-01-05 16:20:03,927 - DEBUG - Response for deleting network ()
2026-01-05 16:20:04,181 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 16:20:04,181 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-05 16:20:04,181 - INFO - --------------------------------------------------------------------------------
2026-01-05 16:20:04,183 - INFO - ================================================================================
2026-01-05 16:20:04,183 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-05 16:20:04,183 - 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-05 16:20:04,469 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-05 16:20:04,469 - INFO - Initial checks done. Running the testcase now
2026-01-05 16:20:04,469 - INFO -
2026-01-05 16:20:04,635 - DEBUG - Response for create_network : {'network': {'id': 'a6243f81-b82d-499b-9eff-29f44c2203c0', 'name': 'ctest-vn1-26503863', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-49411687', 'ctest-vn1-26503863'], 'port_security_enabled': True, 'description': ''}}
2026-01-05 16:20:04,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d0ec0d1-c0b7-4fed-a4b0-19d83949d365', 'name': '', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a6243f81-b82d-499b-9eff-29f44c2203c0', 'ip_version': 4, 'cidr': '136.94.103.0/26', 'allocation_pools': [{'start': '136.94.103.2', 'end': '136.94.103.62'}], 'gateway_ip': '136.94.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.94.103.2', 'tags': [], 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:05,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '00134fa7-2f83-4c8f-b9e8-ede9368a4751', 'name': '', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a6243f81-b82d-499b-9eff-29f44c2203c0', 'ip_version': 4, 'cidr': '190.175.225.128/26', 'allocation_pools': [{'start': '190.175.225.130', 'end': '190.175.225.190'}], 'gateway_ip': '190.175.225.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.175.225.130', 'tags': [], 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:05,083 - INFO - Created VN ctest-vn1-26503863
2026-01-05 16:20:05,136 - DEBUG - VN ctest-vn1-26503863 UUID is a6243f81-b82d-499b-9eff-29f44c2203c0
2026-01-05 16:20:05,426 - DEBUG - Response for create_port : {'port': {'name': '5003700f-e508-4906-b001-23a259a95ac6', 'id': '5003700f-e508-4906-b001-23a259a95ac6', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a6243f81-b82d-499b-9eff-29f44c2203c0', 'mac_address': '02:50:03:70:0f:e5', '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': '136.94.103.5', 'subnet_id': '0d0ec0d1-c0b7-4fed-a4b0-19d83949d365'}], 'security_groups': ['91b0ac49-15e9-4e3c-ac21-1650202e108a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:05,603 - DEBUG - Response for create_port : {'port': {'name': '6d9906c4-a9d5-499a-ae8f-ea0c467231ac', 'id': '6d9906c4-a9d5-499a-ae8f-ea0c467231ac', 'tenant_id': 'ae1a37bd5bb545599b525edc449e5fc0', 'network_id': 'a6243f81-b82d-499b-9eff-29f44c2203c0', 'mac_address': '02:6d:99:06:c4:a9', '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': '190.175.225.133', 'subnet_id': '00134fa7-2f83-4c8f-b9e8-ede9368a4751'}], 'security_groups': ['91b0ac49-15e9-4e3c-ac21-1650202e108a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ae1a37bd5bb545599b525edc449e5fc0'}}
2026-01-05 16:20:05,660 - DEBUG - Services list from nova: [, , ]
2026-01-05 16:20:05,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4965-1)
2026-01-05 16:20:06,371 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4965-1)
2026-01-05 16:20:06,371 - INFO - Waiting for VM ctest-vn1-vm1-35238206 to be up..
2026-01-05 16:20:06,411 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-05 16:20:11,482 - DEBUG - VM is in ACTIVE state now
2026-01-05 16:20:11,482 - INFO - VM name : ctest-vn1-vm1-35238206
2026-01-05 16:20:11,552 - DEBUG - VM ctest-vn1-vm1-35238206 ID is 0e46d039-391d-4b39-afdb-6d1cbf74b4c4
2026-01-05 16:20:11,570 - DEBUG - VM ctest-vn1-vm1-35238206 launched on Node cn-jenkins-deploy-platform-ansible-os-4965-1
2026-01-05 16:20:11,640 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0e46d039-391d-4b39-afdb-6d1cbf74b4c4
2026-01-05 16:20:11,648 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/5003700f-e508-4906-b001-23a259a95ac6
2026-01-05 16:20:14,914 - 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 1031ms')
2026-01-05 16:20:14,914 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35238206 failed!
2026-01-05 16:20:14,972 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49411687:ctest-vn1-26503863 is 136.94.103.1 and allocation pool is NOT set
2026-01-05 16:20:14,972 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-49411687:ctest-vn1-26503863 is 190.175.225.129 and allocation pool is NOT set
2026-01-05 16:20:17,043 - 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.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.29 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 = 3.290/3.401/3.513/0.111 ms')
2026-01-05 16:20:17,043 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35238206 passed
2026-01-05 16:20:17,196 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:17,196 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35238206, IP 136.94.103.5, Port 22
2026-01-05 16:20:17,251 - 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-05 16:20:17,335 - DEBUG - VM ctest-vn1-vm1-35238206 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-05 16:20:22,336 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:22,336 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35238206, IP 136.94.103.5, Port 22
2026-01-05 16:20:22,496 - DEBUG - VM ctest-vn1-vm1-35238206 is ready for SSH connections
2026-01-05 16:20:22,496 - INFO - Waiting for VM ctest-vn1-vm2-73287486 to be up..
2026-01-05 16:20:22,569 - DEBUG - VM is in ACTIVE state now
2026-01-05 16:20:22,569 - INFO - VM name : ctest-vn1-vm2-73287486
2026-01-05 16:20:22,639 - DEBUG - VM ctest-vn1-vm2-73287486 ID is 0c581db3-2859-4ef3-abe1-3772a9a6a2fe
2026-01-05 16:20:22,639 - DEBUG - VM ctest-vn1-vm2-73287486 launched on Node cn-jenkins-deploy-platform-ansible-os-4965-1
2026-01-05 16:20:22,705 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0c581db3-2859-4ef3-abe1-3772a9a6a2fe
2026-01-05 16:20:22,713 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/6d9906c4-a9d5-499a-ae8f-ea0c467231ac
2026-01-05 16:20:23,936 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.485 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.485/1.634/2.783/1.149 ms')
2026-01-05 16:20:23,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73287486 passed
2026-01-05 16:20:24,088 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:24,088 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73287486, IP 190.175.225.133, Port 22
2026-01-05 16:20:24,248 - DEBUG - VM ctest-vn1-vm2-73287486 is ready for SSH connections
2026-01-05 16:20:24,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:24,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:24,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-05 16:20:24,248 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.94.103.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-01-05 16:20:24,248 - DEBUG - ping -s 56 -c 3 -W 1 136.94.103.5
2026-01-05 16:20:27,185 - DEBUG - PING 136.94.103.5 (136.94.103.5): 56 data bytes
64 bytes from 136.94.103.5: seq=0 ttl=63 time=3.529 ms
64 bytes from 136.94.103.5: seq=1 ttl=63 time=0.935 ms
64 bytes from 136.94.103.5: seq=2 ttl=63 time=1.230 ms
--- 136.94.103.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.935/1.898/3.529 ms
2026-01-05 16:20:27,185 - INFO - Ping to IP 136.94.103.5 from VM ctest-vn1-vm2-73287486 passed
2026-01-05 16:20:27,185 - INFO - Detaching port 6d9906c4-a9d5-499a-ae8f-ea0c467231ac from VM ctest-vn1-vm2-73287486
2026-01-05 16:20:27,229 - INFO - Deleting VM ctest-vn1-vm2-73287486
2026-01-05 16:20:27,293 - INFO - Detaching port 5003700f-e508-4906-b001-23a259a95ac6 from VM ctest-vn1-vm1-35238206
2026-01-05 16:20:27,327 - INFO - Deleting VM ctest-vn1-vm1-35238206
2026-01-05 16:20:27,540 - DEBUG - Response for delete_port : ()
2026-01-05 16:20:27,715 - DEBUG - Response for delete_port : ()
2026-01-05 16:20:27,715 - INFO - Deleting VN ctest-vn1-26503863
2026-01-05 16:20:27,829 - DEBUG - Response for deleting network ()
2026-01-05 16:20:28,082 - DEBUG - No XMPP flaps were noticed during the test
2026-01-05 16:20:28,082 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-01-05 16:20:28,082 - INFO - --------------------------------------------------------------------------------
2026-01-05 16:20:28,764 - INFO - Deleted project: ctest-TestPorts-49411687, ID : ae1a37bd-5bb5-4559-9b52-5edc449e5fc0