2025-10-31 22:15:59,435 - INFO - Domain Default found not creating 2025-10-31 22:15:59,585 - INFO - Project ctest-TestPorts-30681853 not found, creating it 2025-10-31 22:16:00,029 - INFO - Created Project:ctest-TestPorts-30681853, ID : 367e1825-e64e-41bf-b5df-4928cf7c82f9 2025-10-31 22:16:01,422 - INFO - ================================================================================ 2025-10-31 22:16:01,422 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 22:16:01,422 - 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-31 22:16:01,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 22:16:01,674 - INFO - Initial checks done. Running the testcase now 2025-10-31 22:16:01,674 - INFO - 2025-10-31 22:16:02,229 - DEBUG - Response for create_network : {'network': {'id': '0c5a3104-0bbe-4cdf-8bb0-ff7d206f33d0', 'name': 'ctest-vn-23362733', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'project_id': '367e1825e64e41bfb5df4928cf7c82f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30681853', 'ctest-vn-23362733'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:16:02,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c46e564d-7cc6-4a6c-a2e4-8fabacb6969a', 'name': '', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': '0c5a3104-0bbe-4cdf-8bb0-ff7d206f33d0', 'ip_version': 4, 'cidr': '139.168.156.64/26', 'allocation_pools': [{'start': '139.168.156.66', 'end': '139.168.156.126'}], 'gateway_ip': '139.168.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.168.156.66', 'tags': [], 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:02,435 - INFO - Created VN ctest-vn-23362733 2025-10-31 22:16:02,485 - DEBUG - VN ctest-vn-23362733 UUID is 0c5a3104-0bbe-4cdf-8bb0-ff7d206f33d0 2025-10-31 22:16:02,586 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30681853', 'ctest-vmi-57724588']} 2025-10-31 22:16:02,870 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-57724588', 'id': 'd9676850-1de5-41d1-84a0-177de749ef03', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': '0c5a3104-0bbe-4cdf-8bb0-ff7d206f33d0', 'mac_address': '02:d9:67:68:50:1d', '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': '139.168.156.67', 'subnet_id': 'c46e564d-7cc6-4a6c-a2e4-8fabacb6969a'}], 'security_groups': ['43361b6b-8a58-4229-af1d-f4a188d40e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:02,871 - DEBUG - Created port d9676850-1de5-41d1-84a0-177de749ef03 2025-10-31 22:16:02,973 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d9676850-1de5-41d1-84a0-177de749ef03 2025-10-31 22:16:03,265 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d9676850-1de5-41d1-84a0-177de749ef03 2025-10-31 22:16:03,295 - INFO - VMI d9676850-1de5-41d1-84a0-177de749ef03 verification in API Server passed 2025-10-31 22:16:03,375 - DEBUG - Response for delete_port : () 2025-10-31 22:16:03,375 - INFO - Deleted port d9676850-1de5-41d1-84a0-177de749ef03 2025-10-31 22:16:03,375 - INFO - Deleting VN ctest-vn-23362733 2025-10-31 22:16:03,480 - DEBUG - Response for deleting network () 2025-10-31 22:16:03,745 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 22:16:03,745 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-31 22:16:03,745 - INFO - -------------------------------------------------------------------------------- 2025-10-31 22:16:03,749 - INFO - ================================================================================ 2025-10-31 22:16:03,749 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 22:16:03,749 - 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-31 22:16:04,030 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-10-31 22:16:04,030 - INFO - Initial checks done. Running the testcase now 2025-10-31 22:16:04,030 - INFO - 2025-10-31 22:16:04,198 - DEBUG - Response for create_network : {'network': {'id': 'b083bfe5-d6b1-45b5-a219-780f38b7caa5', 'name': 'ctest-vn1-35784789', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'project_id': '367e1825e64e41bfb5df4928cf7c82f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30681853', 'ctest-vn1-35784789'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 22:16:04,399 - DEBUG - Response for create_subnet : {'subnet': {'id': '4fff9ab4-8e6b-46d3-9639-823cdd38155e', 'name': '', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': 'b083bfe5-d6b1-45b5-a219-780f38b7caa5', 'ip_version': 4, 'cidr': '176.205.21.128/26', 'allocation_pools': [{'start': '176.205.21.130', 'end': '176.205.21.190'}], 'gateway_ip': '176.205.21.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.205.21.130', 'tags': [], 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:04,561 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e77e4e6-41b2-4996-bf1e-f207380a11e5', 'name': '', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': 'b083bfe5-d6b1-45b5-a219-780f38b7caa5', 'ip_version': 4, 'cidr': '208.219.100.192/26', 'allocation_pools': [{'start': '208.219.100.194', 'end': '208.219.100.254'}], 'gateway_ip': '208.219.100.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.219.100.194', 'tags': [], 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:04,578 - INFO - Created VN ctest-vn1-35784789 2025-10-31 22:16:04,629 - DEBUG - VN ctest-vn1-35784789 UUID is b083bfe5-d6b1-45b5-a219-780f38b7caa5 2025-10-31 22:16:04,933 - DEBUG - Response for create_port : {'port': {'name': 'ff2c1040-87a4-4a41-80e4-adb430230a4d', 'id': 'ff2c1040-87a4-4a41-80e4-adb430230a4d', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': 'b083bfe5-d6b1-45b5-a219-780f38b7caa5', 'mac_address': '02:ff:2c:10:40:87', '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': '176.205.21.133', 'subnet_id': '4fff9ab4-8e6b-46d3-9639-823cdd38155e'}], 'security_groups': ['43361b6b-8a58-4229-af1d-f4a188d40e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:05,103 - DEBUG - Response for create_port : {'port': {'name': '52c23546-4749-427e-abc5-7fb9f2a0e1fb', 'id': '52c23546-4749-427e-abc5-7fb9f2a0e1fb', 'tenant_id': '367e1825e64e41bfb5df4928cf7c82f9', 'network_id': 'b083bfe5-d6b1-45b5-a219-780f38b7caa5', 'mac_address': '02:52:c2:35:46:47', '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': '208.219.100.197', 'subnet_id': '3e77e4e6-41b2-4996-bf1e-f207380a11e5'}], 'security_groups': ['43361b6b-8a58-4229-af1d-f4a188d40e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '367e1825e64e41bfb5df4928cf7c82f9'}} 2025-10-31 22:16:05,157 - DEBUG - Services list from nova: [, , ] 2025-10-31 22:16:05,477 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4582-1) 2025-10-31 22:16:05,843 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4582-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4582-1) 2025-10-31 22:16:05,844 - INFO - Waiting for VM ctest-vn1-vm1-37069953 to be up.. 2025-10-31 22:16:05,881 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 22:16:10,964 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:16:10,964 - INFO - VM name : ctest-vn1-vm1-37069953 2025-10-31 22:16:11,044 - DEBUG - VM ctest-vn1-vm1-37069953 ID is c0c41113-6d20-4155-8792-f02483b2faf7 2025-10-31 22:16:11,070 - DEBUG - VM ctest-vn1-vm1-37069953 launched on Node cn-jenkins-deploy-platform-ansible-os-4582-1 2025-10-31 22:16:11,151 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c0c41113-6d20-4155-8792-f02483b2faf7 2025-10-31 22:16:11,158 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/ff2c1040-87a4-4a41-80e4-adb430230a4d 2025-10-31 22:16:14,413 - 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 1012ms') 2025-10-31 22:16:14,413 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37069953 failed! 2025-10-31 22:16:14,465 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30681853:ctest-vn1-35784789 is 176.205.21.129 and allocation pool is NOT set 2025-10-31 22:16:14,465 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30681853:ctest-vn1-35784789 is 208.219.100.193 and allocation pool is NOT set 2025-10-31 22:16:16,534 - 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.72 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.58 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 = 2.584/3.151/3.718/0.567 ms') 2025-10-31 22:16:16,534 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37069953 passed 2025-10-31 22:16:16,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:16:16,681 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37069953, IP 176.205.21.133, Port 22 2025-10-31 22:16:16,847 - DEBUG - VM ctest-vn1-vm1-37069953 is ready for SSH connections 2025-10-31 22:16:16,847 - INFO - Waiting for VM ctest-vn1-vm2-05742668 to be up.. 2025-10-31 22:16:16,922 - DEBUG - VM is in ACTIVE state now 2025-10-31 22:16:16,923 - INFO - VM name : ctest-vn1-vm2-05742668 2025-10-31 22:16:16,991 - DEBUG - VM ctest-vn1-vm2-05742668 ID is 6e2f9f00-f2b1-4a40-940c-a8aedfe55bce 2025-10-31 22:16:16,991 - DEBUG - VM ctest-vn1-vm2-05742668 launched on Node cn-jenkins-deploy-platform-ansible-os-4582-1 2025-10-31 22:16:17,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6e2f9f00-f2b1-4a40-940c-a8aedfe55bce 2025-10-31 22:16:17,066 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/52c23546-4749-427e-abc5-7fb9f2a0e1fb 2025-10-31 22:16:18,295 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.507 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.507/1.684/2.862/1.177 ms') 2025-10-31 22:16:18,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05742668 passed 2025-10-31 22:16:18,449 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:16:18,449 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05742668, IP 208.219.100.197, Port 22 2025-10-31 22:16:18,604 - DEBUG - VM ctest-vn1-vm2-05742668 is ready for SSH connections 2025-10-31 22:16:18,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:16:18,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:16:18,604 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 22:16:18,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.205.21.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-10-31 22:16:18,605 - DEBUG - ping -s 56 -c 3 -W 1 176.205.21.133 2025-10-31 22:16:21,252 - DEBUG - PING 176.205.21.133 (176.205.21.133): 56 data bytes 64 bytes from 176.205.21.133: seq=0 ttl=63 time=3.815 ms 64 bytes from 176.205.21.133: seq=1 ttl=63 time=0.931 ms 64 bytes from 176.205.21.133: seq=2 ttl=63 time=1.140 ms --- 176.205.21.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.931/1.962/3.815 ms 2025-10-31 22:16:21,252 - INFO - Ping to IP 176.205.21.133 from VM ctest-vn1-vm2-05742668 passed 2025-10-31 22:16:21,252 - INFO - Detaching port 52c23546-4749-427e-abc5-7fb9f2a0e1fb from VM ctest-vn1-vm2-05742668 2025-10-31 22:16:21,301 - INFO - Deleting VM ctest-vn1-vm2-05742668 2025-10-31 22:16:21,362 - INFO - Detaching port ff2c1040-87a4-4a41-80e4-adb430230a4d from VM ctest-vn1-vm1-37069953 2025-10-31 22:16:21,391 - INFO - Deleting VM ctest-vn1-vm1-37069953 2025-10-31 22:16:21,612 - DEBUG - Response for delete_port : () 2025-10-31 22:16:21,748 - DEBUG - Response for delete_port : () 2025-10-31 22:16:21,748 - INFO - Deleting VN ctest-vn1-35784789 2025-10-31 22:16:21,850 - DEBUG - Response for deleting network () 2025-10-31 22:16:22,109 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 22:16:22,109 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-31 22:16:22,109 - INFO - -------------------------------------------------------------------------------- 2025-10-31 22:16:22,754 - INFO - Deleted project: ctest-TestPorts-30681853, ID : 367e1825-e64e-41bf-b5df-4928cf7c82f9