2026-01-20 15:36:02,335 - INFO - Domain Default found not creating 2026-01-20 15:36:02,646 - INFO - Project ctest-TestPorts-39854189 not found, creating it 2026-01-20 15:36:03,661 - INFO - Created Project:ctest-TestPorts-39854189, ID : 430f640d-9b2e-4f39-a440-c92e501c0706 2026-01-20 15:36:05,365 - INFO - ================================================================================ 2026-01-20 15:36:05,365 - INFO - STARTING TEST : test_ports_bindings 2026-01-20 15:36:05,365 - 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-01-20 15:36:05,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-20 15:36:05,629 - INFO - Initial checks done. Running the testcase now 2026-01-20 15:36:05,629 - INFO - 2026-01-20 15:36:06,252 - DEBUG - Response for create_network : {'network': {'id': 'dd151eb7-a926-40d4-be82-a6340f9d9fd6', 'name': 'ctest-vn-11076902', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'project_id': '430f640d9b2e4f39a440c92e501c0706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39854189', 'ctest-vn-11076902'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 15:36:06,476 - DEBUG - Response for create_subnet : {'subnet': {'id': '17c83dba-2fd3-4f2e-b409-7a34393dc0e1', 'name': '', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': 'dd151eb7-a926-40d4-be82-a6340f9d9fd6', 'ip_version': 4, 'cidr': '175.139.24.192/26', 'allocation_pools': [{'start': '175.139.24.194', 'end': '175.139.24.254'}], 'gateway_ip': '175.139.24.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.139.24.194', 'tags': [], 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:06,501 - INFO - Created VN ctest-vn-11076902 2026-01-20 15:36:06,558 - DEBUG - VN ctest-vn-11076902 UUID is dd151eb7-a926-40d4-be82-a6340f9d9fd6 2026-01-20 15:36:06,674 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39854189', 'ctest-vmi-24773155']} 2026-01-20 15:36:06,960 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24773155', 'id': '61ce4b5c-0c25-4230-a267-f68ca7b5009b', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': 'dd151eb7-a926-40d4-be82-a6340f9d9fd6', 'mac_address': '02:61:ce:4b:5c:0c', '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': '175.139.24.195', 'subnet_id': '17c83dba-2fd3-4f2e-b409-7a34393dc0e1'}], 'security_groups': ['9c8a511a-1410-42be-a914-b4cb5cf05f61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:06,960 - DEBUG - Created port 61ce4b5c-0c25-4230-a267-f68ca7b5009b 2026-01-20 15:36:07,078 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61ce4b5c-0c25-4230-a267-f68ca7b5009b 2026-01-20 15:36:07,392 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/61ce4b5c-0c25-4230-a267-f68ca7b5009b 2026-01-20 15:36:07,432 - INFO - VMI 61ce4b5c-0c25-4230-a267-f68ca7b5009b verification in API Server passed 2026-01-20 15:36:07,537 - DEBUG - Response for delete_port : () 2026-01-20 15:36:07,537 - INFO - Deleted port 61ce4b5c-0c25-4230-a267-f68ca7b5009b 2026-01-20 15:36:07,538 - INFO - Deleting VN ctest-vn-11076902 2026-01-20 15:36:07,695 - DEBUG - Response for deleting network () 2026-01-20 15:36:07,973 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 15:36:07,973 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-01-20 15:36:07,973 - INFO - -------------------------------------------------------------------------------- 2026-01-20 15:36:07,977 - INFO - ================================================================================ 2026-01-20 15:36:07,977 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-20 15:36:07,977 - 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-01-20 15:36:08,266 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-01-20 15:36:08,266 - INFO - Initial checks done. Running the testcase now 2026-01-20 15:36:08,266 - INFO - 2026-01-20 15:36:08,479 - DEBUG - Response for create_network : {'network': {'id': '253d6a83-c211-4d80-8ff7-5485bb6807b4', 'name': 'ctest-vn1-60927488', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'project_id': '430f640d9b2e4f39a440c92e501c0706', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39854189', 'ctest-vn1-60927488'], 'port_security_enabled': True, 'description': ''}} 2026-01-20 15:36:08,689 - DEBUG - Response for create_subnet : {'subnet': {'id': '86154edf-a909-4219-ae63-481bc38efb71', 'name': '', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': '253d6a83-c211-4d80-8ff7-5485bb6807b4', 'ip_version': 4, 'cidr': '52.156.83.0/26', 'allocation_pools': [{'start': '52.156.83.2', 'end': '52.156.83.62'}], 'gateway_ip': '52.156.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '52.156.83.2', 'tags': [], 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:08,881 - DEBUG - Response for create_subnet : {'subnet': {'id': '6f783002-797e-40c3-9bcc-f57f17b2861e', 'name': '', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': '253d6a83-c211-4d80-8ff7-5485bb6807b4', 'ip_version': 4, 'cidr': '218.59.39.128/26', 'allocation_pools': [{'start': '218.59.39.130', 'end': '218.59.39.190'}], 'gateway_ip': '218.59.39.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.59.39.130', 'tags': [], 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:08,906 - INFO - Created VN ctest-vn1-60927488 2026-01-20 15:36:08,962 - DEBUG - VN ctest-vn1-60927488 UUID is 253d6a83-c211-4d80-8ff7-5485bb6807b4 2026-01-20 15:36:09,347 - DEBUG - Response for create_port : {'port': {'name': '8f98ecc9-bd14-423a-9cf9-cff313aeef43', 'id': '8f98ecc9-bd14-423a-9cf9-cff313aeef43', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': '253d6a83-c211-4d80-8ff7-5485bb6807b4', 'mac_address': '02:8f:98:ec:c9:bd', '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': '52.156.83.5', 'subnet_id': '86154edf-a909-4219-ae63-481bc38efb71'}], 'security_groups': ['9c8a511a-1410-42be-a914-b4cb5cf05f61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:09,547 - DEBUG - Response for create_port : {'port': {'name': 'cf8d3a84-d63f-4c80-962a-cdbe2a51bab2', 'id': 'cf8d3a84-d63f-4c80-962a-cdbe2a51bab2', 'tenant_id': '430f640d9b2e4f39a440c92e501c0706', 'network_id': '253d6a83-c211-4d80-8ff7-5485bb6807b4', 'mac_address': '02:cf:8d:3a:84:d6', '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.59.39.133', 'subnet_id': '6f783002-797e-40c3-9bcc-f57f17b2861e'}], 'security_groups': ['9c8a511a-1410-42be-a914-b4cb5cf05f61'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430f640d9b2e4f39a440c92e501c0706'}} 2026-01-20 15:36:09,622 - DEBUG - Services list from nova: [, , ] 2026-01-20 15:36:10,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5049-1) 2026-01-20 15:36:10,546 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5049-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5049-1) 2026-01-20 15:36:10,546 - INFO - Waiting for VM ctest-vn1-vm1-83125757 to be up.. 2026-01-20 15:36:10,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-20 15:36:15,690 - DEBUG - VM is in ACTIVE state now 2026-01-20 15:36:15,690 - INFO - VM name : ctest-vn1-vm1-83125757 2026-01-20 15:36:15,783 - DEBUG - VM ctest-vn1-vm1-83125757 ID is 78cfe49c-fe19-42bc-b35e-3be775914518 2026-01-20 15:36:15,811 - DEBUG - VM ctest-vn1-vm1-83125757 launched on Node cn-jenkins-deploy-platform-ansible-os-5049-1 2026-01-20 15:36:15,905 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/78cfe49c-fe19-42bc-b35e-3be775914518 2026-01-20 15:36:15,915 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8f98ecc9-bd14-423a-9cf9-cff313aeef43 2026-01-20 15:36:19,182 - 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 1017ms') 2026-01-20 15:36:19,182 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83125757 failed! 2026-01-20 15:36:19,238 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39854189:ctest-vn1-60927488 is 52.156.83.1 and allocation pool is NOT set 2026-01-20 15:36:19,238 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39854189:ctest-vn1-60927488 is 218.59.39.129 and allocation pool is NOT set 2026-01-20 15:36:23,309 - 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.07 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 9.072/9.072/9.072/0.000 ms') 2026-01-20 15:36:23,309 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-83125757 passed 2026-01-20 15:36:23,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:23,466 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83125757, IP 52.156.83.5, Port 22 2026-01-20 15:36:23,532 - 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-01-20 15:36:23,621 - DEBUG - VM ctest-vn1-vm1-83125757 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-20 15:36:28,622 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:28,622 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-83125757, IP 52.156.83.5, Port 22 2026-01-20 15:36:28,789 - DEBUG - VM ctest-vn1-vm1-83125757 is ready for SSH connections 2026-01-20 15:36:28,789 - INFO - Waiting for VM ctest-vn1-vm2-30478842 to be up.. 2026-01-20 15:36:28,879 - DEBUG - VM is in ACTIVE state now 2026-01-20 15:36:28,879 - INFO - VM name : ctest-vn1-vm2-30478842 2026-01-20 15:36:28,965 - DEBUG - VM ctest-vn1-vm2-30478842 ID is 0dc0e9e3-91b2-4c12-bf58-32bc4e80daea 2026-01-20 15:36:28,965 - DEBUG - VM ctest-vn1-vm2-30478842 launched on Node cn-jenkins-deploy-platform-ansible-os-5049-1 2026-01-20 15:36:29,054 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/0dc0e9e3-91b2-4c12-bf58-32bc4e80daea 2026-01-20 15:36:29,064 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cf8d3a84-d63f-4c80-962a-cdbe2a51bab2 2026-01-20 15:36:30,304 - 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.95 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.575 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.575/2.263/3.951/1.688 ms') 2026-01-20 15:36:30,304 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-30478842 passed 2026-01-20 15:36:30,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:30,454 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-30478842, IP 218.59.39.133, Port 22 2026-01-20 15:36:30,609 - DEBUG - VM ctest-vn1-vm2-30478842 is ready for SSH connections 2026-01-20 15:36:30,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:30,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:30,610 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-20 15:36:30,610 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 52.156.83.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-01-20 15:36:30,610 - DEBUG - ping -s 56 -c 3 -W 1 52.156.83.5 2026-01-20 15:36:33,336 - DEBUG - PING 52.156.83.5 (52.156.83.5): 56 data bytes 64 bytes from 52.156.83.5: seq=0 ttl=63 time=4.518 ms 64 bytes from 52.156.83.5: seq=1 ttl=63 time=1.645 ms 64 bytes from 52.156.83.5: seq=2 ttl=63 time=1.119 ms --- 52.156.83.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.119/2.427/4.518 ms 2026-01-20 15:36:33,336 - INFO - Ping to IP 52.156.83.5 from VM ctest-vn1-vm2-30478842 passed 2026-01-20 15:36:33,336 - INFO - Detaching port cf8d3a84-d63f-4c80-962a-cdbe2a51bab2 from VM ctest-vn1-vm2-30478842 2026-01-20 15:36:33,391 - INFO - Deleting VM ctest-vn1-vm2-30478842 2026-01-20 15:36:33,481 - INFO - Detaching port 8f98ecc9-bd14-423a-9cf9-cff313aeef43 from VM ctest-vn1-vm1-83125757 2026-01-20 15:36:33,520 - INFO - Deleting VM ctest-vn1-vm1-83125757 2026-01-20 15:36:33,790 - DEBUG - Response for delete_port : () 2026-01-20 15:36:33,973 - DEBUG - Response for delete_port : () 2026-01-20 15:36:33,973 - INFO - Deleting VN ctest-vn1-60927488 2026-01-20 15:36:34,166 - DEBUG - Response for deleting network () 2026-01-20 15:36:34,432 - DEBUG - No XMPP flaps were noticed during the test
2026-01-20 15:36:34,432 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-01-20 15:36:34,432 - INFO - -------------------------------------------------------------------------------- 2026-01-20 15:36:35,165 - INFO - Deleted project: ctest-TestPorts-39854189, ID : 430f640d-9b2e-4f39-a440-c92e501c0706