2025-08-26 08:04:51,898 - INFO - Domain Default found not creating 2025-08-26 08:04:52,051 - INFO - Project ctest-TestPorts-34743871 not found, creating it 2025-08-26 08:04:52,526 - INFO - Created Project:ctest-TestPorts-34743871, ID : fa2d623e-9359-4265-a3dd-5745ea379dbe 2025-08-26 08:04:54,141 - INFO - ================================================================================ 2025-08-26 08:04:54,141 - INFO - STARTING TEST : test_ports_bindings 2025-08-26 08:04:54,142 - 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-08-26 08:04:54,408 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-26 08:04:54,408 - INFO - Initial checks done. Running the testcase now 2025-08-26 08:04:54,408 - INFO - 2025-08-26 08:04:54,984 - DEBUG - Response for create_network : {'network': {'id': '4761b3a9-0737-421e-8a20-020cb4057e50', 'name': 'ctest-vn-53701091', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'project_id': 'fa2d623e93594265a3dd5745ea379dbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34743871', 'ctest-vn-53701091'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:04:55,348 - DEBUG - Response for create_subnet : {'subnet': {'id': '783f7ec1-82ea-49ed-8acf-6bdea4a2dd0b', 'name': '', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': '4761b3a9-0737-421e-8a20-020cb4057e50', 'ip_version': 4, 'cidr': '66.171.103.0/26', 'allocation_pools': [{'start': '66.171.103.2', 'end': '66.171.103.62'}], 'gateway_ip': '66.171.103.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.171.103.2', 'tags': [], 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:55,366 - INFO - Created VN ctest-vn-53701091 2025-08-26 08:04:55,419 - DEBUG - VN ctest-vn-53701091 UUID is 4761b3a9-0737-421e-8a20-020cb4057e50 2025-08-26 08:04:55,533 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-34743871', 'ctest-vmi-69773086']} 2025-08-26 08:04:55,840 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-69773086', 'id': 'b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': '4761b3a9-0737-421e-8a20-020cb4057e50', 'mac_address': '02:b4:7a:ad:73:5f', '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': '66.171.103.3', 'subnet_id': '783f7ec1-82ea-49ed-8acf-6bdea4a2dd0b'}], 'security_groups': ['a131b1bd-9466-45fd-b9b0-447d2d594381'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:55,840 - DEBUG - Created port b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93 2025-08-26 08:04:55,947 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93 2025-08-26 08:04:56,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93 2025-08-26 08:04:56,274 - INFO - VMI b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93 verification in API Server passed 2025-08-26 08:04:56,386 - DEBUG - Response for delete_port : () 2025-08-26 08:04:56,387 - INFO - Deleted port b47aad73-5f9e-4323-b2fd-8bbcf9ec3c93 2025-08-26 08:04:56,387 - INFO - Deleting VN ctest-vn-53701091 2025-08-26 08:04:56,533 - DEBUG - Response for deleting network () 2025-08-26 08:04:56,793 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 08:04:56,793 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-26 08:04:56,793 - INFO - -------------------------------------------------------------------------------- 2025-08-26 08:04:56,796 - INFO - ================================================================================ 2025-08-26 08:04:56,796 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-26 08:04:56,796 - 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-08-26 08:04:57,084 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-08-26 08:04:57,084 - INFO - Initial checks done. Running the testcase now 2025-08-26 08:04:57,084 - INFO - 2025-08-26 08:04:57,298 - DEBUG - Response for create_network : {'network': {'id': 'a08f6b85-62b1-437b-ab28-6677a833f9c0', 'name': 'ctest-vn1-63571887', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'project_id': 'fa2d623e93594265a3dd5745ea379dbe', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-34743871', 'ctest-vn1-63571887'], 'port_security_enabled': True, 'description': ''}} 2025-08-26 08:04:57,541 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c1a9fdf-37f6-4e39-80c4-5d6e6a5f2cab', 'name': '', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': 'a08f6b85-62b1-437b-ab28-6677a833f9c0', 'ip_version': 4, 'cidr': '156.239.144.64/26', 'allocation_pools': [{'start': '156.239.144.66', 'end': '156.239.144.126'}], 'gateway_ip': '156.239.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.239.144.66', 'tags': [], 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:57,719 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4872294-a4cc-49ba-af40-5c43e652d9bd', 'name': '', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': 'a08f6b85-62b1-437b-ab28-6677a833f9c0', 'ip_version': 4, 'cidr': '108.205.188.192/26', 'allocation_pools': [{'start': '108.205.188.194', 'end': '108.205.188.254'}], 'gateway_ip': '108.205.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.205.188.194', 'tags': [], 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:57,743 - INFO - Created VN ctest-vn1-63571887 2025-08-26 08:04:57,799 - DEBUG - VN ctest-vn1-63571887 UUID is a08f6b85-62b1-437b-ab28-6677a833f9c0 2025-08-26 08:04:58,145 - DEBUG - Response for create_port : {'port': {'name': '34a857a8-fd5a-4d13-8975-eb7d5c38d880', 'id': '34a857a8-fd5a-4d13-8975-eb7d5c38d880', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': 'a08f6b85-62b1-437b-ab28-6677a833f9c0', 'mac_address': '02:34:a8:57:a8:fd', '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': '156.239.144.69', 'subnet_id': '2c1a9fdf-37f6-4e39-80c4-5d6e6a5f2cab'}], 'security_groups': ['a131b1bd-9466-45fd-b9b0-447d2d594381'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:58,327 - DEBUG - Response for create_port : {'port': {'name': '232a54d2-121c-4a0b-9d05-2c0e7a2ddbee', 'id': '232a54d2-121c-4a0b-9d05-2c0e7a2ddbee', 'tenant_id': 'fa2d623e93594265a3dd5745ea379dbe', 'network_id': 'a08f6b85-62b1-437b-ab28-6677a833f9c0', 'mac_address': '02:23:2a:54:d2:12', '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': '108.205.188.197', 'subnet_id': 'd4872294-a4cc-49ba-af40-5c43e652d9bd'}], 'security_groups': ['a131b1bd-9466-45fd-b9b0-447d2d594381'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'fa2d623e93594265a3dd5745ea379dbe'}} 2025-08-26 08:04:58,388 - DEBUG - Services list from nova: [, , ] 2025-08-26 08:04:58,775 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3937-1) 2025-08-26 08:04:59,219 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3937-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3937-1) 2025-08-26 08:04:59,219 - INFO - Waiting for VM ctest-vn1-vm1-41547267 to be up.. 2025-08-26 08:04:59,267 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-26 08:05:04,353 - DEBUG - VM is in ACTIVE state now 2025-08-26 08:05:04,353 - INFO - VM name : ctest-vn1-vm1-41547267 2025-08-26 08:05:04,437 - DEBUG - VM ctest-vn1-vm1-41547267 ID is 59b9f7cd-f742-40f0-801c-0249fb457e0c 2025-08-26 08:05:04,472 - DEBUG - VM ctest-vn1-vm1-41547267 launched on Node cn-jenkins-deploy-platform-ansible-os-3937-1 2025-08-26 08:05:04,560 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59b9f7cd-f742-40f0-801c-0249fb457e0c 2025-08-26 08:05:04,570 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/34a857a8-fd5a-4d13-8975-eb7d5c38d880 2025-08-26 08:05:07,837 - 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-08-26 08:05:07,837 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41547267 failed! 2025-08-26 08:05:07,895 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34743871:ctest-vn1-63571887 is 156.239.144.65 and allocation pool is NOT set 2025-08-26 08:05:07,895 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-34743871:ctest-vn1-63571887 is 108.205.188.193 and allocation pool is NOT set 2025-08-26 08:05:09,955 - 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=9.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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 = 2.379/5.832/9.285/3.453 ms') 2025-08-26 08:05:09,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-41547267 passed 2025-08-26 08:05:10,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:10,111 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41547267, IP 156.239.144.69, Port 22 2025-08-26 08:05:10,178 - 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-08-26 08:05:10,273 - DEBUG - VM ctest-vn1-vm1-41547267 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-26 08:05:15,274 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:15,274 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-41547267, IP 156.239.144.69, Port 22 2025-08-26 08:05:15,445 - DEBUG - VM ctest-vn1-vm1-41547267 is ready for SSH connections 2025-08-26 08:05:15,445 - INFO - Waiting for VM ctest-vn1-vm2-51341304 to be up.. 2025-08-26 08:05:15,528 - DEBUG - VM is in ACTIVE state now 2025-08-26 08:05:15,528 - INFO - VM name : ctest-vn1-vm2-51341304 2025-08-26 08:05:15,616 - DEBUG - VM ctest-vn1-vm2-51341304 ID is 9e35525d-5640-4e3a-aac1-543d5293f179 2025-08-26 08:05:15,617 - DEBUG - VM ctest-vn1-vm2-51341304 launched on Node cn-jenkins-deploy-platform-ansible-os-3937-1 2025-08-26 08:05:15,690 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/9e35525d-5640-4e3a-aac1-543d5293f179 2025-08-26 08:05:15,701 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/232a54d2-121c-4a0b-9d05-2c0e7a2ddbee 2025-08-26 08:05:16,952 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.510 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.510/1.991/3.473/1.481 ms') 2025-08-26 08:05:16,953 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-51341304 passed 2025-08-26 08:05:17,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:17,115 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-51341304, IP 108.205.188.197, Port 22 2025-08-26 08:05:17,278 - DEBUG - VM ctest-vn1-vm2-51341304 is ready for SSH connections 2025-08-26 08:05:17,278 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:17,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:17,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-26 08:05:17,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.239.144.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-26 08:05:17,279 - DEBUG - ping -s 56 -c 3 -W 1 156.239.144.69 2025-08-26 08:05:19,967 - DEBUG - PING 156.239.144.69 (156.239.144.69): 56 data bytes 64 bytes from 156.239.144.69: seq=0 ttl=63 time=5.170 ms 64 bytes from 156.239.144.69: seq=1 ttl=63 time=0.940 ms 64 bytes from 156.239.144.69: seq=2 ttl=63 time=1.337 ms --- 156.239.144.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.940/2.482/5.170 ms 2025-08-26 08:05:19,967 - INFO - Ping to IP 156.239.144.69 from VM ctest-vn1-vm2-51341304 passed 2025-08-26 08:05:19,967 - INFO - Detaching port 232a54d2-121c-4a0b-9d05-2c0e7a2ddbee from VM ctest-vn1-vm2-51341304 2025-08-26 08:05:20,021 - INFO - Deleting VM ctest-vn1-vm2-51341304 2025-08-26 08:05:20,092 - INFO - Detaching port 34a857a8-fd5a-4d13-8975-eb7d5c38d880 from VM ctest-vn1-vm1-41547267 2025-08-26 08:05:20,125 - INFO - Deleting VM ctest-vn1-vm1-41547267 2025-08-26 08:05:20,448 - DEBUG - Response for delete_port : () 2025-08-26 08:05:20,687 - DEBUG - Response for delete_port : () 2025-08-26 08:05:20,687 - INFO - Deleting VN ctest-vn1-63571887 2025-08-26 08:05:20,894 - DEBUG - Response for deleting network () 2025-08-26 08:05:21,157 - DEBUG - No XMPP flaps were noticed during the test
2025-08-26 08:05:21,157 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:25]
2025-08-26 08:05:21,157 - INFO - -------------------------------------------------------------------------------- 2025-08-26 08:05:21,831 - INFO - Deleted project: ctest-TestPorts-34743871, ID : fa2d623e-9359-4265-a3dd-5745ea379dbe