2026-01-12 02:01:57,934 - INFO - Domain Default found not creating
2026-01-12 02:01:58,081 - INFO - Project ctest-TestPorts-85598782 not found, creating it
2026-01-12 02:01:58,550 - INFO - Created Project:ctest-TestPorts-85598782, ID : 48b07060-e67b-46b8-bbf6-06cd946035ce
2026-01-12 02:01:59,969 - INFO - ================================================================================
2026-01-12 02:01:59,969 - INFO - STARTING TEST : test_ports_bindings
2026-01-12 02:01:59,969 - 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-12 02:02:00,232 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2026-01-12 02:02:00,233 - INFO - Initial checks done. Running the testcase now
2026-01-12 02:02:00,233 - INFO -
2026-01-12 02:02:00,854 - DEBUG - Response for create_network : {'network': {'id': '2e93fae7-9c5e-40f9-a440-e2c9edea2587', 'name': 'ctest-vn-27600034', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'project_id': '48b07060e67b46b8bbf606cd946035ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85598782', 'ctest-vn-27600034'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:02:01,111 - DEBUG - Response for create_subnet : {'subnet': {'id': 'abeb0c2c-1ccd-4dfe-b813-c72770bd1680', 'name': '', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2e93fae7-9c5e-40f9-a440-e2c9edea2587', 'ip_version': 4, 'cidr': '118.194.152.192/26', 'allocation_pools': [{'start': '118.194.152.194', 'end': '118.194.152.254'}], 'gateway_ip': '118.194.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.194.152.194', 'tags': [], 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:01,129 - INFO - Created VN ctest-vn-27600034
2026-01-12 02:02:01,179 - DEBUG - VN ctest-vn-27600034 UUID is 2e93fae7-9c5e-40f9-a440-e2c9edea2587
2026-01-12 02:02:01,282 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-85598782', 'ctest-vmi-74902195']}
2026-01-12 02:02:01,569 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74902195', 'id': 'e80e9cfe-63cb-4847-a633-3a887fa4ef57', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2e93fae7-9c5e-40f9-a440-e2c9edea2587', 'mac_address': '02:e8:0e:9c:fe:63', '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': '118.194.152.195', 'subnet_id': 'abeb0c2c-1ccd-4dfe-b813-c72770bd1680'}], 'security_groups': ['9e099e63-2795-4445-987f-5ede2d23f974'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:01,569 - DEBUG - Created port e80e9cfe-63cb-4847-a633-3a887fa4ef57
2026-01-12 02:02:01,675 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e80e9cfe-63cb-4847-a633-3a887fa4ef57
2026-01-12 02:02:01,982 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/e80e9cfe-63cb-4847-a633-3a887fa4ef57
2026-01-12 02:02:02,014 - INFO - VMI e80e9cfe-63cb-4847-a633-3a887fa4ef57 verification in API Server passed
2026-01-12 02:02:02,104 - DEBUG - Response for delete_port : ()
2026-01-12 02:02:02,104 - INFO - Deleted port e80e9cfe-63cb-4847-a633-3a887fa4ef57
2026-01-12 02:02:02,104 - INFO - Deleting VN ctest-vn-27600034
2026-01-12 02:02:02,205 - DEBUG - Response for deleting network ()
2026-01-12 02:02:02,463 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:02:02,463 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-12 02:02:02,463 - INFO - --------------------------------------------------------------------------------
2026-01-12 02:02:02,465 - INFO - ================================================================================
2026-01-12 02:02:02,466 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-12 02:02:02,466 - 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-12 02:02:02,751 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2026-01-12 02:02:02,751 - INFO - Initial checks done. Running the testcase now
2026-01-12 02:02:02,751 - INFO -
2026-01-12 02:02:02,908 - DEBUG - Response for create_network : {'network': {'id': '2c669806-8aa9-4328-9e02-bc8ebfbedd04', 'name': 'ctest-vn1-27777459', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'project_id': '48b07060e67b46b8bbf606cd946035ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-85598782', 'ctest-vn1-27777459'], 'port_security_enabled': True, 'description': ''}}
2026-01-12 02:02:03,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f3d5a70-cffb-4f7f-844c-0bcac16b4a3a', 'name': '', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2c669806-8aa9-4328-9e02-bc8ebfbedd04', 'ip_version': 4, 'cidr': '45.50.149.192/26', 'allocation_pools': [{'start': '45.50.149.194', 'end': '45.50.149.254'}], 'gateway_ip': '45.50.149.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.50.149.194', 'tags': [], 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:03,278 - DEBUG - Response for create_subnet : {'subnet': {'id': '6cae1893-c72f-4889-942a-832307e6ab7f', 'name': '', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2c669806-8aa9-4328-9e02-bc8ebfbedd04', 'ip_version': 4, 'cidr': '95.90.142.64/26', 'allocation_pools': [{'start': '95.90.142.66', 'end': '95.90.142.126'}], 'gateway_ip': '95.90.142.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.90.142.66', 'tags': [], 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:03,295 - INFO - Created VN ctest-vn1-27777459
2026-01-12 02:02:03,347 - DEBUG - VN ctest-vn1-27777459 UUID is 2c669806-8aa9-4328-9e02-bc8ebfbedd04
2026-01-12 02:02:03,633 - DEBUG - Response for create_port : {'port': {'name': 'd9041497-b02b-4d53-be73-67e6e687c835', 'id': 'd9041497-b02b-4d53-be73-67e6e687c835', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2c669806-8aa9-4328-9e02-bc8ebfbedd04', 'mac_address': '02:d9:04:14:97:b0', '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': '45.50.149.197', 'subnet_id': '5f3d5a70-cffb-4f7f-844c-0bcac16b4a3a'}], 'security_groups': ['9e099e63-2795-4445-987f-5ede2d23f974'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:03,794 - DEBUG - Response for create_port : {'port': {'name': '58a05919-9ae3-4948-a3a3-dddf924bf083', 'id': '58a05919-9ae3-4948-a3a3-dddf924bf083', 'tenant_id': '48b07060e67b46b8bbf606cd946035ce', 'network_id': '2c669806-8aa9-4328-9e02-bc8ebfbedd04', 'mac_address': '02:58:a0:59:19:9a', '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': '95.90.142.69', 'subnet_id': '6cae1893-c72f-4889-942a-832307e6ab7f'}], 'security_groups': ['9e099e63-2795-4445-987f-5ede2d23f974'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '48b07060e67b46b8bbf606cd946035ce'}}
2026-01-12 02:02:03,848 - DEBUG - Services list from nova: [, , ]
2026-01-12 02:02:04,167 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1)
2026-01-12 02:02:04,531 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4990-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4990-1)
2026-01-12 02:02:04,532 - INFO - Waiting for VM ctest-vn1-vm1-71032244 to be up..
2026-01-12 02:02:04,574 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-12 02:02:09,647 - DEBUG - VM is in ACTIVE state now
2026-01-12 02:02:09,648 - INFO - VM name : ctest-vn1-vm1-71032244
2026-01-12 02:02:09,715 - DEBUG - VM ctest-vn1-vm1-71032244 ID is df336b95-cced-4668-a7c7-30f6c7093688
2026-01-12 02:02:09,734 - DEBUG - VM ctest-vn1-vm1-71032244 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1
2026-01-12 02:02:09,805 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/df336b95-cced-4668-a7c7-30f6c7093688
2026-01-12 02:02:09,812 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d9041497-b02b-4d53-be73-67e6e687c835
2026-01-12 02:02:13,069 - 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 1026ms')
2026-01-12 02:02:13,069 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71032244 failed!
2026-01-12 02:02:13,123 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85598782:ctest-vn1-27777459 is 45.50.149.193 and allocation pool is NOT set
2026-01-12 02:02:13,123 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-85598782:ctest-vn1-27777459 is 95.90.142.65 and allocation pool is NOT set
2026-01-12 02:02:15,184 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.45 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 = 1.449/2.892/4.336/1.443 ms')
2026-01-12 02:02:15,184 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71032244 passed
2026-01-12 02:02:15,331 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:15,331 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71032244, IP 45.50.149.197, Port 22
2026-01-12 02:02:15,486 - DEBUG - VM ctest-vn1-vm1-71032244 is ready for SSH connections
2026-01-12 02:02:15,486 - INFO - Waiting for VM ctest-vn1-vm2-03403049 to be up..
2026-01-12 02:02:15,554 - DEBUG - VM is in ACTIVE state now
2026-01-12 02:02:15,554 - INFO - VM name : ctest-vn1-vm2-03403049
2026-01-12 02:02:15,619 - DEBUG - VM ctest-vn1-vm2-03403049 ID is 4931fff5-3eab-4a60-aab3-32f10bf9f850
2026-01-12 02:02:15,619 - DEBUG - VM ctest-vn1-vm2-03403049 launched on Node cn-jenkins-deploy-platform-ansible-os-4990-1
2026-01-12 02:02:15,685 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4931fff5-3eab-4a60-aab3-32f10bf9f850
2026-01-12 02:02:15,693 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/58a05919-9ae3-4948-a3a3-dddf924bf083
2026-01-12 02:02:16,932 - 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.39 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.749 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.749/2.067/3.385/1.318 ms')
2026-01-12 02:02:16,932 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03403049 passed
2026-01-12 02:02:17,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:17,079 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03403049, IP 95.90.142.69, Port 22
2026-01-12 02:02:17,134 - 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-01-12 02:02:17,200 - DEBUG - VM ctest-vn1-vm2-03403049 is NOT ready for SSH connections, VM status: ACTIVE
2026-01-12 02:02:22,201 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:22,201 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03403049, IP 95.90.142.69, Port 22
2026-01-12 02:02:22,355 - DEBUG - VM ctest-vn1-vm2-03403049 is ready for SSH connections
2026-01-12 02:02:22,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:22,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:22,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-12 02:02:22,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.50.149.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2026-01-12 02:02:22,355 - DEBUG - ping -s 56 -c 3 -W 1 45.50.149.197
2026-01-12 02:02:25,045 - DEBUG - PING 45.50.149.197 (45.50.149.197): 56 data bytes
64 bytes from 45.50.149.197: seq=0 ttl=63 time=4.388 ms
64 bytes from 45.50.149.197: seq=1 ttl=63 time=1.002 ms
64 bytes from 45.50.149.197: seq=2 ttl=63 time=0.791 ms
--- 45.50.149.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.791/2.060/4.388 ms
2026-01-12 02:02:25,045 - INFO - Ping to IP 45.50.149.197 from VM ctest-vn1-vm2-03403049 passed
2026-01-12 02:02:25,045 - INFO - Detaching port 58a05919-9ae3-4948-a3a3-dddf924bf083 from VM ctest-vn1-vm2-03403049
2026-01-12 02:02:25,090 - INFO - Deleting VM ctest-vn1-vm2-03403049
2026-01-12 02:02:25,168 - INFO - Detaching port d9041497-b02b-4d53-be73-67e6e687c835 from VM ctest-vn1-vm1-71032244
2026-01-12 02:02:25,201 - INFO - Deleting VM ctest-vn1-vm1-71032244
2026-01-12 02:02:25,402 - DEBUG - Response for delete_port : ()
2026-01-12 02:02:25,542 - DEBUG - Response for delete_port : ()
2026-01-12 02:02:25,542 - INFO - Deleting VN ctest-vn1-27777459
2026-01-12 02:02:25,664 - DEBUG - Response for deleting network ()
2026-01-12 02:02:25,919 - DEBUG - No XMPP flaps were noticed during the test
2026-01-12 02:02:25,919 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2026-01-12 02:02:25,919 - INFO - --------------------------------------------------------------------------------
2026-01-12 02:02:26,668 - INFO - Deleted project: ctest-TestPorts-85598782, ID : 48b07060-e67b-46b8-bbf6-06cd946035ce