2026-06-04 16:18:19,409 - INFO - Domain Default found not creating
2026-06-04 16:18:19,589 - INFO - Project ctest-TestPorts-52714603 not found, creating it
2026-06-04 16:18:20,081 - INFO - Created Project:ctest-TestPorts-52714603, ID : d783d596-10d6-4599-b137-b039d85c7824
2026-06-04 16:18:21,747 - INFO - ================================================================================
2026-06-04 16:18:21,748 - INFO - STARTING TEST : test_ports_bindings
2026-06-04 16:18:21,748 - 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-04 16:18:22,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.18': '0'}} with
2026-06-04 16:18:22,008 - INFO - Initial checks done. Running the testcase now
2026-06-04 16:18:22,008 - INFO -
2026-06-04 16:18:22,579 - DEBUG - Response for create_network : {'network': {'id': 'ee71fef8-9794-4e7a-9f8c-7f7a644f80dc', 'name': 'ctest-vn-87368093', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'project_id': 'd783d59610d64599b137b039d85c7824', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52714603', 'ctest-vn-87368093'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 16:18:22,755 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0285cc9-eee5-4d84-803b-363a90e853e2', 'name': '', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'ee71fef8-9794-4e7a-9f8c-7f7a644f80dc', 'ip_version': 4, 'cidr': '28.77.1.0/26', 'allocation_pools': [{'start': '28.77.1.2', 'end': '28.77.1.62'}], 'gateway_ip': '28.77.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.77.1.2', 'tags': [], 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:22,776 - INFO - Created VN ctest-vn-87368093
2026-06-04 16:18:22,826 - DEBUG - VN ctest-vn-87368093 UUID is ee71fef8-9794-4e7a-9f8c-7f7a644f80dc
2026-06-04 16:18:22,932 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-52714603', 'ctest-vmi-35176473']}
2026-06-04 16:18:23,175 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-35176473', 'id': '97b42349-0290-464d-a937-5983826a4a8d', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'ee71fef8-9794-4e7a-9f8c-7f7a644f80dc', 'mac_address': '02:97:b4:23:49:02', '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': '28.77.1.3', 'subnet_id': 'f0285cc9-eee5-4d84-803b-363a90e853e2'}], 'security_groups': ['b5814028-8be9-423d-97f3-700db3e82f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:23,175 - DEBUG - Created port 97b42349-0290-464d-a937-5983826a4a8d
2026-06-04 16:18:23,282 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/97b42349-0290-464d-a937-5983826a4a8d
2026-06-04 16:18:23,583 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/97b42349-0290-464d-a937-5983826a4a8d
2026-06-04 16:18:23,621 - INFO - VMI 97b42349-0290-464d-a937-5983826a4a8d verification in API Server passed
2026-06-04 16:18:23,725 - DEBUG - Response for delete_port : ()
2026-06-04 16:18:23,725 - INFO - Deleted port 97b42349-0290-464d-a937-5983826a4a8d
2026-06-04 16:18:23,725 - INFO - Deleting VN ctest-vn-87368093
2026-06-04 16:18:23,833 - DEBUG - Response for deleting network ()
2026-06-04 16:18:24,092 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 16:18:24,092 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-06-04 16:18:24,092 - INFO - --------------------------------------------------------------------------------
2026-06-04 16:18:24,094 - INFO - ================================================================================
2026-06-04 16:18:24,095 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-06-04 16:18:24,095 - 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-04 16:18:24,379 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.18': '0'}} with
2026-06-04 16:18:24,379 - INFO - Initial checks done. Running the testcase now
2026-06-04 16:18:24,379 - INFO -
2026-06-04 16:18:24,548 - DEBUG - Response for create_network : {'network': {'id': 'f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5', 'name': 'ctest-vn1-18359133', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'project_id': 'd783d59610d64599b137b039d85c7824', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-52714603', 'ctest-vn1-18359133'], 'port_security_enabled': True, 'description': ''}}
2026-06-04 16:18:24,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abac1dae-ef39-47c6-bcd7-f3b57d6ab8a7', 'name': '', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5', 'ip_version': 4, 'cidr': '219.64.44.0/26', 'allocation_pools': [{'start': '219.64.44.2', 'end': '219.64.44.62'}], 'gateway_ip': '219.64.44.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.64.44.2', 'tags': [], 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:24,903 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ab78fd11-6446-490c-887a-3aa6ae8e4a5d', 'name': '', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5', 'ip_version': 4, 'cidr': '137.255.248.0/26', 'allocation_pools': [{'start': '137.255.248.2', 'end': '137.255.248.62'}], 'gateway_ip': '137.255.248.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '137.255.248.2', 'tags': [], 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:24,921 - INFO - Created VN ctest-vn1-18359133
2026-06-04 16:18:24,974 - DEBUG - VN ctest-vn1-18359133 UUID is f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5
2026-06-04 16:18:25,292 - DEBUG - Response for create_port : {'port': {'name': '9931d992-35d2-4962-85e9-cfa277b6209d', 'id': '9931d992-35d2-4962-85e9-cfa277b6209d', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5', 'mac_address': '02:99:31:d9:92:35', '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.64.44.5', 'subnet_id': 'abac1dae-ef39-47c6-bcd7-f3b57d6ab8a7'}], 'security_groups': ['b5814028-8be9-423d-97f3-700db3e82f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:25,463 - DEBUG - Response for create_port : {'port': {'name': 'c00df9dc-d5b1-4d3a-8e58-600a82e22bda', 'id': 'c00df9dc-d5b1-4d3a-8e58-600a82e22bda', 'tenant_id': 'd783d59610d64599b137b039d85c7824', 'network_id': 'f195ca53-7bfc-48eb-8f0e-84e4ad65b7a5', 'mac_address': '02:c0:0d:f9:dc:d5', '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': '137.255.248.5', 'subnet_id': 'ab78fd11-6446-490c-887a-3aa6ae8e4a5d'}], 'security_groups': ['b5814028-8be9-423d-97f3-700db3e82f40'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd783d59610d64599b137b039d85c7824'}}
2026-06-04 16:18:25,521 - DEBUG - Services list from nova: [, , ]
2026-06-04 16:18:25,863 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5891-1)
2026-06-04 16:18:26,308 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5891-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5891-1)
2026-06-04 16:18:26,309 - INFO - Waiting for VM ctest-vn1-vm1-73792105 to be up..
2026-06-04 16:18:26,347 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-06-04 16:18:31,430 - DEBUG - VM is in ACTIVE state now
2026-06-04 16:18:31,430 - INFO - VM name : ctest-vn1-vm1-73792105
2026-06-04 16:18:31,511 - DEBUG - VM ctest-vn1-vm1-73792105 ID is 34479993-4392-4df5-a0fb-8118de81d1cb
2026-06-04 16:18:31,533 - DEBUG - VM ctest-vn1-vm1-73792105 launched on Node cn-jenkins-deploy-platform-ansible-os-5891-1
2026-06-04 16:18:31,612 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/34479993-4392-4df5-a0fb-8118de81d1cb
2026-06-04 16:18:31,622 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/9931d992-35d2-4962-85e9-cfa277b6209d
2026-06-04 16:18:34,882 - 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 1011ms')
2026-06-04 16:18:34,882 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73792105 failed!
2026-06-04 16:18:34,938 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52714603:ctest-vn1-18359133 is 219.64.44.1 and allocation pool is NOT set
2026-06-04 16:18:34,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-52714603:ctest-vn1-18359133 is 137.255.248.1 and allocation pool is NOT set
2026-06-04 16:18:36,998 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.60 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.603/6.030/9.458/3.427 ms')
2026-06-04 16:18:36,998 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73792105 passed
2026-06-04 16:18:37,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:37,146 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73792105, IP 219.64.44.5, Port 22
2026-06-04 16:18:37,212 - 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-06-04 16:18:37,289 - DEBUG - VM ctest-vn1-vm1-73792105 is NOT ready for SSH connections, VM status: ACTIVE
2026-06-04 16:18:42,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:42,290 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73792105, IP 219.64.44.5, Port 22
2026-06-04 16:18:42,446 - DEBUG - VM ctest-vn1-vm1-73792105 is ready for SSH connections
2026-06-04 16:18:42,446 - INFO - Waiting for VM ctest-vn1-vm2-91434390 to be up..
2026-06-04 16:18:42,520 - DEBUG - VM is in ACTIVE state now
2026-06-04 16:18:42,520 - INFO - VM name : ctest-vn1-vm2-91434390
2026-06-04 16:18:42,592 - DEBUG - VM ctest-vn1-vm2-91434390 ID is 1ca5d13a-efe2-41f4-99cc-9557bf175011
2026-06-04 16:18:42,592 - DEBUG - VM ctest-vn1-vm2-91434390 launched on Node cn-jenkins-deploy-platform-ansible-os-5891-1
2026-06-04 16:18:42,668 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/1ca5d13a-efe2-41f4-99cc-9557bf175011
2026-06-04 16:18:42,676 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/c00df9dc-d5b1-4d3a-8e58-600a82e22bda
2026-06-04 16:18:43,913 - 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.517 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.517/1.813/3.109/1.296 ms')
2026-06-04 16:18:43,913 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-91434390 passed
2026-06-04 16:18:44,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:44,062 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-91434390, IP 137.255.248.5, Port 22
2026-06-04 16:18:44,222 - DEBUG - VM ctest-vn1-vm2-91434390 is ready for SSH connections
2026-06-04 16:18:44,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:44,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:44,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-06-04 16:18:44,223 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.64.44.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123
2026-06-04 16:18:44,223 - DEBUG - ping -s 56 -c 3 -W 1 219.64.44.5
2026-06-04 16:18:46,892 - DEBUG - PING 219.64.44.5 (219.64.44.5): 56 data bytes
64 bytes from 219.64.44.5: seq=0 ttl=63 time=3.759 ms
64 bytes from 219.64.44.5: seq=1 ttl=63 time=0.899 ms
64 bytes from 219.64.44.5: seq=2 ttl=63 time=1.044 ms
--- 219.64.44.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.899/1.900/3.759 ms
2026-06-04 16:18:46,892 - INFO - Ping to IP 219.64.44.5 from VM ctest-vn1-vm2-91434390 passed
2026-06-04 16:18:46,893 - INFO - Detaching port c00df9dc-d5b1-4d3a-8e58-600a82e22bda from VM ctest-vn1-vm2-91434390
2026-06-04 16:18:46,946 - INFO - Deleting VM ctest-vn1-vm2-91434390
2026-06-04 16:18:47,012 - INFO - Detaching port 9931d992-35d2-4962-85e9-cfa277b6209d from VM ctest-vn1-vm1-73792105
2026-06-04 16:18:47,048 - INFO - Deleting VM ctest-vn1-vm1-73792105
2026-06-04 16:18:47,285 - DEBUG - Response for delete_port : ()
2026-06-04 16:18:47,449 - DEBUG - Response for delete_port : ()
2026-06-04 16:18:47,449 - INFO - Deleting VN ctest-vn1-18359133
2026-06-04 16:18:47,603 - DEBUG - Response for deleting network ()
2026-06-04 16:18:47,882 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 16:18:47,882 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-06-04 16:18:47,882 - INFO - --------------------------------------------------------------------------------
2026-06-04 16:18:48,738 - INFO - Deleted project: ctest-TestPorts-52714603, ID : d783d596-10d6-4599-b137-b039d85c7824