2025-08-04 20:26:37,024 - INFO - Domain Default found not creating 2025-08-04 20:26:37,202 - INFO - Project ctest-TestPorts-43043126 not found, creating it 2025-08-04 20:26:37,738 - INFO - Created Project:ctest-TestPorts-43043126, ID : d3cd6592-d896-4d54-bd7a-de0d2f2cb084 2025-08-04 20:26:39,442 - INFO - ================================================================================ 2025-08-04 20:26:39,442 - INFO - STARTING TEST : test_ports_bindings 2025-08-04 20:26:39,442 - 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-04 20:26:39,710 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-04 20:26:39,710 - INFO - Initial checks done. Running the testcase now 2025-08-04 20:26:39,710 - INFO - 2025-08-04 20:26:40,392 - DEBUG - Response for create_network : {'network': {'id': '83bf7734-11aa-40b4-b589-783daba5d3eb', 'name': 'ctest-vn-54018767', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43043126', 'ctest-vn-54018767'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:26:40,601 - DEBUG - Response for create_subnet : {'subnet': {'id': '3cf7bfd6-d22b-48bb-b14c-65a076887163', 'name': '', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '83bf7734-11aa-40b4-b589-783daba5d3eb', 'ip_version': 4, 'cidr': '1.103.99.192/26', 'allocation_pools': [{'start': '1.103.99.194', 'end': '1.103.99.254'}], 'gateway_ip': '1.103.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.103.99.194', 'tags': [], 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:40,624 - INFO - Created VN ctest-vn-54018767 2025-08-04 20:26:40,682 - DEBUG - VN ctest-vn-54018767 UUID is 83bf7734-11aa-40b4-b589-783daba5d3eb 2025-08-04 20:26:40,813 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43043126', 'ctest-vmi-49495375']} 2025-08-04 20:26:41,097 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49495375', 'id': '0986380f-6f46-42e8-abcd-c85f9c0c8a56', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '83bf7734-11aa-40b4-b589-783daba5d3eb', 'mac_address': '02:09:86:38:0f:6f', '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': '1.103.99.195', 'subnet_id': '3cf7bfd6-d22b-48bb-b14c-65a076887163'}], 'security_groups': ['d647a572-ff52-43d1-b483-9eec39a6088e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:41,097 - DEBUG - Created port 0986380f-6f46-42e8-abcd-c85f9c0c8a56 2025-08-04 20:26:41,214 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0986380f-6f46-42e8-abcd-c85f9c0c8a56 2025-08-04 20:26:41,558 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/0986380f-6f46-42e8-abcd-c85f9c0c8a56 2025-08-04 20:26:41,599 - INFO - VMI 0986380f-6f46-42e8-abcd-c85f9c0c8a56 verification in API Server passed 2025-08-04 20:26:41,724 - DEBUG - Response for delete_port : () 2025-08-04 20:26:41,724 - INFO - Deleted port 0986380f-6f46-42e8-abcd-c85f9c0c8a56 2025-08-04 20:26:41,725 - INFO - Deleting VN ctest-vn-54018767 2025-08-04 20:26:41,873 - DEBUG - Response for deleting network () 2025-08-04 20:26:42,136 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 20:26:42,137 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-04 20:26:42,137 - INFO - -------------------------------------------------------------------------------- 2025-08-04 20:26:42,139 - INFO - ================================================================================ 2025-08-04 20:26:42,140 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-04 20:26:42,140 - 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-04 20:26:42,432 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-04 20:26:42,432 - INFO - Initial checks done. Running the testcase now 2025-08-04 20:26:42,432 - INFO - 2025-08-04 20:26:42,627 - DEBUG - Response for create_network : {'network': {'id': '4364eec9-d470-4b33-8ae8-fcecd79311a2', 'name': 'ctest-vn1-20127402', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43043126', 'ctest-vn1-20127402'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 20:26:42,791 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ecc8edd-e1b4-4d31-8a26-5daa5b242e51', 'name': '', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '4364eec9-d470-4b33-8ae8-fcecd79311a2', 'ip_version': 4, 'cidr': '8.175.17.0/26', 'allocation_pools': [{'start': '8.175.17.2', 'end': '8.175.17.62'}], 'gateway_ip': '8.175.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.175.17.2', 'tags': [], 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:42,949 - DEBUG - Response for create_subnet : {'subnet': {'id': '12724769-6f0a-4ab3-970c-169f9ca0fbaf', 'name': '', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '4364eec9-d470-4b33-8ae8-fcecd79311a2', 'ip_version': 4, 'cidr': '7.247.131.128/26', 'allocation_pools': [{'start': '7.247.131.130', 'end': '7.247.131.190'}], 'gateway_ip': '7.247.131.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.247.131.130', 'tags': [], 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:42,972 - INFO - Created VN ctest-vn1-20127402 2025-08-04 20:26:43,026 - DEBUG - VN ctest-vn1-20127402 UUID is 4364eec9-d470-4b33-8ae8-fcecd79311a2 2025-08-04 20:26:43,404 - DEBUG - Response for create_port : {'port': {'name': '9e0fa620-8251-4340-be04-508cc4dbf395', 'id': '9e0fa620-8251-4340-be04-508cc4dbf395', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '4364eec9-d470-4b33-8ae8-fcecd79311a2', 'mac_address': '02:9e:0f:a6:20:82', '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': '8.175.17.5', 'subnet_id': '6ecc8edd-e1b4-4d31-8a26-5daa5b242e51'}], 'security_groups': ['d647a572-ff52-43d1-b483-9eec39a6088e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:43,623 - DEBUG - Response for create_port : {'port': {'name': '5cb8ed2a-009d-44ff-931d-dea41cacffc6', 'id': '5cb8ed2a-009d-44ff-931d-dea41cacffc6', 'tenant_id': 'd3cd6592d8964d54bd7ade0d2f2cb084', 'network_id': '4364eec9-d470-4b33-8ae8-fcecd79311a2', 'mac_address': '02:5c:b8:ed:2a: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': '7.247.131.133', 'subnet_id': '12724769-6f0a-4ab3-970c-169f9ca0fbaf'}], 'security_groups': ['d647a572-ff52-43d1-b483-9eec39a6088e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3cd6592d8964d54bd7ade0d2f2cb084'}} 2025-08-04 20:26:43,698 - DEBUG - Services list from nova: [, , ] 2025-08-04 20:26:44,121 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:26:44,607 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3754-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3754-1) 2025-08-04 20:26:44,608 - INFO - Waiting for VM ctest-vn1-vm1-68135148 to be up.. 2025-08-04 20:26:44,669 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 20:26:49,757 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:26:49,758 - INFO - VM name : ctest-vn1-vm1-68135148 2025-08-04 20:26:49,855 - DEBUG - VM ctest-vn1-vm1-68135148 ID is b43d30db-d64a-4b56-aa04-98f130314017 2025-08-04 20:26:49,892 - DEBUG - VM ctest-vn1-vm1-68135148 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:26:49,988 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/b43d30db-d64a-4b56-aa04-98f130314017 2025-08-04 20:26:50,007 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/9e0fa620-8251-4340-be04-508cc4dbf395 2025-08-04 20:26:53,417 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1030ms') 2025-08-04 20:26:53,418 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-68135148 failed! 2025-08-04 20:26:53,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43043126:ctest-vn1-20127402 is 8.175.17.1 and allocation pool is NOT set 2025-08-04 20:26:53,478 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43043126:ctest-vn1-20127402 is 7.247.131.129 and allocation pool is NOT set 2025-08-04 20:26:57,553 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1009ms') 2025-08-04 20:26:57,553 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-68135148 failed! 2025-08-04 20:26:57,609 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43043126:ctest-vn1-20127402 is 8.175.17.1 and allocation pool is NOT set 2025-08-04 20:26:57,610 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43043126:ctest-vn1-20127402 is 7.247.131.129 and allocation pool is NOT set 2025-08-04 20:26:59,671 - 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=4.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.24 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.243/2.923/4.603/1.680 ms') 2025-08-04 20:26:59,671 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-68135148 passed 2025-08-04 20:26:59,830 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:26:59,830 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68135148, IP 8.175.17.5, Port 22 2025-08-04 20:26:59,896 - 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': ''} 2025-08-04 20:26:59,997 - DEBUG - VM ctest-vn1-vm1-68135148 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 20:27:04,999 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:04,999 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-68135148, IP 8.175.17.5, Port 22 2025-08-04 20:27:05,172 - DEBUG - VM ctest-vn1-vm1-68135148 is ready for SSH connections 2025-08-04 20:27:05,172 - INFO - Waiting for VM ctest-vn1-vm2-98010816 to be up.. 2025-08-04 20:27:05,266 - DEBUG - VM is in ACTIVE state now 2025-08-04 20:27:05,266 - INFO - VM name : ctest-vn1-vm2-98010816 2025-08-04 20:27:05,360 - DEBUG - VM ctest-vn1-vm2-98010816 ID is 27836e68-0637-44c1-a947-cf755b966bfa 2025-08-04 20:27:05,361 - DEBUG - VM ctest-vn1-vm2-98010816 launched on Node cn-jenkins-deploy-platform-ansible-os-3754-1 2025-08-04 20:27:05,457 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/27836e68-0637-44c1-a947-cf755b966bfa 2025-08-04 20:27:05,469 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5cb8ed2a-009d-44ff-931d-dea41cacffc6 2025-08-04 20:27:06,717 - 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=3.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.501 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 = 0.501/1.822/3.144/1.321 ms') 2025-08-04 20:27:06,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-98010816 passed 2025-08-04 20:27:06,873 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:06,874 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98010816, IP 7.247.131.133, Port 22 2025-08-04 20:27:07,040 - DEBUG - VM ctest-vn1-vm2-98010816 is ready for SSH connections 2025-08-04 20:27:07,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:07,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:07,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 20:27:07,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.175.17.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-04 20:27:07,040 - DEBUG - ping -s 56 -c 3 -W 1 8.175.17.5 2025-08-04 20:27:10,828 - DEBUG - PING 8.175.17.5 (8.175.17.5): 56 data bytes 64 bytes from 8.175.17.5: seq=0 ttl=63 time=5.421 ms 64 bytes from 8.175.17.5: seq=1 ttl=63 time=1.370 ms 64 bytes from 8.175.17.5: seq=2 ttl=63 time=1.186 ms --- 8.175.17.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.186/2.659/5.421 ms 2025-08-04 20:27:10,828 - INFO - Ping to IP 8.175.17.5 from VM ctest-vn1-vm2-98010816 passed 2025-08-04 20:27:10,828 - INFO - Detaching port 5cb8ed2a-009d-44ff-931d-dea41cacffc6 from VM ctest-vn1-vm2-98010816 2025-08-04 20:27:10,938 - INFO - Deleting VM ctest-vn1-vm2-98010816 2025-08-04 20:27:11,028 - INFO - Detaching port 9e0fa620-8251-4340-be04-508cc4dbf395 from VM ctest-vn1-vm1-68135148 2025-08-04 20:27:11,073 - INFO - Deleting VM ctest-vn1-vm1-68135148 2025-08-04 20:27:11,364 - DEBUG - Response for delete_port : () 2025-08-04 20:27:11,550 - DEBUG - Response for delete_port : () 2025-08-04 20:27:11,550 - INFO - Deleting VN ctest-vn1-20127402 2025-08-04 20:27:11,726 - DEBUG - Response for deleting network () 2025-08-04 20:27:11,998 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 20:27:11,998 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-08-04 20:27:11,998 - INFO - -------------------------------------------------------------------------------- 2025-08-04 20:27:12,780 - INFO - Deleted project: ctest-TestPorts-43043126, ID : d3cd6592-d896-4d54-bd7a-de0d2f2cb084