2025-08-26 00:06:34,806 - INFO - Domain Default found not creating 2025-08-26 00:06:34,961 - INFO - Project ctest-TestPorts-43374027 not found, creating it 2025-08-26 00:06:35,448 - INFO - Created Project:ctest-TestPorts-43374027, ID : 196f1358-a0c9-41af-8f83-89d925b729f4 2025-08-26 00:06:36,921 - INFO - ================================================================================ 2025-08-26 00:06:36,921 - INFO - STARTING TEST : test_ports_bindings 2025-08-26 00:06:36,922 - 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-26 00:06:37,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2025-08-26 00:06:37,183 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:06:37,184 - INFO - 2025-08-26 00:06:37,803 - DEBUG - Response for create_network : {'network': {'id': '250294f8-a747-4f2a-9d7d-ec8011da1adc', 'name': 'ctest-vn-65185082', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'project_id': '196f1358a0c941af8f8389d925b729f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43374027', 'ctest-vn-65185082'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:06:38,040 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea20ad80-2ffd-4b88-9e21-fd1f2a8ad3b4', 'name': '', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': '250294f8-a747-4f2a-9d7d-ec8011da1adc', 'ip_version': 4, 'cidr': '141.5.203.192/26', 'allocation_pools': [{'start': '141.5.203.194', 'end': '141.5.203.254'}], 'gateway_ip': '141.5.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.5.203.194', 'tags': [], 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:38,058 - INFO - Created VN ctest-vn-65185082 2025-08-26 00:06:38,109 - DEBUG - VN ctest-vn-65185082 UUID is 250294f8-a747-4f2a-9d7d-ec8011da1adc 2025-08-26 00:06:38,218 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-43374027', 'ctest-vmi-00058772']} 2025-08-26 00:06:38,469 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-00058772', 'id': '99ea9d53-bb72-48f4-a99a-e99557498ef9', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': '250294f8-a747-4f2a-9d7d-ec8011da1adc', 'mac_address': '02:99:ea:9d:53:bb', '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': '141.5.203.195', 'subnet_id': 'ea20ad80-2ffd-4b88-9e21-fd1f2a8ad3b4'}], 'security_groups': ['b6211a0f-1bda-488a-8d6b-6e41604a181d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:38,469 - DEBUG - Created port 99ea9d53-bb72-48f4-a99a-e99557498ef9 2025-08-26 00:06:38,573 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/99ea9d53-bb72-48f4-a99a-e99557498ef9 2025-08-26 00:06:38,863 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/99ea9d53-bb72-48f4-a99a-e99557498ef9 2025-08-26 00:06:38,898 - INFO - VMI 99ea9d53-bb72-48f4-a99a-e99557498ef9 verification in API Server passed 2025-08-26 00:06:39,005 - DEBUG - Response for delete_port : () 2025-08-26 00:06:39,005 - INFO - Deleted port 99ea9d53-bb72-48f4-a99a-e99557498ef9 2025-08-26 00:06:39,005 - INFO - Deleting VN ctest-vn-65185082 2025-08-26 00:06:39,111 - DEBUG - Response for deleting network () 2025-08-26 00:06:39,367 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:06:39,367 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-08-26 00:06:39,367 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:06:39,369 - INFO - ================================================================================ 2025-08-26 00:06:39,370 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-26 00:06:39,370 - 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-26 00:06:39,660 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2025-08-26 00:06:39,661 - INFO - Initial checks done. Running the testcase now 2025-08-26 00:06:39,661 - INFO - 2025-08-26 00:06:39,854 - DEBUG - Response for create_network : {'network': {'id': 'd4c13120-3847-4cfa-9f99-15ca226e21d0', 'name': 'ctest-vn1-93653005', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'project_id': '196f1358a0c941af8f8389d925b729f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-43374027', 'ctest-vn1-93653005'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 00:06:40,043 - DEBUG - Response for create_subnet : {'subnet': {'id': '43fdef79-60ce-46db-b1f2-68b0356eab6f', 'name': '', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': 'd4c13120-3847-4cfa-9f99-15ca226e21d0', 'ip_version': 4, 'cidr': '190.33.59.192/26', 'allocation_pools': [{'start': '190.33.59.194', 'end': '190.33.59.254'}], 'gateway_ip': '190.33.59.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.33.59.194', 'tags': [], 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:40,234 - DEBUG - Response for create_subnet : {'subnet': {'id': '4a4f46df-eace-444c-a895-5c2f08513026', 'name': '', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': 'd4c13120-3847-4cfa-9f99-15ca226e21d0', 'ip_version': 4, 'cidr': '140.238.222.64/26', 'allocation_pools': [{'start': '140.238.222.66', 'end': '140.238.222.126'}], 'gateway_ip': '140.238.222.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.238.222.66', 'tags': [], 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:40,254 - INFO - Created VN ctest-vn1-93653005 2025-08-26 00:06:40,309 - DEBUG - VN ctest-vn1-93653005 UUID is d4c13120-3847-4cfa-9f99-15ca226e21d0 2025-08-26 00:06:40,659 - DEBUG - Response for create_port : {'port': {'name': '1101a302-21e9-46ae-9495-965efdda3d96', 'id': '1101a302-21e9-46ae-9495-965efdda3d96', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': 'd4c13120-3847-4cfa-9f99-15ca226e21d0', 'mac_address': '02:11:01:a3:02:21', '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': '190.33.59.197', 'subnet_id': '43fdef79-60ce-46db-b1f2-68b0356eab6f'}], 'security_groups': ['b6211a0f-1bda-488a-8d6b-6e41604a181d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:40,848 - DEBUG - Response for create_port : {'port': {'name': '7b6c5c40-4122-4475-93e7-b9f9b239088d', 'id': '7b6c5c40-4122-4475-93e7-b9f9b239088d', 'tenant_id': '196f1358a0c941af8f8389d925b729f4', 'network_id': 'd4c13120-3847-4cfa-9f99-15ca226e21d0', 'mac_address': '02:7b:6c:5c:40:41', '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': '140.238.222.69', 'subnet_id': '4a4f46df-eace-444c-a895-5c2f08513026'}], 'security_groups': ['b6211a0f-1bda-488a-8d6b-6e41604a181d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '196f1358a0c941af8f8389d925b729f4'}} 2025-08-26 00:06:40,907 - DEBUG - Services list from nova: [, , ] 2025-08-26 00:06:41,233 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:06:41,661 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3932-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3932-1) 2025-08-26 00:06:41,661 - INFO - Waiting for VM ctest-vn1-vm1-70177859 to be up.. 2025-08-26 00:06:41,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 00:06:46,917 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:06:46,917 - INFO - VM name : ctest-vn1-vm1-70177859 2025-08-26 00:06:46,992 - DEBUG - VM ctest-vn1-vm1-70177859 ID is b60bb267-320b-4345-933a-beadfd7d3bb9 2025-08-26 00:06:47,010 - DEBUG - VM ctest-vn1-vm1-70177859 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:06:47,141 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b60bb267-320b-4345-933a-beadfd7d3bb9 2025-08-26 00:06:47,149 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1101a302-21e9-46ae-9495-965efdda3d96 2025-08-26 00:06:50,414 - 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-08-26 00:06:50,414 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70177859 failed! 2025-08-26 00:06:50,469 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43374027:ctest-vn1-93653005 is 190.33.59.193 and allocation pool is NOT set 2025-08-26 00:06:50,469 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-43374027:ctest-vn1-93653005 is 140.238.222.65 and allocation pool is NOT set 2025-08-26 00:06:54,543 - 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.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.086/7.086/7.086/0.000 ms') 2025-08-26 00:06:54,543 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-70177859 passed 2025-08-26 00:06:54,697 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:06:54,697 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-70177859, IP 190.33.59.197, Port 22 2025-08-26 00:06:54,863 - DEBUG - VM ctest-vn1-vm1-70177859 is ready for SSH connections 2025-08-26 00:06:54,863 - INFO - Waiting for VM ctest-vn1-vm2-40413110 to be up.. 2025-08-26 00:06:54,941 - DEBUG - VM is in ACTIVE state now 2025-08-26 00:06:54,941 - INFO - VM name : ctest-vn1-vm2-40413110 2025-08-26 00:06:55,012 - DEBUG - VM ctest-vn1-vm2-40413110 ID is 547ba7ac-8930-4047-ad1e-c3e86240b2f8 2025-08-26 00:06:55,012 - DEBUG - VM ctest-vn1-vm2-40413110 launched on Node cn-jenkins-deploy-platform-ansible-os-3932-1 2025-08-26 00:06:55,083 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/547ba7ac-8930-4047-ad1e-c3e86240b2f8 2025-08-26 00:06:55,091 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/7b6c5c40-4122-4475-93e7-b9f9b239088d 2025-08-26 00:06:56,337 - 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.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/1.902/3.367/1.465 ms') 2025-08-26 00:06:56,337 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-40413110 passed 2025-08-26 00:06:56,489 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:06:56,489 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-40413110, IP 140.238.222.69, Port 22 2025-08-26 00:06:56,644 - DEBUG - VM ctest-vn1-vm2-40413110 is ready for SSH connections 2025-08-26 00:06:56,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:06:56,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:06:56,645 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 00:06:56,645 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 190.33.59.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-08-26 00:06:56,645 - DEBUG - ping -s 56 -c 3 -W 1 190.33.59.197 2025-08-26 00:06:59,556 - DEBUG - PING 190.33.59.197 (190.33.59.197): 56 data bytes 64 bytes from 190.33.59.197: seq=0 ttl=63 time=3.180 ms 64 bytes from 190.33.59.197: seq=1 ttl=63 time=0.959 ms 64 bytes from 190.33.59.197: seq=2 ttl=63 time=0.844 ms --- 190.33.59.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.661/3.180 ms 2025-08-26 00:06:59,556 - INFO - Ping to IP 190.33.59.197 from VM ctest-vn1-vm2-40413110 passed 2025-08-26 00:06:59,556 - INFO - Detaching port 7b6c5c40-4122-4475-93e7-b9f9b239088d from VM ctest-vn1-vm2-40413110 2025-08-26 00:06:59,606 - INFO - Deleting VM ctest-vn1-vm2-40413110 2025-08-26 00:06:59,697 - INFO - Detaching port 1101a302-21e9-46ae-9495-965efdda3d96 from VM ctest-vn1-vm1-70177859 2025-08-26 00:06:59,736 - INFO - Deleting VM ctest-vn1-vm1-70177859 2025-08-26 00:06:59,976 - DEBUG - Response for delete_port : () 2025-08-26 00:07:00,135 - DEBUG - Response for delete_port : () 2025-08-26 00:07:00,135 - INFO - Deleting VN ctest-vn1-93653005 2025-08-26 00:07:00,307 - DEBUG - Response for deleting network () 2025-08-26 00:07:00,563 - DEBUG - No XMPP flaps were noticed during the test 2025-08-26 00:07:00,563 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21] 2025-08-26 00:07:00,563 - INFO - -------------------------------------------------------------------------------- 2025-08-26 00:07:01,232 - INFO - Deleted project: ctest-TestPorts-43374027, ID : 196f1358-a0c9-41af-8f83-89d925b729f4