2025-10-22 20:24:24,636 - INFO - Domain Default found not creating 2025-10-22 20:24:24,760 - INFO - Project ctest-TestPorts-89666195 not found, creating it 2025-10-22 20:24:25,180 - INFO - Created Project:ctest-TestPorts-89666195, ID : 90d88472-286c-4767-afb0-17ce5e02a853 2025-10-22 20:24:26,537 - INFO - ================================================================================ 2025-10-22 20:24:26,538 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 20:24:26,538 - 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-10-22 20:24:26,793 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-22 20:24:26,793 - INFO - Initial checks done. Running the testcase now 2025-10-22 20:24:26,793 - INFO - 2025-10-22 20:24:27,306 - DEBUG - Response for create_network : {'network': {'id': '15fb29c9-010c-4e7c-8f9c-7045a70201f2', 'name': 'ctest-vn-21803582', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'project_id': '90d88472286c4767afb017ce5e02a853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89666195', 'ctest-vn-21803582'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 20:24:27,455 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e0330c1-1781-4e93-822a-ba91f805d03f', 'name': '', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': '15fb29c9-010c-4e7c-8f9c-7045a70201f2', 'ip_version': 4, 'cidr': '89.145.160.192/26', 'allocation_pools': [{'start': '89.145.160.194', 'end': '89.145.160.254'}], 'gateway_ip': '89.145.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.145.160.194', 'tags': [], 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:27,470 - INFO - Created VN ctest-vn-21803582 2025-10-22 20:24:27,520 - DEBUG - VN ctest-vn-21803582 UUID is 15fb29c9-010c-4e7c-8f9c-7045a70201f2 2025-10-22 20:24:27,618 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89666195', 'ctest-vmi-62950767']} 2025-10-22 20:24:27,893 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62950767', 'id': 'e60182c2-0dc7-4d20-83fb-dd2885e83151', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': '15fb29c9-010c-4e7c-8f9c-7045a70201f2', 'mac_address': '02:e6:01:82:c2:0d', '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': '89.145.160.195', 'subnet_id': '6e0330c1-1781-4e93-822a-ba91f805d03f'}], 'security_groups': ['5d976f72-9bce-44d1-823c-85ed6da189c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:27,893 - DEBUG - Created port e60182c2-0dc7-4d20-83fb-dd2885e83151 2025-10-22 20:24:28,004 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e60182c2-0dc7-4d20-83fb-dd2885e83151 2025-10-22 20:24:28,313 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/e60182c2-0dc7-4d20-83fb-dd2885e83151 2025-10-22 20:24:28,344 - INFO - VMI e60182c2-0dc7-4d20-83fb-dd2885e83151 verification in API Server passed 2025-10-22 20:24:28,437 - DEBUG - Response for delete_port : () 2025-10-22 20:24:28,437 - INFO - Deleted port e60182c2-0dc7-4d20-83fb-dd2885e83151 2025-10-22 20:24:28,437 - INFO - Deleting VN ctest-vn-21803582 2025-10-22 20:24:28,525 - DEBUG - Response for deleting network () 2025-10-22 20:24:28,781 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 20:24:28,781 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 20:24:28,781 - INFO - -------------------------------------------------------------------------------- 2025-10-22 20:24:28,783 - INFO - ================================================================================ 2025-10-22 20:24:28,783 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 20:24:28,783 - 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-10-22 20:24:29,076 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-22 20:24:29,076 - INFO - Initial checks done. Running the testcase now 2025-10-22 20:24:29,076 - INFO - 2025-10-22 20:24:29,412 - DEBUG - Response for create_network : {'network': {'id': 'e3006e69-fc13-4af9-8f6d-2184dbb3eebe', 'name': 'ctest-vn1-61216574', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'project_id': '90d88472286c4767afb017ce5e02a853', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89666195', 'ctest-vn1-61216574'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 20:24:29,605 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e672013-90d2-4c5d-a64b-8e7c6bad36d8', 'name': '', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': 'e3006e69-fc13-4af9-8f6d-2184dbb3eebe', 'ip_version': 4, 'cidr': '219.36.93.0/26', 'allocation_pools': [{'start': '219.36.93.2', 'end': '219.36.93.62'}], 'gateway_ip': '219.36.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.36.93.2', 'tags': [], 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:29,755 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc618887-1b36-4f79-a0be-06d94ab92f60', 'name': '', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': 'e3006e69-fc13-4af9-8f6d-2184dbb3eebe', 'ip_version': 4, 'cidr': '6.154.208.192/26', 'allocation_pools': [{'start': '6.154.208.194', 'end': '6.154.208.254'}], 'gateway_ip': '6.154.208.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.154.208.194', 'tags': [], 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:29,771 - INFO - Created VN ctest-vn1-61216574 2025-10-22 20:24:29,820 - DEBUG - VN ctest-vn1-61216574 UUID is e3006e69-fc13-4af9-8f6d-2184dbb3eebe 2025-10-22 20:24:30,091 - DEBUG - Response for create_port : {'port': {'name': 'b532a87f-40cf-44a2-a890-d19bab7a1dcf', 'id': 'b532a87f-40cf-44a2-a890-d19bab7a1dcf', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': 'e3006e69-fc13-4af9-8f6d-2184dbb3eebe', 'mac_address': '02:b5:32:a8:7f:40', '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': '219.36.93.5', 'subnet_id': '0e672013-90d2-4c5d-a64b-8e7c6bad36d8'}], 'security_groups': ['5d976f72-9bce-44d1-823c-85ed6da189c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:30,243 - DEBUG - Response for create_port : {'port': {'name': '82f28d83-96c3-4bc5-bf2b-1467d090d562', 'id': '82f28d83-96c3-4bc5-bf2b-1467d090d562', 'tenant_id': '90d88472286c4767afb017ce5e02a853', 'network_id': 'e3006e69-fc13-4af9-8f6d-2184dbb3eebe', 'mac_address': '02:82:f2:8d:83:96', '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': '6.154.208.197', 'subnet_id': 'cc618887-1b36-4f79-a0be-06d94ab92f60'}], 'security_groups': ['5d976f72-9bce-44d1-823c-85ed6da189c1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '90d88472286c4767afb017ce5e02a853'}} 2025-10-22 20:24:30,299 - DEBUG - Services list from nova: [, , ] 2025-10-22 20:24:30,626 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4440-1) 2025-10-22 20:24:31,100 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4440-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4440-1) 2025-10-22 20:24:31,100 - INFO - Waiting for VM ctest-vn1-vm1-05036826 to be up.. 2025-10-22 20:24:31,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 20:24:36,205 - DEBUG - VM is in ACTIVE state now 2025-10-22 20:24:36,206 - INFO - VM name : ctest-vn1-vm1-05036826 2025-10-22 20:24:36,269 - DEBUG - VM ctest-vn1-vm1-05036826 ID is 6614063b-b6c4-4b81-82ae-e446fc8cace2 2025-10-22 20:24:36,286 - DEBUG - VM ctest-vn1-vm1-05036826 launched on Node cn-jenkins-deploy-platform-ansible-os-4440-1 2025-10-22 20:24:36,354 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6614063b-b6c4-4b81-82ae-e446fc8cace2 2025-10-22 20:24:36,361 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b532a87f-40cf-44a2-a890-d19bab7a1dcf 2025-10-22 20:24:39,618 - 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 1023ms') 2025-10-22 20:24:39,618 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05036826 failed! 2025-10-22 20:24:39,672 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89666195:ctest-vn1-61216574 is 219.36.93.1 and allocation pool is NOT set 2025-10-22 20:24:39,672 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89666195:ctest-vn1-61216574 is 6.154.208.193 and allocation pool is NOT set 2025-10-22 20:24:41,733 - 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.89 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.51 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 = 2.511/2.701/2.891/0.190 ms') 2025-10-22 20:24:41,734 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05036826 passed 2025-10-22 20:24:41,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:41,884 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05036826, IP 219.36.93.5, Port 22 2025-10-22 20:24:41,939 - 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-10-22 20:24:42,027 - DEBUG - VM ctest-vn1-vm1-05036826 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 20:24:47,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:47,029 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05036826, IP 219.36.93.5, Port 22 2025-10-22 20:24:47,184 - DEBUG - VM ctest-vn1-vm1-05036826 is ready for SSH connections 2025-10-22 20:24:47,184 - INFO - Waiting for VM ctest-vn1-vm2-99474284 to be up.. 2025-10-22 20:24:47,271 - DEBUG - VM is in ACTIVE state now 2025-10-22 20:24:47,271 - INFO - VM name : ctest-vn1-vm2-99474284 2025-10-22 20:24:47,345 - DEBUG - VM ctest-vn1-vm2-99474284 ID is ae413c72-fb1b-4e96-8074-52e96fc1904f 2025-10-22 20:24:47,345 - DEBUG - VM ctest-vn1-vm2-99474284 launched on Node cn-jenkins-deploy-platform-ansible-os-4440-1 2025-10-22 20:24:47,424 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/ae413c72-fb1b-4e96-8074-52e96fc1904f 2025-10-22 20:24:47,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/82f28d83-96c3-4bc5-bf2b-1467d090d562 2025-10-22 20:24:48,672 - 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.84 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.393 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.393/2.118/3.844/1.725 ms') 2025-10-22 20:24:48,672 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-99474284 passed 2025-10-22 20:24:48,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:48,824 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-99474284, IP 6.154.208.197, Port 22 2025-10-22 20:24:48,980 - DEBUG - VM ctest-vn1-vm2-99474284 is ready for SSH connections 2025-10-22 20:24:48,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:48,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:48,980 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 20:24:48,980 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 219.36.93.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-22 20:24:48,980 - DEBUG - ping -s 56 -c 3 -W 1 219.36.93.5 2025-10-22 20:24:51,621 - DEBUG - PING 219.36.93.5 (219.36.93.5): 56 data bytes 64 bytes from 219.36.93.5: seq=0 ttl=63 time=3.620 ms 64 bytes from 219.36.93.5: seq=1 ttl=63 time=0.893 ms 64 bytes from 219.36.93.5: seq=2 ttl=63 time=0.820 ms --- 219.36.93.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.777/3.620 ms 2025-10-22 20:24:51,621 - INFO - Ping to IP 219.36.93.5 from VM ctest-vn1-vm2-99474284 passed 2025-10-22 20:24:51,621 - INFO - Detaching port 82f28d83-96c3-4bc5-bf2b-1467d090d562 from VM ctest-vn1-vm2-99474284 2025-10-22 20:24:51,665 - INFO - Deleting VM ctest-vn1-vm2-99474284 2025-10-22 20:24:51,731 - INFO - Detaching port b532a87f-40cf-44a2-a890-d19bab7a1dcf from VM ctest-vn1-vm1-05036826 2025-10-22 20:24:51,767 - INFO - Deleting VM ctest-vn1-vm1-05036826 2025-10-22 20:24:51,978 - DEBUG - Response for delete_port : () 2025-10-22 20:24:52,118 - DEBUG - Response for delete_port : () 2025-10-22 20:24:52,118 - INFO - Deleting VN ctest-vn1-61216574 2025-10-22 20:24:52,216 - DEBUG - Response for deleting network () 2025-10-22 20:24:52,472 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 20:24:52,472 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 20:24:52,472 - INFO - -------------------------------------------------------------------------------- 2025-10-22 20:24:53,147 - INFO - Deleted project: ctest-TestPorts-89666195, ID : 90d88472-286c-4767-afb0-17ce5e02a853