2025-10-16 21:00:28,909 - INFO - Domain Default found not creating 2025-10-16 21:00:29,079 - INFO - Project ctest-TestPorts-21088508 not found, creating it 2025-10-16 21:00:29,585 - INFO - Created Project:ctest-TestPorts-21088508, ID : 2d35666d-5537-4848-9348-d7a3eabf86f7 2025-10-16 21:00:31,075 - INFO - ================================================================================ 2025-10-16 21:00:31,075 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 21:00:31,075 - 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-10-16 21:00:31,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-16 21:00:31,337 - INFO - Initial checks done. Running the testcase now 2025-10-16 21:00:31,337 - INFO - 2025-10-16 21:00:31,883 - DEBUG - Response for create_network : {'network': {'id': 'cee50d60-d1eb-4dd4-bf91-16274182c7b7', 'name': 'ctest-vn-81775198', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'project_id': '2d35666d553748489348d7a3eabf86f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21088508', 'ctest-vn-81775198'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:00:32,048 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1e35803-3815-4815-916b-714a23b1ded1', 'name': '', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'cee50d60-d1eb-4dd4-bf91-16274182c7b7', 'ip_version': 4, 'cidr': '45.60.252.64/26', 'allocation_pools': [{'start': '45.60.252.66', 'end': '45.60.252.126'}], 'gateway_ip': '45.60.252.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.60.252.66', 'tags': [], 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:32,070 - INFO - Created VN ctest-vn-81775198 2025-10-16 21:00:32,131 - DEBUG - VN ctest-vn-81775198 UUID is cee50d60-d1eb-4dd4-bf91-16274182c7b7 2025-10-16 21:00:32,245 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21088508', 'ctest-vmi-04185212']} 2025-10-16 21:00:32,505 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-04185212', 'id': 'a6ab065c-7866-4b4e-8a96-36ebd57679b0', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'cee50d60-d1eb-4dd4-bf91-16274182c7b7', 'mac_address': '02:a6:ab:06:5c:78', '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': '45.60.252.67', 'subnet_id': 'd1e35803-3815-4815-916b-714a23b1ded1'}], 'security_groups': ['bf54003a-3833-4fea-81f9-f8549cc574d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:32,505 - DEBUG - Created port a6ab065c-7866-4b4e-8a96-36ebd57679b0 2025-10-16 21:00:32,610 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a6ab065c-7866-4b4e-8a96-36ebd57679b0 2025-10-16 21:00:32,909 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a6ab065c-7866-4b4e-8a96-36ebd57679b0 2025-10-16 21:00:32,952 - INFO - VMI a6ab065c-7866-4b4e-8a96-36ebd57679b0 verification in API Server passed 2025-10-16 21:00:33,063 - DEBUG - Response for delete_port : () 2025-10-16 21:00:33,063 - INFO - Deleted port a6ab065c-7866-4b4e-8a96-36ebd57679b0 2025-10-16 21:00:33,063 - INFO - Deleting VN ctest-vn-81775198 2025-10-16 21:00:33,194 - DEBUG - Response for deleting network () 2025-10-16 21:00:33,466 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 21:00:33,466 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-16 21:00:33,466 - INFO - -------------------------------------------------------------------------------- 2025-10-16 21:00:33,469 - INFO - ================================================================================ 2025-10-16 21:00:33,469 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 21:00:33,469 - 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-10-16 21:00:33,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with 2025-10-16 21:00:33,753 - INFO - Initial checks done. Running the testcase now 2025-10-16 21:00:33,753 - INFO - 2025-10-16 21:00:33,950 - DEBUG - Response for create_network : {'network': {'id': 'ccce1742-6a8f-40cb-bc03-20720c7989e8', 'name': 'ctest-vn1-23714914', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'project_id': '2d35666d553748489348d7a3eabf86f7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21088508', 'ctest-vn1-23714914'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 21:00:34,109 - DEBUG - Response for create_subnet : {'subnet': {'id': '90522ce3-042b-4b24-b270-0072296bb814', 'name': '', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'ccce1742-6a8f-40cb-bc03-20720c7989e8', 'ip_version': 4, 'cidr': '128.166.246.0/26', 'allocation_pools': [{'start': '128.166.246.2', 'end': '128.166.246.62'}], 'gateway_ip': '128.166.246.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.166.246.2', 'tags': [], 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:34,270 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ca5e655-7976-45ba-9367-04aaa7d7905a', 'name': '', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'ccce1742-6a8f-40cb-bc03-20720c7989e8', 'ip_version': 4, 'cidr': '219.245.187.0/26', 'allocation_pools': [{'start': '219.245.187.2', 'end': '219.245.187.62'}], 'gateway_ip': '219.245.187.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.245.187.2', 'tags': [], 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:34,299 - INFO - Created VN ctest-vn1-23714914 2025-10-16 21:00:34,354 - DEBUG - VN ctest-vn1-23714914 UUID is ccce1742-6a8f-40cb-bc03-20720c7989e8 2025-10-16 21:00:34,665 - DEBUG - Response for create_port : {'port': {'name': 'c4e57f6e-88c7-4580-ae20-e5fc1f64e187', 'id': 'c4e57f6e-88c7-4580-ae20-e5fc1f64e187', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'ccce1742-6a8f-40cb-bc03-20720c7989e8', 'mac_address': '02:c4:e5:7f:6e:88', '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': '128.166.246.5', 'subnet_id': '90522ce3-042b-4b24-b270-0072296bb814'}], 'security_groups': ['bf54003a-3833-4fea-81f9-f8549cc574d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:34,834 - DEBUG - Response for create_port : {'port': {'name': 'ed40b21b-d023-4396-93b5-8dde0d1c5058', 'id': 'ed40b21b-d023-4396-93b5-8dde0d1c5058', 'tenant_id': '2d35666d553748489348d7a3eabf86f7', 'network_id': 'ccce1742-6a8f-40cb-bc03-20720c7989e8', 'mac_address': '02:ed:40:b2:1b:d0', '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': '219.245.187.5', 'subnet_id': '1ca5e655-7976-45ba-9367-04aaa7d7905a'}], 'security_groups': ['bf54003a-3833-4fea-81f9-f8549cc574d0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2d35666d553748489348d7a3eabf86f7'}} 2025-10-16 21:00:34,890 - DEBUG - Services list from nova: [, , ] 2025-10-16 21:00:35,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4351-1) 2025-10-16 21:00:35,679 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4351-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4351-1) 2025-10-16 21:00:35,679 - INFO - Waiting for VM ctest-vn1-vm1-12036609 to be up.. 2025-10-16 21:00:35,725 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 21:00:40,824 - DEBUG - VM is in ACTIVE state now 2025-10-16 21:00:40,824 - INFO - VM name : ctest-vn1-vm1-12036609 2025-10-16 21:00:40,898 - DEBUG - VM ctest-vn1-vm1-12036609 ID is bc641f0e-1635-4f06-b63b-12e7098a6840 2025-10-16 21:00:40,917 - DEBUG - VM ctest-vn1-vm1-12036609 launched on Node cn-jenkins-deploy-platform-ansible-os-4351-1 2025-10-16 21:00:40,990 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/bc641f0e-1635-4f06-b63b-12e7098a6840 2025-10-16 21:00:41,001 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c4e57f6e-88c7-4580-ae20-e5fc1f64e187 2025-10-16 21:00:44,258 - 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 1015ms') 2025-10-16 21:00:44,258 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12036609 failed! 2025-10-16 21:00:44,314 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21088508:ctest-vn1-23714914 is 128.166.246.1 and allocation pool is NOT set 2025-10-16 21:00:44,315 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21088508:ctest-vn1-23714914 is 219.245.187.1 and allocation pool is NOT set 2025-10-16 21:00:46,385 - 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=14.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.47 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.470/8.527/14.584/6.057 ms') 2025-10-16 21:00:46,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12036609 passed 2025-10-16 21:00:46,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:46,534 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12036609, IP 128.166.246.5, Port 22 2025-10-16 21:00:46,589 - 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-10-16 21:00:46,676 - DEBUG - VM ctest-vn1-vm1-12036609 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-16 21:00:51,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:51,676 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12036609, IP 128.166.246.5, Port 22 2025-10-16 21:00:51,838 - DEBUG - VM ctest-vn1-vm1-12036609 is ready for SSH connections 2025-10-16 21:00:51,838 - INFO - Waiting for VM ctest-vn1-vm2-31782590 to be up.. 2025-10-16 21:00:51,914 - DEBUG - VM is in ACTIVE state now 2025-10-16 21:00:51,914 - INFO - VM name : ctest-vn1-vm2-31782590 2025-10-16 21:00:51,991 - DEBUG - VM ctest-vn1-vm2-31782590 ID is 3058370e-af40-490f-a7e2-89e673f3ce20 2025-10-16 21:00:51,992 - DEBUG - VM ctest-vn1-vm2-31782590 launched on Node cn-jenkins-deploy-platform-ansible-os-4351-1 2025-10-16 21:00:52,213 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3058370e-af40-490f-a7e2-89e673f3ce20 2025-10-16 21:00:52,222 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ed40b21b-d023-4396-93b5-8dde0d1c5058 2025-10-16 21:00:53,454 - 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.98 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.458 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.458/1.717/2.977/1.259 ms') 2025-10-16 21:00:53,454 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-31782590 passed 2025-10-16 21:00:53,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:53,606 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-31782590, IP 219.245.187.5, Port 22 2025-10-16 21:00:53,770 - DEBUG - VM ctest-vn1-vm2-31782590 is ready for SSH connections 2025-10-16 21:00:53,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:53,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:53,770 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 21:00:53,770 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.166.246.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-10-16 21:00:53,771 - DEBUG - ping -s 56 -c 3 -W 1 128.166.246.5 2025-10-16 21:00:56,435 - DEBUG - PING 128.166.246.5 (128.166.246.5): 56 data bytes 64 bytes from 128.166.246.5: seq=0 ttl=63 time=3.924 ms 64 bytes from 128.166.246.5: seq=1 ttl=63 time=1.196 ms 64 bytes from 128.166.246.5: seq=2 ttl=63 time=1.154 ms --- 128.166.246.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/2.091/3.924 ms 2025-10-16 21:00:56,435 - INFO - Ping to IP 128.166.246.5 from VM ctest-vn1-vm2-31782590 passed 2025-10-16 21:00:56,435 - INFO - Detaching port ed40b21b-d023-4396-93b5-8dde0d1c5058 from VM ctest-vn1-vm2-31782590 2025-10-16 21:00:56,485 - INFO - Deleting VM ctest-vn1-vm2-31782590 2025-10-16 21:00:56,563 - INFO - Detaching port c4e57f6e-88c7-4580-ae20-e5fc1f64e187 from VM ctest-vn1-vm1-12036609 2025-10-16 21:00:56,606 - INFO - Deleting VM ctest-vn1-vm1-12036609 2025-10-16 21:00:56,835 - DEBUG - Response for delete_port : () 2025-10-16 21:00:56,994 - DEBUG - Response for delete_port : () 2025-10-16 21:00:56,994 - INFO - Deleting VN ctest-vn1-23714914 2025-10-16 21:00:57,129 - DEBUG - Response for deleting network () 2025-10-16 21:00:57,384 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 21:00:57,384 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-16 21:00:57,385 - INFO - -------------------------------------------------------------------------------- 2025-10-16 21:00:58,053 - INFO - Deleted project: ctest-TestPorts-21088508, ID : 2d35666d-5537-4848-9348-d7a3eabf86f7