2025-10-24 19:50:20,923 - INFO - Domain Default found not creating 2025-10-24 19:50:21,174 - INFO - Project ctest-TestPorts-03396260 not found, creating it 2025-10-24 19:50:21,885 - INFO - Created Project:ctest-TestPorts-03396260, ID : 9600627d-88c6-4907-a7cd-61aec9e6211e 2025-10-24 19:50:24,052 - INFO - ================================================================================ 2025-10-24 19:50:24,052 - INFO - STARTING TEST : test_ports_bindings 2025-10-24 19:50:24,052 - 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-10-24 19:50:24,381 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-24 19:50:24,381 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:50:24,381 - INFO - 2025-10-24 19:50:25,178 - DEBUG - Response for create_network : {'network': {'id': '5f9dae25-b71b-4530-bbf4-2fb9e0a2ac52', 'name': 'ctest-vn-53367125', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'project_id': '9600627d88c64907a7cd61aec9e6211e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03396260', 'ctest-vn-53367125'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:50:25,433 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aeb09afc-759b-4a81-a91f-a8fdffdb9b05', 'name': '', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': '5f9dae25-b71b-4530-bbf4-2fb9e0a2ac52', 'ip_version': 4, 'cidr': '107.217.93.0/26', 'allocation_pools': [{'start': '107.217.93.2', 'end': '107.217.93.62'}], 'gateway_ip': '107.217.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.217.93.2', 'tags': [], 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:25,465 - INFO - Created VN ctest-vn-53367125 2025-10-24 19:50:25,522 - DEBUG - VN ctest-vn-53367125 UUID is 5f9dae25-b71b-4530-bbf4-2fb9e0a2ac52 2025-10-24 19:50:25,652 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03396260', 'ctest-vmi-06292463']} 2025-10-24 19:50:26,026 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-06292463', 'id': 'b6e89b6d-da63-4081-831e-529d5a55a641', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': '5f9dae25-b71b-4530-bbf4-2fb9e0a2ac52', 'mac_address': '02:b6:e8:9b:6d:da', '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': '107.217.93.3', 'subnet_id': 'aeb09afc-759b-4a81-a91f-a8fdffdb9b05'}], 'security_groups': ['8dcea8fe-6c35-4aa9-8803-9dd8efa0e3b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:26,026 - DEBUG - Created port b6e89b6d-da63-4081-831e-529d5a55a641 2025-10-24 19:50:26,142 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b6e89b6d-da63-4081-831e-529d5a55a641 2025-10-24 19:50:26,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b6e89b6d-da63-4081-831e-529d5a55a641 2025-10-24 19:50:26,529 - INFO - VMI b6e89b6d-da63-4081-831e-529d5a55a641 verification in API Server passed 2025-10-24 19:50:26,711 - DEBUG - Response for delete_port : () 2025-10-24 19:50:26,711 - INFO - Deleted port b6e89b6d-da63-4081-831e-529d5a55a641 2025-10-24 19:50:26,711 - INFO - Deleting VN ctest-vn-53367125 2025-10-24 19:50:26,871 - DEBUG - Response for deleting network () 2025-10-24 19:50:27,173 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 19:50:27,173 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-24 19:50:27,174 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:50:27,181 - INFO - ================================================================================ 2025-10-24 19:50:27,181 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-24 19:50:27,182 - 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-10-24 19:50:27,508 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-24 19:50:27,509 - INFO - Initial checks done. Running the testcase now 2025-10-24 19:50:27,509 - INFO - 2025-10-24 19:50:27,796 - DEBUG - Response for create_network : {'network': {'id': 'f456170b-63c7-4c3f-af97-5d81bd34fa66', 'name': 'ctest-vn1-85335281', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'project_id': '9600627d88c64907a7cd61aec9e6211e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03396260', 'ctest-vn1-85335281'], 'port_security_enabled': True, 'description': ''}} 2025-10-24 19:50:27,969 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a30bf1f-628e-4d96-9299-768a01b70a62', 'name': '', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': 'f456170b-63c7-4c3f-af97-5d81bd34fa66', 'ip_version': 4, 'cidr': '218.135.156.192/26', 'allocation_pools': [{'start': '218.135.156.194', 'end': '218.135.156.254'}], 'gateway_ip': '218.135.156.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.135.156.194', 'tags': [], 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:28,147 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c1effb66-db98-4b85-86ed-1a737418765f', 'name': '', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': 'f456170b-63c7-4c3f-af97-5d81bd34fa66', 'ip_version': 4, 'cidr': '140.139.211.0/26', 'allocation_pools': [{'start': '140.139.211.2', 'end': '140.139.211.62'}], 'gateway_ip': '140.139.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.139.211.2', 'tags': [], 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:28,184 - INFO - Created VN ctest-vn1-85335281 2025-10-24 19:50:28,246 - DEBUG - VN ctest-vn1-85335281 UUID is f456170b-63c7-4c3f-af97-5d81bd34fa66 2025-10-24 19:50:28,739 - DEBUG - Response for create_port : {'port': {'name': 'b1981582-c21c-4a3c-9b02-380de1038153', 'id': 'b1981582-c21c-4a3c-9b02-380de1038153', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': 'f456170b-63c7-4c3f-af97-5d81bd34fa66', 'mac_address': '02:b1:98:15:82:c2', '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.135.156.197', 'subnet_id': '8a30bf1f-628e-4d96-9299-768a01b70a62'}], 'security_groups': ['8dcea8fe-6c35-4aa9-8803-9dd8efa0e3b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:28,979 - DEBUG - Response for create_port : {'port': {'name': '91bc9628-4a0b-4e2e-9a00-7b09a005436e', 'id': '91bc9628-4a0b-4e2e-9a00-7b09a005436e', 'tenant_id': '9600627d88c64907a7cd61aec9e6211e', 'network_id': 'f456170b-63c7-4c3f-af97-5d81bd34fa66', 'mac_address': '02:91:bc:96:28:4a', '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': '140.139.211.5', 'subnet_id': 'c1effb66-db98-4b85-86ed-1a737418765f'}], 'security_groups': ['8dcea8fe-6c35-4aa9-8803-9dd8efa0e3b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9600627d88c64907a7cd61aec9e6211e'}} 2025-10-24 19:50:29,033 - DEBUG - Services list from nova: [, , ] 2025-10-24 19:50:29,595 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4479-1) 2025-10-24 19:50:30,401 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4479-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4479-1) 2025-10-24 19:50:30,402 - INFO - Waiting for VM ctest-vn1-vm1-04812206 to be up.. 2025-10-24 19:50:30,475 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-24 19:50:35,666 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:50:35,667 - INFO - VM name : ctest-vn1-vm1-04812206 2025-10-24 19:50:35,833 - DEBUG - VM ctest-vn1-vm1-04812206 ID is d0df6abe-0513-4714-a66c-27980ab38785 2025-10-24 19:50:35,875 - DEBUG - VM ctest-vn1-vm1-04812206 launched on Node cn-jenkins-deploy-platform-ansible-os-4479-1 2025-10-24 19:50:36,051 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/d0df6abe-0513-4714-a66c-27980ab38785 2025-10-24 19:50:36,068 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b1981582-c21c-4a3c-9b02-380de1038153 2025-10-24 19:50:39,382 - 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 1007ms') 2025-10-24 19:50:39,382 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04812206 failed! 2025-10-24 19:50:39,450 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03396260:ctest-vn1-85335281 is 218.135.156.193 and allocation pool is NOT set 2025-10-24 19:50:39,450 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03396260:ctest-vn1-85335281 is 140.139.211.1 and allocation pool is NOT set 2025-10-24 19:50:43,545 - 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 1023ms') 2025-10-24 19:50:43,546 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04812206 failed! 2025-10-24 19:50:43,614 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03396260:ctest-vn1-85335281 is 218.135.156.193 and allocation pool is NOT set 2025-10-24 19:50:43,615 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03396260:ctest-vn1-85335281 is 140.139.211.1 and allocation pool is NOT set 2025-10-24 19:50:45,687 - 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.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.59 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 = 2.594/3.404/4.215/0.810 ms') 2025-10-24 19:50:45,687 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04812206 passed 2025-10-24 19:50:45,866 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:50:45,866 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04812206, IP 218.135.156.197, Port 22 2025-10-24 19:50:46,064 - DEBUG - VM ctest-vn1-vm1-04812206 is ready for SSH connections 2025-10-24 19:50:46,065 - INFO - Waiting for VM ctest-vn1-vm2-69567565 to be up.. 2025-10-24 19:50:46,250 - DEBUG - VM is in ACTIVE state now 2025-10-24 19:50:46,251 - INFO - VM name : ctest-vn1-vm2-69567565 2025-10-24 19:50:46,406 - DEBUG - VM ctest-vn1-vm2-69567565 ID is a09259df-4665-4d4f-bebf-3c25f3fb275e 2025-10-24 19:50:46,406 - DEBUG - VM ctest-vn1-vm2-69567565 launched on Node cn-jenkins-deploy-platform-ansible-os-4479-1 2025-10-24 19:50:46,577 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a09259df-4665-4d4f-bebf-3c25f3fb275e 2025-10-24 19:50:46,598 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/91bc9628-4a0b-4e2e-9a00-7b09a005436e 2025-10-24 19:50:47,933 - 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=5.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.589 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.589/2.902/5.216/2.313 ms') 2025-10-24 19:50:47,933 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-69567565 passed 2025-10-24 19:50:48,107 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:50:48,107 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-69567565, IP 140.139.211.5, Port 22 2025-10-24 19:50:48,308 - DEBUG - VM ctest-vn1-vm2-69567565 is ready for SSH connections 2025-10-24 19:50:48,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:50:48,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:50:48,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-24 19:50:48,309 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 218.135.156.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-24 19:50:48,309 - DEBUG - ping -s 56 -c 3 -W 1 218.135.156.197 2025-10-24 19:50:51,534 - DEBUG - PING 218.135.156.197 (218.135.156.197): 56 data bytes 64 bytes from 218.135.156.197: seq=0 ttl=63 time=11.726 ms 64 bytes from 218.135.156.197: seq=1 ttl=63 time=1.801 ms 64 bytes from 218.135.156.197: seq=2 ttl=63 time=1.456 ms --- 218.135.156.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.456/4.994/11.726 ms 2025-10-24 19:50:51,534 - INFO - Ping to IP 218.135.156.197 from VM ctest-vn1-vm2-69567565 passed 2025-10-24 19:50:51,534 - INFO - Detaching port 91bc9628-4a0b-4e2e-9a00-7b09a005436e from VM ctest-vn1-vm2-69567565 2025-10-24 19:50:51,600 - INFO - Deleting VM ctest-vn1-vm2-69567565 2025-10-24 19:50:51,698 - INFO - Detaching port b1981582-c21c-4a3c-9b02-380de1038153 from VM ctest-vn1-vm1-04812206 2025-10-24 19:50:51,746 - INFO - Deleting VM ctest-vn1-vm1-04812206 2025-10-24 19:50:52,000 - DEBUG - Response for delete_port : () 2025-10-24 19:50:52,160 - DEBUG - Response for delete_port : () 2025-10-24 19:50:52,160 - INFO - Deleting VN ctest-vn1-85335281 2025-10-24 19:50:52,280 - DEBUG - Response for deleting network () 2025-10-24 19:50:52,561 - DEBUG - No XMPP flaps were noticed during the test
2025-10-24 19:50:52,561 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-10-24 19:50:52,562 - INFO - -------------------------------------------------------------------------------- 2025-10-24 19:50:53,253 - INFO - Deleted project: ctest-TestPorts-03396260, ID : 9600627d-88c6-4907-a7cd-61aec9e6211e