2025-07-24 02:35:22,293 - INFO - Domain Default found not creating 2025-07-24 02:35:22,431 - INFO - Project ctest-TestPorts-39196579 not found, creating it 2025-07-24 02:35:22,874 - INFO - Created Project:ctest-TestPorts-39196579, ID : 7d96b89e-04c2-47de-8a4c-f39e49e32529 2025-07-24 02:35:24,248 - INFO - ================================================================================ 2025-07-24 02:35:24,248 - INFO - STARTING TEST : test_ports_bindings 2025-07-24 02:35:24,249 - 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-07-24 02:35:24,504 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.241': '0'}} with 2025-07-24 02:35:24,504 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:35:24,504 - INFO - 2025-07-24 02:35:25,174 - DEBUG - Response for create_network : {'network': {'id': 'df620563-1906-4afa-8f41-e881a310410e', 'name': 'ctest-vn-16499374', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'project_id': '7d96b89e04c247de8a4cf39e49e32529', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39196579', 'ctest-vn-16499374'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:35:25,350 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d3b8a2f-e5ce-4530-aaae-7d0907091d84', 'name': '', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'df620563-1906-4afa-8f41-e881a310410e', 'ip_version': 4, 'cidr': '165.224.105.128/26', 'allocation_pools': [{'start': '165.224.105.130', 'end': '165.224.105.190'}], 'gateway_ip': '165.224.105.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '165.224.105.130', 'tags': [], 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:25,368 - INFO - Created VN ctest-vn-16499374 2025-07-24 02:35:25,423 - DEBUG - VN ctest-vn-16499374 UUID is df620563-1906-4afa-8f41-e881a310410e 2025-07-24 02:35:25,525 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39196579', 'ctest-vmi-49760231']} 2025-07-24 02:35:25,797 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49760231', 'id': '1525cc8c-2306-4493-9f83-6ffc2d9f7eb4', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'df620563-1906-4afa-8f41-e881a310410e', 'mac_address': '02:15:25:cc:8c:23', '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': '165.224.105.131', 'subnet_id': '5d3b8a2f-e5ce-4530-aaae-7d0907091d84'}], 'security_groups': ['85aef836-0f90-46cb-bd62-d156dc275443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:25,797 - DEBUG - Created port 1525cc8c-2306-4493-9f83-6ffc2d9f7eb4 2025-07-24 02:35:25,903 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1525cc8c-2306-4493-9f83-6ffc2d9f7eb4 2025-07-24 02:35:26,194 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/1525cc8c-2306-4493-9f83-6ffc2d9f7eb4 2025-07-24 02:35:26,226 - INFO - VMI 1525cc8c-2306-4493-9f83-6ffc2d9f7eb4 verification in API Server passed 2025-07-24 02:35:26,313 - DEBUG - Response for delete_port : () 2025-07-24 02:35:26,313 - INFO - Deleted port 1525cc8c-2306-4493-9f83-6ffc2d9f7eb4 2025-07-24 02:35:26,313 - INFO - Deleting VN ctest-vn-16499374 2025-07-24 02:35:26,403 - DEBUG - Response for deleting network () 2025-07-24 02:35:26,664 - DEBUG - No XMPP flaps were noticed during the test 2025-07-24 02:35:26,664 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-07-24 02:35:26,664 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:35:26,667 - INFO - ================================================================================ 2025-07-24 02:35:26,667 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-24 02:35:26,667 - 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-07-24 02:35:26,957 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.241': '0'}} with 2025-07-24 02:35:26,957 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:35:26,957 - INFO - 2025-07-24 02:35:27,121 - DEBUG - Response for create_network : {'network': {'id': 'b9d83048-f017-4ed6-8f7d-e893d14d28aa', 'name': 'ctest-vn1-76057266', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'project_id': '7d96b89e04c247de8a4cf39e49e32529', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39196579', 'ctest-vn1-76057266'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:35:27,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bf9c2899-d58a-4972-9419-0f4560eab396', 'name': '', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'b9d83048-f017-4ed6-8f7d-e893d14d28aa', 'ip_version': 4, 'cidr': '80.34.127.64/26', 'allocation_pools': [{'start': '80.34.127.66', 'end': '80.34.127.126'}], 'gateway_ip': '80.34.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.34.127.66', 'tags': [], 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:27,411 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae81e737-a919-45a3-b388-1ffe121be6fb', 'name': '', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'b9d83048-f017-4ed6-8f7d-e893d14d28aa', 'ip_version': 4, 'cidr': '114.30.48.64/26', 'allocation_pools': [{'start': '114.30.48.66', 'end': '114.30.48.126'}], 'gateway_ip': '114.30.48.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.30.48.66', 'tags': [], 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:27,428 - INFO - Created VN ctest-vn1-76057266 2025-07-24 02:35:27,479 - DEBUG - VN ctest-vn1-76057266 UUID is b9d83048-f017-4ed6-8f7d-e893d14d28aa 2025-07-24 02:35:27,788 - DEBUG - Response for create_port : {'port': {'name': 'a88b446e-0fdb-4a1e-9653-f2f350a3a1bb', 'id': 'a88b446e-0fdb-4a1e-9653-f2f350a3a1bb', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'b9d83048-f017-4ed6-8f7d-e893d14d28aa', 'mac_address': '02:a8:8b:44:6e:0f', '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': '80.34.127.69', 'subnet_id': 'bf9c2899-d58a-4972-9419-0f4560eab396'}], 'security_groups': ['85aef836-0f90-46cb-bd62-d156dc275443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:27,955 - DEBUG - Response for create_port : {'port': {'name': '55d0be6f-ae9f-4031-af92-113f0f1549e1', 'id': '55d0be6f-ae9f-4031-af92-113f0f1549e1', 'tenant_id': '7d96b89e04c247de8a4cf39e49e32529', 'network_id': 'b9d83048-f017-4ed6-8f7d-e893d14d28aa', 'mac_address': '02:55:d0:be:6f:ae', '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': '114.30.48.69', 'subnet_id': 'ae81e737-a919-45a3-b388-1ffe121be6fb'}], 'security_groups': ['85aef836-0f90-46cb-bd62-d156dc275443'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7d96b89e04c247de8a4cf39e49e32529'}} 2025-07-24 02:35:28,009 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:35:28,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:35:28,774 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3713-1) 2025-07-24 02:35:28,774 - INFO - Waiting for VM ctest-vn1-vm1-56039057 to be up.. 2025-07-24 02:35:28,855 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:35:33,936 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:35:33,936 - INFO - VM name : ctest-vn1-vm1-56039057 2025-07-24 02:35:34,007 - DEBUG - VM ctest-vn1-vm1-56039057 ID is b79e98fe-1e8f-4cd2-b975-452c3e9ac0f6 2025-07-24 02:35:34,026 - DEBUG - VM ctest-vn1-vm1-56039057 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:35:34,115 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b79e98fe-1e8f-4cd2-b975-452c3e9ac0f6 2025-07-24 02:35:34,123 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a88b446e-0fdb-4a1e-9653-f2f350a3a1bb 2025-07-24 02:35:37,461 - 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 1031ms') 2025-07-24 02:35:37,461 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-56039057 failed! 2025-07-24 02:35:37,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39196579:ctest-vn1-76057266 is 80.34.127.65 and allocation pool is NOT set 2025-07-24 02:35:37,515 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39196579:ctest-vn1-76057266 is 114.30.48.65 and allocation pool is NOT set 2025-07-24 02:35:39,591 - 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=5.81 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.90 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 = 1.904/3.856/5.809/1.952 ms') 2025-07-24 02:35:39,591 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-56039057 passed 2025-07-24 02:35:39,739 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:39,739 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56039057, IP 80.34.127.69, Port 22 2025-07-24 02:35:39,795 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-24 02:35:39,866 - DEBUG - VM ctest-vn1-vm1-56039057 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-24 02:35:44,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:44,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56039057, IP 80.34.127.69, Port 22 2025-07-24 02:35:45,023 - DEBUG - VM ctest-vn1-vm1-56039057 is ready for SSH connections 2025-07-24 02:35:45,023 - INFO - Waiting for VM ctest-vn1-vm2-47126663 to be up.. 2025-07-24 02:35:45,093 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:35:45,094 - INFO - VM name : ctest-vn1-vm2-47126663 2025-07-24 02:35:45,159 - DEBUG - VM ctest-vn1-vm2-47126663 ID is b277cf16-461d-4f28-9654-09491209cd52 2025-07-24 02:35:45,159 - DEBUG - VM ctest-vn1-vm2-47126663 launched on Node cn-jenkins-deploy-platform-ansible-os-3713-1 2025-07-24 02:35:45,236 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/b277cf16-461d-4f28-9654-09491209cd52 2025-07-24 02:35:45,244 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/55d0be6f-ae9f-4031-af92-113f0f1549e1 2025-07-24 02:35:46,486 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.606 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.606/2.196/3.786/1.590 ms') 2025-07-24 02:35:46,486 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-47126663 passed 2025-07-24 02:35:46,635 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:46,635 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47126663, IP 114.30.48.69, Port 22 2025-07-24 02:35:46,799 - DEBUG - VM ctest-vn1-vm2-47126663 is ready for SSH connections 2025-07-24 02:35:46,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:46,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:46,799 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:35:46,799 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.34.127.69, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-24 02:35:46,799 - DEBUG - ping -s 56 -c 3 -W 1 80.34.127.69 2025-07-24 02:35:50,514 - DEBUG - PING 80.34.127.69 (80.34.127.69): 56 data bytes 64 bytes from 80.34.127.69: seq=0 ttl=63 time=4.064 ms 64 bytes from 80.34.127.69: seq=1 ttl=63 time=0.840 ms 64 bytes from 80.34.127.69: seq=2 ttl=63 time=0.695 ms --- 80.34.127.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.695/1.866/4.064 ms 2025-07-24 02:35:50,514 - INFO - Ping to IP 80.34.127.69 from VM ctest-vn1-vm2-47126663 passed 2025-07-24 02:35:50,514 - INFO - Detaching port 55d0be6f-ae9f-4031-af92-113f0f1549e1 from VM ctest-vn1-vm2-47126663 2025-07-24 02:35:50,559 - INFO - Deleting VM ctest-vn1-vm2-47126663 2025-07-24 02:35:50,628 - INFO - Detaching port a88b446e-0fdb-4a1e-9653-f2f350a3a1bb from VM ctest-vn1-vm1-56039057 2025-07-24 02:35:50,664 - INFO - Deleting VM ctest-vn1-vm1-56039057 2025-07-24 02:35:50,874 - DEBUG - Response for delete_port : () 2025-07-24 02:35:51,031 - DEBUG - Response for delete_port : () 2025-07-24 02:35:51,031 - INFO - Deleting VN ctest-vn1-76057266 2025-07-24 02:35:51,173 - DEBUG - Response for deleting network () 2025-07-24 02:35:51,433 - DEBUG - No XMPP flaps were noticed during the test 2025-07-24 02:35:51,433 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25] 2025-07-24 02:35:51,433 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:35:52,094 - INFO - Deleted project: ctest-TestPorts-39196579, ID : 7d96b89e-04c2-47de-8a4c-f39e49e32529