2025-09-15 02:08:17,644 - INFO - Domain Default found not creating 2025-09-15 02:08:17,796 - INFO - Project ctest-TestPorts-18832344 not found, creating it 2025-09-15 02:08:18,238 - INFO - Created Project:ctest-TestPorts-18832344, ID : 54022c17-6016-48da-8dea-f0417ecb2e16 2025-09-15 02:08:19,762 - INFO - ================================================================================ 2025-09-15 02:08:19,762 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 02:08:19,762 - 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-15 02:08:20,027 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0'}} with 2025-09-15 02:08:20,027 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:08:20,027 - INFO - 2025-09-15 02:08:20,576 - DEBUG - Response for create_network : {'network': {'id': 'a2c9b1ae-a372-4f0a-9426-d1c0971f9a59', 'name': 'ctest-vn-45375011', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'project_id': '54022c17601648da8deaf0417ecb2e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18832344', 'ctest-vn-45375011'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:08:20,739 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d300bda-04b1-42f4-b021-2cff40760288', 'name': '', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': 'a2c9b1ae-a372-4f0a-9426-d1c0971f9a59', 'ip_version': 4, 'cidr': '93.25.216.64/26', 'allocation_pools': [{'start': '93.25.216.66', 'end': '93.25.216.126'}], 'gateway_ip': '93.25.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.25.216.66', 'tags': [], 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:20,757 - INFO - Created VN ctest-vn-45375011 2025-09-15 02:08:20,809 - DEBUG - VN ctest-vn-45375011 UUID is a2c9b1ae-a372-4f0a-9426-d1c0971f9a59 2025-09-15 02:08:20,912 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-18832344', 'ctest-vmi-09378270']} 2025-09-15 02:08:21,180 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09378270', 'id': 'a7dfa71a-f75c-4377-8316-9db9c027c8a0', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': 'a2c9b1ae-a372-4f0a-9426-d1c0971f9a59', 'mac_address': '02:a7:df:a7:1a:f7', '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': '93.25.216.67', 'subnet_id': '6d300bda-04b1-42f4-b021-2cff40760288'}], 'security_groups': ['5b1c43d9-a272-43a5-a13a-6c73d3f6a186'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:21,181 - DEBUG - Created port a7dfa71a-f75c-4377-8316-9db9c027c8a0 2025-09-15 02:08:21,285 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a7dfa71a-f75c-4377-8316-9db9c027c8a0 2025-09-15 02:08:21,576 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a7dfa71a-f75c-4377-8316-9db9c027c8a0 2025-09-15 02:08:21,606 - INFO - VMI a7dfa71a-f75c-4377-8316-9db9c027c8a0 verification in API Server passed 2025-09-15 02:08:21,685 - DEBUG - Response for delete_port : () 2025-09-15 02:08:21,685 - INFO - Deleted port a7dfa71a-f75c-4377-8316-9db9c027c8a0 2025-09-15 02:08:21,686 - INFO - Deleting VN ctest-vn-45375011 2025-09-15 02:08:21,777 - DEBUG - Response for deleting network () 2025-09-15 02:08:22,041 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:08:22,041 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-15 02:08:22,041 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:08:22,044 - INFO - ================================================================================ 2025-09-15 02:08:22,044 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 02:08:22,044 - 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-15 02:08:22,326 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.249': '0'}} with 2025-09-15 02:08:22,326 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:08:22,326 - INFO - 2025-09-15 02:08:22,492 - DEBUG - Response for create_network : {'network': {'id': '5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7', 'name': 'ctest-vn1-17819988', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'project_id': '54022c17601648da8deaf0417ecb2e16', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-18832344', 'ctest-vn1-17819988'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:08:22,698 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd7b5f131-3f2f-4b78-906e-fad6d4bf347b', 'name': '', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': '5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7', 'ip_version': 4, 'cidr': '45.137.111.192/26', 'allocation_pools': [{'start': '45.137.111.194', 'end': '45.137.111.254'}], 'gateway_ip': '45.137.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.137.111.194', 'tags': [], 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:22,904 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b3d2797-215d-492d-b37f-72af35ca204a', 'name': '', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': '5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7', 'ip_version': 4, 'cidr': '73.143.16.192/26', 'allocation_pools': [{'start': '73.143.16.194', 'end': '73.143.16.254'}], 'gateway_ip': '73.143.16.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.143.16.194', 'tags': [], 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:22,923 - INFO - Created VN ctest-vn1-17819988 2025-09-15 02:08:22,973 - DEBUG - VN ctest-vn1-17819988 UUID is 5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7 2025-09-15 02:08:23,251 - DEBUG - Response for create_port : {'port': {'name': '1e7410ec-4eea-4aa0-97a3-3a0d67fe8d9f', 'id': '1e7410ec-4eea-4aa0-97a3-3a0d67fe8d9f', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': '5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7', 'mac_address': '02:1e:74:10:ec:4e', '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': '45.137.111.197', 'subnet_id': 'd7b5f131-3f2f-4b78-906e-fad6d4bf347b'}], 'security_groups': ['5b1c43d9-a272-43a5-a13a-6c73d3f6a186'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:23,419 - DEBUG - Response for create_port : {'port': {'name': '579e7541-b64e-4f66-a764-d2fc69c14c88', 'id': '579e7541-b64e-4f66-a764-d2fc69c14c88', 'tenant_id': '54022c17601648da8deaf0417ecb2e16', 'network_id': '5ea53c39-83e2-4c20-be88-9b4cc5d8a2a7', 'mac_address': '02:57:9e:75:41:b6', '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': '73.143.16.197', 'subnet_id': '0b3d2797-215d-492d-b37f-72af35ca204a'}], 'security_groups': ['5b1c43d9-a272-43a5-a13a-6c73d3f6a186'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '54022c17601648da8deaf0417ecb2e16'}} 2025-09-15 02:08:23,476 - DEBUG - Services list from nova: [, , ] 2025-09-15 02:08:23,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4109-1) 2025-09-15 02:08:24,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4109-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4109-1) 2025-09-15 02:08:24,159 - INFO - Waiting for VM ctest-vn1-vm1-82584266 to be up.. 2025-09-15 02:08:24,198 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:08:29,278 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:08:29,278 - INFO - VM name : ctest-vn1-vm1-82584266 2025-09-15 02:08:29,348 - DEBUG - VM ctest-vn1-vm1-82584266 ID is b9ac81ee-e71d-4dfd-92b7-77ad85a152dd 2025-09-15 02:08:29,368 - DEBUG - VM ctest-vn1-vm1-82584266 launched on Node cn-jenkins-deploy-platform-ansible-os-4109-1 2025-09-15 02:08:29,446 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b9ac81ee-e71d-4dfd-92b7-77ad85a152dd 2025-09-15 02:08:29,454 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/1e7410ec-4eea-4aa0-97a3-3a0d67fe8d9f 2025-09-15 02:08:32,696 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1013ms') 2025-09-15 02:08:32,696 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82584266 failed! 2025-09-15 02:08:32,749 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18832344:ctest-vn1-17819988 is 45.137.111.193 and allocation pool is NOT set 2025-09-15 02:08:32,749 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-18832344:ctest-vn1-17819988 is 73.143.16.193 and allocation pool is NOT set 2025-09-15 02:08:36,828 - 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=2 ttl=63 time=7.81 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 7.805/7.805/7.805/0.000 ms') 2025-09-15 02:08:36,828 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-82584266 passed 2025-09-15 02:08:36,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:08:36,977 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82584266, IP 45.137.111.197, Port 22 2025-09-15 02:08:37,133 - DEBUG - VM ctest-vn1-vm1-82584266 is ready for SSH connections 2025-09-15 02:08:37,133 - INFO - Waiting for VM ctest-vn1-vm2-42499150 to be up.. 2025-09-15 02:08:37,206 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:08:37,206 - INFO - VM name : ctest-vn1-vm2-42499150 2025-09-15 02:08:37,280 - DEBUG - VM ctest-vn1-vm2-42499150 ID is 43aab7eb-417a-4cc8-8714-74c9e05bd518 2025-09-15 02:08:37,280 - DEBUG - VM ctest-vn1-vm2-42499150 launched on Node cn-jenkins-deploy-platform-ansible-os-4109-1 2025-09-15 02:08:37,344 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/43aab7eb-417a-4cc8-8714-74c9e05bd518 2025-09-15 02:08:37,351 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/579e7541-b64e-4f66-a764-d2fc69c14c88 2025-09-15 02:08:38,586 - 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=2.83 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.359 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.359/1.593/2.828/1.234 ms') 2025-09-15 02:08:38,586 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-42499150 passed 2025-09-15 02:08:38,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:08:38,733 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-42499150, IP 73.143.16.197, Port 22 2025-09-15 02:08:38,893 - DEBUG - VM ctest-vn1-vm2-42499150 is ready for SSH connections 2025-09-15 02:08:38,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:08:38,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:08:38,893 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:08:38,893 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.137.111.197, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-09-15 02:08:38,894 - DEBUG - ping -s 56 -c 3 -W 1 45.137.111.197 2025-09-15 02:08:42,607 - DEBUG - PING 45.137.111.197 (45.137.111.197): 56 data bytes 64 bytes from 45.137.111.197: seq=0 ttl=63 time=3.646 ms 64 bytes from 45.137.111.197: seq=1 ttl=63 time=0.724 ms 64 bytes from 45.137.111.197: seq=2 ttl=63 time=2.153 ms --- 45.137.111.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.724/2.174/3.646 ms 2025-09-15 02:08:42,608 - INFO - Ping to IP 45.137.111.197 from VM ctest-vn1-vm2-42499150 passed 2025-09-15 02:08:42,608 - INFO - Detaching port 579e7541-b64e-4f66-a764-d2fc69c14c88 from VM ctest-vn1-vm2-42499150 2025-09-15 02:08:42,653 - INFO - Deleting VM ctest-vn1-vm2-42499150 2025-09-15 02:08:42,727 - INFO - Detaching port 1e7410ec-4eea-4aa0-97a3-3a0d67fe8d9f from VM ctest-vn1-vm1-82584266 2025-09-15 02:08:42,759 - INFO - Deleting VM ctest-vn1-vm1-82584266 2025-09-15 02:08:42,962 - DEBUG - Response for delete_port : () 2025-09-15 02:08:43,113 - DEBUG - Response for delete_port : () 2025-09-15 02:08:43,113 - INFO - Deleting VN ctest-vn1-17819988 2025-09-15 02:08:43,255 - DEBUG - Response for deleting network () 2025-09-15 02:08:43,514 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:08:43,514 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-09-15 02:08:43,514 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:08:44,196 - INFO - Deleted project: ctest-TestPorts-18832344, ID : 54022c17-6016-48da-8dea-f0417ecb2e16