2025-08-20 13:01:24,583 - INFO - Domain Default found not creating 2025-08-20 13:01:24,704 - INFO - Project ctest-TestPorts-35692584 not found, creating it 2025-08-20 13:01:25,110 - INFO - Created Project:ctest-TestPorts-35692584, ID : 76109afa-81ce-43ab-8c8a-26bc61b584a8 2025-08-20 13:01:26,589 - INFO - ================================================================================ 2025-08-20 13:01:26,589 - INFO - STARTING TEST : test_ports_bindings 2025-08-20 13:01:26,589 - 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-20 13:01:26,845 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-08-20 13:01:26,845 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:01:26,845 - INFO - 2025-08-20 13:01:27,357 - DEBUG - Response for create_network : {'network': {'id': '2a0b21c8-5148-41a2-9eac-1df2e943fc5a', 'name': 'ctest-vn-38968984', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'project_id': '76109afa81ce43ab8c8a26bc61b584a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35692584', 'ctest-vn-38968984'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:01:27,565 - DEBUG - Response for create_subnet : {'subnet': {'id': '8fd1dda8-d4e0-4c74-bbda-20e6e3a0afca', 'name': '', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '2a0b21c8-5148-41a2-9eac-1df2e943fc5a', 'ip_version': 4, 'cidr': '58.215.54.192/26', 'allocation_pools': [{'start': '58.215.54.194', 'end': '58.215.54.254'}], 'gateway_ip': '58.215.54.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.215.54.194', 'tags': [], 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:27,581 - INFO - Created VN ctest-vn-38968984 2025-08-20 13:01:27,631 - DEBUG - VN ctest-vn-38968984 UUID is 2a0b21c8-5148-41a2-9eac-1df2e943fc5a 2025-08-20 13:01:27,728 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-35692584', 'ctest-vmi-98917608']} 2025-08-20 13:01:27,987 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98917608', 'id': '03186994-092d-4094-a66f-92010f424402', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '2a0b21c8-5148-41a2-9eac-1df2e943fc5a', 'mac_address': '02:03:18:69:94:09', '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': '58.215.54.195', 'subnet_id': '8fd1dda8-d4e0-4c74-bbda-20e6e3a0afca'}], 'security_groups': ['90b3dfef-6865-4ae9-97ae-35b20242b1b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:27,987 - DEBUG - Created port 03186994-092d-4094-a66f-92010f424402 2025-08-20 13:01:28,087 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/03186994-092d-4094-a66f-92010f424402 2025-08-20 13:01:28,377 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/03186994-092d-4094-a66f-92010f424402 2025-08-20 13:01:28,405 - INFO - VMI 03186994-092d-4094-a66f-92010f424402 verification in API Server passed 2025-08-20 13:01:28,479 - DEBUG - Response for delete_port : () 2025-08-20 13:01:28,479 - INFO - Deleted port 03186994-092d-4094-a66f-92010f424402 2025-08-20 13:01:28,479 - INFO - Deleting VN ctest-vn-38968984 2025-08-20 13:01:28,561 - DEBUG - Response for deleting network () 2025-08-20 13:01:28,821 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:01:28,821 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-20 13:01:28,821 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:01:28,823 - INFO - ================================================================================ 2025-08-20 13:01:28,823 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-20 13:01:28,823 - 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-20 13:01:29,107 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.0.0.27': '0'}} with 2025-08-20 13:01:29,107 - INFO - Initial checks done. Running the testcase now 2025-08-20 13:01:29,108 - INFO - 2025-08-20 13:01:29,266 - DEBUG - Response for create_network : {'network': {'id': '78759d37-adff-42b6-a171-43bfde76dbf7', 'name': 'ctest-vn1-39912772', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'project_id': '76109afa81ce43ab8c8a26bc61b584a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-35692584', 'ctest-vn1-39912772'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 13:01:29,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b97819e-7d8b-47c4-8b82-005ede7ec09f', 'name': '', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '78759d37-adff-42b6-a171-43bfde76dbf7', 'ip_version': 4, 'cidr': '133.123.197.192/26', 'allocation_pools': [{'start': '133.123.197.194', 'end': '133.123.197.254'}], 'gateway_ip': '133.123.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '133.123.197.194', 'tags': [], 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:29,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '389f4cef-bde7-405b-ae51-c41b6a9039d1', 'name': '', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '78759d37-adff-42b6-a171-43bfde76dbf7', 'ip_version': 4, 'cidr': '23.151.227.128/26', 'allocation_pools': [{'start': '23.151.227.130', 'end': '23.151.227.190'}], 'gateway_ip': '23.151.227.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.151.227.130', 'tags': [], 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:29,622 - INFO - Created VN ctest-vn1-39912772 2025-08-20 13:01:29,671 - DEBUG - VN ctest-vn1-39912772 UUID is 78759d37-adff-42b6-a171-43bfde76dbf7 2025-08-20 13:01:29,940 - DEBUG - Response for create_port : {'port': {'name': '185eccc9-3397-419f-9ab5-b715b98f87ab', 'id': '185eccc9-3397-419f-9ab5-b715b98f87ab', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '78759d37-adff-42b6-a171-43bfde76dbf7', 'mac_address': '02:18:5e:cc:c9:33', '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': '133.123.197.197', 'subnet_id': '4b97819e-7d8b-47c4-8b82-005ede7ec09f'}], 'security_groups': ['90b3dfef-6865-4ae9-97ae-35b20242b1b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:30,114 - DEBUG - Response for create_port : {'port': {'name': '8695f4d1-f702-4ee7-8b1f-e0561e7a522f', 'id': '8695f4d1-f702-4ee7-8b1f-e0561e7a522f', 'tenant_id': '76109afa81ce43ab8c8a26bc61b584a8', 'network_id': '78759d37-adff-42b6-a171-43bfde76dbf7', 'mac_address': '02:86:95:f4:d1:f7', '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': '23.151.227.133', 'subnet_id': '389f4cef-bde7-405b-ae51-c41b6a9039d1'}], 'security_groups': ['90b3dfef-6865-4ae9-97ae-35b20242b1b9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '76109afa81ce43ab8c8a26bc61b584a8'}} 2025-08-20 13:01:30,164 - DEBUG - Services list from nova: [, , ] 2025-08-20 13:01:30,437 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:01:30,783 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3894-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3894-1) 2025-08-20 13:01:30,783 - INFO - Waiting for VM ctest-vn1-vm1-27629386 to be up.. 2025-08-20 13:01:30,825 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 13:01:35,890 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:01:35,890 - INFO - VM name : ctest-vn1-vm1-27629386 2025-08-20 13:01:35,951 - DEBUG - VM ctest-vn1-vm1-27629386 ID is 1a427351-61e4-42a7-b485-5e7d330ce80f 2025-08-20 13:01:35,967 - DEBUG - VM ctest-vn1-vm1-27629386 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:01:36,030 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/1a427351-61e4-42a7-b485-5e7d330ce80f 2025-08-20 13:01:36,037 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/185eccc9-3397-419f-9ab5-b715b98f87ab 2025-08-20 13:01:39,299 - 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 1027ms') 2025-08-20 13:01:39,299 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27629386 failed! 2025-08-20 13:01:39,355 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35692584:ctest-vn1-39912772 is 133.123.197.193 and allocation pool is NOT set 2025-08-20 13:01:39,355 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-35692584:ctest-vn1-39912772 is 23.151.227.129 and allocation pool is NOT set 2025-08-20 13:01:41,412 - 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.09 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.463 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.463/2.276/4.089/1.813 ms') 2025-08-20 13:01:41,412 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-27629386 passed 2025-08-20 13:01:41,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:41,559 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27629386, IP 133.123.197.197, Port 22 2025-08-20 13:01:41,614 - 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-20 13:01:41,683 - DEBUG - VM ctest-vn1-vm1-27629386 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-20 13:01:46,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:46,684 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-27629386, IP 133.123.197.197, Port 22 2025-08-20 13:01:46,839 - DEBUG - VM ctest-vn1-vm1-27629386 is ready for SSH connections 2025-08-20 13:01:46,840 - INFO - Waiting for VM ctest-vn1-vm2-48537128 to be up.. 2025-08-20 13:01:46,900 - DEBUG - VM is in ACTIVE state now 2025-08-20 13:01:46,900 - INFO - VM name : ctest-vn1-vm2-48537128 2025-08-20 13:01:46,960 - DEBUG - VM ctest-vn1-vm2-48537128 ID is f98973ff-692b-4694-b0fa-5c7568238e93 2025-08-20 13:01:46,960 - DEBUG - VM ctest-vn1-vm2-48537128 launched on Node cn-jenkins-deploy-platform-ansible-os-3894-1. 2025-08-20 13:01:47,021 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/f98973ff-692b-4694-b0fa-5c7568238e93 2025-08-20 13:01:47,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8695f4d1-f702-4ee7-8b1f-e0561e7a522f 2025-08-20 13:01:48,257 - 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=2.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.337 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.337/1.474/2.611/1.137 ms') 2025-08-20 13:01:48,257 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-48537128 passed 2025-08-20 13:01:48,403 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:48,403 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48537128, IP 23.151.227.133, Port 22 2025-08-20 13:01:48,554 - DEBUG - VM ctest-vn1-vm2-48537128 is ready for SSH connections 2025-08-20 13:01:48,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:48,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:48,555 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 13:01:48,555 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 133.123.197.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-08-20 13:01:48,555 - DEBUG - ping -s 56 -c 3 -W 1 133.123.197.197 2025-08-20 13:01:52,504 - DEBUG - PING 133.123.197.197 (133.123.197.197): 56 data bytes 64 bytes from 133.123.197.197: seq=0 ttl=63 time=4.169 ms 64 bytes from 133.123.197.197: seq=1 ttl=63 time=0.783 ms 64 bytes from 133.123.197.197: seq=2 ttl=63 time=0.952 ms --- 133.123.197.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.783/1.968/4.169 ms 2025-08-20 13:01:52,504 - INFO - Ping to IP 133.123.197.197 from VM ctest-vn1-vm2-48537128 passed 2025-08-20 13:01:52,504 - INFO - Detaching port 8695f4d1-f702-4ee7-8b1f-e0561e7a522f from VM ctest-vn1-vm2-48537128 2025-08-20 13:01:52,550 - INFO - Deleting VM ctest-vn1-vm2-48537128 2025-08-20 13:01:52,603 - INFO - Detaching port 185eccc9-3397-419f-9ab5-b715b98f87ab from VM ctest-vn1-vm1-27629386 2025-08-20 13:01:52,632 - INFO - Deleting VM ctest-vn1-vm1-27629386 2025-08-20 13:01:52,821 - DEBUG - Response for delete_port : () 2025-08-20 13:01:52,971 - DEBUG - Response for delete_port : () 2025-08-20 13:01:52,971 - INFO - Deleting VN ctest-vn1-39912772 2025-08-20 13:01:53,096 - DEBUG - Response for deleting network () 2025-08-20 13:01:53,348 - DEBUG - No XMPP flaps were noticed during the test 2025-08-20 13:01:53,348 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-08-20 13:01:53,348 - INFO - -------------------------------------------------------------------------------- 2025-08-20 13:01:53,997 - INFO - Deleted project: ctest-TestPorts-35692584, ID : 76109afa-81ce-43ab-8c8a-26bc61b584a8