2025-08-11 17:00:34,989 - INFO - Domain Default found not creating
2025-08-11 17:00:35,131 - INFO - Project ctest-TestPorts-13970382 not found, creating it
2025-08-11 17:00:35,585 - INFO - Created Project:ctest-TestPorts-13970382, ID : bfd082b1-5bf0-46ba-ae42-a68df575032f
2025-08-11 17:00:37,089 - INFO - ================================================================================
2025-08-11 17:00:37,090 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 17:00:37,090 - 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
2025-08-11 17:00:37,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-08-11 17:00:37,349 - INFO - Initial checks done. Running the testcase now
2025-08-11 17:00:37,349 - INFO -
2025-08-11 17:00:38,024 - DEBUG - Response for create_network : {'network': {'id': '46341968-0964-454a-bd9b-c17e5bd346bd', 'name': 'ctest-vn-65961252', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'project_id': 'bfd082b15bf046baae42a68df575032f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13970382', 'ctest-vn-65961252'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 17:00:38,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '9853ef9f-8d77-439c-b892-f9161b127e76', 'name': '', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '46341968-0964-454a-bd9b-c17e5bd346bd', 'ip_version': 4, 'cidr': '192.153.71.192/26', 'allocation_pools': [{'start': '192.153.71.194', 'end': '192.153.71.254'}], 'gateway_ip': '192.153.71.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.153.71.194', 'tags': [], 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:38,277 - INFO - Created VN ctest-vn-65961252
2025-08-11 17:00:38,334 - DEBUG - VN ctest-vn-65961252 UUID is 46341968-0964-454a-bd9b-c17e5bd346bd
2025-08-11 17:00:38,441 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-13970382', 'ctest-vmi-38745403']}
2025-08-11 17:00:38,693 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38745403', 'id': 'a81c65b3-be6e-49af-9811-c142b92e4e25', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '46341968-0964-454a-bd9b-c17e5bd346bd', 'mac_address': '02:a8:1c:65:b3:be', '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': '192.153.71.195', 'subnet_id': '9853ef9f-8d77-439c-b892-f9161b127e76'}], 'security_groups': ['e2088c3d-c8a8-4db7-bbe0-d3a991d43b9d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:38,694 - DEBUG - Created port a81c65b3-be6e-49af-9811-c142b92e4e25
2025-08-11 17:00:38,802 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a81c65b3-be6e-49af-9811-c142b92e4e25
2025-08-11 17:00:39,134 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a81c65b3-be6e-49af-9811-c142b92e4e25
2025-08-11 17:00:39,167 - INFO - VMI a81c65b3-be6e-49af-9811-c142b92e4e25 verification in API Server passed
2025-08-11 17:00:39,252 - DEBUG - Response for delete_port : ()
2025-08-11 17:00:39,252 - INFO - Deleted port a81c65b3-be6e-49af-9811-c142b92e4e25
2025-08-11 17:00:39,253 - INFO - Deleting VN ctest-vn-65961252
2025-08-11 17:00:39,359 - DEBUG - Response for deleting network ()
2025-08-11 17:00:39,621 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 17:00:39,621 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 17:00:39,621 - INFO - --------------------------------------------------------------------------------
2025-08-11 17:00:39,624 - INFO - ================================================================================
2025-08-11 17:00:39,624 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 17:00:39,624 - 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
2025-08-11 17:00:39,924 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-08-11 17:00:39,924 - INFO - Initial checks done. Running the testcase now
2025-08-11 17:00:39,924 - INFO -
2025-08-11 17:00:40,111 - DEBUG - Response for create_network : {'network': {'id': '5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6', 'name': 'ctest-vn1-59634923', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'project_id': 'bfd082b15bf046baae42a68df575032f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-13970382', 'ctest-vn1-59634923'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 17:00:40,309 - DEBUG - Response for create_subnet : {'subnet': {'id': '21034983-e96f-4acc-ad53-f6f40a1059ae', 'name': '', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6', 'ip_version': 4, 'cidr': '198.219.34.192/26', 'allocation_pools': [{'start': '198.219.34.194', 'end': '198.219.34.254'}], 'gateway_ip': '198.219.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.219.34.194', 'tags': [], 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:40,454 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c319137e-f710-4d40-9361-e50d055e57ce', 'name': '', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6', 'ip_version': 4, 'cidr': '149.130.192.64/26', 'allocation_pools': [{'start': '149.130.192.66', 'end': '149.130.192.126'}], 'gateway_ip': '149.130.192.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.130.192.66', 'tags': [], 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:40,475 - INFO - Created VN ctest-vn1-59634923
2025-08-11 17:00:40,530 - DEBUG - VN ctest-vn1-59634923 UUID is 5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6
2025-08-11 17:00:40,840 - DEBUG - Response for create_port : {'port': {'name': '78e05108-bcd6-4bc7-8029-dce4db77802d', 'id': '78e05108-bcd6-4bc7-8029-dce4db77802d', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6', 'mac_address': '02:78:e0:51:08: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': '198.219.34.197', 'subnet_id': '21034983-e96f-4acc-ad53-f6f40a1059ae'}], 'security_groups': ['e2088c3d-c8a8-4db7-bbe0-d3a991d43b9d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:41,007 - DEBUG - Response for create_port : {'port': {'name': '225b82b9-bccc-4517-a308-1593b1572895', 'id': '225b82b9-bccc-4517-a308-1593b1572895', 'tenant_id': 'bfd082b15bf046baae42a68df575032f', 'network_id': '5ac8ed44-37c7-44d0-9d85-8ea5ddd4f3c6', 'mac_address': '02:22:5b:82:b9: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': '149.130.192.69', 'subnet_id': 'c319137e-f710-4d40-9361-e50d055e57ce'}], 'security_groups': ['e2088c3d-c8a8-4db7-bbe0-d3a991d43b9d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'bfd082b15bf046baae42a68df575032f'}}
2025-08-11 17:00:41,063 - DEBUG - Services list from nova: [, , ]
2025-08-11 17:00:41,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3818-1)
2025-08-11 17:00:41,763 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3818-1)
2025-08-11 17:00:41,763 - INFO - Waiting for VM ctest-vn1-vm1-81101330 to be up..
2025-08-11 17:00:41,810 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 17:00:46,886 - DEBUG - VM is in ACTIVE state now
2025-08-11 17:00:46,886 - INFO - VM name : ctest-vn1-vm1-81101330
2025-08-11 17:00:46,959 - DEBUG - VM ctest-vn1-vm1-81101330 ID is fccf04df-d14d-4c34-bd99-fb32ae139589
2025-08-11 17:00:46,978 - DEBUG - VM ctest-vn1-vm1-81101330 launched on Node cn-jenkins-deploy-platform-ansible-os-3818-1
2025-08-11 17:00:47,050 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/fccf04df-d14d-4c34-bd99-fb32ae139589
2025-08-11 17:00:47,059 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/78e05108-bcd6-4bc7-8029-dce4db77802d
2025-08-11 17:00:50,316 - 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 1019ms')
2025-08-11 17:00:50,316 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81101330 failed!
2025-08-11 17:00:50,374 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13970382:ctest-vn1-59634923 is 198.219.34.193 and allocation pool is NOT set
2025-08-11 17:00:50,374 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-13970382:ctest-vn1-59634923 is 149.130.192.65 and allocation pool is NOT set
2025-08-11 17:00:52,437 - 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=11.9 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.94 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 = 2.936/7.442/11.948/4.506 ms')
2025-08-11 17:00:52,437 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-81101330 passed
2025-08-11 17:00:52,590 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:52,590 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81101330, IP 198.219.34.197, Port 22
2025-08-11 17:00:52,646 - 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': ''}
2025-08-11 17:00:52,719 - DEBUG - VM ctest-vn1-vm1-81101330 is NOT ready for SSH connections, VM status: ACTIVE
2025-08-11 17:00:57,720 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:57,720 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-81101330, IP 198.219.34.197, Port 22
2025-08-11 17:00:57,881 - DEBUG - VM ctest-vn1-vm1-81101330 is ready for SSH connections
2025-08-11 17:00:57,881 - INFO - Waiting for VM ctest-vn1-vm2-00579364 to be up..
2025-08-11 17:00:57,954 - DEBUG - VM is in ACTIVE state now
2025-08-11 17:00:57,954 - INFO - VM name : ctest-vn1-vm2-00579364
2025-08-11 17:00:58,022 - DEBUG - VM ctest-vn1-vm2-00579364 ID is 419692ea-cdc6-4436-898b-90a11dad76fc
2025-08-11 17:00:58,022 - DEBUG - VM ctest-vn1-vm2-00579364 launched on Node cn-jenkins-deploy-platform-ansible-os-3818-1
2025-08-11 17:00:58,096 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/419692ea-cdc6-4436-898b-90a11dad76fc
2025-08-11 17:00:58,104 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/225b82b9-bccc-4517-a308-1593b1572895
2025-08-11 17:00:59,335 - 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=2.92 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.348 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.348/1.633/2.919/1.285 ms')
2025-08-11 17:00:59,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00579364 passed
2025-08-11 17:00:59,490 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:59,491 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00579364, IP 149.130.192.69, Port 22
2025-08-11 17:00:59,653 - DEBUG - VM ctest-vn1-vm2-00579364 is ready for SSH connections
2025-08-11 17:00:59,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:59,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:59,654 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 17:00:59,654 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.219.34.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-08-11 17:00:59,654 - DEBUG - ping -s 56 -c 3 -W 1 198.219.34.197
2025-08-11 17:01:02,641 - DEBUG - PING 198.219.34.197 (198.219.34.197): 56 data bytes
64 bytes from 198.219.34.197: seq=0 ttl=63 time=3.667 ms
64 bytes from 198.219.34.197: seq=1 ttl=63 time=0.839 ms
64 bytes from 198.219.34.197: seq=2 ttl=63 time=1.032 ms
--- 198.219.34.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.839/1.846/3.667 ms
2025-08-11 17:01:02,641 - INFO - Ping to IP 198.219.34.197 from VM ctest-vn1-vm2-00579364 passed
2025-08-11 17:01:02,641 - INFO - Detaching port 225b82b9-bccc-4517-a308-1593b1572895 from VM ctest-vn1-vm2-00579364
2025-08-11 17:01:02,689 - INFO - Deleting VM ctest-vn1-vm2-00579364
2025-08-11 17:01:02,755 - INFO - Detaching port 78e05108-bcd6-4bc7-8029-dce4db77802d from VM ctest-vn1-vm1-81101330
2025-08-11 17:01:02,784 - INFO - Deleting VM ctest-vn1-vm1-81101330
2025-08-11 17:01:03,030 - DEBUG - Response for delete_port : ()
2025-08-11 17:01:03,222 - DEBUG - Response for delete_port : ()
2025-08-11 17:01:03,222 - INFO - Deleting VN ctest-vn1-59634923
2025-08-11 17:01:03,372 - DEBUG - Response for deleting network ()
2025-08-11 17:01:03,632 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 17:01:03,632 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-11 17:01:03,632 - INFO - --------------------------------------------------------------------------------
2025-08-11 17:01:04,329 - INFO - Deleted project: ctest-TestPorts-13970382, ID : bfd082b1-5bf0-46ba-ae42-a68df575032f