2026-05-15 17:16:33,103 - INFO - Domain Default found not creating
2026-05-15 17:16:33,295 - INFO - Project ctest-TestPorts-24573336 not found, creating it
2026-05-15 17:16:33,775 - INFO - Created Project:ctest-TestPorts-24573336, ID : 3369d235-05e0-4e3b-9fce-078a43d6943e
2026-05-15 17:16:35,386 - INFO - ================================================================================
2026-05-15 17:16:35,386 - INFO - STARTING TEST : test_ports_bindings
2026-05-15 17:16:35,387 - 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-05-15 17:16:35,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-05-15 17:16:35,650 - INFO - Initial checks done. Running the testcase now
2026-05-15 17:16:35,650 - INFO -
2026-05-15 17:16:36,204 - DEBUG - Response for create_network : {'network': {'id': '9de683f1-8dcb-4382-bd48-a6d0dcecdfd0', 'name': 'ctest-vn-15055650', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'project_id': '3369d23505e04e3b9fce078a43d6943e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24573336', 'ctest-vn-15055650'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:16:36,365 - DEBUG - Response for create_subnet : {'subnet': {'id': '1940b2c0-7718-4870-b19f-d456ff87d751', 'name': '', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '9de683f1-8dcb-4382-bd48-a6d0dcecdfd0', 'ip_version': 4, 'cidr': '108.164.62.192/26', 'allocation_pools': [{'start': '108.164.62.194', 'end': '108.164.62.254'}], 'gateway_ip': '108.164.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.164.62.194', 'tags': [], 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:36,381 - INFO - Created VN ctest-vn-15055650
2026-05-15 17:16:36,432 - DEBUG - VN ctest-vn-15055650 UUID is 9de683f1-8dcb-4382-bd48-a6d0dcecdfd0
2026-05-15 17:16:36,536 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-24573336', 'ctest-vmi-99793141']}
2026-05-15 17:16:36,823 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99793141', 'id': '6992f863-7570-41cb-a1cd-04a4c7a50932', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '9de683f1-8dcb-4382-bd48-a6d0dcecdfd0', 'mac_address': '02:69:92:f8:63:75', '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': '108.164.62.195', 'subnet_id': '1940b2c0-7718-4870-b19f-d456ff87d751'}], 'security_groups': ['935962b3-e3d9-4672-8b80-5123cc4716fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:36,823 - DEBUG - Created port 6992f863-7570-41cb-a1cd-04a4c7a50932
2026-05-15 17:16:36,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6992f863-7570-41cb-a1cd-04a4c7a50932
2026-05-15 17:16:37,218 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/6992f863-7570-41cb-a1cd-04a4c7a50932
2026-05-15 17:16:37,253 - INFO - VMI 6992f863-7570-41cb-a1cd-04a4c7a50932 verification in API Server passed
2026-05-15 17:16:37,356 - DEBUG - Response for delete_port : ()
2026-05-15 17:16:37,356 - INFO - Deleted port 6992f863-7570-41cb-a1cd-04a4c7a50932
2026-05-15 17:16:37,356 - INFO - Deleting VN ctest-vn-15055650
2026-05-15 17:16:37,447 - DEBUG - Response for deleting network ()
2026-05-15 17:16:37,701 - DEBUG - No XMPP flaps were noticed during the test
2026-05-15 17:16:37,701 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-05-15 17:16:37,701 - INFO - --------------------------------------------------------------------------------
2026-05-15 17:16:37,705 - INFO - ================================================================================
2026-05-15 17:16:37,705 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-15 17:16:37,705 - 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-05-15 17:16:37,989 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-05-15 17:16:37,989 - INFO - Initial checks done. Running the testcase now
2026-05-15 17:16:37,989 - INFO -
2026-05-15 17:16:38,169 - DEBUG - Response for create_network : {'network': {'id': '4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4', 'name': 'ctest-vn1-36668081', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'project_id': '3369d23505e04e3b9fce078a43d6943e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-24573336', 'ctest-vn1-36668081'], 'port_security_enabled': True, 'description': ''}}
2026-05-15 17:16:38,318 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c91cc385-2c20-4b8e-b38e-d47c34c2cb2a', 'name': '', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4', 'ip_version': 4, 'cidr': '23.212.66.128/26', 'allocation_pools': [{'start': '23.212.66.130', 'end': '23.212.66.190'}], 'gateway_ip': '23.212.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.212.66.130', 'tags': [], 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:38,472 - DEBUG - Response for create_subnet : {'subnet': {'id': '89dd0548-d56a-4b77-8657-576238113037', 'name': '', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4', 'ip_version': 4, 'cidr': '54.179.146.128/26', 'allocation_pools': [{'start': '54.179.146.130', 'end': '54.179.146.190'}], 'gateway_ip': '54.179.146.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.179.146.130', 'tags': [], 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:38,491 - INFO - Created VN ctest-vn1-36668081
2026-05-15 17:16:38,544 - DEBUG - VN ctest-vn1-36668081 UUID is 4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4
2026-05-15 17:16:38,842 - DEBUG - Response for create_port : {'port': {'name': 'f2ba0bf4-2ec3-4d41-8978-dad17be01803', 'id': 'f2ba0bf4-2ec3-4d41-8978-dad17be01803', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4', 'mac_address': '02:f2:ba:0b:f4:2e', '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': '23.212.66.133', 'subnet_id': 'c91cc385-2c20-4b8e-b38e-d47c34c2cb2a'}], 'security_groups': ['935962b3-e3d9-4672-8b80-5123cc4716fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:39,009 - DEBUG - Response for create_port : {'port': {'name': 'bedf5b48-4500-4274-8db5-8b50d7f42eca', 'id': 'bedf5b48-4500-4274-8db5-8b50d7f42eca', 'tenant_id': '3369d23505e04e3b9fce078a43d6943e', 'network_id': '4f05ae49-a5e7-4d8b-b0a8-cd488374e0d4', 'mac_address': '02:be:df:5b:48:45', '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': '54.179.146.133', 'subnet_id': '89dd0548-d56a-4b77-8657-576238113037'}], 'security_groups': ['935962b3-e3d9-4672-8b80-5123cc4716fc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3369d23505e04e3b9fce078a43d6943e'}}
2026-05-15 17:16:39,066 - DEBUG - Services list from nova: [, , ]
2026-05-15 17:16:39,410 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5787-1)
2026-05-15 17:16:39,812 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5787-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5787-1)
2026-05-15 17:16:39,812 - INFO - Waiting for VM ctest-vn1-vm1-89653434 to be up..
2026-05-15 17:16:39,851 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-15 17:16:44,938 - DEBUG - VM is in ACTIVE state now
2026-05-15 17:16:44,938 - INFO - VM name : ctest-vn1-vm1-89653434
2026-05-15 17:16:45,021 - DEBUG - VM ctest-vn1-vm1-89653434 ID is 06b929ae-0bcf-44b1-a0f8-baa3af302ae6
2026-05-15 17:16:45,041 - DEBUG - VM ctest-vn1-vm1-89653434 launched on Node cn-jenkins-deploy-platform-ansible-os-5787-1
2026-05-15 17:16:45,117 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/06b929ae-0bcf-44b1-a0f8-baa3af302ae6
2026-05-15 17:16:45,125 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f2ba0bf4-2ec3-4d41-8978-dad17be01803
2026-05-15 17:16:48,394 - 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 1035ms')
2026-05-15 17:16:48,394 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89653434 failed!
2026-05-15 17:16:48,448 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24573336:ctest-vn1-36668081 is 23.212.66.129 and allocation pool is NOT set
2026-05-15 17:16:48,448 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-24573336:ctest-vn1-36668081 is 54.179.146.129 and allocation pool is NOT set
2026-05-15 17:16:50,509 - 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=5.50 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.65 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.647/4.071/5.495/1.424 ms')
2026-05-15 17:16:50,510 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-89653434 passed
2026-05-15 17:16:50,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:50,669 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89653434, IP 23.212.66.133, Port 22
2026-05-15 17:16:50,724 - 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-05-15 17:16:50,813 - DEBUG - VM ctest-vn1-vm1-89653434 is NOT ready for SSH connections, VM status: ACTIVE
2026-05-15 17:16:55,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:55,813 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-89653434, IP 23.212.66.133, Port 22
2026-05-15 17:16:55,969 - DEBUG - VM ctest-vn1-vm1-89653434 is ready for SSH connections
2026-05-15 17:16:55,969 - INFO - Waiting for VM ctest-vn1-vm2-17513274 to be up..
2026-05-15 17:16:56,049 - DEBUG - VM is in ACTIVE state now
2026-05-15 17:16:56,049 - INFO - VM name : ctest-vn1-vm2-17513274
2026-05-15 17:16:56,130 - DEBUG - VM ctest-vn1-vm2-17513274 ID is 0a0217dc-0280-47cf-9f25-86027349711d
2026-05-15 17:16:56,130 - DEBUG - VM ctest-vn1-vm2-17513274 launched on Node cn-jenkins-deploy-platform-ansible-os-5787-1
2026-05-15 17:16:56,200 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/0a0217dc-0280-47cf-9f25-86027349711d
2026-05-15 17:16:56,207 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bedf5b48-4500-4274-8db5-8b50d7f42eca
2026-05-15 17:16:57,443 - 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.45 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.422 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.422/1.935/3.448/1.513 ms')
2026-05-15 17:16:57,443 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17513274 passed
2026-05-15 17:16:57,592 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:57,592 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17513274, IP 54.179.146.133, Port 22
2026-05-15 17:16:57,748 - DEBUG - VM ctest-vn1-vm2-17513274 is ready for SSH connections
2026-05-15 17:16:57,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:57,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:57,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-15 17:16:57,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.212.66.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2026-05-15 17:16:57,748 - DEBUG - ping -s 56 -c 3 -W 1 23.212.66.133
2026-05-15 17:17:00,398 - DEBUG - PING 23.212.66.133 (23.212.66.133): 56 data bytes
64 bytes from 23.212.66.133: seq=0 ttl=63 time=3.249 ms
64 bytes from 23.212.66.133: seq=1 ttl=63 time=0.954 ms
64 bytes from 23.212.66.133: seq=2 ttl=63 time=1.081 ms
--- 23.212.66.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.954/1.761/3.249 ms
2026-05-15 17:17:00,398 - INFO - Ping to IP 23.212.66.133 from VM ctest-vn1-vm2-17513274 passed
2026-05-15 17:17:00,398 - INFO - Detaching port bedf5b48-4500-4274-8db5-8b50d7f42eca from VM ctest-vn1-vm2-17513274
2026-05-15 17:17:00,453 - INFO - Deleting VM ctest-vn1-vm2-17513274
2026-05-15 17:17:00,528 - INFO - Detaching port f2ba0bf4-2ec3-4d41-8978-dad17be01803 from VM ctest-vn1-vm1-89653434
2026-05-15 17:17:00,574 - INFO - Deleting VM ctest-vn1-vm1-89653434
2026-05-15 17:17:00,820 - DEBUG - Response for delete_port : ()
2026-05-15 17:17:01,034 - DEBUG - Response for delete_port : ()
2026-05-15 17:17:01,034 - INFO - Deleting VN ctest-vn1-36668081
2026-05-15 17:17:01,174 - DEBUG - Response for deleting network ()
2026-05-15 17:17:01,434 - DEBUG - No XMPP flaps were noticed during the test
2026-05-15 17:17:01,434 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2026-05-15 17:17:01,434 - INFO - --------------------------------------------------------------------------------
2026-05-15 17:17:02,129 - INFO - Deleted project: ctest-TestPorts-24573336, ID : 3369d235-05e0-4e3b-9fce-078a43d6943e