2026-09-30 07:25:29,752 - INFO - Domain Default found not creating 2026-09-30 07:25:29,964 - INFO - Project ctest-TestPorts-07434884 not found, creating it 2026-09-30 07:25:30,515 - INFO - Created Project:ctest-TestPorts-07434884, ID : 8a0d7a0a-db85-4a55-8433-282317159059 2026-09-30 07:25:32,332 - INFO - ================================================================================ 2026-09-30 07:25:32,332 - INFO - STARTING TEST : test_ports_bindings 2026-09-30 07:25:32,333 - 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-30 07:25:32,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-30 07:25:32,602 - INFO - Initial checks done. Running the testcase now 2026-09-30 07:25:32,602 - INFO - 2026-09-30 07:25:33,303 - DEBUG - Response for create_network : {'network': {'id': '6c279030-2f53-4a11-a972-be065c99cee6', 'name': 'ctest-vn-34580753', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'project_id': '8a0d7a0adb854a558433282317159059', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07434884', 'ctest-vn-34580753'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:25:33,538 - DEBUG - Response for create_subnet : {'subnet': {'id': '3774f9b9-b7cd-4505-861a-69598e6fd75d', 'name': '', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': '6c279030-2f53-4a11-a972-be065c99cee6', 'ip_version': 4, 'cidr': '136.168.107.192/26', 'allocation_pools': [{'start': '136.168.107.194', 'end': '136.168.107.254'}], 'gateway_ip': '136.168.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.168.107.194', 'tags': [], 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:33,558 - INFO - Created VN ctest-vn-34580753 2026-09-30 07:25:33,616 - DEBUG - VN ctest-vn-34580753 UUID is 6c279030-2f53-4a11-a972-be065c99cee6 2026-09-30 07:25:33,735 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07434884', 'ctest-vmi-59936871']} 2026-09-30 07:25:34,025 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-59936871', 'id': '7e0b7336-4690-49fb-be61-22232003f03d', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': '6c279030-2f53-4a11-a972-be065c99cee6', 'mac_address': '02:7e:0b:73:36:46', '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': '136.168.107.195', 'subnet_id': '3774f9b9-b7cd-4505-861a-69598e6fd75d'}], 'security_groups': ['9d95bc84-5bbd-48ea-9cd1-df027c3994ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:34,025 - DEBUG - Created port 7e0b7336-4690-49fb-be61-22232003f03d 2026-09-30 07:25:34,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e0b7336-4690-49fb-be61-22232003f03d 2026-09-30 07:25:34,516 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7e0b7336-4690-49fb-be61-22232003f03d 2026-09-30 07:25:34,559 - INFO - VMI 7e0b7336-4690-49fb-be61-22232003f03d verification in API Server passed 2026-09-30 07:25:34,714 - DEBUG - Response for delete_port : () 2026-09-30 07:25:34,715 - INFO - Deleted port 7e0b7336-4690-49fb-be61-22232003f03d 2026-09-30 07:25:34,715 - INFO - Deleting VN ctest-vn-34580753 2026-09-30 07:25:34,860 - DEBUG - Response for deleting network () 2026-09-30 07:25:35,137 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 07:25:35,138 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-09-30 07:25:35,138 - INFO - -------------------------------------------------------------------------------- 2026-09-30 07:25:35,141 - INFO - ================================================================================ 2026-09-30 07:25:35,141 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-09-30 07:25:35,141 - 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-30 07:25:35,437 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-30 07:25:35,437 - INFO - Initial checks done. Running the testcase now 2026-09-30 07:25:35,437 - INFO - 2026-09-30 07:25:35,659 - DEBUG - Response for create_network : {'network': {'id': 'e8cc9449-2309-415e-8244-13422a56c99c', 'name': 'ctest-vn1-82909946', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'project_id': '8a0d7a0adb854a558433282317159059', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07434884', 'ctest-vn1-82909946'], 'port_security_enabled': True, 'description': ''}} 2026-09-30 07:25:35,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd76a57b8-56f1-4812-9a94-d70c68420ef1', 'name': '', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': 'e8cc9449-2309-415e-8244-13422a56c99c', 'ip_version': 4, 'cidr': '75.28.199.64/26', 'allocation_pools': [{'start': '75.28.199.66', 'end': '75.28.199.126'}], 'gateway_ip': '75.28.199.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.28.199.66', 'tags': [], 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:36,044 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e82b766-ce94-4b77-b845-f8ec55248c22', 'name': '', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': 'e8cc9449-2309-415e-8244-13422a56c99c', 'ip_version': 4, 'cidr': '218.237.35.192/26', 'allocation_pools': [{'start': '218.237.35.194', 'end': '218.237.35.254'}], 'gateway_ip': '218.237.35.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.237.35.194', 'tags': [], 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:36,065 - INFO - Created VN ctest-vn1-82909946 2026-09-30 07:25:36,124 - DEBUG - VN ctest-vn1-82909946 UUID is e8cc9449-2309-415e-8244-13422a56c99c 2026-09-30 07:25:36,490 - DEBUG - Response for create_port : {'port': {'name': '25073112-0556-4173-acae-a7cdd33309cb', 'id': '25073112-0556-4173-acae-a7cdd33309cb', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': 'e8cc9449-2309-415e-8244-13422a56c99c', 'mac_address': '02:25:07:31:12:05', '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': '75.28.199.69', 'subnet_id': 'd76a57b8-56f1-4812-9a94-d70c68420ef1'}], 'security_groups': ['9d95bc84-5bbd-48ea-9cd1-df027c3994ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:36,740 - DEBUG - Response for create_port : {'port': {'name': '6715874f-bc40-4f17-8590-d22fe816381e', 'id': '6715874f-bc40-4f17-8590-d22fe816381e', 'tenant_id': '8a0d7a0adb854a558433282317159059', 'network_id': 'e8cc9449-2309-415e-8244-13422a56c99c', 'mac_address': '02:67:15:87:4f:bc', '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': '218.237.35.197', 'subnet_id': '5e82b766-ce94-4b77-b845-f8ec55248c22'}], 'security_groups': ['9d95bc84-5bbd-48ea-9cd1-df027c3994ac'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'project_id': '8a0d7a0adb854a558433282317159059'}} 2026-09-30 07:25:36,810 - DEBUG - Services list from nova: [, , ] 2026-09-30 07:25:37,203 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6331-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6331-1) 2026-09-30 07:25:37,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6331-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6331-1) 2026-09-30 07:25:37,716 - INFO - Waiting for VM ctest-vn1-vm1-92603939 to be up.. 2026-09-30 07:25:37,774 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:25:42,832 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:25:47,924 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:25:53,017 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:25:58,115 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:26:03,218 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:26:08,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:26:13,417 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:26:18,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-30 07:26:23,622 - DEBUG - VM is in ACTIVE state now 2026-09-30 07:26:23,623 - INFO - VM name : ctest-vn1-vm1-92603939 2026-09-30 07:26:23,711 - DEBUG - VM ctest-vn1-vm1-92603939 ID is 778c9a3a-1969-4dfd-84fd-3f42a4b96f2f 2026-09-30 07:26:23,740 - DEBUG - VM ctest-vn1-vm1-92603939 launched on Node cn-jenkins-deploy-platform-ansible-os-6331-1 2026-09-30 07:26:23,837 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/778c9a3a-1969-4dfd-84fd-3f42a4b96f2f 2026-09-30 07:26:23,847 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/25073112-0556-4173-acae-a7cdd33309cb 2026-09-30 07:26:27,118 - 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 1016ms') 2026-09-30 07:26:27,118 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-92603939 failed! 2026-09-30 07:26:27,176 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07434884:ctest-vn1-82909946 is 75.28.199.65 and allocation pool is NOT set 2026-09-30 07:26:27,176 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07434884:ctest-vn1-82909946 is 218.237.35.193 and allocation pool is NOT set 2026-09-30 07:26:29,249 - 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=7.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.95 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 = 2.954/5.260/7.566/2.306 ms') 2026-09-30 07:26:29,249 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-92603939 passed 2026-09-30 07:26:29,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:29,408 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92603939, IP 75.28.199.69, Port 22 2026-09-30 07:26:29,478 - 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-30 07:26:29,583 - DEBUG - VM ctest-vn1-vm1-92603939 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-30 07:26:34,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:34,584 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92603939, IP 75.28.199.69, Port 22 2026-09-30 07:26:34,754 - DEBUG - VM ctest-vn1-vm1-92603939 is ready for SSH connections 2026-09-30 07:26:34,754 - INFO - Waiting for VM ctest-vn1-vm2-19088942 to be up.. 2026-09-30 07:26:34,844 - DEBUG - VM is in ACTIVE state now 2026-09-30 07:26:34,844 - INFO - VM name : ctest-vn1-vm2-19088942 2026-09-30 07:26:34,935 - DEBUG - VM ctest-vn1-vm2-19088942 ID is 89f9efbd-4ac1-45a5-a062-124cad447bf0 2026-09-30 07:26:34,936 - DEBUG - VM ctest-vn1-vm2-19088942 launched on Node cn-jenkins-deploy-platform-ansible-os-6331-1 2026-09-30 07:26:35,043 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/89f9efbd-4ac1-45a5-a062-124cad447bf0 2026-09-30 07:26:35,056 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6715874f-bc40-4f17-8590-d22fe816381e 2026-09-30 07:26:36,314 - 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.33 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.579 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.579/2.453/4.328/1.874 ms') 2026-09-30 07:26:36,315 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-19088942 passed 2026-09-30 07:26:36,472 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:36,472 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-19088942, IP 218.237.35.197, Port 22 2026-09-30 07:26:36,642 - DEBUG - VM ctest-vn1-vm2-19088942 is ready for SSH connections 2026-09-30 07:26:36,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:36,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:36,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-30 07:26:36,642 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.28.199.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-30 07:26:36,643 - DEBUG - ping -s 56 -c 3 -W 1 75.28.199.69 2026-09-30 07:26:40,862 - DEBUG - PING 75.28.199.69 (75.28.199.69): 56 data bytes 64 bytes from 75.28.199.69: seq=0 ttl=63 time=6.065 ms 64 bytes from 75.28.199.69: seq=1 ttl=63 time=1.545 ms 64 bytes from 75.28.199.69: seq=2 ttl=63 time=1.332 ms --- 75.28.199.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.332/2.980/6.065 ms 2026-09-30 07:26:40,862 - INFO - Ping to IP 75.28.199.69 from VM ctest-vn1-vm2-19088942 passed 2026-09-30 07:26:40,862 - INFO - Detaching port 6715874f-bc40-4f17-8590-d22fe816381e from VM ctest-vn1-vm2-19088942 2026-09-30 07:26:40,929 - INFO - Deleting VM ctest-vn1-vm2-19088942 2026-09-30 07:26:41,030 - INFO - Detaching port 25073112-0556-4173-acae-a7cdd33309cb from VM ctest-vn1-vm1-92603939 2026-09-30 07:26:41,077 - INFO - Deleting VM ctest-vn1-vm1-92603939 2026-09-30 07:26:41,413 - DEBUG - Response for delete_port : () 2026-09-30 07:26:41,637 - DEBUG - Response for delete_port : () 2026-09-30 07:26:41,638 - INFO - Deleting VN ctest-vn1-82909946 2026-09-30 07:26:41,848 - DEBUG - Response for deleting network () 2026-09-30 07:26:42,126 - DEBUG - No XMPP flaps were noticed during the test
2026-09-30 07:26:42,126 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:07]
2026-09-30 07:26:42,126 - INFO - -------------------------------------------------------------------------------- 2026-09-30 07:26:42,947 - INFO - Deleted project: ctest-TestPorts-07434884, ID : 8a0d7a0a-db85-4a55-8433-282317159059