2026-09-10 14:28:48,571 - INFO - Domain Default found not creating
2026-09-10 14:28:48,758 - INFO - Project ctest-TestPorts-48039736 not found, creating it
2026-09-10 14:28:49,250 - INFO - Created Project:ctest-TestPorts-48039736, ID : b6f899c8-5ab0-42ea-b7ed-8d20b71fa9c8
2026-09-10 14:28:50,774 - INFO - ================================================================================
2026-09-10 14:28:50,775 - INFO - STARTING TEST : test_ports_bindings
2026-09-10 14:28:50,775 - 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-09-10 14:28:51,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-10 14:28:51,031 - INFO - Initial checks done. Running the testcase now
2026-09-10 14:28:51,031 - INFO -
2026-09-10 14:28:51,626 - DEBUG - Response for create_network : {'network': {'id': '18776499-6a76-497c-a182-09a3513d2bcb', 'name': 'ctest-vn-59686480', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48039736', 'ctest-vn-59686480'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:28:51,872 - DEBUG - Response for create_subnet : {'subnet': {'id': '62bcd504-3b15-45ea-ab34-73bd60930854', 'name': '', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '18776499-6a76-497c-a182-09a3513d2bcb', 'ip_version': 4, 'cidr': '96.129.55.128/26', 'allocation_pools': [{'start': '96.129.55.130', 'end': '96.129.55.190'}], 'gateway_ip': '96.129.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.129.55.130', 'tags': [], 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:51,890 - INFO - Created VN ctest-vn-59686480
2026-09-10 14:28:51,945 - DEBUG - VN ctest-vn-59686480 UUID is 18776499-6a76-497c-a182-09a3513d2bcb
2026-09-10 14:28:52,050 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48039736', 'ctest-vmi-81204074']}
2026-09-10 14:28:52,363 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-81204074', 'id': '403edf40-1319-4977-8a1d-3b37488f3e84', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '18776499-6a76-497c-a182-09a3513d2bcb', 'mac_address': '02:40:3e:df:40:13', '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': '96.129.55.131', 'subnet_id': '62bcd504-3b15-45ea-ab34-73bd60930854'}], 'security_groups': ['4ce03ace-2cab-4347-b430-bebccf406f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:52,363 - DEBUG - Created port 403edf40-1319-4977-8a1d-3b37488f3e84
2026-09-10 14:28:52,473 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/403edf40-1319-4977-8a1d-3b37488f3e84
2026-09-10 14:28:52,789 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/403edf40-1319-4977-8a1d-3b37488f3e84
2026-09-10 14:28:53,126 - INFO - VMI 403edf40-1319-4977-8a1d-3b37488f3e84 verification in API Server passed
2026-09-10 14:28:53,224 - DEBUG - Response for delete_port : ()
2026-09-10 14:28:53,224 - INFO - Deleted port 403edf40-1319-4977-8a1d-3b37488f3e84
2026-09-10 14:28:53,225 - INFO - Deleting VN ctest-vn-59686480
2026-09-10 14:28:53,346 - DEBUG - Response for deleting network ()
2026-09-10 14:28:53,621 - DEBUG - No XMPP flaps were noticed during the test
2026-09-10 14:28:53,621 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-10 14:28:53,622 - INFO - --------------------------------------------------------------------------------
2026-09-10 14:28:53,624 - INFO - ================================================================================
2026-09-10 14:28:53,625 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-10 14:28:53,625 - 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-09-10 14:28:53,905 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-10 14:28:53,905 - INFO - Initial checks done. Running the testcase now
2026-09-10 14:28:53,906 - INFO -
2026-09-10 14:28:54,099 - DEBUG - Response for create_network : {'network': {'id': '8cdef806-2460-456e-8f41-6a0c4555d383', 'name': 'ctest-vn1-92793416', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48039736', 'ctest-vn1-92793416'], 'port_security_enabled': True, 'description': ''}}
2026-09-10 14:28:54,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e917310-3a2c-4cc4-85c4-afaeddf429ff', 'name': '', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '8cdef806-2460-456e-8f41-6a0c4555d383', 'ip_version': 4, 'cidr': '99.217.71.128/26', 'allocation_pools': [{'start': '99.217.71.130', 'end': '99.217.71.190'}], 'gateway_ip': '99.217.71.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.217.71.130', 'tags': [], 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:54,496 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bb01ae1-9709-4398-a2fb-0a05f7e19e53', 'name': '', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '8cdef806-2460-456e-8f41-6a0c4555d383', 'ip_version': 4, 'cidr': '42.153.66.128/26', 'allocation_pools': [{'start': '42.153.66.130', 'end': '42.153.66.190'}], 'gateway_ip': '42.153.66.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.153.66.130', 'tags': [], 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:54,516 - INFO - Created VN ctest-vn1-92793416
2026-09-10 14:28:54,569 - DEBUG - VN ctest-vn1-92793416 UUID is 8cdef806-2460-456e-8f41-6a0c4555d383
2026-09-10 14:28:54,887 - DEBUG - Response for create_port : {'port': {'name': '67dcf357-0244-4cea-9ac8-71e213bd4462', 'id': '67dcf357-0244-4cea-9ac8-71e213bd4462', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '8cdef806-2460-456e-8f41-6a0c4555d383', 'mac_address': '02:67:dc:f3:57:02', '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': '99.217.71.133', 'subnet_id': '0e917310-3a2c-4cc4-85c4-afaeddf429ff'}], 'security_groups': ['4ce03ace-2cab-4347-b430-bebccf406f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:55,065 - DEBUG - Response for create_port : {'port': {'name': '95285038-95f2-4037-8953-17a8bd141088', 'id': '95285038-95f2-4037-8953-17a8bd141088', 'tenant_id': 'b6f899c85ab042eab7ed8d20b71fa9c8', 'network_id': '8cdef806-2460-456e-8f41-6a0c4555d383', 'mac_address': '02:95:28:50:38:95', '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': '42.153.66.133', 'subnet_id': '8bb01ae1-9709-4398-a2fb-0a05f7e19e53'}], 'security_groups': ['4ce03ace-2cab-4347-b430-bebccf406f2b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': 'b6f899c85ab042eab7ed8d20b71fa9c8'}}
2026-09-10 14:28:55,119 - DEBUG - Services list from nova: [, , ]
2026-09-10 14:28:55,447 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6274-1)
2026-09-10 14:28:55,866 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6274-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6274-1)
2026-09-10 14:28:55,866 - INFO - Waiting for VM ctest-vn1-vm1-80690372 to be up..
2026-09-10 14:28:55,906 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:00,966 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:06,058 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:11,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:16,223 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:21,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:26,384 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:31,467 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-10 14:29:36,551 - DEBUG - VM is in ACTIVE state now
2026-09-10 14:29:36,551 - INFO - VM name : ctest-vn1-vm1-80690372
2026-09-10 14:29:36,643 - DEBUG - VM ctest-vn1-vm1-80690372 ID is 830db8fe-2beb-4bcc-9b4d-64af1221fe9c
2026-09-10 14:29:36,667 - DEBUG - VM ctest-vn1-vm1-80690372 launched on Node cn-jenkins-deploy-platform-ansible-os-6274-1
2026-09-10 14:29:36,766 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/830db8fe-2beb-4bcc-9b4d-64af1221fe9c
2026-09-10 14:29:36,776 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/67dcf357-0244-4cea-9ac8-71e213bd4462
2026-09-10 14:29:40,048 - 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 1029ms')
2026-09-10 14:29:40,048 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-80690372 failed!
2026-09-10 14:29:40,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48039736:ctest-vn1-92793416 is 99.217.71.129 and allocation pool is NOT set
2026-09-10 14:29:40,105 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48039736:ctest-vn1-92793416 is 42.153.66.129 and allocation pool is NOT set
2026-09-10 14:29:42,175 - 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=11.7 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.45 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 = 4.447/8.088/11.730/3.641 ms')
2026-09-10 14:29:42,175 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-80690372 passed
2026-09-10 14:29:42,337 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:42,337 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80690372, IP 99.217.71.133, Port 22
2026-09-10 14:29:42,408 - 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-09-10 14:29:42,511 - DEBUG - VM ctest-vn1-vm1-80690372 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-10 14:29:47,511 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:47,511 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80690372, IP 99.217.71.133, Port 22
2026-09-10 14:29:47,683 - DEBUG - VM ctest-vn1-vm1-80690372 is ready for SSH connections
2026-09-10 14:29:47,683 - INFO - Waiting for VM ctest-vn1-vm2-19127253 to be up..
2026-09-10 14:29:47,776 - DEBUG - VM is in ACTIVE state now
2026-09-10 14:29:47,776 - INFO - VM name : ctest-vn1-vm2-19127253
2026-09-10 14:29:47,875 - DEBUG - VM ctest-vn1-vm2-19127253 ID is fbb5b225-bbd3-43ee-b4cb-d188dd808a1d
2026-09-10 14:29:47,875 - DEBUG - VM ctest-vn1-vm2-19127253 launched on Node cn-jenkins-deploy-platform-ansible-os-6274-1
2026-09-10 14:29:47,962 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine/fbb5b225-bbd3-43ee-b4cb-d188dd808a1d
2026-09-10 14:29:47,971 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-machine-interface/95285038-95f2-4037-8953-17a8bd141088
2026-09-10 14:29:49,217 - 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=4.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.506 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 = 0.506/2.473/4.440/1.967 ms')
2026-09-10 14:29:49,217 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-19127253 passed
2026-09-10 14:29:49,365 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:49,365 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19127253, IP 42.153.66.133, Port 22
2026-09-10 14:29:49,534 - DEBUG - VM ctest-vn1-vm2-19127253 is ready for SSH connections
2026-09-10 14:29:49,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:49,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:49,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-10 14:29:49,535 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.217.71.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.190, gateway password: c0ntrail123
2026-09-10 14:29:49,535 - DEBUG - ping -s 56 -c 3 -W 1 99.217.71.133
2026-09-10 14:29:53,556 - DEBUG - PING 99.217.71.133 (99.217.71.133): 56 data bytes
64 bytes from 99.217.71.133: seq=0 ttl=63 time=5.202 ms
64 bytes from 99.217.71.133: seq=1 ttl=63 time=1.283 ms
64 bytes from 99.217.71.133: seq=2 ttl=63 time=1.344 ms
--- 99.217.71.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.283/2.609/5.202 ms
2026-09-10 14:29:53,556 - INFO - Ping to IP 99.217.71.133 from VM ctest-vn1-vm2-19127253 passed
2026-09-10 14:29:53,556 - INFO - Detaching port 95285038-95f2-4037-8953-17a8bd141088 from VM ctest-vn1-vm2-19127253
2026-09-10 14:29:53,643 - INFO - Deleting VM ctest-vn1-vm2-19127253
2026-09-10 14:29:53,720 - INFO - Detaching port 67dcf357-0244-4cea-9ac8-71e213bd4462 from VM ctest-vn1-vm1-80690372
2026-09-10 14:29:53,757 - INFO - Deleting VM ctest-vn1-vm1-80690372
2026-09-10 14:29:54,157 - DEBUG - Response for delete_port : ()
2026-09-10 14:29:54,402 - DEBUG - Response for delete_port : ()
2026-09-10 14:29:54,402 - INFO - Deleting VN ctest-vn1-92793416
2026-09-10 14:29:54,552 - DEBUG - Response for deleting network ()
2026-09-10 14:29:54,816 - DEBUG - No XMPP flaps were noticed during the test
2026-09-10 14:29:54,816 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:01]
2026-09-10 14:29:54,817 - INFO - --------------------------------------------------------------------------------
2026-09-10 14:29:55,591 - INFO - Deleted project: ctest-TestPorts-48039736, ID : b6f899c8-5ab0-42ea-b7ed-8d20b71fa9c8