2025-09-11 09:10:15,169 - INFO - Domain Default found not creating 2025-09-11 09:10:15,331 - INFO - Project ctest-TestPorts-41139321 not found, creating it 2025-09-11 09:10:15,787 - INFO - Created Project:ctest-TestPorts-41139321, ID : 429b83c4-babe-4138-b0c1-20ef929b127c 2025-09-11 09:10:17,442 - INFO - ================================================================================ 2025-09-11 09:10:17,442 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 09:10:17,442 - 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-11 09:10:17,697 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 09:10:17,698 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:10:17,698 - INFO - 2025-09-11 09:10:18,291 - DEBUG - Response for create_network : {'network': {'id': '78ea1353-a172-4bb1-8de3-6a0ddc884019', 'name': 'ctest-vn-48396465', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'project_id': '429b83c4babe4138b0c120ef929b127c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41139321', 'ctest-vn-48396465'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:10:18,510 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1d809e6-65bc-432e-91df-f0edfc9fdc9f', 'name': '', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': '78ea1353-a172-4bb1-8de3-6a0ddc884019', 'ip_version': 4, 'cidr': '94.97.12.0/26', 'allocation_pools': [{'start': '94.97.12.2', 'end': '94.97.12.62'}], 'gateway_ip': '94.97.12.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.97.12.2', 'tags': [], 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:18,530 - INFO - Created VN ctest-vn-48396465 2025-09-11 09:10:18,583 - DEBUG - VN ctest-vn-48396465 UUID is 78ea1353-a172-4bb1-8de3-6a0ddc884019 2025-09-11 09:10:18,696 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41139321', 'ctest-vmi-75113147']} 2025-09-11 09:10:18,937 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-75113147', 'id': '25e1482c-40a9-4cab-a7c6-56edfb635e56', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': '78ea1353-a172-4bb1-8de3-6a0ddc884019', 'mac_address': '02:25:e1:48:2c:40', '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': '94.97.12.3', 'subnet_id': 'e1d809e6-65bc-432e-91df-f0edfc9fdc9f'}], 'security_groups': ['a1da5e2f-6a07-4905-bc58-c60c4eb22d97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:18,937 - DEBUG - Created port 25e1482c-40a9-4cab-a7c6-56edfb635e56 2025-09-11 09:10:19,043 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25e1482c-40a9-4cab-a7c6-56edfb635e56 2025-09-11 09:10:19,380 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/25e1482c-40a9-4cab-a7c6-56edfb635e56 2025-09-11 09:10:19,415 - INFO - VMI 25e1482c-40a9-4cab-a7c6-56edfb635e56 verification in API Server passed 2025-09-11 09:10:19,504 - DEBUG - Response for delete_port : () 2025-09-11 09:10:19,504 - INFO - Deleted port 25e1482c-40a9-4cab-a7c6-56edfb635e56 2025-09-11 09:10:19,504 - INFO - Deleting VN ctest-vn-48396465 2025-09-11 09:10:19,609 - DEBUG - Response for deleting network () 2025-09-11 09:10:19,871 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 09:10:19,871 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 09:10:19,871 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:10:19,875 - INFO - ================================================================================ 2025-09-11 09:10:19,875 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 09:10:19,875 - 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-11 09:10:20,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-11 09:10:20,175 - INFO - Initial checks done. Running the testcase now 2025-09-11 09:10:20,175 - INFO - 2025-09-11 09:10:20,360 - DEBUG - Response for create_network : {'network': {'id': 'a706ba7d-de98-40ef-93a4-e12269004ddb', 'name': 'ctest-vn1-43485237', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'project_id': '429b83c4babe4138b0c120ef929b127c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41139321', 'ctest-vn1-43485237'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 09:10:20,546 - DEBUG - Response for create_subnet : {'subnet': {'id': '4ad67da5-5ad4-478c-bc8e-e9997ea6d6de', 'name': '', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': 'a706ba7d-de98-40ef-93a4-e12269004ddb', 'ip_version': 4, 'cidr': '210.111.19.0/26', 'allocation_pools': [{'start': '210.111.19.2', 'end': '210.111.19.62'}], 'gateway_ip': '210.111.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.111.19.2', 'tags': [], 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:20,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b93cfdec-e735-4102-96af-85f35a229d49', 'name': '', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': 'a706ba7d-de98-40ef-93a4-e12269004ddb', 'ip_version': 4, 'cidr': '2.231.234.192/26', 'allocation_pools': [{'start': '2.231.234.194', 'end': '2.231.234.254'}], 'gateway_ip': '2.231.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.231.234.194', 'tags': [], 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:20,747 - INFO - Created VN ctest-vn1-43485237 2025-09-11 09:10:20,799 - DEBUG - VN ctest-vn1-43485237 UUID is a706ba7d-de98-40ef-93a4-e12269004ddb 2025-09-11 09:10:21,114 - DEBUG - Response for create_port : {'port': {'name': 'bbc11216-81b6-4744-8aea-6429b6256e92', 'id': 'bbc11216-81b6-4744-8aea-6429b6256e92', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': 'a706ba7d-de98-40ef-93a4-e12269004ddb', 'mac_address': '02:bb:c1:12:16:81', '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': '210.111.19.5', 'subnet_id': '4ad67da5-5ad4-478c-bc8e-e9997ea6d6de'}], 'security_groups': ['a1da5e2f-6a07-4905-bc58-c60c4eb22d97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:21,289 - DEBUG - Response for create_port : {'port': {'name': '33ca3ba7-5664-41cf-b0d3-97984f8286d1', 'id': '33ca3ba7-5664-41cf-b0d3-97984f8286d1', 'tenant_id': '429b83c4babe4138b0c120ef929b127c', 'network_id': 'a706ba7d-de98-40ef-93a4-e12269004ddb', 'mac_address': '02:33:ca:3b:a7:56', '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': '2.231.234.197', 'subnet_id': 'b93cfdec-e735-4102-96af-85f35a229d49'}], 'security_groups': ['a1da5e2f-6a07-4905-bc58-c60c4eb22d97'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '429b83c4babe4138b0c120ef929b127c'}} 2025-09-11 09:10:21,353 - DEBUG - Services list from nova: [, , ] 2025-09-11 09:10:21,720 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:10:22,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4086-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4086-1) 2025-09-11 09:10:22,138 - INFO - Waiting for VM ctest-vn1-vm1-77930532 to be up.. 2025-09-11 09:10:22,182 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 09:10:27,261 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:10:27,261 - INFO - VM name : ctest-vn1-vm1-77930532 2025-09-11 09:10:27,338 - DEBUG - VM ctest-vn1-vm1-77930532 ID is 2a7d9ad9-ec92-45b1-9d99-3b630a0d111c 2025-09-11 09:10:27,360 - DEBUG - VM ctest-vn1-vm1-77930532 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:10:27,453 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2a7d9ad9-ec92-45b1-9d99-3b630a0d111c 2025-09-11 09:10:27,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/bbc11216-81b6-4744-8aea-6429b6256e92 2025-09-11 09:10:30,740 - 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 1032ms') 2025-09-11 09:10:30,741 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77930532 failed! 2025-09-11 09:10:30,799 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41139321:ctest-vn1-43485237 is 210.111.19.1 and allocation pool is NOT set 2025-09-11 09:10:30,800 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41139321:ctest-vn1-43485237 is 2.231.234.193 and allocation pool is NOT set 2025-09-11 09:10:34,896 - 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=2 ttl=63 time=7.78 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 7.781/7.781/7.781/0.000 ms') 2025-09-11 09:10:34,896 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-77930532 passed 2025-09-11 09:10:35,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:10:35,051 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-77930532, IP 210.111.19.5, Port 22 2025-09-11 09:10:35,211 - DEBUG - VM ctest-vn1-vm1-77930532 is ready for SSH connections 2025-09-11 09:10:35,211 - INFO - Waiting for VM ctest-vn1-vm2-64154191 to be up.. 2025-09-11 09:10:35,294 - DEBUG - VM is in ACTIVE state now 2025-09-11 09:10:35,294 - INFO - VM name : ctest-vn1-vm2-64154191 2025-09-11 09:10:35,381 - DEBUG - VM ctest-vn1-vm2-64154191 ID is e3150429-f2c7-471f-8068-b0da8c184f6e 2025-09-11 09:10:35,381 - DEBUG - VM ctest-vn1-vm2-64154191 launched on Node cn-jenkins-deploy-platform-ansible-os-4086-1 2025-09-11 09:10:35,461 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e3150429-f2c7-471f-8068-b0da8c184f6e 2025-09-11 09:10:35,471 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/33ca3ba7-5664-41cf-b0d3-97984f8286d1 2025-09-11 09:10:36,721 - 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=3.55 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.513 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.513/2.030/3.547/1.517 ms') 2025-09-11 09:10:36,721 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-64154191 passed 2025-09-11 09:10:36,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:10:36,871 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-64154191, IP 2.231.234.197, Port 22 2025-09-11 09:10:37,026 - DEBUG - VM ctest-vn1-vm2-64154191 is ready for SSH connections 2025-09-11 09:10:37,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:10:37,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:10:37,027 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 09:10:37,027 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.111.19.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-11 09:10:37,027 - DEBUG - ping -s 56 -c 3 -W 1 210.111.19.5 2025-09-11 09:10:39,736 - DEBUG - PING 210.111.19.5 (210.111.19.5): 56 data bytes 64 bytes from 210.111.19.5: seq=0 ttl=63 time=3.871 ms 64 bytes from 210.111.19.5: seq=1 ttl=63 time=0.882 ms 64 bytes from 210.111.19.5: seq=2 ttl=63 time=0.826 ms --- 210.111.19.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.859/3.871 ms 2025-09-11 09:10:39,737 - INFO - Ping to IP 210.111.19.5 from VM ctest-vn1-vm2-64154191 passed 2025-09-11 09:10:39,737 - INFO - Detaching port 33ca3ba7-5664-41cf-b0d3-97984f8286d1 from VM ctest-vn1-vm2-64154191 2025-09-11 09:10:39,812 - INFO - Deleting VM ctest-vn1-vm2-64154191 2025-09-11 09:10:39,892 - INFO - Detaching port bbc11216-81b6-4744-8aea-6429b6256e92 from VM ctest-vn1-vm1-77930532 2025-09-11 09:10:39,926 - INFO - Deleting VM ctest-vn1-vm1-77930532 2025-09-11 09:10:40,183 - DEBUG - Response for delete_port : () 2025-09-11 09:10:40,346 - DEBUG - Response for delete_port : () 2025-09-11 09:10:40,346 - INFO - Deleting VN ctest-vn1-43485237 2025-09-11 09:10:40,510 - DEBUG - Response for deleting network () 2025-09-11 09:10:40,769 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 09:10:40,769 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-11 09:10:40,769 - INFO - -------------------------------------------------------------------------------- 2025-09-11 09:10:41,470 - INFO - Deleted project: ctest-TestPorts-41139321, ID : 429b83c4-babe-4138-b0c1-20ef929b127c