2025-11-03 09:10:49,057 - INFO - Domain Default found not creating 2025-11-03 09:10:49,243 - INFO - Project ctest-TestPorts-08676151 not found, creating it 2025-11-03 09:10:49,751 - INFO - Created Project:ctest-TestPorts-08676151, ID : 533c85cb-ffec-4297-9fc2-4c30de451858 2025-11-03 09:10:51,308 - INFO - ================================================================================ 2025-11-03 09:10:51,309 - INFO - STARTING TEST : test_ports_bindings 2025-11-03 09:10:51,309 - 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-03 09:10:51,564 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-03 09:10:51,564 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:10:51,564 - INFO - 2025-11-03 09:10:52,141 - DEBUG - Response for create_network : {'network': {'id': '005e2c17-704f-4f22-882f-bf201487d4e9', 'name': 'ctest-vn-24504824', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'project_id': '533c85cbffec42979fc24c30de451858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08676151', 'ctest-vn-24504824'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:10:52,350 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2d73eaf-6474-441c-85f2-42d7313e8283', 'name': '', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': '005e2c17-704f-4f22-882f-bf201487d4e9', 'ip_version': 4, 'cidr': '46.139.152.64/26', 'allocation_pools': [{'start': '46.139.152.66', 'end': '46.139.152.126'}], 'gateway_ip': '46.139.152.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.139.152.66', 'tags': [], 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:52,369 - INFO - Created VN ctest-vn-24504824 2025-11-03 09:10:52,422 - DEBUG - VN ctest-vn-24504824 UUID is 005e2c17-704f-4f22-882f-bf201487d4e9 2025-11-03 09:10:52,533 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-08676151', 'ctest-vmi-58842460']} 2025-11-03 09:10:52,768 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58842460', 'id': '4ae09558-a5dd-467b-935f-d122f1a580b5', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': '005e2c17-704f-4f22-882f-bf201487d4e9', 'mac_address': '02:4a:e0:95:58: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': '46.139.152.67', 'subnet_id': 'a2d73eaf-6474-441c-85f2-42d7313e8283'}], 'security_groups': ['9667858c-935c-41b1-9758-cd83a8beb5e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:52,768 - DEBUG - Created port 4ae09558-a5dd-467b-935f-d122f1a580b5 2025-11-03 09:10:52,870 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4ae09558-a5dd-467b-935f-d122f1a580b5 2025-11-03 09:10:53,211 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/4ae09558-a5dd-467b-935f-d122f1a580b5 2025-11-03 09:10:53,252 - INFO - VMI 4ae09558-a5dd-467b-935f-d122f1a580b5 verification in API Server passed 2025-11-03 09:10:53,343 - DEBUG - Response for delete_port : () 2025-11-03 09:10:53,343 - INFO - Deleted port 4ae09558-a5dd-467b-935f-d122f1a580b5 2025-11-03 09:10:53,343 - INFO - Deleting VN ctest-vn-24504824 2025-11-03 09:10:53,449 - DEBUG - Response for deleting network () 2025-11-03 09:10:53,711 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:10:53,711 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 09:10:53,711 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:10:53,715 - INFO - ================================================================================ 2025-11-03 09:10:53,715 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-03 09:10:53,715 - 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-03 09:10:53,999 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.254': '0'}} with 2025-11-03 09:10:53,999 - INFO - Initial checks done. Running the testcase now 2025-11-03 09:10:53,999 - INFO - 2025-11-03 09:10:54,201 - DEBUG - Response for create_network : {'network': {'id': 'b1fbcad4-2242-409c-aebd-c354ff32e802', 'name': 'ctest-vn1-07611305', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'project_id': '533c85cbffec42979fc24c30de451858', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-08676151', 'ctest-vn1-07611305'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 09:10:54,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '50d85ce7-e5e3-48d0-a6bb-2c1a7af364aa', 'name': '', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': 'b1fbcad4-2242-409c-aebd-c354ff32e802', 'ip_version': 4, 'cidr': '164.235.80.192/26', 'allocation_pools': [{'start': '164.235.80.194', 'end': '164.235.80.254'}], 'gateway_ip': '164.235.80.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '164.235.80.194', 'tags': [], 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:54,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '1aef6e62-e203-4f5d-b775-e0b2c02075c7', 'name': '', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': 'b1fbcad4-2242-409c-aebd-c354ff32e802', 'ip_version': 4, 'cidr': '42.77.7.0/26', 'allocation_pools': [{'start': '42.77.7.2', 'end': '42.77.7.62'}], 'gateway_ip': '42.77.7.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.77.7.2', 'tags': [], 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:54,648 - INFO - Created VN ctest-vn1-07611305 2025-11-03 09:10:54,706 - DEBUG - VN ctest-vn1-07611305 UUID is b1fbcad4-2242-409c-aebd-c354ff32e802 2025-11-03 09:10:55,056 - DEBUG - Response for create_port : {'port': {'name': 'e3fc9c2e-f9d2-4b58-bc8f-18bad7a66e9b', 'id': 'e3fc9c2e-f9d2-4b58-bc8f-18bad7a66e9b', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': 'b1fbcad4-2242-409c-aebd-c354ff32e802', 'mac_address': '02:e3:fc:9c:2e:f9', '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': '164.235.80.197', 'subnet_id': '50d85ce7-e5e3-48d0-a6bb-2c1a7af364aa'}], 'security_groups': ['9667858c-935c-41b1-9758-cd83a8beb5e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:55,263 - DEBUG - Response for create_port : {'port': {'name': '86a7c90e-3c43-455d-960e-ec3419915cce', 'id': '86a7c90e-3c43-455d-960e-ec3419915cce', 'tenant_id': '533c85cbffec42979fc24c30de451858', 'network_id': 'b1fbcad4-2242-409c-aebd-c354ff32e802', 'mac_address': '02:86:a7:c9:0e:3c', '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': '42.77.7.5', 'subnet_id': '1aef6e62-e203-4f5d-b775-e0b2c02075c7'}], 'security_groups': ['9667858c-935c-41b1-9758-cd83a8beb5e7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '533c85cbffec42979fc24c30de451858'}} 2025-11-03 09:10:55,349 - DEBUG - Services list from nova: [, , ] 2025-11-03 09:10:55,704 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:10:56,104 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4603-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4603-1) 2025-11-03 09:10:56,104 - INFO - Waiting for VM ctest-vn1-vm1-06604121 to be up.. 2025-11-03 09:10:56,152 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 09:11:01,230 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:11:01,230 - INFO - VM name : ctest-vn1-vm1-06604121 2025-11-03 09:11:01,307 - DEBUG - VM ctest-vn1-vm1-06604121 ID is 84a11e66-0b47-4eeb-81b5-93c32036e4ea 2025-11-03 09:11:01,329 - DEBUG - VM ctest-vn1-vm1-06604121 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:11:01,412 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/84a11e66-0b47-4eeb-81b5-93c32036e4ea 2025-11-03 09:11:01,423 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/e3fc9c2e-f9d2-4b58-bc8f-18bad7a66e9b 2025-11-03 09:11:04,700 - 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 1030ms') 2025-11-03 09:11:04,700 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06604121 failed! 2025-11-03 09:11:04,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08676151:ctest-vn1-07611305 is 164.235.80.193 and allocation pool is NOT set 2025-11-03 09:11:04,758 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08676151:ctest-vn1-07611305 is 42.77.7.1 and allocation pool is NOT set 2025-11-03 09:11:08,858 - 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-11-03 09:11:08,858 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06604121 failed! 2025-11-03 09:11:08,918 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08676151:ctest-vn1-07611305 is 164.235.80.193 and allocation pool is NOT set 2025-11-03 09:11:08,918 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-08676151:ctest-vn1-07611305 is 42.77.7.1 and allocation pool is NOT set 2025-11-03 09:11:10,988 - 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=3.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.828/3.203/1.375 ms') 2025-11-03 09:11:10,988 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-06604121 passed 2025-11-03 09:11:11,138 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:11:11,139 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-06604121, IP 164.235.80.197, Port 22 2025-11-03 09:11:11,294 - DEBUG - VM ctest-vn1-vm1-06604121 is ready for SSH connections 2025-11-03 09:11:11,294 - INFO - Waiting for VM ctest-vn1-vm2-11411195 to be up.. 2025-11-03 09:11:11,374 - DEBUG - VM is in ACTIVE state now 2025-11-03 09:11:11,374 - INFO - VM name : ctest-vn1-vm2-11411195 2025-11-03 09:11:11,450 - DEBUG - VM ctest-vn1-vm2-11411195 ID is 73a4a814-3f6d-41a4-a30a-f4a61a0da501 2025-11-03 09:11:11,450 - DEBUG - VM ctest-vn1-vm2-11411195 launched on Node cn-jenkins-deploy-platform-ansible-os-4603-1 2025-11-03 09:11:11,528 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/73a4a814-3f6d-41a4-a30a-f4a61a0da501 2025-11-03 09:11:11,537 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/86a7c90e-3c43-455d-960e-ec3419915cce 2025-11-03 09:11:12,780 - 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.33 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.882/3.325/1.443 ms') 2025-11-03 09:11:12,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-11411195 passed 2025-11-03 09:11:12,934 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:11:12,934 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-11411195, IP 42.77.7.5, Port 22 2025-11-03 09:11:13,090 - DEBUG - VM ctest-vn1-vm2-11411195 is ready for SSH connections 2025-11-03 09:11:13,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:11:13,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:11:13,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 09:11:13,091 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 164.235.80.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2025-11-03 09:11:13,091 - DEBUG - ping -s 56 -c 3 -W 1 164.235.80.197 2025-11-03 09:11:15,778 - DEBUG - PING 164.235.80.197 (164.235.80.197): 56 data bytes 64 bytes from 164.235.80.197: seq=0 ttl=63 time=4.425 ms 64 bytes from 164.235.80.197: seq=1 ttl=63 time=0.942 ms 64 bytes from 164.235.80.197: seq=2 ttl=63 time=1.052 ms --- 164.235.80.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.942/2.139/4.425 ms 2025-11-03 09:11:15,778 - INFO - Ping to IP 164.235.80.197 from VM ctest-vn1-vm2-11411195 passed 2025-11-03 09:11:15,778 - INFO - Detaching port 86a7c90e-3c43-455d-960e-ec3419915cce from VM ctest-vn1-vm2-11411195 2025-11-03 09:11:15,830 - INFO - Deleting VM ctest-vn1-vm2-11411195 2025-11-03 09:11:15,904 - INFO - Detaching port e3fc9c2e-f9d2-4b58-bc8f-18bad7a66e9b from VM ctest-vn1-vm1-06604121 2025-11-03 09:11:15,944 - INFO - Deleting VM ctest-vn1-vm1-06604121 2025-11-03 09:11:16,223 - DEBUG - Response for delete_port : () 2025-11-03 09:11:16,435 - DEBUG - Response for delete_port : () 2025-11-03 09:11:16,435 - INFO - Deleting VN ctest-vn1-07611305 2025-11-03 09:11:16,810 - DEBUG - Response for deleting network () 2025-11-03 09:11:17,090 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:11:17,090 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-03 09:11:17,090 - INFO - -------------------------------------------------------------------------------- 2025-11-03 09:11:18,118 - INFO - Deleted project: ctest-TestPorts-08676151, ID : 533c85cb-ffec-4297-9fc2-4c30de451858