2025-11-12 05:25:41,291 - INFO - Domain Default found not creating 2025-11-12 05:25:41,450 - INFO - Project ctest-TestPorts-40611991 not found, creating it 2025-11-12 05:25:41,919 - INFO - Created Project:ctest-TestPorts-40611991, ID : 6de931d5-b18b-4cab-b13a-ef318d7d755d 2025-11-12 05:25:43,330 - INFO - ================================================================================ 2025-11-12 05:25:43,330 - INFO - STARTING TEST : test_ports_bindings 2025-11-12 05:25:43,330 - 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-12 05:25:43,588 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-11-12 05:25:43,588 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:25:43,588 - INFO - 2025-11-12 05:25:44,139 - DEBUG - Response for create_network : {'network': {'id': 'cc03cff7-0fc5-4260-a78c-7682167d3e66', 'name': 'ctest-vn-15956220', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'project_id': '6de931d5b18b4cabb13aef318d7d755d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40611991', 'ctest-vn-15956220'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:25:44,288 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba75c253-e9f7-434a-acf2-ec39aea36f52', 'name': '', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': 'cc03cff7-0fc5-4260-a78c-7682167d3e66', 'ip_version': 4, 'cidr': '145.98.135.192/26', 'allocation_pools': [{'start': '145.98.135.194', 'end': '145.98.135.254'}], 'gateway_ip': '145.98.135.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.98.135.194', 'tags': [], 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:44,305 - INFO - Created VN ctest-vn-15956220 2025-11-12 05:25:44,358 - DEBUG - VN ctest-vn-15956220 UUID is cc03cff7-0fc5-4260-a78c-7682167d3e66 2025-11-12 05:25:44,462 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40611991', 'ctest-vmi-80164296']} 2025-11-12 05:25:44,731 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-80164296', 'id': '8b6711ef-09ad-4141-b0df-b6a98dcb9d80', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': 'cc03cff7-0fc5-4260-a78c-7682167d3e66', 'mac_address': '02:8b:67:11:ef:09', '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': '145.98.135.195', 'subnet_id': 'ba75c253-e9f7-434a-acf2-ec39aea36f52'}], 'security_groups': ['e3a6a335-e43f-4607-946f-e5d4c454a450'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:44,731 - DEBUG - Created port 8b6711ef-09ad-4141-b0df-b6a98dcb9d80 2025-11-12 05:25:44,838 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8b6711ef-09ad-4141-b0df-b6a98dcb9d80 2025-11-12 05:25:45,134 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/8b6711ef-09ad-4141-b0df-b6a98dcb9d80 2025-11-12 05:25:45,167 - INFO - VMI 8b6711ef-09ad-4141-b0df-b6a98dcb9d80 verification in API Server passed 2025-11-12 05:25:45,254 - DEBUG - Response for delete_port : () 2025-11-12 05:25:45,254 - INFO - Deleted port 8b6711ef-09ad-4141-b0df-b6a98dcb9d80 2025-11-12 05:25:45,254 - INFO - Deleting VN ctest-vn-15956220 2025-11-12 05:25:45,352 - DEBUG - Response for deleting network () 2025-11-12 05:25:45,606 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:25:45,607 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 05:25:45,607 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:25:45,609 - INFO - ================================================================================ 2025-11-12 05:25:45,609 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-12 05:25:45,609 - 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-12 05:25:45,899 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-11-12 05:25:45,899 - INFO - Initial checks done. Running the testcase now 2025-11-12 05:25:45,899 - INFO - 2025-11-12 05:25:46,083 - DEBUG - Response for create_network : {'network': {'id': '73fdf7e7-55dc-412f-925a-c40842024207', 'name': 'ctest-vn1-55318913', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'project_id': '6de931d5b18b4cabb13aef318d7d755d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40611991', 'ctest-vn1-55318913'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 05:25:46,251 - DEBUG - Response for create_subnet : {'subnet': {'id': '75e46e14-9ce6-4cee-8aae-c4e47fc52d9e', 'name': '', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': '73fdf7e7-55dc-412f-925a-c40842024207', 'ip_version': 4, 'cidr': '142.83.240.0/26', 'allocation_pools': [{'start': '142.83.240.2', 'end': '142.83.240.62'}], 'gateway_ip': '142.83.240.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.83.240.2', 'tags': [], 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:46,422 - DEBUG - Response for create_subnet : {'subnet': {'id': '1b3b3164-1daa-487e-b189-a489ed55f038', 'name': '', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': '73fdf7e7-55dc-412f-925a-c40842024207', 'ip_version': 4, 'cidr': '99.215.93.0/26', 'allocation_pools': [{'start': '99.215.93.2', 'end': '99.215.93.62'}], 'gateway_ip': '99.215.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.215.93.2', 'tags': [], 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:46,441 - INFO - Created VN ctest-vn1-55318913 2025-11-12 05:25:46,494 - DEBUG - VN ctest-vn1-55318913 UUID is 73fdf7e7-55dc-412f-925a-c40842024207 2025-11-12 05:25:46,793 - DEBUG - Response for create_port : {'port': {'name': '978055f5-8a5c-4c89-a713-a6d912b99c76', 'id': '978055f5-8a5c-4c89-a713-a6d912b99c76', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': '73fdf7e7-55dc-412f-925a-c40842024207', 'mac_address': '02:97:80:55:f5:8a', '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': '142.83.240.5', 'subnet_id': '75e46e14-9ce6-4cee-8aae-c4e47fc52d9e'}], 'security_groups': ['e3a6a335-e43f-4607-946f-e5d4c454a450'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:46,968 - DEBUG - Response for create_port : {'port': {'name': 'cd9b3059-3b39-442d-bd78-4ee17e83c1c4', 'id': 'cd9b3059-3b39-442d-bd78-4ee17e83c1c4', 'tenant_id': '6de931d5b18b4cabb13aef318d7d755d', 'network_id': '73fdf7e7-55dc-412f-925a-c40842024207', 'mac_address': '02:cd:9b:30:59:3b', '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': '99.215.93.5', 'subnet_id': '1b3b3164-1daa-487e-b189-a489ed55f038'}], 'security_groups': ['e3a6a335-e43f-4607-946f-e5d4c454a450'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6de931d5b18b4cabb13aef318d7d755d'}} 2025-11-12 05:25:47,024 - DEBUG - Services list from nova: [, , ] 2025-11-12 05:25:47,354 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:25:47,743 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4699-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4699-1) 2025-11-12 05:25:47,743 - INFO - Waiting for VM ctest-vn1-vm1-37377061 to be up.. 2025-11-12 05:25:47,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 05:25:52,860 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:25:52,860 - INFO - VM name : ctest-vn1-vm1-37377061 2025-11-12 05:25:52,942 - DEBUG - VM ctest-vn1-vm1-37377061 ID is 8b88b9ac-bbde-4882-b941-f22858a99d9f 2025-11-12 05:25:52,962 - DEBUG - VM ctest-vn1-vm1-37377061 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:25:53,037 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/8b88b9ac-bbde-4882-b941-f22858a99d9f 2025-11-12 05:25:53,046 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/978055f5-8a5c-4c89-a713-a6d912b99c76 2025-11-12 05:25:56,296 - 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 1015ms') 2025-11-12 05:25:56,296 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37377061 failed! 2025-11-12 05:25:56,350 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40611991:ctest-vn1-55318913 is 142.83.240.1 and allocation pool is NOT set 2025-11-12 05:25:56,350 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40611991:ctest-vn1-55318913 is 99.215.93.1 and allocation pool is NOT set 2025-11-12 05:25:58,410 - 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=7.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.696 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.696/3.937/7.179/3.241 ms') 2025-11-12 05:25:58,410 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-37377061 passed 2025-11-12 05:25:58,558 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:25:58,558 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-37377061, IP 142.83.240.5, Port 22 2025-11-12 05:25:58,713 - DEBUG - VM ctest-vn1-vm1-37377061 is ready for SSH connections 2025-11-12 05:25:58,713 - INFO - Waiting for VM ctest-vn1-vm2-54839217 to be up.. 2025-11-12 05:25:58,912 - DEBUG - VM is in ACTIVE state now 2025-11-12 05:25:58,912 - INFO - VM name : ctest-vn1-vm2-54839217 2025-11-12 05:25:58,983 - DEBUG - VM ctest-vn1-vm2-54839217 ID is 127d1537-45c8-4f7c-9d78-f2ceadbe8c46 2025-11-12 05:25:58,984 - DEBUG - VM ctest-vn1-vm2-54839217 launched on Node cn-jenkins-deploy-platform-ansible-os-4699-1 2025-11-12 05:25:59,057 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/127d1537-45c8-4f7c-9d78-f2ceadbe8c46 2025-11-12 05:25:59,065 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/cd9b3059-3b39-442d-bd78-4ee17e83c1c4 2025-11-12 05:26:00,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=4.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.851 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.851/2.467/4.083/1.616 ms') 2025-11-12 05:26:00,295 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-54839217 passed 2025-11-12 05:26:00,446 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:00,446 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-54839217, IP 99.215.93.5, Port 22 2025-11-12 05:26:00,606 - DEBUG - VM ctest-vn1-vm2-54839217 is ready for SSH connections 2025-11-12 05:26:00,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:00,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:00,606 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 05:26:00,606 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.83.240.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-11-12 05:26:00,606 - DEBUG - ping -s 56 -c 3 -W 1 142.83.240.5 2025-11-12 05:26:03,292 - DEBUG - PING 142.83.240.5 (142.83.240.5): 56 data bytes 64 bytes from 142.83.240.5: seq=0 ttl=63 time=6.323 ms 64 bytes from 142.83.240.5: seq=1 ttl=63 time=0.929 ms 64 bytes from 142.83.240.5: seq=2 ttl=63 time=1.211 ms --- 142.83.240.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.929/2.821/6.323 ms 2025-11-12 05:26:03,292 - INFO - Ping to IP 142.83.240.5 from VM ctest-vn1-vm2-54839217 passed 2025-11-12 05:26:03,292 - INFO - Detaching port cd9b3059-3b39-442d-bd78-4ee17e83c1c4 from VM ctest-vn1-vm2-54839217 2025-11-12 05:26:03,344 - INFO - Deleting VM ctest-vn1-vm2-54839217 2025-11-12 05:26:03,423 - INFO - Detaching port 978055f5-8a5c-4c89-a713-a6d912b99c76 from VM ctest-vn1-vm1-37377061 2025-11-12 05:26:03,458 - INFO - Deleting VM ctest-vn1-vm1-37377061 2025-11-12 05:26:03,724 - DEBUG - Response for delete_port : () 2025-11-12 05:26:03,896 - DEBUG - Response for delete_port : () 2025-11-12 05:26:03,896 - INFO - Deleting VN ctest-vn1-55318913 2025-11-12 05:26:04,034 - DEBUG - Response for deleting network () 2025-11-12 05:26:04,295 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 05:26:04,295 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-12 05:26:04,295 - INFO - -------------------------------------------------------------------------------- 2025-11-12 05:26:04,979 - INFO - Deleted project: ctest-TestPorts-40611991, ID : 6de931d5-b18b-4cab-b13a-ef318d7d755d