2025-11-24 02:10:31,607 - INFO - Domain Default found not creating 2025-11-24 02:10:31,776 - INFO - Project ctest-TestPorts-47817239 not found, creating it 2025-11-24 02:10:32,225 - INFO - Created Project:ctest-TestPorts-47817239, ID : eafe6099-05fa-4caf-b8e4-24e4a6cebdc1 2025-11-24 02:10:33,741 - INFO - ================================================================================ 2025-11-24 02:10:33,745 - INFO - STARTING TEST : test_ports_bindings 2025-11-24 02:10:33,745 - 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-11-24 02:10:34,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-11-24 02:10:34,012 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:10:34,012 - INFO - 2025-11-24 02:10:34,560 - DEBUG - Response for create_network : {'network': {'id': 'c09213e0-6b42-4a20-933d-0a3df732c257', 'name': 'ctest-vn-11594362', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47817239', 'ctest-vn-11594362'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:10:34,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c91d60d6-3687-4c7b-b482-00970234fc9a', 'name': '', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': 'c09213e0-6b42-4a20-933d-0a3df732c257', 'ip_version': 4, 'cidr': '74.186.250.0/26', 'allocation_pools': [{'start': '74.186.250.2', 'end': '74.186.250.62'}], 'gateway_ip': '74.186.250.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.186.250.2', 'tags': [], 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:34,783 - INFO - Created VN ctest-vn-11594362 2025-11-24 02:10:34,834 - DEBUG - VN ctest-vn-11594362 UUID is c09213e0-6b42-4a20-933d-0a3df732c257 2025-11-24 02:10:34,938 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47817239', 'ctest-vmi-19937739']} 2025-11-24 02:10:35,228 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19937739', 'id': '9e8cdb98-3c49-4e5f-a67e-ebbd82518229', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': 'c09213e0-6b42-4a20-933d-0a3df732c257', 'mac_address': '02:9e:8c:db:98:3c', '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': '74.186.250.3', 'subnet_id': 'c91d60d6-3687-4c7b-b482-00970234fc9a'}], 'security_groups': ['60be0249-7c74-493e-aecc-f53f56c382e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:35,228 - DEBUG - Created port 9e8cdb98-3c49-4e5f-a67e-ebbd82518229 2025-11-24 02:10:35,334 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9e8cdb98-3c49-4e5f-a67e-ebbd82518229 2025-11-24 02:10:35,631 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/9e8cdb98-3c49-4e5f-a67e-ebbd82518229 2025-11-24 02:10:35,666 - INFO - VMI 9e8cdb98-3c49-4e5f-a67e-ebbd82518229 verification in API Server passed 2025-11-24 02:10:35,779 - DEBUG - Response for delete_port : () 2025-11-24 02:10:35,779 - INFO - Deleted port 9e8cdb98-3c49-4e5f-a67e-ebbd82518229 2025-11-24 02:10:35,779 - INFO - Deleting VN ctest-vn-11594362 2025-11-24 02:10:35,873 - DEBUG - Response for deleting network () 2025-11-24 02:10:36,127 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 02:10:36,127 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-24 02:10:36,127 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:10:36,130 - INFO - ================================================================================ 2025-11-24 02:10:36,130 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-24 02:10:36,130 - 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-11-24 02:10:36,418 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.201': '0'}} with 2025-11-24 02:10:36,418 - INFO - Initial checks done. Running the testcase now 2025-11-24 02:10:36,418 - INFO - 2025-11-24 02:10:36,579 - DEBUG - Response for create_network : {'network': {'id': '0f76d387-b815-4cf9-bf16-47f690053be1', 'name': 'ctest-vn1-94840438', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47817239', 'ctest-vn1-94840438'], 'port_security_enabled': True, 'description': ''}} 2025-11-24 02:10:36,734 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad766629-d505-496b-a463-e883a400ad12', 'name': '', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': '0f76d387-b815-4cf9-bf16-47f690053be1', 'ip_version': 4, 'cidr': '33.38.171.128/26', 'allocation_pools': [{'start': '33.38.171.130', 'end': '33.38.171.190'}], 'gateway_ip': '33.38.171.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.38.171.130', 'tags': [], 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:36,866 - DEBUG - Response for create_subnet : {'subnet': {'id': '566edf07-ceab-4486-9bb2-fde80649adf8', 'name': '', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': '0f76d387-b815-4cf9-bf16-47f690053be1', 'ip_version': 4, 'cidr': '218.104.104.128/26', 'allocation_pools': [{'start': '218.104.104.130', 'end': '218.104.104.190'}], 'gateway_ip': '218.104.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.104.104.130', 'tags': [], 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:36,884 - INFO - Created VN ctest-vn1-94840438 2025-11-24 02:10:36,934 - DEBUG - VN ctest-vn1-94840438 UUID is 0f76d387-b815-4cf9-bf16-47f690053be1 2025-11-24 02:10:37,227 - DEBUG - Response for create_port : {'port': {'name': '2e41a9f1-08ac-4c5c-8bb0-b8b466b36e9d', 'id': '2e41a9f1-08ac-4c5c-8bb0-b8b466b36e9d', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': '0f76d387-b815-4cf9-bf16-47f690053be1', 'mac_address': '02:2e:41:a9:f1:08', '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': '33.38.171.133', 'subnet_id': 'ad766629-d505-496b-a463-e883a400ad12'}], 'security_groups': ['60be0249-7c74-493e-aecc-f53f56c382e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:37,403 - DEBUG - Response for create_port : {'port': {'name': 'e5434965-193a-4e85-8c5b-1f6b189a902c', 'id': 'e5434965-193a-4e85-8c5b-1f6b189a902c', 'tenant_id': 'eafe609905fa4cafb8e424e4a6cebdc1', 'network_id': '0f76d387-b815-4cf9-bf16-47f690053be1', 'mac_address': '02:e5:43:49:65:19', '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': '218.104.104.133', 'subnet_id': '566edf07-ceab-4486-9bb2-fde80649adf8'}], 'security_groups': ['60be0249-7c74-493e-aecc-f53f56c382e6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'eafe609905fa4cafb8e424e4a6cebdc1'}} 2025-11-24 02:10:37,454 - DEBUG - Services list from nova: [, , ] 2025-11-24 02:10:37,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:10:38,128 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4804-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4804-1) 2025-11-24 02:10:38,128 - INFO - Waiting for VM ctest-vn1-vm1-38751644 to be up.. 2025-11-24 02:10:38,165 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-24 02:10:43,249 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:10:43,249 - INFO - VM name : ctest-vn1-vm1-38751644 2025-11-24 02:10:43,448 - DEBUG - VM ctest-vn1-vm1-38751644 ID is a12f3cc9-a81d-4f29-bc7f-9cf16168a7f7 2025-11-24 02:10:43,470 - DEBUG - VM ctest-vn1-vm1-38751644 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:10:43,536 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/a12f3cc9-a81d-4f29-bc7f-9cf16168a7f7 2025-11-24 02:10:43,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/2e41a9f1-08ac-4c5c-8bb0-b8b466b36e9d 2025-11-24 02:10:46,801 - 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 1018ms') 2025-11-24 02:10:46,801 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38751644 failed! 2025-11-24 02:10:46,858 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47817239:ctest-vn1-94840438 is 33.38.171.129 and allocation pool is NOT set 2025-11-24 02:10:46,859 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47817239:ctest-vn1-94840438 is 218.104.104.129 and allocation pool is NOT set 2025-11-24 02:10:48,923 - 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=5.80 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.868 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.868/3.332/5.797/2.464 ms') 2025-11-24 02:10:48,923 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-38751644 passed 2025-11-24 02:10:49,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:49,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38751644, IP 33.38.171.133, Port 22 2025-11-24 02:10:49,137 - 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-11-24 02:10:49,210 - DEBUG - VM ctest-vn1-vm1-38751644 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-24 02:10:54,210 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:54,210 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-38751644, IP 33.38.171.133, Port 22 2025-11-24 02:10:54,370 - DEBUG - VM ctest-vn1-vm1-38751644 is ready for SSH connections 2025-11-24 02:10:54,370 - INFO - Waiting for VM ctest-vn1-vm2-48805070 to be up.. 2025-11-24 02:10:54,445 - DEBUG - VM is in ACTIVE state now 2025-11-24 02:10:54,445 - INFO - VM name : ctest-vn1-vm2-48805070 2025-11-24 02:10:54,521 - DEBUG - VM ctest-vn1-vm2-48805070 ID is fa38a17d-951c-4616-b178-2e06a31d7484 2025-11-24 02:10:54,521 - DEBUG - VM ctest-vn1-vm2-48805070 launched on Node cn-jenkins-deploy-platform-ansible-os-4804-1 2025-11-24 02:10:54,593 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/fa38a17d-951c-4616-b178-2e06a31d7484 2025-11-24 02:10:54,601 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/e5434965-193a-4e85-8c5b-1f6b189a902c 2025-11-24 02:10:55,842 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.361 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 = 0.361/1.590/2.819/1.229 ms') 2025-11-24 02:10:55,842 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-48805070 passed 2025-11-24 02:10:55,990 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:55,990 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-48805070, IP 218.104.104.133, Port 22 2025-11-24 02:10:56,146 - DEBUG - VM ctest-vn1-vm2-48805070 is ready for SSH connections 2025-11-24 02:10:56,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:56,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:56,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-24 02:10:56,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 33.38.171.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-24 02:10:56,147 - DEBUG - ping -s 56 -c 3 -W 1 33.38.171.133 2025-11-24 02:10:58,795 - DEBUG - PING 33.38.171.133 (33.38.171.133): 56 data bytes 64 bytes from 33.38.171.133: seq=0 ttl=63 time=5.937 ms 64 bytes from 33.38.171.133: seq=1 ttl=63 time=0.676 ms 64 bytes from 33.38.171.133: seq=2 ttl=63 time=1.107 ms --- 33.38.171.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.676/2.573/5.937 ms 2025-11-24 02:10:58,795 - INFO - Ping to IP 33.38.171.133 from VM ctest-vn1-vm2-48805070 passed 2025-11-24 02:10:58,795 - INFO - Detaching port e5434965-193a-4e85-8c5b-1f6b189a902c from VM ctest-vn1-vm2-48805070 2025-11-24 02:10:58,843 - INFO - Deleting VM ctest-vn1-vm2-48805070 2025-11-24 02:10:58,913 - INFO - Detaching port 2e41a9f1-08ac-4c5c-8bb0-b8b466b36e9d from VM ctest-vn1-vm1-38751644 2025-11-24 02:10:58,942 - INFO - Deleting VM ctest-vn1-vm1-38751644 2025-11-24 02:10:59,163 - DEBUG - Response for delete_port : () 2025-11-24 02:10:59,321 - DEBUG - Response for delete_port : () 2025-11-24 02:10:59,321 - INFO - Deleting VN ctest-vn1-94840438 2025-11-24 02:10:59,440 - DEBUG - Response for deleting network () 2025-11-24 02:10:59,700 - DEBUG - No XMPP flaps were noticed during the test
2025-11-24 02:10:59,700 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-24 02:10:59,700 - INFO - -------------------------------------------------------------------------------- 2025-11-24 02:11:00,376 - INFO - Deleted project: ctest-TestPorts-47817239, ID : eafe6099-05fa-4caf-b8e4-24e4a6cebdc1