2025-09-05 16:05:47,499 - INFO - Domain Default found not creating 2025-09-05 16:05:47,837 - INFO - Project ctest-TestPorts-94776944 not found, creating it 2025-09-05 16:05:48,589 - INFO - Created Project:ctest-TestPorts-94776944, ID : b4a44f56-228f-4b47-9e64-7863d9230db9 2025-09-05 16:05:50,687 - INFO - ================================================================================ 2025-09-05 16:05:50,688 - INFO - STARTING TEST : test_ports_bindings 2025-09-05 16:05:50,688 - 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-09-05 16:05:51,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-05 16:05:51,012 - INFO - Initial checks done. Running the testcase now 2025-09-05 16:05:51,012 - INFO - 2025-09-05 16:05:51,809 - DEBUG - Response for create_network : {'network': {'id': 'c8b448e0-bb85-4286-b270-db2374bf02e3', 'name': 'ctest-vn-00927105', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'project_id': 'b4a44f56228f4b479e647863d9230db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94776944', 'ctest-vn-00927105'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 16:05:52,087 - DEBUG - Response for create_subnet : {'subnet': {'id': 'befbbee8-bb64-43ca-936b-d8934528a65e', 'name': '', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': 'c8b448e0-bb85-4286-b270-db2374bf02e3', 'ip_version': 4, 'cidr': '76.181.249.128/26', 'allocation_pools': [{'start': '76.181.249.130', 'end': '76.181.249.190'}], 'gateway_ip': '76.181.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.181.249.130', 'tags': [], 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:52,113 - INFO - Created VN ctest-vn-00927105 2025-09-05 16:05:52,168 - DEBUG - VN ctest-vn-00927105 UUID is c8b448e0-bb85-4286-b270-db2374bf02e3 2025-09-05 16:05:52,346 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94776944', 'ctest-vmi-78301233']} 2025-09-05 16:05:52,743 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-78301233', 'id': '790ecbd1-a598-4d91-a480-654d622d779b', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': 'c8b448e0-bb85-4286-b270-db2374bf02e3', 'mac_address': '02:79:0e:cb:d1:a5', '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': '76.181.249.131', 'subnet_id': 'befbbee8-bb64-43ca-936b-d8934528a65e'}], 'security_groups': ['38b03d7f-d313-404a-8afa-a6780779f61a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:52,743 - DEBUG - Created port 790ecbd1-a598-4d91-a480-654d622d779b 2025-09-05 16:05:52,867 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/790ecbd1-a598-4d91-a480-654d622d779b 2025-09-05 16:05:53,210 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/790ecbd1-a598-4d91-a480-654d622d779b 2025-09-05 16:05:53,297 - INFO - VMI 790ecbd1-a598-4d91-a480-654d622d779b verification in API Server passed 2025-09-05 16:05:53,482 - DEBUG - Response for delete_port : () 2025-09-05 16:05:53,482 - INFO - Deleted port 790ecbd1-a598-4d91-a480-654d622d779b 2025-09-05 16:05:53,482 - INFO - Deleting VN ctest-vn-00927105 2025-09-05 16:05:53,609 - DEBUG - Response for deleting network () 2025-09-05 16:05:53,903 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 16:05:53,903 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-05 16:05:53,903 - INFO - -------------------------------------------------------------------------------- 2025-09-05 16:05:53,908 - INFO - ================================================================================ 2025-09-05 16:05:53,908 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-05 16:05:53,908 - 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-09-05 16:05:54,244 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-05 16:05:54,245 - INFO - Initial checks done. Running the testcase now 2025-09-05 16:05:54,245 - INFO - 2025-09-05 16:05:54,568 - DEBUG - Response for create_network : {'network': {'id': '43a9e92c-2105-4abd-8f9e-0faee3b66d2d', 'name': 'ctest-vn1-42916756', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'project_id': 'b4a44f56228f4b479e647863d9230db9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94776944', 'ctest-vn1-42916756'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 16:05:54,857 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e51e5de-a2c2-40c0-8a11-233471580e37', 'name': '', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': '43a9e92c-2105-4abd-8f9e-0faee3b66d2d', 'ip_version': 4, 'cidr': '185.240.45.0/26', 'allocation_pools': [{'start': '185.240.45.2', 'end': '185.240.45.62'}], 'gateway_ip': '185.240.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '185.240.45.2', 'tags': [], 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:55,058 - DEBUG - Response for create_subnet : {'subnet': {'id': '2126684f-92b4-48a6-b34d-edc450e898cc', 'name': '', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': '43a9e92c-2105-4abd-8f9e-0faee3b66d2d', 'ip_version': 4, 'cidr': '68.197.59.0/26', 'allocation_pools': [{'start': '68.197.59.2', 'end': '68.197.59.62'}], 'gateway_ip': '68.197.59.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.197.59.2', 'tags': [], 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:55,077 - INFO - Created VN ctest-vn1-42916756 2025-09-05 16:05:55,131 - DEBUG - VN ctest-vn1-42916756 UUID is 43a9e92c-2105-4abd-8f9e-0faee3b66d2d 2025-09-05 16:05:55,671 - DEBUG - Response for create_port : {'port': {'name': 'bd28f2c8-534f-4e61-8389-c26dc853f792', 'id': 'bd28f2c8-534f-4e61-8389-c26dc853f792', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': '43a9e92c-2105-4abd-8f9e-0faee3b66d2d', 'mac_address': '02:bd:28:f2:c8:53', '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': '185.240.45.5', 'subnet_id': '9e51e5de-a2c2-40c0-8a11-233471580e37'}], 'security_groups': ['38b03d7f-d313-404a-8afa-a6780779f61a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:55,953 - DEBUG - Response for create_port : {'port': {'name': 'ef16c176-f50f-4dc8-86e7-193f2143d7d0', 'id': 'ef16c176-f50f-4dc8-86e7-193f2143d7d0', 'tenant_id': 'b4a44f56228f4b479e647863d9230db9', 'network_id': '43a9e92c-2105-4abd-8f9e-0faee3b66d2d', 'mac_address': '02:ef:16:c1:76:f5', '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': '68.197.59.5', 'subnet_id': '2126684f-92b4-48a6-b34d-edc450e898cc'}], 'security_groups': ['38b03d7f-d313-404a-8afa-a6780779f61a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b4a44f56228f4b479e647863d9230db9'}} 2025-09-05 16:05:56,045 - DEBUG - Services list from nova: [, , ] 2025-09-05 16:05:56,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4026-1) 2025-09-05 16:05:57,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4026-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4026-1) 2025-09-05 16:05:57,842 - INFO - Waiting for VM ctest-vn1-vm1-52914441 to be up.. 2025-09-05 16:05:57,926 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 16:06:03,092 - DEBUG - VM is in ACTIVE state now 2025-09-05 16:06:03,092 - INFO - VM name : ctest-vn1-vm1-52914441 2025-09-05 16:06:03,251 - DEBUG - VM ctest-vn1-vm1-52914441 ID is a64b2227-bc1b-499c-8db2-3ee8a1c2431a 2025-09-05 16:06:03,298 - DEBUG - VM ctest-vn1-vm1-52914441 launched on Node cn-jenkins-deploy-platform-ansible-os-4026-1 2025-09-05 16:06:03,459 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/a64b2227-bc1b-499c-8db2-3ee8a1c2431a 2025-09-05 16:06:03,485 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/bd28f2c8-534f-4e61-8389-c26dc853f792 2025-09-05 16:06:06,804 - 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 1025ms') 2025-09-05 16:06:06,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52914441 failed! 2025-09-05 16:06:06,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94776944:ctest-vn1-42916756 is 185.240.45.1 and allocation pool is NOT set 2025-09-05 16:06:06,883 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94776944:ctest-vn1-42916756 is 68.197.59.1 and allocation pool is NOT set 2025-09-05 16:06:10,962 - 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-09-05 16:06:10,962 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52914441 failed! 2025-09-05 16:06:11,036 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94776944:ctest-vn1-42916756 is 185.240.45.1 and allocation pool is NOT set 2025-09-05 16:06:11,036 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94776944:ctest-vn1-42916756 is 68.197.59.1 and allocation pool is NOT set 2025-09-05 16:06:13,111 - 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.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.907 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 = 0.907/2.867/4.828/1.960 ms') 2025-09-05 16:06:13,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52914441 passed 2025-09-05 16:06:13,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:06:13,291 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52914441, IP 185.240.45.5, Port 22 2025-09-05 16:06:13,496 - DEBUG - VM ctest-vn1-vm1-52914441 is ready for SSH connections 2025-09-05 16:06:13,496 - INFO - Waiting for VM ctest-vn1-vm2-15575864 to be up.. 2025-09-05 16:06:13,688 - DEBUG - VM is in ACTIVE state now 2025-09-05 16:06:13,689 - INFO - VM name : ctest-vn1-vm2-15575864 2025-09-05 16:06:13,880 - DEBUG - VM ctest-vn1-vm2-15575864 ID is 6e15f5be-ce11-42a3-ae2a-0f8287e58072 2025-09-05 16:06:13,881 - DEBUG - VM ctest-vn1-vm2-15575864 launched on Node cn-jenkins-deploy-platform-ansible-os-4026-1 2025-09-05 16:06:14,049 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6e15f5be-ce11-42a3-ae2a-0f8287e58072 2025-09-05 16:06:14,064 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ef16c176-f50f-4dc8-86e7-193f2143d7d0 2025-09-05 16:06:15,359 - 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=8.66 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.744 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.744/4.703/8.662/3.959 ms') 2025-09-05 16:06:15,360 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15575864 passed 2025-09-05 16:06:15,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:06:15,548 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15575864, IP 68.197.59.5, Port 22 2025-09-05 16:06:15,748 - DEBUG - VM ctest-vn1-vm2-15575864 is ready for SSH connections 2025-09-05 16:06:15,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:06:15,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:06:15,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 16:06:15,749 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 185.240.45.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-05 16:06:15,749 - DEBUG - ping -s 56 -c 3 -W 1 185.240.45.5 2025-09-05 16:06:18,865 - DEBUG - PING 185.240.45.5 (185.240.45.5): 56 data bytes 64 bytes from 185.240.45.5: seq=0 ttl=63 time=4.743 ms 64 bytes from 185.240.45.5: seq=1 ttl=63 time=1.742 ms 64 bytes from 185.240.45.5: seq=2 ttl=63 time=1.328 ms --- 185.240.45.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.328/2.604/4.743 ms 2025-09-05 16:06:18,866 - INFO - Ping to IP 185.240.45.5 from VM ctest-vn1-vm2-15575864 passed 2025-09-05 16:06:18,866 - INFO - Detaching port ef16c176-f50f-4dc8-86e7-193f2143d7d0 from VM ctest-vn1-vm2-15575864 2025-09-05 16:06:18,975 - INFO - Deleting VM ctest-vn1-vm2-15575864 2025-09-05 16:06:19,119 - INFO - Detaching port bd28f2c8-534f-4e61-8389-c26dc853f792 from VM ctest-vn1-vm1-52914441 2025-09-05 16:06:19,184 - INFO - Deleting VM ctest-vn1-vm1-52914441 2025-09-05 16:06:19,549 - DEBUG - Response for delete_port : () 2025-09-05 16:06:19,743 - DEBUG - Response for delete_port : () 2025-09-05 16:06:19,744 - INFO - Deleting VN ctest-vn1-42916756 2025-09-05 16:06:19,891 - DEBUG - Response for deleting network () 2025-09-05 16:06:20,181 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 16:06:20,182 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-09-05 16:06:20,182 - INFO - -------------------------------------------------------------------------------- 2025-09-05 16:06:20,924 - INFO - Deleted project: ctest-TestPorts-94776944, ID : b4a44f56-228f-4b47-9e64-7863d9230db9