2026-09-28 02:23:53,092 - INFO - Domain Default found not creating
2026-09-28 02:23:53,288 - INFO - Project ctest-TestPorts-07526657 not found, creating it
2026-09-28 02:23:53,897 - INFO - Created Project:ctest-TestPorts-07526657, ID : 08980411-371c-4736-aec7-acbaa176597f
2026-09-28 02:23:55,798 - INFO - ================================================================================
2026-09-28 02:23:55,799 - INFO - STARTING TEST : test_ports_bindings
2026-09-28 02:23:55,799 - 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-28 02:23:56,079 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with
2026-09-28 02:23:56,079 - INFO - Initial checks done. Running the testcase now
2026-09-28 02:23:56,079 - INFO -
2026-09-28 02:23:57,194 - DEBUG - Response for create_network : {'network': {'id': 'fac1641f-b07e-458d-a78f-3b7e5725f64f', 'name': 'ctest-vn-66144631', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'project_id': '08980411371c4736aec7acbaa176597f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07526657', 'ctest-vn-66144631'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-09-28 02:23:57,477 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b384474-b0ff-4902-b34c-82737dc68294', 'name': '', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': 'fac1641f-b07e-458d-a78f-3b7e5725f64f', 'ip_version': 4, 'cidr': '108.150.156.192/26', 'allocation_pools': [{'start': '108.150.156.194', 'end': '108.150.156.254'}], 'gateway_ip': '108.150.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:23:57.362892', 'updated_at': '2026-09-28T02:23:57.362892', 'dns_server_address': '108.150.156.194', 'tags': [], 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:23:57,504 - INFO - Created VN ctest-vn-66144631
2026-09-28 02:23:57,568 - DEBUG - VN ctest-vn-66144631 UUID is fac1641f-b07e-458d-a78f-3b7e5725f64f
2026-09-28 02:23:57,699 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-07526657', 'ctest-vmi-07886668']}
2026-09-28 02:23:58,022 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07886668', 'id': 'fda63480-25d2-4320-bb94-02a1a24b0ed5', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': 'fac1641f-b07e-458d-a78f-3b7e5725f64f', 'mac_address': '02:fd:a6:34:80:25', '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.150.156.195', 'subnet_id': '7b384474-b0ff-4902-b34c-82737dc68294'}], 'security_groups': ['cf35d6fe-fafb-4706-b76f-522f2f4496ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:23:57.830350', 'updated_at': '2026-09-28T02:23:57.905551', 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:23:58,023 - DEBUG - Created port fda63480-25d2-4320-bb94-02a1a24b0ed5
2026-09-28 02:23:58,140 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/fda63480-25d2-4320-bb94-02a1a24b0ed5
2026-09-28 02:23:58,539 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/fda63480-25d2-4320-bb94-02a1a24b0ed5
2026-09-28 02:23:58,586 - INFO - VMI fda63480-25d2-4320-bb94-02a1a24b0ed5 verification in API Server passed
2026-09-28 02:23:58,704 - DEBUG - Response for delete_port : ()
2026-09-28 02:23:58,704 - INFO - Deleted port fda63480-25d2-4320-bb94-02a1a24b0ed5
2026-09-28 02:23:58,705 - INFO - Deleting VN ctest-vn-66144631
2026-09-28 02:23:58,839 - DEBUG - Response for deleting network ()
2026-09-28 02:23:59,123 - DEBUG - No XMPP flaps were noticed during the test
2026-09-28 02:23:59,123 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2026-09-28 02:23:59,126 - INFO - --------------------------------------------------------------------------------
2026-09-28 02:23:59,130 - INFO - ================================================================================
2026-09-28 02:23:59,130 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-09-28 02:23:59,131 - 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-28 02:23:59,429 - DEBUG - Nothing to compare xmpp stats {'10.0.0.186': {'10.20.0.17': '0'}} with
2026-09-28 02:23:59,429 - INFO - Initial checks done. Running the testcase now
2026-09-28 02:23:59,430 - INFO -
2026-09-28 02:23:59,647 - DEBUG - Response for create_network : {'network': {'id': '567db65b-bc9d-4b95-a01a-b08dd766e4c4', 'name': 'ctest-vn1-48927289', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'project_id': '08980411371c4736aec7acbaa176597f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-07526657', 'ctest-vn1-48927289'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-09-28 02:23:59,842 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cb4f039-94a9-4291-8099-93c61461ff02', 'name': '', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': '567db65b-bc9d-4b95-a01a-b08dd766e4c4', 'ip_version': 4, 'cidr': '108.60.198.0/26', 'allocation_pools': [{'start': '108.60.198.2', 'end': '108.60.198.62'}], 'gateway_ip': '108.60.198.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:23:59.777392', 'updated_at': '2026-09-28T02:23:59.777392', 'dns_server_address': '108.60.198.2', 'tags': [], 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:24:00,070 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd345304f-baca-4a94-a77e-18b8688c343b', 'name': '', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': '567db65b-bc9d-4b95-a01a-b08dd766e4c4', 'ip_version': 4, 'cidr': '97.86.31.128/26', 'allocation_pools': [{'start': '97.86.31.130', 'end': '97.86.31.190'}], 'gateway_ip': '97.86.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-09-28T02:23:59.982165', 'updated_at': '2026-09-28T02:23:59.982165', 'dns_server_address': '97.86.31.130', 'tags': [], 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:24:00,105 - INFO - Created VN ctest-vn1-48927289
2026-09-28 02:24:00,171 - DEBUG - VN ctest-vn1-48927289 UUID is 567db65b-bc9d-4b95-a01a-b08dd766e4c4
2026-09-28 02:24:00,564 - DEBUG - Response for create_port : {'port': {'name': '73ec1a8d-0038-493d-9fc0-81bd7477f578', 'id': '73ec1a8d-0038-493d-9fc0-81bd7477f578', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': '567db65b-bc9d-4b95-a01a-b08dd766e4c4', 'mac_address': '02:73:ec:1a:8d:00', '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.60.198.5', 'subnet_id': '0cb4f039-94a9-4291-8099-93c61461ff02'}], 'security_groups': ['cf35d6fe-fafb-4706-b76f-522f2f4496ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:24:00.390446', 'updated_at': '2026-09-28T02:24:00.468929', 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:24:00,834 - DEBUG - Response for create_port : {'port': {'name': '01614cb1-7761-4597-a153-649de1e67d71', 'id': '01614cb1-7761-4597-a153-649de1e67d71', 'tenant_id': '08980411371c4736aec7acbaa176597f', 'network_id': '567db65b-bc9d-4b95-a01a-b08dd766e4c4', 'mac_address': '02:01:61:4c:b1:77', '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': '97.86.31.133', 'subnet_id': 'd345304f-baca-4a94-a77e-18b8688c343b'}], 'security_groups': ['cf35d6fe-fafb-4706-b76f-522f2f4496ee'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'tags': [], 'port_security_enabled': True, 'description': '', 'created_at': '2026-09-28T02:24:00.658030', 'updated_at': '2026-09-28T02:24:00.735622', 'project_id': '08980411371c4736aec7acbaa176597f'}}
2026-09-28 02:24:00,919 - DEBUG - Services list from nova: [, , ]
2026-09-28 02:24:01,394 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1)
2026-09-28 02:24:01,927 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6323-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6323-1)
2026-09-28 02:24:01,927 - INFO - Waiting for VM ctest-vn1-vm1-87099377 to be up..
2026-09-28 02:24:01,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:07,080 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:12,175 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:17,263 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:22,361 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:27,464 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:32,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:37,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-09-28 02:24:42,751 - DEBUG - VM is in ACTIVE state now
2026-09-28 02:24:42,751 - INFO - VM name : ctest-vn1-vm1-87099377
2026-09-28 02:24:42,833 - DEBUG - VM ctest-vn1-vm1-87099377 ID is 49f7b778-97d4-47a1-be5b-180b369ef0b6
2026-09-28 02:24:42,855 - DEBUG - VM ctest-vn1-vm1-87099377 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1
2026-09-28 02:24:42,949 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/49f7b778-97d4-47a1-be5b-180b369ef0b6
2026-09-28 02:24:42,959 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/73ec1a8d-0038-493d-9fc0-81bd7477f578
2026-09-28 02:24:46,214 - 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 1007ms')
2026-09-28 02:24:46,214 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87099377 failed!
2026-09-28 02:24:46,272 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07526657:ctest-vn1-48927289 is 108.60.198.1 and allocation pool is NOT set
2026-09-28 02:24:46,272 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-07526657:ctest-vn1-48927289 is 97.86.31.129 and allocation pool is NOT set
2026-09-28 02:24:50,344 - 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=2 ttl=63 time=9.44 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 9.435/9.435/9.435/0.000 ms')
2026-09-28 02:24:50,344 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87099377 passed
2026-09-28 02:24:50,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:50,508 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87099377, IP 108.60.198.5, Port 22
2026-09-28 02:24:50,692 - DEBUG - VM ctest-vn1-vm1-87099377 is ready for SSH connections
2026-09-28 02:24:50,692 - INFO - Waiting for VM ctest-vn1-vm2-79259381 to be up..
2026-09-28 02:24:50,791 - DEBUG - VM is in ACTIVE state now
2026-09-28 02:24:50,791 - INFO - VM name : ctest-vn1-vm2-79259381
2026-09-28 02:24:50,882 - DEBUG - VM ctest-vn1-vm2-79259381 ID is da3af915-51ea-4432-9d80-cdb39e0103e7
2026-09-28 02:24:50,882 - DEBUG - VM ctest-vn1-vm2-79259381 launched on Node cn-jenkins-deploy-platform-ansible-os-6323-1
2026-09-28 02:24:50,982 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine/da3af915-51ea-4432-9d80-cdb39e0103e7
2026-09-28 02:24:50,995 - DEBUG - Requesting: http://10.0.0.186:8082/virtual-machine-interface/01614cb1-7761-4597-a153-649de1e67d71
2026-09-28 02:24:54,252 - 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=2 ttl=63 time=8.72 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 8.719/8.719/8.719/0.000 ms')
2026-09-28 02:24:54,252 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-79259381 passed
2026-09-28 02:24:54,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:54,408 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79259381, IP 97.86.31.133, Port 22
2026-09-28 02:24:54,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-28 02:24:54,584 - DEBUG - VM ctest-vn1-vm2-79259381 is NOT ready for SSH connections, VM status: ACTIVE
2026-09-28 02:24:59,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:59,585 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79259381, IP 97.86.31.133, Port 22
2026-09-28 02:24:59,757 - DEBUG - VM ctest-vn1-vm2-79259381 is ready for SSH connections
2026-09-28 02:24:59,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:59,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:59,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-09-28 02:24:59,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 108.60.198.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.186, gateway password: c0ntrail123
2026-09-28 02:24:59,758 - DEBUG - ping -s 56 -c 3 -W 1 108.60.198.5
2026-09-28 02:25:02,987 - DEBUG - PING 108.60.198.5 (108.60.198.5): 56 data bytes
64 bytes from 108.60.198.5: seq=0 ttl=63 time=5.631 ms
64 bytes from 108.60.198.5: seq=1 ttl=63 time=1.160 ms
64 bytes from 108.60.198.5: seq=2 ttl=63 time=1.105 ms
--- 108.60.198.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.105/2.632/5.631 ms
2026-09-28 02:25:02,988 - INFO - Ping to IP 108.60.198.5 from VM ctest-vn1-vm2-79259381 passed
2026-09-28 02:25:02,988 - INFO - Detaching port 01614cb1-7761-4597-a153-649de1e67d71 from VM ctest-vn1-vm2-79259381
2026-09-28 02:25:03,055 - INFO - Deleting VM ctest-vn1-vm2-79259381
2026-09-28 02:25:03,143 - INFO - Detaching port 73ec1a8d-0038-493d-9fc0-81bd7477f578 from VM ctest-vn1-vm1-87099377
2026-09-28 02:25:03,182 - INFO - Deleting VM ctest-vn1-vm1-87099377
2026-09-28 02:25:03,450 - DEBUG - Response for delete_port : ()
2026-09-28 02:25:03,665 - DEBUG - Response for delete_port : ()
2026-09-28 02:25:03,665 - INFO - Deleting VN ctest-vn1-48927289
2026-09-28 02:25:03,821 - DEBUG - Response for deleting network ()
2026-09-28 02:25:04,114 - DEBUG - No XMPP flaps were noticed during the test
2026-09-28 02:25:04,114 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:01:05]
2026-09-28 02:25:04,114 - INFO - --------------------------------------------------------------------------------
2026-09-28 02:25:04,926 - INFO - Deleted project: ctest-TestPorts-07526657, ID : 08980411-371c-4736-aec7-acbaa176597f