2025-11-04 17:07:26,898 - INFO - Domain Default found not creating 2025-11-04 17:07:27,032 - INFO - Project ctest-TestPorts-11712678 not found, creating it 2025-11-04 17:07:27,505 - INFO - Created Project:ctest-TestPorts-11712678, ID : 5ee51fba-406e-4428-a507-ae2ab742744c 2025-11-04 17:07:28,943 - INFO - ================================================================================ 2025-11-04 17:07:28,943 - INFO - STARTING TEST : test_ports_bindings 2025-11-04 17:07:28,943 - 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-04 17:07:29,199 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-04 17:07:29,199 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:07:29,199 - INFO - 2025-11-04 17:07:29,752 - DEBUG - Response for create_network : {'network': {'id': '050e681c-fbc9-4597-a34f-04946befcac4', 'name': 'ctest-vn-94068505', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'project_id': '5ee51fba406e4428a507ae2ab742744c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11712678', 'ctest-vn-94068505'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:07:29,907 - DEBUG - Response for create_subnet : {'subnet': {'id': '09c0b412-30e0-4241-8b96-0978c66b81d1', 'name': '', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '050e681c-fbc9-4597-a34f-04946befcac4', 'ip_version': 4, 'cidr': '60.158.195.0/26', 'allocation_pools': [{'start': '60.158.195.2', 'end': '60.158.195.62'}], 'gateway_ip': '60.158.195.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.158.195.2', 'tags': [], 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:29,922 - INFO - Created VN ctest-vn-94068505 2025-11-04 17:07:29,973 - DEBUG - VN ctest-vn-94068505 UUID is 050e681c-fbc9-4597-a34f-04946befcac4 2025-11-04 17:07:30,074 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-11712678', 'ctest-vmi-51167488']} 2025-11-04 17:07:30,370 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51167488', 'id': '0dc40001-0383-4508-8ca5-f8064fb6644d', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '050e681c-fbc9-4597-a34f-04946befcac4', 'mac_address': '02:0d:c4:00:01:03', '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': '60.158.195.3', 'subnet_id': '09c0b412-30e0-4241-8b96-0978c66b81d1'}], 'security_groups': ['5ff022c0-3444-4e74-97b2-f61e6e7a4ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:30,371 - DEBUG - Created port 0dc40001-0383-4508-8ca5-f8064fb6644d 2025-11-04 17:07:30,473 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0dc40001-0383-4508-8ca5-f8064fb6644d 2025-11-04 17:07:30,803 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/0dc40001-0383-4508-8ca5-f8064fb6644d 2025-11-04 17:07:30,831 - INFO - VMI 0dc40001-0383-4508-8ca5-f8064fb6644d verification in API Server passed 2025-11-04 17:07:30,905 - DEBUG - Response for delete_port : () 2025-11-04 17:07:30,905 - INFO - Deleted port 0dc40001-0383-4508-8ca5-f8064fb6644d 2025-11-04 17:07:30,905 - INFO - Deleting VN ctest-vn-94068505 2025-11-04 17:07:30,996 - DEBUG - Response for deleting network () 2025-11-04 17:07:31,250 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 17:07:31,250 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-04 17:07:31,250 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:07:31,252 - INFO - ================================================================================ 2025-11-04 17:07:31,252 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-04 17:07:31,252 - 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-04 17:07:31,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-11-04 17:07:31,539 - INFO - Initial checks done. Running the testcase now 2025-11-04 17:07:31,539 - INFO - 2025-11-04 17:07:31,714 - DEBUG - Response for create_network : {'network': {'id': '9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488', 'name': 'ctest-vn1-30302296', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'project_id': '5ee51fba406e4428a507ae2ab742744c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-11712678', 'ctest-vn1-30302296'], 'port_security_enabled': True, 'description': ''}} 2025-11-04 17:07:31,880 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0449d7e-cfdc-4b4b-a3c5-ba5ed028cf27', 'name': '', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488', 'ip_version': 4, 'cidr': '78.2.105.0/26', 'allocation_pools': [{'start': '78.2.105.2', 'end': '78.2.105.62'}], 'gateway_ip': '78.2.105.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.2.105.2', 'tags': [], 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:32,060 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bfd3341d-b265-4020-bd8b-52c308087cb1', 'name': '', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488', 'ip_version': 4, 'cidr': '172.39.104.128/26', 'allocation_pools': [{'start': '172.39.104.130', 'end': '172.39.104.190'}], 'gateway_ip': '172.39.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.39.104.130', 'tags': [], 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:32,077 - INFO - Created VN ctest-vn1-30302296 2025-11-04 17:07:32,129 - DEBUG - VN ctest-vn1-30302296 UUID is 9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488 2025-11-04 17:07:32,409 - DEBUG - Response for create_port : {'port': {'name': 'fecc7b9f-3c6d-4098-9c3c-35610767b04e', 'id': 'fecc7b9f-3c6d-4098-9c3c-35610767b04e', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488', 'mac_address': '02:fe:cc:7b:9f:3c', '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': '78.2.105.5', 'subnet_id': 'c0449d7e-cfdc-4b4b-a3c5-ba5ed028cf27'}], 'security_groups': ['5ff022c0-3444-4e74-97b2-f61e6e7a4ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:32,566 - DEBUG - Response for create_port : {'port': {'name': 'b696617f-1fd8-4969-8620-56c234128bdf', 'id': 'b696617f-1fd8-4969-8620-56c234128bdf', 'tenant_id': '5ee51fba406e4428a507ae2ab742744c', 'network_id': '9a2db2c5-a9bd-41e8-8a0d-5be0fb35e488', 'mac_address': '02:b6:96:61:7f:1f', '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': '172.39.104.133', 'subnet_id': 'bfd3341d-b265-4020-bd8b-52c308087cb1'}], 'security_groups': ['5ff022c0-3444-4e74-97b2-f61e6e7a4ea1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5ee51fba406e4428a507ae2ab742744c'}} 2025-11-04 17:07:32,617 - DEBUG - Services list from nova: [, , ] 2025-11-04 17:07:32,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4619-1) 2025-11-04 17:07:33,270 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4619-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4619-1) 2025-11-04 17:07:33,271 - INFO - Waiting for VM ctest-vn1-vm1-39911678 to be up.. 2025-11-04 17:07:33,310 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-04 17:07:38,379 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:07:38,379 - INFO - VM name : ctest-vn1-vm1-39911678 2025-11-04 17:07:38,444 - DEBUG - VM ctest-vn1-vm1-39911678 ID is e9bc0235-4de9-40a1-87b1-cd791e584b02 2025-11-04 17:07:38,460 - DEBUG - VM ctest-vn1-vm1-39911678 launched on Node cn-jenkins-deploy-platform-ansible-os-4619-1 2025-11-04 17:07:38,524 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e9bc0235-4de9-40a1-87b1-cd791e584b02 2025-11-04 17:07:38,531 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/fecc7b9f-3c6d-4098-9c3c-35610767b04e 2025-11-04 17:07:41,789 - 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 1031ms') 2025-11-04 17:07:41,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39911678 failed! 2025-11-04 17:07:41,841 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11712678:ctest-vn1-30302296 is 78.2.105.1 and allocation pool is NOT set 2025-11-04 17:07:41,841 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-11712678:ctest-vn1-30302296 is 172.39.104.129 and allocation pool is NOT set 2025-11-04 17:07:43,907 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.470 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.470/1.624/2.779/1.154 ms') 2025-11-04 17:07:43,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39911678 passed 2025-11-04 17:07:44,061 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:07:44,062 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39911678, IP 78.2.105.5, Port 22 2025-11-04 17:07:44,217 - DEBUG - VM ctest-vn1-vm1-39911678 is ready for SSH connections 2025-11-04 17:07:44,217 - INFO - Waiting for VM ctest-vn1-vm2-11013515 to be up.. 2025-11-04 17:07:44,305 - DEBUG - VM is in ACTIVE state now 2025-11-04 17:07:44,305 - INFO - VM name : ctest-vn1-vm2-11013515 2025-11-04 17:07:44,371 - DEBUG - VM ctest-vn1-vm2-11013515 ID is 9bbb4e83-77ca-421a-840d-99071d21ba54 2025-11-04 17:07:44,371 - DEBUG - VM ctest-vn1-vm2-11013515 launched on Node cn-jenkins-deploy-platform-ansible-os-4619-1 2025-11-04 17:07:44,436 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9bbb4e83-77ca-421a-840d-99071d21ba54 2025-11-04 17:07:44,445 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/b696617f-1fd8-4969-8620-56c234128bdf 2025-11-04 17:07:45,685 - 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.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.394 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.394/1.633/2.872/1.239 ms') 2025-11-04 17:07:45,686 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11013515 passed 2025-11-04 17:07:45,841 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:07:45,842 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11013515, IP 172.39.104.133, Port 22 2025-11-04 17:07:45,997 - DEBUG - VM ctest-vn1-vm2-11013515 is ready for SSH connections 2025-11-04 17:07:45,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:07:45,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:07:45,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-04 17:07:45,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.2.105.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-04 17:07:45,998 - DEBUG - ping -s 56 -c 3 -W 1 78.2.105.5 2025-11-04 17:07:48,579 - DEBUG - PING 78.2.105.5 (78.2.105.5): 56 data bytes 64 bytes from 78.2.105.5: seq=0 ttl=63 time=3.740 ms 64 bytes from 78.2.105.5: seq=1 ttl=63 time=1.111 ms 64 bytes from 78.2.105.5: seq=2 ttl=63 time=0.923 ms --- 78.2.105.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.923/1.924/3.740 ms 2025-11-04 17:07:48,579 - INFO - Ping to IP 78.2.105.5 from VM ctest-vn1-vm2-11013515 passed 2025-11-04 17:07:48,579 - INFO - Detaching port b696617f-1fd8-4969-8620-56c234128bdf from VM ctest-vn1-vm2-11013515 2025-11-04 17:07:48,626 - INFO - Deleting VM ctest-vn1-vm2-11013515 2025-11-04 17:07:48,692 - INFO - Detaching port fecc7b9f-3c6d-4098-9c3c-35610767b04e from VM ctest-vn1-vm1-39911678 2025-11-04 17:07:48,726 - INFO - Deleting VM ctest-vn1-vm1-39911678 2025-11-04 17:07:48,955 - DEBUG - Response for delete_port : () 2025-11-04 17:07:49,102 - DEBUG - Response for delete_port : () 2025-11-04 17:07:49,102 - INFO - Deleting VN ctest-vn1-30302296 2025-11-04 17:07:49,214 - DEBUG - Response for deleting network () 2025-11-04 17:07:49,467 - DEBUG - No XMPP flaps were noticed during the test
2025-11-04 17:07:49,467 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-11-04 17:07:49,467 - INFO - -------------------------------------------------------------------------------- 2025-11-04 17:07:50,152 - INFO - Deleted project: ctest-TestPorts-11712678, ID : 5ee51fba-406e-4428-a507-ae2ab742744c