2025-11-10 02:13:03,438 - INFO - Domain Default found not creating 2025-11-10 02:13:03,601 - INFO - Project ctest-TestPorts-14165558 not found, creating it 2025-11-10 02:13:04,171 - INFO - Created Project:ctest-TestPorts-14165558, ID : dbd817c8-55f6-46e6-947c-bef3c6a095e5 2025-11-10 02:13:05,640 - INFO - ================================================================================ 2025-11-10 02:13:05,640 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 02:13:05,640 - 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-10 02:13:06,901 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-11-10 02:13:06,901 - INFO - Initial checks done. Running the testcase now 2025-11-10 02:13:06,901 - INFO - 2025-11-10 02:13:07,561 - DEBUG - Response for create_network : {'network': {'id': '8c982946-e669-45b9-9cfa-110eb97a8c8c', 'name': 'ctest-vn-74498576', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'project_id': 'dbd817c855f646e6947cbef3c6a095e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14165558', 'ctest-vn-74498576'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 02:13:07,808 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d1169c5-51fe-44d8-ba5b-69f09bfe9f7e', 'name': '', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': '8c982946-e669-45b9-9cfa-110eb97a8c8c', 'ip_version': 4, 'cidr': '161.73.216.64/26', 'allocation_pools': [{'start': '161.73.216.66', 'end': '161.73.216.126'}], 'gateway_ip': '161.73.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.73.216.66', 'tags': [], 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:07,834 - INFO - Created VN ctest-vn-74498576 2025-11-10 02:13:07,851 - DEBUG - VN ctest-vn-74498576 UUID is 8c982946-e669-45b9-9cfa-110eb97a8c8c 2025-11-10 02:13:07,948 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-14165558', 'ctest-vmi-38813679']} 2025-11-10 02:13:08,250 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-38813679', 'id': '229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': '8c982946-e669-45b9-9cfa-110eb97a8c8c', 'mac_address': '02:22:9c:d9:0d:f3', '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': '161.73.216.67', 'subnet_id': '6d1169c5-51fe-44d8-ba5b-69f09bfe9f7e'}], 'security_groups': ['ab49c4f9-c65d-461e-866b-4fe4f39e7790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:08,250 - DEBUG - Created port 229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9 2025-11-10 02:13:08,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9 2025-11-10 02:13:08,622 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9 2025-11-10 02:13:08,685 - INFO - VMI 229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9 verification in API Server passed 2025-11-10 02:13:08,855 - DEBUG - Response for delete_port : () 2025-11-10 02:13:08,855 - INFO - Deleted port 229cd90d-f3d1-4e6b-ae75-ffbcf6c40de9 2025-11-10 02:13:08,855 - INFO - Deleting VN ctest-vn-74498576 2025-11-10 02:13:09,031 - DEBUG - Response for deleting network () 2025-11-10 02:13:10,298 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 02:13:10,298 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-11-10 02:13:10,298 - INFO - -------------------------------------------------------------------------------- 2025-11-10 02:13:10,302 - INFO - ================================================================================ 2025-11-10 02:13:10,302 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 02:13:10,302 - 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-10 02:13:11,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.193': '0', '10.20.0.129': '0'}, '10.0.0.130': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-11-10 02:13:11,576 - INFO - Initial checks done. Running the testcase now 2025-11-10 02:13:11,576 - INFO - 2025-11-10 02:13:11,930 - DEBUG - Response for create_network : {'network': {'id': 'b0748a75-912f-441b-8f34-e0e963712432', 'name': 'ctest-vn1-53546550', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'project_id': 'dbd817c855f646e6947cbef3c6a095e5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-14165558', 'ctest-vn1-53546550'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 02:13:12,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '16f8e138-683d-4adf-9717-71c354016dac', 'name': '', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': 'b0748a75-912f-441b-8f34-e0e963712432', 'ip_version': 4, 'cidr': '75.211.55.0/26', 'allocation_pools': [{'start': '75.211.55.2', 'end': '75.211.55.62'}], 'gateway_ip': '75.211.55.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.211.55.2', 'tags': [], 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:12,445 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ef2f4a5d-88bc-4c7c-9f7f-f3edd6a8e751', 'name': '', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': 'b0748a75-912f-441b-8f34-e0e963712432', 'ip_version': 4, 'cidr': '76.82.30.128/26', 'allocation_pools': [{'start': '76.82.30.130', 'end': '76.82.30.190'}], 'gateway_ip': '76.82.30.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.82.30.130', 'tags': [], 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:12,471 - INFO - Created VN ctest-vn1-53546550 2025-11-10 02:13:12,486 - DEBUG - VN ctest-vn1-53546550 UUID is b0748a75-912f-441b-8f34-e0e963712432 2025-11-10 02:13:12,827 - DEBUG - Response for create_port : {'port': {'name': 'c96f5e6e-77f9-418d-b16c-874bfe9ef1c9', 'id': 'c96f5e6e-77f9-418d-b16c-874bfe9ef1c9', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': 'b0748a75-912f-441b-8f34-e0e963712432', 'mac_address': '02:c9:6f:5e:6e:77', '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': '75.211.55.5', 'subnet_id': '16f8e138-683d-4adf-9717-71c354016dac'}], 'security_groups': ['ab49c4f9-c65d-461e-866b-4fe4f39e7790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:13,122 - DEBUG - Response for create_port : {'port': {'name': 'e91a0b95-c045-4d12-b2d9-72dfc2cc3b56', 'id': 'e91a0b95-c045-4d12-b2d9-72dfc2cc3b56', 'tenant_id': 'dbd817c855f646e6947cbef3c6a095e5', 'network_id': 'b0748a75-912f-441b-8f34-e0e963712432', 'mac_address': '02:e9:1a:0b:95:c0', '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': '76.82.30.133', 'subnet_id': 'ef2f4a5d-88bc-4c7c-9f7f-f3edd6a8e751'}], 'security_groups': ['ab49c4f9-c65d-461e-866b-4fe4f39e7790'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'dbd817c855f646e6947cbef3c6a095e5'}} 2025-11-10 02:13:13,210 - DEBUG - Services list from nova: [, , , ] 2025-11-10 02:13:13,687 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-1) 2025-11-10 02:13:14,207 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4674-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4674-2) 2025-11-10 02:13:14,207 - INFO - Waiting for VM ctest-vn1-vm1-79998559 to be up.. 2025-11-10 02:13:14,266 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 02:13:19,362 - DEBUG - VM is in ACTIVE state now 2025-11-10 02:13:19,362 - INFO - VM name : ctest-vn1-vm1-79998559 2025-11-10 02:13:19,452 - DEBUG - VM ctest-vn1-vm1-79998559 ID is 47a5bd22-c34f-48a2-ab29-bd8b9b8dd076 2025-11-10 02:13:19,477 - DEBUG - VM ctest-vn1-vm1-79998559 launched on Node an-jenkins-deploy-platform-ansible-os-4674-1 2025-11-10 02:13:19,560 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/47a5bd22-c34f-48a2-ab29-bd8b9b8dd076 2025-11-10 02:13:19,865 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/47a5bd22-c34f-48a2-ab29-bd8b9b8dd076 2025-11-10 02:13:19,903 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/c96f5e6e-77f9-418d-b16c-874bfe9ef1c9 2025-11-10 02:13:23,095 - 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 1024ms') 2025-11-10 02:13:23,095 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79998559 failed! 2025-11-10 02:13:23,143 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14165558:ctest-vn1-53546550 is 75.211.55.1 and allocation pool is NOT set 2025-11-10 02:13:23,143 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-14165558:ctest-vn1-53546550 is 76.82.30.129 and allocation pool is NOT set 2025-11-10 02:13:25,209 - 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=5.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.357 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.357/2.994/5.631/2.637 ms') 2025-11-10 02:13:25,209 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-79998559 passed 2025-11-10 02:13:25,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:25,278 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79998559, IP 75.211.55.5, Port 22 2025-11-10 02:13:25,337 - 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-11-10 02:13:25,426 - DEBUG - VM ctest-vn1-vm1-79998559 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 02:13:30,428 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:30,428 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-79998559, IP 75.211.55.5, Port 22 2025-11-10 02:13:30,595 - DEBUG - VM ctest-vn1-vm1-79998559 is ready for SSH connections 2025-11-10 02:13:30,596 - INFO - Waiting for VM ctest-vn1-vm2-59524367 to be up.. 2025-11-10 02:13:30,802 - DEBUG - VM is in ACTIVE state now 2025-11-10 02:13:30,802 - INFO - VM name : ctest-vn1-vm2-59524367 2025-11-10 02:13:30,896 - DEBUG - VM ctest-vn1-vm2-59524367 ID is 75241f89-67d8-4e8a-8b66-9cc3b55ec1cf 2025-11-10 02:13:30,896 - DEBUG - VM ctest-vn1-vm2-59524367 launched on Node an-jenkins-deploy-platform-ansible-os-4674-2 2025-11-10 02:13:30,982 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/75241f89-67d8-4e8a-8b66-9cc3b55ec1cf 2025-11-10 02:13:30,994 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/e91a0b95-c045-4d12-b2d9-72dfc2cc3b56 2025-11-10 02:13:32,157 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.380 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.380/2.067/3.754/1.687 ms') 2025-11-10 02:13:32,158 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-59524367 passed 2025-11-10 02:13:32,226 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:32,226 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-59524367, IP 76.82.30.133, Port 22 2025-11-10 02:13:32,400 - DEBUG - VM ctest-vn1-vm2-59524367 is ready for SSH connections 2025-11-10 02:13:32,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:32,400 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:32,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 02:13:32,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 75.211.55.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-11-10 02:13:32,401 - DEBUG - ping -s 56 -c 3 -W 1 75.211.55.5 2025-11-10 02:13:35,391 - DEBUG - PING 75.211.55.5 (75.211.55.5): 56 data bytes 64 bytes from 75.211.55.5: seq=0 ttl=63 time=5.823 ms 64 bytes from 75.211.55.5: seq=1 ttl=63 time=1.430 ms 64 bytes from 75.211.55.5: seq=2 ttl=63 time=1.639 ms --- 75.211.55.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.430/2.964/5.823 ms 2025-11-10 02:13:35,391 - INFO - Ping to IP 75.211.55.5 from VM ctest-vn1-vm2-59524367 passed 2025-11-10 02:13:35,391 - INFO - Detaching port e91a0b95-c045-4d12-b2d9-72dfc2cc3b56 from VM ctest-vn1-vm2-59524367 2025-11-10 02:13:35,473 - INFO - Deleting VM ctest-vn1-vm2-59524367 2025-11-10 02:13:35,568 - INFO - Detaching port c96f5e6e-77f9-418d-b16c-874bfe9ef1c9 from VM ctest-vn1-vm1-79998559 2025-11-10 02:13:35,607 - INFO - Deleting VM ctest-vn1-vm1-79998559 2025-11-10 02:13:36,003 - DEBUG - Response for delete_port : () 2025-11-10 02:13:36,272 - DEBUG - Response for delete_port : () 2025-11-10 02:13:36,272 - INFO - Deleting VN ctest-vn1-53546550 2025-11-10 02:13:36,461 - DEBUG - Response for deleting network () 2025-11-10 02:13:37,800 - DEBUG - No XMPP flaps were noticed during the test
2025-11-10 02:13:37,800 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-11-10 02:13:37,800 - INFO - -------------------------------------------------------------------------------- 2025-11-10 02:13:38,582 - INFO - Deleted project: ctest-TestPorts-14165558, ID : dbd817c8-55f6-46e6-947c-bef3c6a095e5