2025-09-11 02:11:00,227 - INFO - Domain Default found not creating 2025-09-11 02:11:00,980 - INFO - Project ctest-TestPorts-76369207 not found, creating it 2025-09-11 02:11:01,530 - INFO - Created Project:ctest-TestPorts-76369207, ID : 1efa4934-21df-4e0e-9aa8-8573ed728dd7 2025-09-11 02:11:02,925 - INFO - ================================================================================ 2025-09-11 02:11:02,925 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 02:11:02,925 - 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-11 02:11:04,192 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-11 02:11:04,192 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:11:04,192 - INFO - 2025-09-11 02:11:04,837 - DEBUG - Response for create_network : {'network': {'id': 'c94eaa83-0cb8-4b9c-a18f-95d85f659ad8', 'name': 'ctest-vn-24038793', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'project_id': '1efa493421df4e0e9aa88573ed728dd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76369207', 'ctest-vn-24038793'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:11:05,146 - DEBUG - Response for create_subnet : {'subnet': {'id': '94881b6f-8829-4cdb-b0d1-e21626bc99d2', 'name': '', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'c94eaa83-0cb8-4b9c-a18f-95d85f659ad8', 'ip_version': 4, 'cidr': '31.223.138.128/26', 'allocation_pools': [{'start': '31.223.138.130', 'end': '31.223.138.190'}], 'gateway_ip': '31.223.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.223.138.130', 'tags': [], 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:05,172 - INFO - Created VN ctest-vn-24038793 2025-09-11 02:11:05,183 - DEBUG - VN ctest-vn-24038793 UUID is c94eaa83-0cb8-4b9c-a18f-95d85f659ad8 2025-09-11 02:11:05,251 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-76369207', 'ctest-vmi-25591264']} 2025-09-11 02:11:05,562 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-25591264', 'id': 'c1ded937-67ca-473e-aaf8-3d58788d45e6', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'c94eaa83-0cb8-4b9c-a18f-95d85f659ad8', 'mac_address': '02:c1:de:d9:37:67', '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': '31.223.138.131', 'subnet_id': '94881b6f-8829-4cdb-b0d1-e21626bc99d2'}], 'security_groups': ['f5b89090-e9d5-45f9-9a5f-8bc0b67b8e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:05,562 - DEBUG - Created port c1ded937-67ca-473e-aaf8-3d58788d45e6 2025-09-11 02:11:05,639 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c1ded937-67ca-473e-aaf8-3d58788d45e6 2025-09-11 02:11:05,933 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/c1ded937-67ca-473e-aaf8-3d58788d45e6 2025-09-11 02:11:05,969 - INFO - VMI c1ded937-67ca-473e-aaf8-3d58788d45e6 verification in API Server passed 2025-09-11 02:11:06,110 - DEBUG - Response for delete_port : () 2025-09-11 02:11:06,110 - INFO - Deleted port c1ded937-67ca-473e-aaf8-3d58788d45e6 2025-09-11 02:11:06,110 - INFO - Deleting VN ctest-vn-24038793 2025-09-11 02:11:06,286 - DEBUG - Response for deleting network () 2025-09-11 02:11:07,544 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:11:07,544 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-09-11 02:11:07,544 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:11:07,547 - INFO - ================================================================================ 2025-09-11 02:11:07,547 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 02:11:07,547 - 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-11 02:11:08,816 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.19': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-09-11 02:11:08,816 - INFO - Initial checks done. Running the testcase now 2025-09-11 02:11:08,816 - INFO - 2025-09-11 02:11:09,076 - DEBUG - Response for create_network : {'network': {'id': 'fa49ae77-fd11-47a3-b0ee-750c51ce215e', 'name': 'ctest-vn1-39748160', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'project_id': '1efa493421df4e0e9aa88573ed728dd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-76369207', 'ctest-vn1-39748160'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 02:11:09,316 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd694cd6-06f7-49aa-9062-247f32c1de1f', 'name': '', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'fa49ae77-fd11-47a3-b0ee-750c51ce215e', 'ip_version': 4, 'cidr': '148.247.247.128/26', 'allocation_pools': [{'start': '148.247.247.130', 'end': '148.247.247.190'}], 'gateway_ip': '148.247.247.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '148.247.247.130', 'tags': [], 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:09,491 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bad8075-aec6-4187-9568-fe97122bbef0', 'name': '', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'fa49ae77-fd11-47a3-b0ee-750c51ce215e', 'ip_version': 4, 'cidr': '12.99.176.192/26', 'allocation_pools': [{'start': '12.99.176.194', 'end': '12.99.176.254'}], 'gateway_ip': '12.99.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.99.176.194', 'tags': [], 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:09,515 - INFO - Created VN ctest-vn1-39748160 2025-09-11 02:11:09,528 - DEBUG - VN ctest-vn1-39748160 UUID is fa49ae77-fd11-47a3-b0ee-750c51ce215e 2025-09-11 02:11:09,870 - DEBUG - Response for create_port : {'port': {'name': '3788e284-ea75-40bb-a3ed-f094977e4e65', 'id': '3788e284-ea75-40bb-a3ed-f094977e4e65', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'fa49ae77-fd11-47a3-b0ee-750c51ce215e', 'mac_address': '02:37:88:e2:84:ea', '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': '148.247.247.133', 'subnet_id': 'fd694cd6-06f7-49aa-9062-247f32c1de1f'}], 'security_groups': ['f5b89090-e9d5-45f9-9a5f-8bc0b67b8e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:10,112 - DEBUG - Response for create_port : {'port': {'name': 'efc5a46d-0aee-401e-9968-78466f52dae2', 'id': 'efc5a46d-0aee-401e-9968-78466f52dae2', 'tenant_id': '1efa493421df4e0e9aa88573ed728dd7', 'network_id': 'fa49ae77-fd11-47a3-b0ee-750c51ce215e', 'mac_address': '02:ef:c5:a4:6d:0a', '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': '12.99.176.197', 'subnet_id': '9bad8075-aec6-4187-9568-fe97122bbef0'}], 'security_groups': ['f5b89090-e9d5-45f9-9a5f-8bc0b67b8e1b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1efa493421df4e0e9aa88573ed728dd7'}} 2025-09-11 02:11:10,177 - DEBUG - Services list from nova: [, , , ] 2025-09-11 02:11:10,774 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-1) 2025-09-11 02:11:11,598 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4079-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4079-2) 2025-09-11 02:11:11,599 - INFO - Waiting for VM ctest-vn1-vm1-32891566 to be up.. 2025-09-11 02:11:11,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 02:11:16,738 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:11:16,739 - INFO - VM name : ctest-vn1-vm1-32891566 2025-09-11 02:11:16,820 - DEBUG - VM ctest-vn1-vm1-32891566 ID is 1df47215-c40a-44c7-9770-82f36ebb618e 2025-09-11 02:11:16,845 - DEBUG - VM ctest-vn1-vm1-32891566 launched on Node an-jenkins-deploy-platform-ansible-os-4079-1 2025-09-11 02:11:16,940 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1df47215-c40a-44c7-9770-82f36ebb618e 2025-09-11 02:11:17,237 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/1df47215-c40a-44c7-9770-82f36ebb618e 2025-09-11 02:11:17,270 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/3788e284-ea75-40bb-a3ed-f094977e4e65 2025-09-11 02:11:20,457 - 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 1029ms') 2025-09-11 02:11:20,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32891566 failed! 2025-09-11 02:11:20,472 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76369207:ctest-vn1-39748160 is 148.247.247.129 and allocation pool is NOT set 2025-09-11 02:11:20,472 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-76369207:ctest-vn1-39748160 is 12.99.176.193 and allocation pool is NOT set 2025-09-11 02:11:22,530 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.444 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.444/1.529/2.615/1.085 ms') 2025-09-11 02:11:22,530 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-32891566 passed 2025-09-11 02:11:22,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:22,600 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-32891566, IP 148.247.247.133, Port 22 2025-09-11 02:11:22,769 - DEBUG - VM ctest-vn1-vm1-32891566 is ready for SSH connections 2025-09-11 02:11:22,770 - INFO - Waiting for VM ctest-vn1-vm2-05398212 to be up.. 2025-09-11 02:11:22,844 - DEBUG - VM is in ACTIVE state now 2025-09-11 02:11:22,844 - INFO - VM name : ctest-vn1-vm2-05398212 2025-09-11 02:11:22,917 - DEBUG - VM ctest-vn1-vm2-05398212 ID is 5b54db2c-5475-4464-9a58-97b91f9d2de1 2025-09-11 02:11:22,917 - DEBUG - VM ctest-vn1-vm2-05398212 launched on Node an-jenkins-deploy-platform-ansible-os-4079-2 2025-09-11 02:11:23,005 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/5b54db2c-5475-4464-9a58-97b91f9d2de1 2025-09-11 02:11:23,015 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/efc5a46d-0aee-401e-9968-78466f52dae2 2025-09-11 02:11:24,179 - 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=11.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.18 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 3.183/7.083/10.984/3.900 ms') 2025-09-11 02:11:24,180 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-05398212 passed 2025-09-11 02:11:24,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:24,249 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05398212, IP 12.99.176.197, Port 22 2025-09-11 02:11:24,318 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-11 02:11:24,403 - DEBUG - VM ctest-vn1-vm2-05398212 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 02:11:29,404 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:29,404 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05398212, IP 12.99.176.197, Port 22 2025-09-11 02:11:29,573 - DEBUG - VM ctest-vn1-vm2-05398212 is ready for SSH connections 2025-09-11 02:11:29,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:29,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:29,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 02:11:29,573 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 148.247.247.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-11 02:11:29,574 - DEBUG - ping -s 56 -c 3 -W 1 148.247.247.133 2025-09-11 02:11:32,630 - DEBUG - PING 148.247.247.133 (148.247.247.133): 56 data bytes 64 bytes from 148.247.247.133: seq=0 ttl=63 time=5.270 ms 64 bytes from 148.247.247.133: seq=1 ttl=63 time=1.892 ms 64 bytes from 148.247.247.133: seq=2 ttl=63 time=1.195 ms --- 148.247.247.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.195/2.785/5.270 ms 2025-09-11 02:11:32,630 - INFO - Ping to IP 148.247.247.133 from VM ctest-vn1-vm2-05398212 passed 2025-09-11 02:11:32,630 - INFO - Detaching port efc5a46d-0aee-401e-9968-78466f52dae2 from VM ctest-vn1-vm2-05398212 2025-09-11 02:11:32,678 - INFO - Deleting VM ctest-vn1-vm2-05398212 2025-09-11 02:11:32,748 - INFO - Detaching port 3788e284-ea75-40bb-a3ed-f094977e4e65 from VM ctest-vn1-vm1-32891566 2025-09-11 02:11:32,780 - INFO - Deleting VM ctest-vn1-vm1-32891566 2025-09-11 02:11:33,107 - DEBUG - Response for delete_port : () 2025-09-11 02:11:33,333 - DEBUG - Response for delete_port : () 2025-09-11 02:11:33,334 - INFO - Deleting VN ctest-vn1-39748160 2025-09-11 02:11:33,538 - DEBUG - Response for deleting network () 2025-09-11 02:11:34,857 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 02:11:34,857 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-09-11 02:11:34,858 - INFO - -------------------------------------------------------------------------------- 2025-09-11 02:11:35,583 - INFO - Deleted project: ctest-TestPorts-76369207, ID : 1efa4934-21df-4e0e-9aa8-8573ed728dd7