2025-09-08 15:31:25,650 - INFO - Domain Default found not creating 2025-09-08 15:31:25,781 - INFO - Project ctest-TestPorts-66181738 not found, creating it 2025-09-08 15:31:26,224 - INFO - Created Project:ctest-TestPorts-66181738, ID : 8f5424c7-89fa-4606-a791-65467a606944 2025-09-08 15:31:27,563 - INFO - ================================================================================ 2025-09-08 15:31:27,563 - INFO - STARTING TEST : test_ports_bindings 2025-09-08 15:31:27,564 - 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-09-08 15:31:27,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-09-08 15:31:27,819 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:31:27,819 - INFO - 2025-09-08 15:31:28,415 - DEBUG - Response for create_network : {'network': {'id': 'cc881aa8-b218-41f4-8ea0-eb01ab6c2724', 'name': 'ctest-vn-84593828', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'project_id': '8f5424c789fa4606a79165467a606944', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66181738', 'ctest-vn-84593828'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:31:28,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '8b013f15-1740-4f74-b2bf-6657f814d6b5', 'name': '', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'cc881aa8-b218-41f4-8ea0-eb01ab6c2724', 'ip_version': 4, 'cidr': '126.76.131.0/26', 'allocation_pools': [{'start': '126.76.131.2', 'end': '126.76.131.62'}], 'gateway_ip': '126.76.131.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.76.131.2', 'tags': [], 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:28,634 - INFO - Created VN ctest-vn-84593828 2025-09-08 15:31:28,683 - DEBUG - VN ctest-vn-84593828 UUID is cc881aa8-b218-41f4-8ea0-eb01ab6c2724 2025-09-08 15:31:28,778 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-66181738', 'ctest-vmi-64641058']} 2025-09-08 15:31:29,052 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64641058', 'id': 'a56537bd-abef-4ad3-8b3f-e17613452207', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'cc881aa8-b218-41f4-8ea0-eb01ab6c2724', 'mac_address': '02:a5:65:37:bd:ab', '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': '126.76.131.3', 'subnet_id': '8b013f15-1740-4f74-b2bf-6657f814d6b5'}], 'security_groups': ['018a9061-8f7f-4c25-831a-1e4473c9eda2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:29,053 - DEBUG - Created port a56537bd-abef-4ad3-8b3f-e17613452207 2025-09-08 15:31:29,155 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a56537bd-abef-4ad3-8b3f-e17613452207 2025-09-08 15:31:29,444 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/a56537bd-abef-4ad3-8b3f-e17613452207 2025-09-08 15:31:29,470 - INFO - VMI a56537bd-abef-4ad3-8b3f-e17613452207 verification in API Server passed 2025-09-08 15:31:29,561 - DEBUG - Response for delete_port : () 2025-09-08 15:31:29,561 - INFO - Deleted port a56537bd-abef-4ad3-8b3f-e17613452207 2025-09-08 15:31:29,561 - INFO - Deleting VN ctest-vn-84593828 2025-09-08 15:31:29,651 - DEBUG - Response for deleting network () 2025-09-08 15:31:29,911 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 15:31:29,911 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-09-08 15:31:29,911 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:31:29,913 - INFO - ================================================================================ 2025-09-08 15:31:29,914 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-08 15:31:29,914 - 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-09-08 15:31:30,209 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with 2025-09-08 15:31:30,209 - INFO - Initial checks done. Running the testcase now 2025-09-08 15:31:30,209 - INFO - 2025-09-08 15:31:30,374 - DEBUG - Response for create_network : {'network': {'id': 'dcd1d953-0034-4ae0-b08c-2539ffef396f', 'name': 'ctest-vn1-09937542', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'project_id': '8f5424c789fa4606a79165467a606944', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-66181738', 'ctest-vn1-09937542'], 'port_security_enabled': True, 'description': ''}} 2025-09-08 15:31:30,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '12daca48-20d2-4b20-aee4-4068088af6fe', 'name': '', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'dcd1d953-0034-4ae0-b08c-2539ffef396f', 'ip_version': 4, 'cidr': '14.45.218.64/26', 'allocation_pools': [{'start': '14.45.218.66', 'end': '14.45.218.126'}], 'gateway_ip': '14.45.218.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.45.218.66', 'tags': [], 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:30,733 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a653c4a9-6a8f-4010-829c-75f9ec2120c9', 'name': '', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'dcd1d953-0034-4ae0-b08c-2539ffef396f', 'ip_version': 4, 'cidr': '99.50.189.64/26', 'allocation_pools': [{'start': '99.50.189.66', 'end': '99.50.189.126'}], 'gateway_ip': '99.50.189.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.50.189.66', 'tags': [], 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:30,749 - INFO - Created VN ctest-vn1-09937542 2025-09-08 15:31:30,803 - DEBUG - VN ctest-vn1-09937542 UUID is dcd1d953-0034-4ae0-b08c-2539ffef396f 2025-09-08 15:31:31,090 - DEBUG - Response for create_port : {'port': {'name': '4cee0651-75ba-4222-9a3c-1c4d61fb5aaf', 'id': '4cee0651-75ba-4222-9a3c-1c4d61fb5aaf', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'dcd1d953-0034-4ae0-b08c-2539ffef396f', 'mac_address': '02:4c:ee:06:51:75', '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': '14.45.218.69', 'subnet_id': '12daca48-20d2-4b20-aee4-4068088af6fe'}], 'security_groups': ['018a9061-8f7f-4c25-831a-1e4473c9eda2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:31,249 - DEBUG - Response for create_port : {'port': {'name': 'faf462d8-dbea-40d7-9145-9886fcbc6646', 'id': 'faf462d8-dbea-40d7-9145-9886fcbc6646', 'tenant_id': '8f5424c789fa4606a79165467a606944', 'network_id': 'dcd1d953-0034-4ae0-b08c-2539ffef396f', 'mac_address': '02:fa:f4:62:d8:db', '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': '99.50.189.69', 'subnet_id': 'a653c4a9-6a8f-4010-829c-75f9ec2120c9'}], 'security_groups': ['018a9061-8f7f-4c25-831a-1e4473c9eda2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8f5424c789fa4606a79165467a606944'}} 2025-09-08 15:31:31,297 - DEBUG - Services list from nova: [, , ] 2025-09-08 15:31:31,578 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:31:31,900 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4052-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4052-1) 2025-09-08 15:31:31,900 - INFO - Waiting for VM ctest-vn1-vm1-94718621 to be up.. 2025-09-08 15:31:31,933 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-08 15:31:37,070 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:31:37,070 - INFO - VM name : ctest-vn1-vm1-94718621 2025-09-08 15:31:37,190 - DEBUG - VM ctest-vn1-vm1-94718621 ID is 4acd22c3-f2c6-4f0f-abd3-eff7f63ede90 2025-09-08 15:31:37,222 - DEBUG - VM ctest-vn1-vm1-94718621 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:31:37,305 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/4acd22c3-f2c6-4f0f-abd3-eff7f63ede90 2025-09-08 15:31:37,312 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4cee0651-75ba-4222-9a3c-1c4d61fb5aaf 2025-09-08 15:31:40,577 - 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-09-08 15:31:40,577 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94718621 failed! 2025-09-08 15:31:40,635 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66181738:ctest-vn1-09937542 is 14.45.218.65 and allocation pool is NOT set 2025-09-08 15:31:40,635 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-66181738:ctest-vn1-09937542 is 99.50.189.65 and allocation pool is NOT set 2025-09-08 15:31:42,694 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.98 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.983/3.220/4.457/1.237 ms') 2025-09-08 15:31:42,694 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94718621 passed 2025-09-08 15:31:42,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:42,839 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94718621, IP 14.45.218.69, Port 22 2025-09-08 15:31:42,898 - 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-09-08 15:31:42,963 - DEBUG - VM ctest-vn1-vm1-94718621 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-08 15:31:47,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:47,963 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94718621, IP 14.45.218.69, Port 22 2025-09-08 15:31:48,115 - DEBUG - VM ctest-vn1-vm1-94718621 is ready for SSH connections 2025-09-08 15:31:48,115 - INFO - Waiting for VM ctest-vn1-vm2-66874794 to be up.. 2025-09-08 15:31:48,177 - DEBUG - VM is in ACTIVE state now 2025-09-08 15:31:48,177 - INFO - VM name : ctest-vn1-vm2-66874794 2025-09-08 15:31:48,239 - DEBUG - VM ctest-vn1-vm2-66874794 ID is 3870a006-3aa0-44cf-9320-f74091c028ff 2025-09-08 15:31:48,239 - DEBUG - VM ctest-vn1-vm2-66874794 launched on Node cn-jenkins-deploy-platform-ansible-os-4052-1 2025-09-08 15:31:48,303 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/3870a006-3aa0-44cf-9320-f74091c028ff 2025-09-08 15:31:48,310 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/faf462d8-dbea-40d7-9145-9886fcbc6646 2025-09-08 15:31:49,543 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.333 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.333/1.489/2.646/1.156 ms') 2025-09-08 15:31:49,543 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-66874794 passed 2025-09-08 15:31:49,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:49,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-66874794, IP 99.50.189.69, Port 22 2025-09-08 15:31:49,871 - DEBUG - VM ctest-vn1-vm2-66874794 is ready for SSH connections 2025-09-08 15:31:49,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:49,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:49,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-08 15:31:49,871 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.45.218.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123 2025-09-08 15:31:49,871 - DEBUG - ping -s 56 -c 3 -W 1 14.45.218.69 2025-09-08 15:31:52,778 - DEBUG - PING 14.45.218.69 (14.45.218.69): 56 data bytes 64 bytes from 14.45.218.69: seq=0 ttl=63 time=3.959 ms 64 bytes from 14.45.218.69: seq=1 ttl=63 time=0.824 ms 64 bytes from 14.45.218.69: seq=2 ttl=63 time=0.730 ms --- 14.45.218.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.730/1.837/3.959 ms 2025-09-08 15:31:52,778 - INFO - Ping to IP 14.45.218.69 from VM ctest-vn1-vm2-66874794 passed 2025-09-08 15:31:52,778 - INFO - Detaching port faf462d8-dbea-40d7-9145-9886fcbc6646 from VM ctest-vn1-vm2-66874794 2025-09-08 15:31:52,824 - INFO - Deleting VM ctest-vn1-vm2-66874794 2025-09-08 15:31:52,889 - INFO - Detaching port 4cee0651-75ba-4222-9a3c-1c4d61fb5aaf from VM ctest-vn1-vm1-94718621 2025-09-08 15:31:52,924 - INFO - Deleting VM ctest-vn1-vm1-94718621 2025-09-08 15:31:53,119 - DEBUG - Response for delete_port : () 2025-09-08 15:31:53,256 - DEBUG - Response for delete_port : () 2025-09-08 15:31:53,256 - INFO - Deleting VN ctest-vn1-09937542 2025-09-08 15:31:53,368 - DEBUG - Response for deleting network () 2025-09-08 15:31:53,619 - DEBUG - No XMPP flaps were noticed during the test 2025-09-08 15:31:53,619 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-09-08 15:31:53,619 - INFO - -------------------------------------------------------------------------------- 2025-09-08 15:31:54,260 - INFO - Deleted project: ctest-TestPorts-66181738, ID : 8f5424c7-89fa-4606-a791-65467a606944