2025-08-28 21:25:10,696 - INFO - Domain Default found not creating 2025-08-28 21:25:10,812 - INFO - Project ctest-TestPorts-77723201 not found, creating it 2025-08-28 21:25:11,217 - INFO - Created Project:ctest-TestPorts-77723201, ID : 8c445e5d-7bd6-4fdf-988b-d9c5b5a9e9b3 2025-08-28 21:25:12,540 - INFO - ================================================================================ 2025-08-28 21:25:12,540 - INFO - STARTING TEST : test_ports_bindings 2025-08-28 21:25:12,540 - 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-28 21:25:12,804 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-08-28 21:25:12,804 - INFO - Initial checks done. Running the testcase now 2025-08-28 21:25:12,804 - INFO - 2025-08-28 21:25:13,439 - DEBUG - Response for create_network : {'network': {'id': '5d67b85c-26fa-4ef4-8294-afcda21f31bb', 'name': 'ctest-vn-13389191', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77723201', 'ctest-vn-13389191'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:25:13,626 - DEBUG - Response for create_subnet : {'subnet': {'id': '040cbe2c-f8fa-4048-b89c-e85dde8f4e65', 'name': '', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '5d67b85c-26fa-4ef4-8294-afcda21f31bb', 'ip_version': 4, 'cidr': '62.234.233.192/26', 'allocation_pools': [{'start': '62.234.233.194', 'end': '62.234.233.254'}], 'gateway_ip': '62.234.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.234.233.194', 'tags': [], 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:13,646 - INFO - Created VN ctest-vn-13389191 2025-08-28 21:25:13,699 - DEBUG - VN ctest-vn-13389191 UUID is 5d67b85c-26fa-4ef4-8294-afcda21f31bb 2025-08-28 21:25:13,805 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-77723201', 'ctest-vmi-17573812']} 2025-08-28 21:25:14,072 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-17573812', 'id': '632929a8-cf52-4b07-98c9-17cf3e41f4ad', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '5d67b85c-26fa-4ef4-8294-afcda21f31bb', 'mac_address': '02:63:29:29:a8:cf', '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': '62.234.233.195', 'subnet_id': '040cbe2c-f8fa-4048-b89c-e85dde8f4e65'}], 'security_groups': ['d977f538-716f-46b1-a84e-30da9175fb2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:14,072 - DEBUG - Created port 632929a8-cf52-4b07-98c9-17cf3e41f4ad 2025-08-28 21:25:14,175 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/632929a8-cf52-4b07-98c9-17cf3e41f4ad 2025-08-28 21:25:14,461 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/632929a8-cf52-4b07-98c9-17cf3e41f4ad 2025-08-28 21:25:14,486 - INFO - VMI 632929a8-cf52-4b07-98c9-17cf3e41f4ad verification in API Server passed 2025-08-28 21:25:14,553 - DEBUG - Response for delete_port : () 2025-08-28 21:25:14,553 - INFO - Deleted port 632929a8-cf52-4b07-98c9-17cf3e41f4ad 2025-08-28 21:25:14,554 - INFO - Deleting VN ctest-vn-13389191 2025-08-28 21:25:14,644 - DEBUG - Response for deleting network () 2025-08-28 21:25:14,899 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 21:25:14,899 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-28 21:25:14,899 - INFO - -------------------------------------------------------------------------------- 2025-08-28 21:25:14,901 - INFO - ================================================================================ 2025-08-28 21:25:14,902 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-28 21:25:14,902 - 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-28 21:25:15,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-08-28 21:25:15,191 - INFO - Initial checks done. Running the testcase now 2025-08-28 21:25:15,191 - INFO - 2025-08-28 21:25:15,345 - DEBUG - Response for create_network : {'network': {'id': '06ea6546-6865-456c-a74f-afaab6c29a1a', 'name': 'ctest-vn1-23698399', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-77723201', 'ctest-vn1-23698399'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:25:15,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '84c5eeae-7076-4bf2-910b-014081164de2', 'name': '', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '06ea6546-6865-456c-a74f-afaab6c29a1a', 'ip_version': 4, 'cidr': '195.124.140.192/26', 'allocation_pools': [{'start': '195.124.140.194', 'end': '195.124.140.254'}], 'gateway_ip': '195.124.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.124.140.194', 'tags': [], 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:15,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fa59cb1-3048-438d-b954-2d609a97e9a6', 'name': '', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '06ea6546-6865-456c-a74f-afaab6c29a1a', 'ip_version': 4, 'cidr': '83.73.52.64/26', 'allocation_pools': [{'start': '83.73.52.66', 'end': '83.73.52.126'}], 'gateway_ip': '83.73.52.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '83.73.52.66', 'tags': [], 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:15,643 - INFO - Created VN ctest-vn1-23698399 2025-08-28 21:25:15,699 - DEBUG - VN ctest-vn1-23698399 UUID is 06ea6546-6865-456c-a74f-afaab6c29a1a 2025-08-28 21:25:15,965 - DEBUG - Response for create_port : {'port': {'name': 'f5e2b17e-eb5b-4544-8db9-802ffd6fe1dd', 'id': 'f5e2b17e-eb5b-4544-8db9-802ffd6fe1dd', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '06ea6546-6865-456c-a74f-afaab6c29a1a', 'mac_address': '02:f5:e2:b1:7e:eb', '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': '195.124.140.197', 'subnet_id': '84c5eeae-7076-4bf2-910b-014081164de2'}], 'security_groups': ['d977f538-716f-46b1-a84e-30da9175fb2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:16,129 - DEBUG - Response for create_port : {'port': {'name': 'a16ebb57-08f8-4cd5-9a05-985243c7c922', 'id': 'a16ebb57-08f8-4cd5-9a05-985243c7c922', 'tenant_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3', 'network_id': '06ea6546-6865-456c-a74f-afaab6c29a1a', 'mac_address': '02:a1:6e:bb:57: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': '83.73.52.69', 'subnet_id': '1fa59cb1-3048-438d-b954-2d609a97e9a6'}], 'security_groups': ['d977f538-716f-46b1-a84e-30da9175fb2f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8c445e5d7bd64fdf988bd9c5b5a9e9b3'}} 2025-08-28 21:25:16,179 - DEBUG - Services list from nova: [, , ] 2025-08-28 21:25:16,449 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:25:16,758 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:25:16,759 - INFO - Waiting for VM ctest-vn1-vm1-09721926 to be up.. 2025-08-28 21:25:16,790 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 21:25:21,851 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:25:21,851 - INFO - VM name : ctest-vn1-vm1-09721926 2025-08-28 21:25:21,910 - DEBUG - VM ctest-vn1-vm1-09721926 ID is 05132c50-3fdc-4cac-95e2-798a57741dd6 2025-08-28 21:25:21,925 - DEBUG - VM ctest-vn1-vm1-09721926 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:25:21,983 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/05132c50-3fdc-4cac-95e2-798a57741dd6 2025-08-28 21:25:21,989 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/f5e2b17e-eb5b-4544-8db9-802ffd6fe1dd 2025-08-28 21:25:25,229 - 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 1004ms') 2025-08-28 21:25:25,230 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09721926 failed! 2025-08-28 21:25:25,283 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77723201:ctest-vn1-23698399 is 195.124.140.193 and allocation pool is NOT set 2025-08-28 21:25:25,283 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-77723201:ctest-vn1-23698399 is 83.73.52.65 and allocation pool is NOT set 2025-08-28 21:25:27,353 - 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.48 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.285 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.285/1.882/3.480/1.597 ms') 2025-08-28 21:25:27,353 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09721926 passed 2025-08-28 21:25:27,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:27,495 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09721926, IP 195.124.140.197, Port 22 2025-08-28 21:25:27,646 - DEBUG - VM ctest-vn1-vm1-09721926 is ready for SSH connections 2025-08-28 21:25:27,646 - INFO - Waiting for VM ctest-vn1-vm2-87004295 to be up.. 2025-08-28 21:25:27,815 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:25:27,815 - INFO - VM name : ctest-vn1-vm2-87004295 2025-08-28 21:25:27,874 - DEBUG - VM ctest-vn1-vm2-87004295 ID is 06eae9f7-1a0c-40c6-9455-53ca1f330382 2025-08-28 21:25:27,874 - DEBUG - VM ctest-vn1-vm2-87004295 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:25:27,937 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/06eae9f7-1a0c-40c6-9455-53ca1f330382 2025-08-28 21:25:27,944 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/a16ebb57-08f8-4cd5-9a05-985243c7c922 2025-08-28 21:25:29,176 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.820 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.820/2.774/4.728/1.954 ms') 2025-08-28 21:25:29,176 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-87004295 passed 2025-08-28 21:25:29,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:29,323 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87004295, IP 83.73.52.69, Port 22 2025-08-28 21:25:29,478 - DEBUG - VM ctest-vn1-vm2-87004295 is ready for SSH connections 2025-08-28 21:25:29,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:29,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:29,478 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:29,478 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 195.124.140.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:25:29,478 - DEBUG - ping -s 56 -c 3 -W 1 195.124.140.197 2025-08-28 21:25:32,381 - DEBUG - PING 195.124.140.197 (195.124.140.197): 56 data bytes 64 bytes from 195.124.140.197: seq=0 ttl=63 time=4.173 ms 64 bytes from 195.124.140.197: seq=1 ttl=63 time=0.754 ms 64 bytes from 195.124.140.197: seq=2 ttl=63 time=0.777 ms --- 195.124.140.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.754/1.901/4.173 ms 2025-08-28 21:25:32,381 - INFO - Ping to IP 195.124.140.197 from VM ctest-vn1-vm2-87004295 passed 2025-08-28 21:25:32,382 - INFO - Detaching port a16ebb57-08f8-4cd5-9a05-985243c7c922 from VM ctest-vn1-vm2-87004295 2025-08-28 21:25:32,424 - INFO - Deleting VM ctest-vn1-vm2-87004295 2025-08-28 21:25:32,481 - INFO - Detaching port f5e2b17e-eb5b-4544-8db9-802ffd6fe1dd from VM ctest-vn1-vm1-09721926 2025-08-28 21:25:32,510 - INFO - Deleting VM ctest-vn1-vm1-09721926 2025-08-28 21:25:32,708 - DEBUG - Response for delete_port : () 2025-08-28 21:25:32,874 - DEBUG - Response for delete_port : () 2025-08-28 21:25:32,874 - INFO - Deleting VN ctest-vn1-23698399 2025-08-28 21:25:33,016 - DEBUG - Response for deleting network () 2025-08-28 21:25:33,274 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 21:25:33,274 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-28 21:25:33,275 - INFO - -------------------------------------------------------------------------------- 2025-08-28 21:25:33,935 - INFO - Deleted project: ctest-TestPorts-77723201, ID : 8c445e5d-7bd6-4fdf-988b-d9c5b5a9e9b3