2025-09-19 08:29:10,418 - INFO - Domain Default found not creating 2025-09-19 08:29:10,559 - INFO - Project ctest-TestPorts-45293495 not found, creating it 2025-09-19 08:29:10,993 - INFO - Created Project:ctest-TestPorts-45293495, ID : e0a7865a-93d9-4261-aa36-1b71aac68f5c 2025-09-19 08:29:12,940 - INFO - ================================================================================ 2025-09-19 08:29:12,940 - INFO - STARTING TEST : test_ports_bindings 2025-09-19 08:29:12,940 - 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-19 08:29:13,193 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 08:29:13,193 - INFO - Initial checks done. Running the testcase now 2025-09-19 08:29:13,193 - INFO - 2025-09-19 08:29:13,709 - DEBUG - Response for create_network : {'network': {'id': '015822a5-9f48-4f9e-a599-ec9927c00e6a', 'name': 'ctest-vn-04922829', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'project_id': 'e0a7865a93d94261aa361b71aac68f5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45293495', 'ctest-vn-04922829'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:29:13,868 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3e3adfe-572f-4b4e-ad04-1d80351ba352', 'name': '', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': '015822a5-9f48-4f9e-a599-ec9927c00e6a', 'ip_version': 4, 'cidr': '131.128.73.192/26', 'allocation_pools': [{'start': '131.128.73.194', 'end': '131.128.73.254'}], 'gateway_ip': '131.128.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.128.73.194', 'tags': [], 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:13,886 - INFO - Created VN ctest-vn-04922829 2025-09-19 08:29:13,936 - DEBUG - VN ctest-vn-04922829 UUID is 015822a5-9f48-4f9e-a599-ec9927c00e6a 2025-09-19 08:29:14,041 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45293495', 'ctest-vmi-45718067']} 2025-09-19 08:29:14,312 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-45718067', 'id': 'e7beb1db-9e62-4d6f-986c-049f5e7a0438', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': '015822a5-9f48-4f9e-a599-ec9927c00e6a', 'mac_address': '02:e7:be:b1:db:9e', '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': '131.128.73.195', 'subnet_id': 'd3e3adfe-572f-4b4e-ad04-1d80351ba352'}], 'security_groups': ['24d0a24a-1427-437e-a828-063d2c97ebd1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:14,312 - DEBUG - Created port e7beb1db-9e62-4d6f-986c-049f5e7a0438 2025-09-19 08:29:14,416 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e7beb1db-9e62-4d6f-986c-049f5e7a0438 2025-09-19 08:29:14,703 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e7beb1db-9e62-4d6f-986c-049f5e7a0438 2025-09-19 08:29:14,731 - INFO - VMI e7beb1db-9e62-4d6f-986c-049f5e7a0438 verification in API Server passed 2025-09-19 08:29:14,811 - DEBUG - Response for delete_port : () 2025-09-19 08:29:14,811 - INFO - Deleted port e7beb1db-9e62-4d6f-986c-049f5e7a0438 2025-09-19 08:29:14,811 - INFO - Deleting VN ctest-vn-04922829 2025-09-19 08:29:14,899 - DEBUG - Response for deleting network () 2025-09-19 08:29:15,152 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 08:29:15,153 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-19 08:29:15,153 - INFO - -------------------------------------------------------------------------------- 2025-09-19 08:29:15,155 - INFO - ================================================================================ 2025-09-19 08:29:15,155 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-19 08:29:15,155 - 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-19 08:29:15,447 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 08:29:15,447 - INFO - Initial checks done. Running the testcase now 2025-09-19 08:29:15,447 - INFO - 2025-09-19 08:29:15,624 - DEBUG - Response for create_network : {'network': {'id': 'f46dcb48-f31d-4554-b7a5-fa6cacc73ec3', 'name': 'ctest-vn1-40656780', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'project_id': 'e0a7865a93d94261aa361b71aac68f5c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45293495', 'ctest-vn1-40656780'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 08:29:15,860 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e78557aa-fc87-4b15-9b9d-ca917a923f9a', 'name': '', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': 'f46dcb48-f31d-4554-b7a5-fa6cacc73ec3', 'ip_version': 4, 'cidr': '50.221.241.0/26', 'allocation_pools': [{'start': '50.221.241.2', 'end': '50.221.241.62'}], 'gateway_ip': '50.221.241.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.221.241.2', 'tags': [], 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:16,016 - DEBUG - Response for create_subnet : {'subnet': {'id': '5dd2f1d4-9187-44ea-9058-8105a11d851f', 'name': '', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': 'f46dcb48-f31d-4554-b7a5-fa6cacc73ec3', 'ip_version': 4, 'cidr': '199.168.179.64/26', 'allocation_pools': [{'start': '199.168.179.66', 'end': '199.168.179.126'}], 'gateway_ip': '199.168.179.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.168.179.66', 'tags': [], 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:16,034 - INFO - Created VN ctest-vn1-40656780 2025-09-19 08:29:16,084 - DEBUG - VN ctest-vn1-40656780 UUID is f46dcb48-f31d-4554-b7a5-fa6cacc73ec3 2025-09-19 08:29:16,361 - DEBUG - Response for create_port : {'port': {'name': 'cfc17724-28b5-4423-8376-360381a3ae0b', 'id': 'cfc17724-28b5-4423-8376-360381a3ae0b', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': 'f46dcb48-f31d-4554-b7a5-fa6cacc73ec3', 'mac_address': '02:cf:c1:77:24:28', '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': '50.221.241.5', 'subnet_id': 'e78557aa-fc87-4b15-9b9d-ca917a923f9a'}], 'security_groups': ['24d0a24a-1427-437e-a828-063d2c97ebd1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:16,554 - DEBUG - Response for create_port : {'port': {'name': '4107f8c8-ace1-4674-888d-a0c79311773d', 'id': '4107f8c8-ace1-4674-888d-a0c79311773d', 'tenant_id': 'e0a7865a93d94261aa361b71aac68f5c', 'network_id': 'f46dcb48-f31d-4554-b7a5-fa6cacc73ec3', 'mac_address': '02:41:07:f8:c8:ac', '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': '199.168.179.69', 'subnet_id': '5dd2f1d4-9187-44ea-9058-8105a11d851f'}], 'security_groups': ['24d0a24a-1427-437e-a828-063d2c97ebd1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e0a7865a93d94261aa361b71aac68f5c'}} 2025-09-19 08:29:16,605 - DEBUG - Services list from nova: [, , ] 2025-09-19 08:29:16,904 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:29:17,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4147-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4147-1) 2025-09-19 08:29:17,261 - INFO - Waiting for VM ctest-vn1-vm1-66908692 to be up.. 2025-09-19 08:29:17,298 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 08:29:22,372 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:29:22,372 - INFO - VM name : ctest-vn1-vm1-66908692 2025-09-19 08:29:22,457 - DEBUG - VM ctest-vn1-vm1-66908692 ID is 5501389d-5494-4ca3-9a96-3b7956e6a6f2 2025-09-19 08:29:22,481 - DEBUG - VM ctest-vn1-vm1-66908692 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:29:22,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/5501389d-5494-4ca3-9a96-3b7956e6a6f2 2025-09-19 08:29:22,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/cfc17724-28b5-4423-8376-360381a3ae0b 2025-09-19 08:29:25,965 - 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 1011ms') 2025-09-19 08:29:25,965 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66908692 failed! 2025-09-19 08:29:26,020 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45293495:ctest-vn1-40656780 is 50.221.241.1 and allocation pool is NOT set 2025-09-19 08:29:26,020 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45293495:ctest-vn1-40656780 is 199.168.179.65 and allocation pool is NOT set 2025-09-19 08:29:28,087 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.709 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.709/2.298/3.888/1.589 ms') 2025-09-19 08:29:28,087 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66908692 passed 2025-09-19 08:29:28,232 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:28,232 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66908692, IP 50.221.241.5, Port 22 2025-09-19 08:29:28,392 - DEBUG - VM ctest-vn1-vm1-66908692 is ready for SSH connections 2025-09-19 08:29:28,392 - INFO - Waiting for VM ctest-vn1-vm2-39852385 to be up.. 2025-09-19 08:29:28,463 - DEBUG - VM is in ACTIVE state now 2025-09-19 08:29:28,463 - INFO - VM name : ctest-vn1-vm2-39852385 2025-09-19 08:29:28,524 - DEBUG - VM ctest-vn1-vm2-39852385 ID is 417d4d0a-7e64-4a34-a766-98bf3154f11c 2025-09-19 08:29:28,524 - DEBUG - VM ctest-vn1-vm2-39852385 launched on Node cn-jenkins-deploy-platform-ansible-os-4147-1 2025-09-19 08:29:28,587 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/417d4d0a-7e64-4a34-a766-98bf3154f11c 2025-09-19 08:29:28,596 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4107f8c8-ace1-4674-888d-a0c79311773d 2025-09-19 08:29:29,835 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.403 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.403/2.068/3.733/1.665 ms') 2025-09-19 08:29:29,835 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-39852385 passed 2025-09-19 08:29:29,984 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:29,984 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-39852385, IP 199.168.179.69, Port 22 2025-09-19 08:29:30,140 - DEBUG - VM ctest-vn1-vm2-39852385 is ready for SSH connections 2025-09-19 08:29:30,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:30,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:30,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 08:29:30,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.221.241.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 08:29:30,140 - DEBUG - ping -s 56 -c 3 -W 1 50.221.241.5 2025-09-19 08:29:33,093 - DEBUG - PING 50.221.241.5 (50.221.241.5): 56 data bytes 64 bytes from 50.221.241.5: seq=0 ttl=63 time=4.160 ms 64 bytes from 50.221.241.5: seq=1 ttl=63 time=0.804 ms 64 bytes from 50.221.241.5: seq=2 ttl=63 time=0.757 ms --- 50.221.241.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.907/4.160 ms 2025-09-19 08:29:33,093 - INFO - Ping to IP 50.221.241.5 from VM ctest-vn1-vm2-39852385 passed 2025-09-19 08:29:33,093 - INFO - Detaching port 4107f8c8-ace1-4674-888d-a0c79311773d from VM ctest-vn1-vm2-39852385 2025-09-19 08:29:33,136 - INFO - Deleting VM ctest-vn1-vm2-39852385 2025-09-19 08:29:33,200 - INFO - Detaching port cfc17724-28b5-4423-8376-360381a3ae0b from VM ctest-vn1-vm1-66908692 2025-09-19 08:29:33,230 - INFO - Deleting VM ctest-vn1-vm1-66908692 2025-09-19 08:29:33,421 - DEBUG - Response for delete_port : () 2025-09-19 08:29:33,565 - DEBUG - Response for delete_port : () 2025-09-19 08:29:33,565 - INFO - Deleting VN ctest-vn1-40656780 2025-09-19 08:29:33,694 - DEBUG - Response for deleting network () 2025-09-19 08:29:33,948 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 08:29:33,948 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-09-19 08:29:33,948 - INFO - -------------------------------------------------------------------------------- 2025-09-19 08:29:34,593 - INFO - Deleted project: ctest-TestPorts-45293495, ID : e0a7865a-93d9-4261-aa36-1b71aac68f5c