2025-08-12 17:18:20,389 - INFO - Domain Default found not creating 2025-08-12 17:18:20,507 - INFO - Project ctest-TestPorts-33566465 not found, creating it 2025-08-12 17:18:20,963 - INFO - Created Project:ctest-TestPorts-33566465, ID : e25eeabb-4847-4ec1-9933-6d771ee0e715 2025-08-12 17:18:22,305 - INFO - ================================================================================ 2025-08-12 17:18:22,305 - INFO - STARTING TEST : test_ports_bindings 2025-08-12 17:18:22,305 - 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-12 17:18:22,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 17:18:22,560 - INFO - Initial checks done. Running the testcase now 2025-08-12 17:18:22,560 - INFO - 2025-08-12 17:18:23,068 - DEBUG - Response for create_network : {'network': {'id': '4096959a-50c9-4ce2-8d56-95d7e9670ef1', 'name': 'ctest-vn-00968401', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'project_id': 'e25eeabb48474ec199336d771ee0e715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33566465', 'ctest-vn-00968401'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 17:18:23,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '32f2c5de-445a-4808-8163-c3dac9955022', 'name': '', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': '4096959a-50c9-4ce2-8d56-95d7e9670ef1', 'ip_version': 4, 'cidr': '79.178.211.0/26', 'allocation_pools': [{'start': '79.178.211.2', 'end': '79.178.211.62'}], 'gateway_ip': '79.178.211.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.178.211.2', 'tags': [], 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:23,233 - INFO - Created VN ctest-vn-00968401 2025-08-12 17:18:23,287 - DEBUG - VN ctest-vn-00968401 UUID is 4096959a-50c9-4ce2-8d56-95d7e9670ef1 2025-08-12 17:18:23,380 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-33566465', 'ctest-vmi-31354439']} 2025-08-12 17:18:23,645 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-31354439', 'id': '35c2087a-85e9-4836-ab5e-fd46bb559d49', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': '4096959a-50c9-4ce2-8d56-95d7e9670ef1', 'mac_address': '02:35:c2:08:7a:85', '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': '79.178.211.3', 'subnet_id': '32f2c5de-445a-4808-8163-c3dac9955022'}], 'security_groups': ['0957c6f3-e4cf-4ab4-bd5b-61b0b24fd27b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:23,645 - DEBUG - Created port 35c2087a-85e9-4836-ab5e-fd46bb559d49 2025-08-12 17:18:23,750 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35c2087a-85e9-4836-ab5e-fd46bb559d49 2025-08-12 17:18:24,037 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/35c2087a-85e9-4836-ab5e-fd46bb559d49 2025-08-12 17:18:24,066 - INFO - VMI 35c2087a-85e9-4836-ab5e-fd46bb559d49 verification in API Server passed 2025-08-12 17:18:24,140 - DEBUG - Response for delete_port : () 2025-08-12 17:18:24,140 - INFO - Deleted port 35c2087a-85e9-4836-ab5e-fd46bb559d49 2025-08-12 17:18:24,140 - INFO - Deleting VN ctest-vn-00968401 2025-08-12 17:18:24,229 - DEBUG - Response for deleting network () 2025-08-12 17:18:24,484 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 17:18:24,484 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-12 17:18:24,484 - INFO - -------------------------------------------------------------------------------- 2025-08-12 17:18:24,486 - INFO - ================================================================================ 2025-08-12 17:18:24,486 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-12 17:18:24,486 - 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-12 17:18:24,771 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-08-12 17:18:24,771 - INFO - Initial checks done. Running the testcase now 2025-08-12 17:18:24,771 - INFO - 2025-08-12 17:18:24,930 - DEBUG - Response for create_network : {'network': {'id': 'f6a2b56d-4c35-4c82-b788-8a00ffc6e07b', 'name': 'ctest-vn1-73327572', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'project_id': 'e25eeabb48474ec199336d771ee0e715', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-33566465', 'ctest-vn1-73327572'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 17:18:25,133 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdffcfbe-0388-440f-879c-e52becffe1e9', 'name': '', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': 'f6a2b56d-4c35-4c82-b788-8a00ffc6e07b', 'ip_version': 4, 'cidr': '159.28.86.192/26', 'allocation_pools': [{'start': '159.28.86.194', 'end': '159.28.86.254'}], 'gateway_ip': '159.28.86.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.28.86.194', 'tags': [], 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:25,296 - DEBUG - Response for create_subnet : {'subnet': {'id': '55c0665b-643f-4137-93eb-32229a544e77', 'name': '', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': 'f6a2b56d-4c35-4c82-b788-8a00ffc6e07b', 'ip_version': 4, 'cidr': '194.184.254.192/26', 'allocation_pools': [{'start': '194.184.254.194', 'end': '194.184.254.254'}], 'gateway_ip': '194.184.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.184.254.194', 'tags': [], 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:25,311 - INFO - Created VN ctest-vn1-73327572 2025-08-12 17:18:25,362 - DEBUG - VN ctest-vn1-73327572 UUID is f6a2b56d-4c35-4c82-b788-8a00ffc6e07b 2025-08-12 17:18:25,627 - DEBUG - Response for create_port : {'port': {'name': '38621ae6-c474-49ce-a611-7bb63f3a7e5d', 'id': '38621ae6-c474-49ce-a611-7bb63f3a7e5d', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': 'f6a2b56d-4c35-4c82-b788-8a00ffc6e07b', 'mac_address': '02:38:62:1a:e6:c4', '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': '159.28.86.197', 'subnet_id': 'bdffcfbe-0388-440f-879c-e52becffe1e9'}], 'security_groups': ['0957c6f3-e4cf-4ab4-bd5b-61b0b24fd27b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:25,782 - DEBUG - Response for create_port : {'port': {'name': '48a06698-44ea-45eb-ad9e-5d7252ac89b4', 'id': '48a06698-44ea-45eb-ad9e-5d7252ac89b4', 'tenant_id': 'e25eeabb48474ec199336d771ee0e715', 'network_id': 'f6a2b56d-4c35-4c82-b788-8a00ffc6e07b', 'mac_address': '02:48:a0:66:98:44', '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': '194.184.254.197', 'subnet_id': '55c0665b-643f-4137-93eb-32229a544e77'}], 'security_groups': ['0957c6f3-e4cf-4ab4-bd5b-61b0b24fd27b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e25eeabb48474ec199336d771ee0e715'}} 2025-08-12 17:18:25,829 - DEBUG - Services list from nova: [, , ] 2025-08-12 17:18:26,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3836-1) 2025-08-12 17:18:26,525 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3836-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3836-1) 2025-08-12 17:18:26,525 - INFO - Waiting for VM ctest-vn1-vm1-36559140 to be up.. 2025-08-12 17:18:26,557 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 17:18:31,621 - DEBUG - VM is in ACTIVE state now 2025-08-12 17:18:31,621 - INFO - VM name : ctest-vn1-vm1-36559140 2025-08-12 17:18:31,685 - DEBUG - VM ctest-vn1-vm1-36559140 ID is d216202e-423a-4d07-9dab-1fb834584926 2025-08-12 17:18:31,701 - DEBUG - VM ctest-vn1-vm1-36559140 launched on Node cn-jenkins-deploy-platform-ansible-os-3836-1 2025-08-12 17:18:31,766 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d216202e-423a-4d07-9dab-1fb834584926 2025-08-12 17:18:31,773 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/38621ae6-c474-49ce-a611-7bb63f3a7e5d 2025-08-12 17:18:35,028 - 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 1028ms') 2025-08-12 17:18:35,028 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36559140 failed! 2025-08-12 17:18:35,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33566465:ctest-vn1-73327572 is 159.28.86.193 and allocation pool is NOT set 2025-08-12 17:18:35,087 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-33566465:ctest-vn1-73327572 is 194.184.254.193 and allocation pool is NOT set 2025-08-12 17:18:37,144 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.41 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 = 1.414/2.699/3.984/1.285 ms') 2025-08-12 17:18:37,144 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-36559140 passed 2025-08-12 17:18:37,303 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 17:18:37,303 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-36559140, IP 159.28.86.197, Port 22 2025-08-12 17:18:37,454 - DEBUG - VM ctest-vn1-vm1-36559140 is ready for SSH connections 2025-08-12 17:18:37,454 - INFO - Waiting for VM ctest-vn1-vm2-75847153 to be up.. 2025-08-12 17:18:37,520 - DEBUG - VM is in ACTIVE state now 2025-08-12 17:18:37,520 - INFO - VM name : ctest-vn1-vm2-75847153 2025-08-12 17:18:37,582 - DEBUG - VM ctest-vn1-vm2-75847153 ID is 0799e600-00ee-44b4-ae20-7ef07349f7dd 2025-08-12 17:18:37,582 - DEBUG - VM ctest-vn1-vm2-75847153 launched on Node cn-jenkins-deploy-platform-ansible-os-3836-1 2025-08-12 17:18:37,642 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0799e600-00ee-44b4-ae20-7ef07349f7dd 2025-08-12 17:18:37,649 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/48a06698-44ea-45eb-ad9e-5d7252ac89b4 2025-08-12 17:18:38,882 - 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=2.51 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.343 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.343/1.427/2.512/1.084 ms') 2025-08-12 17:18:38,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-75847153 passed 2025-08-12 17:18:39,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 17:18:39,047 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-75847153, IP 194.184.254.197, Port 22 2025-08-12 17:18:39,198 - DEBUG - VM ctest-vn1-vm2-75847153 is ready for SSH connections 2025-08-12 17:18:39,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 17:18:39,198 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 17:18:39,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 17:18:39,199 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.28.86.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-12 17:18:39,199 - DEBUG - ping -s 56 -c 3 -W 1 159.28.86.197 2025-08-12 17:18:42,066 - DEBUG - PING 159.28.86.197 (159.28.86.197): 56 data bytes 64 bytes from 159.28.86.197: seq=0 ttl=63 time=4.122 ms 64 bytes from 159.28.86.197: seq=1 ttl=63 time=0.738 ms 64 bytes from 159.28.86.197: seq=2 ttl=63 time=0.628 ms --- 159.28.86.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.628/1.829/4.122 ms 2025-08-12 17:18:42,066 - INFO - Ping to IP 159.28.86.197 from VM ctest-vn1-vm2-75847153 passed 2025-08-12 17:18:42,066 - INFO - Detaching port 48a06698-44ea-45eb-ad9e-5d7252ac89b4 from VM ctest-vn1-vm2-75847153 2025-08-12 17:18:42,108 - INFO - Deleting VM ctest-vn1-vm2-75847153 2025-08-12 17:18:42,160 - INFO - Detaching port 38621ae6-c474-49ce-a611-7bb63f3a7e5d from VM ctest-vn1-vm1-36559140 2025-08-12 17:18:42,187 - INFO - Deleting VM ctest-vn1-vm1-36559140 2025-08-12 17:18:42,366 - DEBUG - Response for delete_port : () 2025-08-12 17:18:42,527 - DEBUG - Response for delete_port : () 2025-08-12 17:18:42,527 - INFO - Deleting VN ctest-vn1-73327572 2025-08-12 17:18:42,661 - DEBUG - Response for deleting network () 2025-08-12 17:18:42,916 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 17:18:42,916 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-08-12 17:18:42,916 - INFO - -------------------------------------------------------------------------------- 2025-08-12 17:18:43,743 - INFO - Deleted project: ctest-TestPorts-33566465, ID : e25eeabb-4847-4ec1-9933-6d771ee0e715