2025-08-22 16:31:48,869 - INFO - Domain Default found not creating 2025-08-22 16:31:49,000 - INFO - Project ctest-TestPorts-47872305 not found, creating it 2025-08-22 16:31:49,480 - INFO - Created Project:ctest-TestPorts-47872305, ID : d1a07d2f-3050-42b6-8b6a-6395a8463c6e 2025-08-22 16:31:50,862 - INFO - ================================================================================ 2025-08-22 16:31:50,863 - INFO - STARTING TEST : test_ports_bindings 2025-08-22 16:31:50,863 - 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-22 16:31:51,122 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 16:31:51,122 - INFO - Initial checks done. Running the testcase now 2025-08-22 16:31:51,122 - INFO - 2025-08-22 16:31:51,673 - DEBUG - Response for create_network : {'network': {'id': '506f882e-0249-4300-9b38-c53b73f0fd30', 'name': 'ctest-vn-03441234', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47872305', 'ctest-vn-03441234'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:31:51,878 - DEBUG - Response for create_subnet : {'subnet': {'id': '1461cdf6-21df-4a0e-a83e-aae442b7eac8', 'name': '', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': '506f882e-0249-4300-9b38-c53b73f0fd30', 'ip_version': 4, 'cidr': '184.253.238.192/26', 'allocation_pools': [{'start': '184.253.238.194', 'end': '184.253.238.254'}], 'gateway_ip': '184.253.238.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.253.238.194', 'tags': [], 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:51,897 - INFO - Created VN ctest-vn-03441234 2025-08-22 16:31:51,949 - DEBUG - VN ctest-vn-03441234 UUID is 506f882e-0249-4300-9b38-c53b73f0fd30 2025-08-22 16:31:52,053 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-47872305', 'ctest-vmi-05563852']} 2025-08-22 16:31:52,348 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05563852', 'id': '1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': '506f882e-0249-4300-9b38-c53b73f0fd30', 'mac_address': '02:13:24:c5:3c:0a', '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': '184.253.238.195', 'subnet_id': '1461cdf6-21df-4a0e-a83e-aae442b7eac8'}], 'security_groups': ['3a563858-80bb-4f2f-8edc-7caabf0d84d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:52,348 - DEBUG - Created port 1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d 2025-08-22 16:31:52,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d 2025-08-22 16:31:52,742 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d 2025-08-22 16:31:52,771 - INFO - VMI 1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d verification in API Server passed 2025-08-22 16:31:52,858 - DEBUG - Response for delete_port : () 2025-08-22 16:31:52,858 - INFO - Deleted port 1324c53c-0a9b-4bc2-8c21-70aa1dc73e9d 2025-08-22 16:31:52,858 - INFO - Deleting VN ctest-vn-03441234 2025-08-22 16:31:52,973 - DEBUG - Response for deleting network () 2025-08-22 16:31:53,230 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 16:31:53,230 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-22 16:31:53,230 - INFO - -------------------------------------------------------------------------------- 2025-08-22 16:31:53,233 - INFO - ================================================================================ 2025-08-22 16:31:53,233 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-22 16:31:53,233 - 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-22 16:31:53,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 16:31:53,514 - INFO - Initial checks done. Running the testcase now 2025-08-22 16:31:53,514 - INFO - 2025-08-22 16:31:53,690 - DEBUG - Response for create_network : {'network': {'id': 'ae16063a-467b-477c-9130-9431fa98621c', 'name': 'ctest-vn1-82233781', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-47872305', 'ctest-vn1-82233781'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 16:31:53,851 - DEBUG - Response for create_subnet : {'subnet': {'id': '2ee16efd-a2ef-4a0b-8086-ea2095d3d0df', 'name': '', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': 'ae16063a-467b-477c-9130-9431fa98621c', 'ip_version': 4, 'cidr': '205.117.43.64/26', 'allocation_pools': [{'start': '205.117.43.66', 'end': '205.117.43.126'}], 'gateway_ip': '205.117.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.117.43.66', 'tags': [], 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:54,013 - DEBUG - Response for create_subnet : {'subnet': {'id': '297bf79c-7d81-4858-9756-474ff25bd862', 'name': '', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': 'ae16063a-467b-477c-9130-9431fa98621c', 'ip_version': 4, 'cidr': '57.170.230.64/26', 'allocation_pools': [{'start': '57.170.230.66', 'end': '57.170.230.126'}], 'gateway_ip': '57.170.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.170.230.66', 'tags': [], 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:54,031 - INFO - Created VN ctest-vn1-82233781 2025-08-22 16:31:54,089 - DEBUG - VN ctest-vn1-82233781 UUID is ae16063a-467b-477c-9130-9431fa98621c 2025-08-22 16:31:54,432 - DEBUG - Response for create_port : {'port': {'name': 'dd2b529d-c030-42f1-bf7e-a116747ef41e', 'id': 'dd2b529d-c030-42f1-bf7e-a116747ef41e', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': 'ae16063a-467b-477c-9130-9431fa98621c', 'mac_address': '02:dd:2b:52:9d:c0', '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': '205.117.43.69', 'subnet_id': '2ee16efd-a2ef-4a0b-8086-ea2095d3d0df'}], 'security_groups': ['3a563858-80bb-4f2f-8edc-7caabf0d84d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:54,631 - DEBUG - Response for create_port : {'port': {'name': '311f2f20-ec0e-4d2a-9022-78c8b747382e', 'id': '311f2f20-ec0e-4d2a-9022-78c8b747382e', 'tenant_id': 'd1a07d2f305042b68b6a6395a8463c6e', 'network_id': 'ae16063a-467b-477c-9130-9431fa98621c', 'mac_address': '02:31:1f:2f:20:ec', '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': '57.170.230.69', 'subnet_id': '297bf79c-7d81-4858-9756-474ff25bd862'}], 'security_groups': ['3a563858-80bb-4f2f-8edc-7caabf0d84d1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd1a07d2f305042b68b6a6395a8463c6e'}} 2025-08-22 16:31:54,682 - DEBUG - Services list from nova: [, , ] 2025-08-22 16:31:54,983 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:31:55,367 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3911-1) 2025-08-22 16:31:55,367 - INFO - Waiting for VM ctest-vn1-vm1-25395378 to be up.. 2025-08-22 16:31:55,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 16:32:00,609 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:32:00,609 - INFO - VM name : ctest-vn1-vm1-25395378 2025-08-22 16:32:00,683 - DEBUG - VM ctest-vn1-vm1-25395378 ID is 7ae4ed29-32de-49a2-b308-3e609e39d7f1 2025-08-22 16:32:00,705 - DEBUG - VM ctest-vn1-vm1-25395378 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:32:00,782 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7ae4ed29-32de-49a2-b308-3e609e39d7f1 2025-08-22 16:32:00,790 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dd2b529d-c030-42f1-bf7e-a116747ef41e 2025-08-22 16:32:04,048 - 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 1005ms') 2025-08-22 16:32:04,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25395378 failed! 2025-08-22 16:32:04,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47872305:ctest-vn1-82233781 is 205.117.43.65 and allocation pool is NOT set 2025-08-22 16:32:04,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-47872305:ctest-vn1-82233781 is 57.170.230.65 and allocation pool is NOT set 2025-08-22 16:32:06,172 - 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=5.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.91 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.912/4.038/5.165/1.126 ms') 2025-08-22 16:32:06,172 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25395378 passed 2025-08-22 16:32:06,329 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:32:06,329 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25395378, IP 205.117.43.69, Port 22 2025-08-22 16:32:06,488 - DEBUG - VM ctest-vn1-vm1-25395378 is ready for SSH connections 2025-08-22 16:32:06,488 - INFO - Waiting for VM ctest-vn1-vm2-40471732 to be up.. 2025-08-22 16:32:06,565 - DEBUG - VM is in ACTIVE state now 2025-08-22 16:32:06,565 - INFO - VM name : ctest-vn1-vm2-40471732 2025-08-22 16:32:06,636 - DEBUG - VM ctest-vn1-vm2-40471732 ID is 5815450d-427b-4d6b-b3ae-c3b14cf42718 2025-08-22 16:32:06,636 - DEBUG - VM ctest-vn1-vm2-40471732 launched on Node cn-jenkins-deploy-platform-ansible-os-3911-1 2025-08-22 16:32:06,698 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/5815450d-427b-4d6b-b3ae-c3b14cf42718 2025-08-22 16:32:06,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/311f2f20-ec0e-4d2a-9022-78c8b747382e 2025-08-22 16:32:07,947 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.521 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.521/1.574/2.627/1.053 ms') 2025-08-22 16:32:07,947 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40471732 passed 2025-08-22 16:32:08,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:32:08,101 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40471732, IP 57.170.230.69, Port 22 2025-08-22 16:32:08,257 - DEBUG - VM ctest-vn1-vm2-40471732 is ready for SSH connections 2025-08-22 16:32:08,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:32:08,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:32:08,257 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 16:32:08,257 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.117.43.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 16:32:08,257 - DEBUG - ping -s 56 -c 3 -W 1 205.117.43.69 2025-08-22 16:32:10,873 - DEBUG - PING 205.117.43.69 (205.117.43.69): 56 data bytes 64 bytes from 205.117.43.69: seq=0 ttl=63 time=3.203 ms 64 bytes from 205.117.43.69: seq=1 ttl=63 time=0.815 ms 64 bytes from 205.117.43.69: seq=2 ttl=63 time=0.771 ms --- 205.117.43.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.771/1.596/3.203 ms 2025-08-22 16:32:10,873 - INFO - Ping to IP 205.117.43.69 from VM ctest-vn1-vm2-40471732 passed 2025-08-22 16:32:10,874 - INFO - Detaching port 311f2f20-ec0e-4d2a-9022-78c8b747382e from VM ctest-vn1-vm2-40471732 2025-08-22 16:32:10,934 - INFO - Deleting VM ctest-vn1-vm2-40471732 2025-08-22 16:32:11,003 - INFO - Detaching port dd2b529d-c030-42f1-bf7e-a116747ef41e from VM ctest-vn1-vm1-25395378 2025-08-22 16:32:11,038 - INFO - Deleting VM ctest-vn1-vm1-25395378 2025-08-22 16:32:11,293 - DEBUG - Response for delete_port : () 2025-08-22 16:32:11,456 - DEBUG - Response for delete_port : () 2025-08-22 16:32:11,456 - INFO - Deleting VN ctest-vn1-82233781 2025-08-22 16:32:11,624 - DEBUG - Response for deleting network () 2025-08-22 16:32:11,892 - DEBUG - No XMPP flaps were noticed during the test
2025-08-22 16:32:11,892 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-22 16:32:11,892 - INFO - -------------------------------------------------------------------------------- 2025-08-22 16:32:12,616 - INFO - Deleted project: ctest-TestPorts-47872305, ID : d1a07d2f-3050-42b6-8b6a-6395a8463c6e