2025-11-22 09:44:18,102 - INFO - Domain Default found not creating
2025-11-22 09:44:18,284 - INFO - Project ctest-TestPorts-04338613 not found, creating it
2025-11-22 09:44:18,755 - INFO - Created Project:ctest-TestPorts-04338613, ID : 9d559205-6f52-42ac-b9a8-5321df9de282
2025-11-22 09:44:20,481 - INFO - ================================================================================
2025-11-22 09:44:20,481 - INFO - STARTING TEST : test_ports_bindings
2025-11-22 09:44:20,481 - 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-22 09:44:20,753 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-22 09:44:20,753 - INFO - Initial checks done. Running the testcase now
2025-11-22 09:44:20,753 - INFO -
2025-11-22 09:44:21,319 - DEBUG - Response for create_network : {'network': {'id': 'e69eae8c-1339-43b4-a21e-88f80ca99e65', 'name': 'ctest-vn-30292916', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'project_id': '9d5592056f5242acb9a85321df9de282', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04338613', 'ctest-vn-30292916'], 'port_security_enabled': True, 'description': ''}}
2025-11-22 09:44:21,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '761c25f3-d7f9-4849-b18f-8f1574891e18', 'name': '', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'e69eae8c-1339-43b4-a21e-88f80ca99e65', 'ip_version': 4, 'cidr': '46.19.96.128/26', 'allocation_pools': [{'start': '46.19.96.130', 'end': '46.19.96.190'}], 'gateway_ip': '46.19.96.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.19.96.130', 'tags': [], 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:21,560 - INFO - Created VN ctest-vn-30292916
2025-11-22 09:44:21,619 - DEBUG - VN ctest-vn-30292916 UUID is e69eae8c-1339-43b4-a21e-88f80ca99e65
2025-11-22 09:44:21,734 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04338613', 'ctest-vmi-00707681']}
2025-11-22 09:44:21,989 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00707681', 'id': 'f364e1c6-37d6-4614-9661-f642d753421d', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'e69eae8c-1339-43b4-a21e-88f80ca99e65', 'mac_address': '02:f3:64:e1:c6:37', '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': '46.19.96.131', 'subnet_id': '761c25f3-d7f9-4849-b18f-8f1574891e18'}], 'security_groups': ['170ea042-52fb-4fa6-a8a3-b0dd218633d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:21,990 - DEBUG - Created port f364e1c6-37d6-4614-9661-f642d753421d
2025-11-22 09:44:22,099 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f364e1c6-37d6-4614-9661-f642d753421d
2025-11-22 09:44:22,396 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/f364e1c6-37d6-4614-9661-f642d753421d
2025-11-22 09:44:22,435 - INFO - VMI f364e1c6-37d6-4614-9661-f642d753421d verification in API Server passed
2025-11-22 09:44:22,529 - DEBUG - Response for delete_port : ()
2025-11-22 09:44:22,529 - INFO - Deleted port f364e1c6-37d6-4614-9661-f642d753421d
2025-11-22 09:44:22,529 - INFO - Deleting VN ctest-vn-30292916
2025-11-22 09:44:22,639 - DEBUG - Response for deleting network ()
2025-11-22 09:44:22,905 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 09:44:22,905 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-22 09:44:22,905 - INFO - --------------------------------------------------------------------------------
2025-11-22 09:44:22,908 - INFO - ================================================================================
2025-11-22 09:44:22,908 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-22 09:44:22,908 - 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-22 09:44:23,198 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-11-22 09:44:23,198 - INFO - Initial checks done. Running the testcase now
2025-11-22 09:44:23,198 - INFO -
2025-11-22 09:44:23,380 - DEBUG - Response for create_network : {'network': {'id': 'f5186dc6-c9dd-4620-9275-108af5140c88', 'name': 'ctest-vn1-22840219', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'project_id': '9d5592056f5242acb9a85321df9de282', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04338613', 'ctest-vn1-22840219'], 'port_security_enabled': True, 'description': ''}}
2025-11-22 09:44:23,608 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c4e97118-1910-4049-bccc-e6a56d171dc2', 'name': '', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'f5186dc6-c9dd-4620-9275-108af5140c88', 'ip_version': 4, 'cidr': '1.225.161.192/26', 'allocation_pools': [{'start': '1.225.161.194', 'end': '1.225.161.254'}], 'gateway_ip': '1.225.161.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.225.161.194', 'tags': [], 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:23,803 - DEBUG - Response for create_subnet : {'subnet': {'id': '5429be3d-1e93-496f-8920-e25b8b6b8e3c', 'name': '', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'f5186dc6-c9dd-4620-9275-108af5140c88', 'ip_version': 4, 'cidr': '219.140.11.128/26', 'allocation_pools': [{'start': '219.140.11.130', 'end': '219.140.11.190'}], 'gateway_ip': '219.140.11.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.140.11.130', 'tags': [], 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:23,824 - INFO - Created VN ctest-vn1-22840219
2025-11-22 09:44:23,876 - DEBUG - VN ctest-vn1-22840219 UUID is f5186dc6-c9dd-4620-9275-108af5140c88
2025-11-22 09:44:24,205 - DEBUG - Response for create_port : {'port': {'name': 'd8079acf-9b4f-4980-a538-f104821051c4', 'id': 'd8079acf-9b4f-4980-a538-f104821051c4', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'f5186dc6-c9dd-4620-9275-108af5140c88', 'mac_address': '02:d8:07:9a:cf:9b', '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.225.161.197', 'subnet_id': 'c4e97118-1910-4049-bccc-e6a56d171dc2'}], 'security_groups': ['170ea042-52fb-4fa6-a8a3-b0dd218633d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:24,374 - DEBUG - Response for create_port : {'port': {'name': '4e63f2c6-5032-4b06-a59a-fd8e3dd99cb3', 'id': '4e63f2c6-5032-4b06-a59a-fd8e3dd99cb3', 'tenant_id': '9d5592056f5242acb9a85321df9de282', 'network_id': 'f5186dc6-c9dd-4620-9275-108af5140c88', 'mac_address': '02:4e:63:f2:c6:50', '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.140.11.133', 'subnet_id': '5429be3d-1e93-496f-8920-e25b8b6b8e3c'}], 'security_groups': ['170ea042-52fb-4fa6-a8a3-b0dd218633d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9d5592056f5242acb9a85321df9de282'}}
2025-11-22 09:44:24,434 - DEBUG - Services list from nova: [, , ]
2025-11-22 09:44:24,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1)
2025-11-22 09:44:25,207 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4798-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4798-1)
2025-11-22 09:44:25,207 - INFO - Waiting for VM ctest-vn1-vm1-03717010 to be up..
2025-11-22 09:44:25,250 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-22 09:44:30,330 - DEBUG - VM is in ACTIVE state now
2025-11-22 09:44:30,330 - INFO - VM name : ctest-vn1-vm1-03717010
2025-11-22 09:44:30,406 - DEBUG - VM ctest-vn1-vm1-03717010 ID is fb23318e-0ea5-49e3-b8fc-419c3a3a433d
2025-11-22 09:44:30,427 - DEBUG - VM ctest-vn1-vm1-03717010 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1
2025-11-22 09:44:30,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/fb23318e-0ea5-49e3-b8fc-419c3a3a433d
2025-11-22 09:44:30,511 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/d8079acf-9b4f-4980-a538-f104821051c4
2025-11-22 09:44:33,753 - 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 1002ms')
2025-11-22 09:44:33,754 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03717010 failed!
2025-11-22 09:44:33,807 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04338613:ctest-vn1-22840219 is 1.225.161.193 and allocation pool is NOT set
2025-11-22 09:44:33,808 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04338613:ctest-vn1-22840219 is 219.140.11.129 and allocation pool is NOT set
2025-11-22 09:44:35,869 - 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=12.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.00 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.000/6.501/12.003/5.501 ms')
2025-11-22 09:44:35,869 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-03717010 passed
2025-11-22 09:44:36,023 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:36,024 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03717010, IP 1.225.161.197, Port 22
2025-11-22 09:44:36,089 - 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-22 09:44:36,169 - DEBUG - VM ctest-vn1-vm1-03717010 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-22 09:44:41,171 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:41,171 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-03717010, IP 1.225.161.197, Port 22
2025-11-22 09:44:41,328 - DEBUG - VM ctest-vn1-vm1-03717010 is ready for SSH connections
2025-11-22 09:44:41,328 - INFO - Waiting for VM ctest-vn1-vm2-17603344 to be up..
2025-11-22 09:44:41,403 - DEBUG - VM is in ACTIVE state now
2025-11-22 09:44:41,403 - INFO - VM name : ctest-vn1-vm2-17603344
2025-11-22 09:44:41,481 - DEBUG - VM ctest-vn1-vm2-17603344 ID is f35c1c41-dff2-4fac-b78f-978bf26ab055
2025-11-22 09:44:41,482 - DEBUG - VM ctest-vn1-vm2-17603344 launched on Node cn-jenkins-deploy-platform-ansible-os-4798-1
2025-11-22 09:44:41,564 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/f35c1c41-dff2-4fac-b78f-978bf26ab055
2025-11-22 09:44:41,573 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/4e63f2c6-5032-4b06-a59a-fd8e3dd99cb3
2025-11-22 09:44:42,806 - 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=3.04 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.545 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.545/1.791/3.037/1.246 ms')
2025-11-22 09:44:42,807 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17603344 passed
2025-11-22 09:44:42,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:42,960 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17603344, IP 219.140.11.133, Port 22
2025-11-22 09:44:43,115 - DEBUG - VM ctest-vn1-vm2-17603344 is ready for SSH connections
2025-11-22 09:44:43,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:43,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:43,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-22 09:44:43,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.225.161.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-11-22 09:44:43,116 - DEBUG - ping -s 56 -c 3 -W 1 1.225.161.197
2025-11-22 09:44:45,772 - DEBUG - PING 1.225.161.197 (1.225.161.197): 56 data bytes
64 bytes from 1.225.161.197: seq=0 ttl=63 time=3.432 ms
64 bytes from 1.225.161.197: seq=1 ttl=63 time=1.041 ms
64 bytes from 1.225.161.197: seq=2 ttl=63 time=1.260 ms
--- 1.225.161.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.041/1.911/3.432 ms
2025-11-22 09:44:45,773 - INFO - Ping to IP 1.225.161.197 from VM ctest-vn1-vm2-17603344 passed
2025-11-22 09:44:45,773 - INFO - Detaching port 4e63f2c6-5032-4b06-a59a-fd8e3dd99cb3 from VM ctest-vn1-vm2-17603344
2025-11-22 09:44:45,826 - INFO - Deleting VM ctest-vn1-vm2-17603344
2025-11-22 09:44:45,897 - INFO - Detaching port d8079acf-9b4f-4980-a538-f104821051c4 from VM ctest-vn1-vm1-03717010
2025-11-22 09:44:45,943 - INFO - Deleting VM ctest-vn1-vm1-03717010
2025-11-22 09:44:46,177 - DEBUG - Response for delete_port : ()
2025-11-22 09:44:46,322 - DEBUG - Response for delete_port : ()
2025-11-22 09:44:46,322 - INFO - Deleting VN ctest-vn1-22840219
2025-11-22 09:44:46,476 - DEBUG - Response for deleting network ()
2025-11-22 09:44:46,736 - DEBUG - No XMPP flaps were noticed during the test
2025-11-22 09:44:46,736 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-22 09:44:46,737 - INFO - --------------------------------------------------------------------------------
2025-11-22 09:44:47,452 - INFO - Deleted project: ctest-TestPorts-04338613, ID : 9d559205-6f52-42ac-b9a8-5321df9de282