2025-11-10 20:20:12,387 - INFO - Domain Default found not creating 2025-11-10 20:20:12,705 - INFO - Project ctest-TestPorts-10572412 not found, creating it 2025-11-10 20:20:13,446 - INFO - Created Project:ctest-TestPorts-10572412, ID : d9cc119e-01de-451e-a05b-f0fca93e14f6 2025-11-10 20:20:15,719 - INFO - ================================================================================ 2025-11-10 20:20:15,720 - INFO - STARTING TEST : test_ports_bindings 2025-11-10 20:20:15,720 - 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 20:20:16,044 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-11-10 20:20:16,044 - INFO - Initial checks done. Running the testcase now 2025-11-10 20:20:16,044 - INFO - 2025-11-10 20:20:16,810 - DEBUG - Response for create_network : {'network': {'id': '149ecf6b-0dd6-4a34-8f20-dc9564c2781b', 'name': 'ctest-vn-39518258', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10572412', 'ctest-vn-39518258'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:20:17,004 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad1ddd18-eafc-4271-a9ce-e88f72f2eda4', 'name': '', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '149ecf6b-0dd6-4a34-8f20-dc9564c2781b', 'ip_version': 4, 'cidr': '173.34.121.128/26', 'allocation_pools': [{'start': '173.34.121.130', 'end': '173.34.121.190'}], 'gateway_ip': '173.34.121.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.34.121.130', 'tags': [], 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:17,022 - INFO - Created VN ctest-vn-39518258 2025-11-10 20:20:17,076 - DEBUG - VN ctest-vn-39518258 UUID is 149ecf6b-0dd6-4a34-8f20-dc9564c2781b 2025-11-10 20:20:17,233 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10572412', 'ctest-vmi-36138851']} 2025-11-10 20:20:17,587 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36138851', 'id': 'cad87d1f-dad7-4e7c-8d27-503778cd75a0', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '149ecf6b-0dd6-4a34-8f20-dc9564c2781b', 'mac_address': '02:ca:d8:7d:1f:da', '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': '173.34.121.131', 'subnet_id': 'ad1ddd18-eafc-4271-a9ce-e88f72f2eda4'}], 'security_groups': ['204085ca-6ff2-4511-bf2e-bd850b630558'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:17,588 - DEBUG - Created port cad87d1f-dad7-4e7c-8d27-503778cd75a0 2025-11-10 20:20:17,696 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cad87d1f-dad7-4e7c-8d27-503778cd75a0 2025-11-10 20:20:18,023 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/cad87d1f-dad7-4e7c-8d27-503778cd75a0 2025-11-10 20:20:18,082 - INFO - VMI cad87d1f-dad7-4e7c-8d27-503778cd75a0 verification in API Server passed 2025-11-10 20:20:18,220 - DEBUG - Response for delete_port : () 2025-11-10 20:20:18,220 - INFO - Deleted port cad87d1f-dad7-4e7c-8d27-503778cd75a0 2025-11-10 20:20:18,220 - INFO - Deleting VN ctest-vn-39518258 2025-11-10 20:20:18,341 - DEBUG - Response for deleting network () 2025-11-10 20:20:18,656 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 20:20:18,656 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-10 20:20:18,657 - INFO - -------------------------------------------------------------------------------- 2025-11-10 20:20:18,659 - INFO - ================================================================================ 2025-11-10 20:20:18,659 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-10 20:20:18,659 - 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 20:20:18,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.25': '0'}} with 2025-11-10 20:20:18,979 - INFO - Initial checks done. Running the testcase now 2025-11-10 20:20:18,979 - INFO - 2025-11-10 20:20:19,284 - DEBUG - Response for create_network : {'network': {'id': '32079f55-b87c-4b50-9dff-1970e13b2ef2', 'name': 'ctest-vn1-13316728', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10572412', 'ctest-vn1-13316728'], 'port_security_enabled': True, 'description': ''}} 2025-11-10 20:20:19,467 - DEBUG - Response for create_subnet : {'subnet': {'id': '61144887-b76e-4816-991f-bc4f0b4651a3', 'name': '', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '32079f55-b87c-4b50-9dff-1970e13b2ef2', 'ip_version': 4, 'cidr': '55.192.172.192/26', 'allocation_pools': [{'start': '55.192.172.194', 'end': '55.192.172.254'}], 'gateway_ip': '55.192.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.192.172.194', 'tags': [], 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:19,631 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ea6216a2-832a-4539-b136-5e3c095533a8', 'name': '', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '32079f55-b87c-4b50-9dff-1970e13b2ef2', 'ip_version': 4, 'cidr': '89.70.49.192/26', 'allocation_pools': [{'start': '89.70.49.194', 'end': '89.70.49.254'}], 'gateway_ip': '89.70.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.70.49.194', 'tags': [], 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:19,649 - INFO - Created VN ctest-vn1-13316728 2025-11-10 20:20:19,704 - DEBUG - VN ctest-vn1-13316728 UUID is 32079f55-b87c-4b50-9dff-1970e13b2ef2 2025-11-10 20:20:20,167 - DEBUG - Response for create_port : {'port': {'name': '46bfdc2b-e146-4464-a5dc-dd408e797a0f', 'id': '46bfdc2b-e146-4464-a5dc-dd408e797a0f', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '32079f55-b87c-4b50-9dff-1970e13b2ef2', 'mac_address': '02:46:bf:dc:2b:e1', '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': '55.192.172.197', 'subnet_id': '61144887-b76e-4816-991f-bc4f0b4651a3'}], 'security_groups': ['204085ca-6ff2-4511-bf2e-bd850b630558'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:20,356 - DEBUG - Response for create_port : {'port': {'name': '141d6627-69ad-4f45-b668-b5cbbbe07bd7', 'id': '141d6627-69ad-4f45-b668-b5cbbbe07bd7', 'tenant_id': 'd9cc119e01de451ea05bf0fca93e14f6', 'network_id': '32079f55-b87c-4b50-9dff-1970e13b2ef2', 'mac_address': '02:14:1d:66:27:69', '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.70.49.197', 'subnet_id': 'ea6216a2-832a-4539-b136-5e3c095533a8'}], 'security_groups': ['204085ca-6ff2-4511-bf2e-bd850b630558'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd9cc119e01de451ea05bf0fca93e14f6'}} 2025-11-10 20:20:20,424 - DEBUG - Services list from nova: [, , ] 2025-11-10 20:20:21,193 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:20:21,830 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4688-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4688-1) 2025-11-10 20:20:21,830 - INFO - Waiting for VM ctest-vn1-vm1-69667859 to be up.. 2025-11-10 20:20:21,916 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-10 20:20:27,059 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:20:27,060 - INFO - VM name : ctest-vn1-vm1-69667859 2025-11-10 20:20:27,166 - DEBUG - VM ctest-vn1-vm1-69667859 ID is 8a592489-571a-40a8-b252-f59eefc99ff7 2025-11-10 20:20:27,205 - DEBUG - VM ctest-vn1-vm1-69667859 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:20:27,325 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/8a592489-571a-40a8-b252-f59eefc99ff7 2025-11-10 20:20:27,350 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/46bfdc2b-e146-4464-a5dc-dd408e797a0f 2025-11-10 20:20:30,646 - 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 1004ms') 2025-11-10 20:20:30,646 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69667859 failed! 2025-11-10 20:20:30,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10572412:ctest-vn1-13316728 is 55.192.172.193 and allocation pool is NOT set 2025-11-10 20:20:30,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10572412:ctest-vn1-13316728 is 89.70.49.193 and allocation pool is NOT set 2025-11-10 20:20:34,804 - 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=2 ttl=63 time=9.23 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1018ms\r\nrtt min/avg/max/mdev = 9.225/9.225/9.225/0.000 ms') 2025-11-10 20:20:34,804 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69667859 passed 2025-11-10 20:20:34,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:34,965 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69667859, IP 55.192.172.197, Port 22 2025-11-10 20:20:35,045 - 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 20:20:35,228 - DEBUG - VM ctest-vn1-vm1-69667859 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-10 20:20:40,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:40,230 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69667859, IP 55.192.172.197, Port 22 2025-11-10 20:20:40,430 - DEBUG - VM ctest-vn1-vm1-69667859 is ready for SSH connections 2025-11-10 20:20:40,431 - INFO - Waiting for VM ctest-vn1-vm2-04180473 to be up.. 2025-11-10 20:20:40,602 - DEBUG - VM is in ACTIVE state now 2025-11-10 20:20:40,602 - INFO - VM name : ctest-vn1-vm2-04180473 2025-11-10 20:20:40,783 - DEBUG - VM ctest-vn1-vm2-04180473 ID is 928adaed-e9d5-47f5-8ee2-e03a29cf6f3a 2025-11-10 20:20:40,783 - DEBUG - VM ctest-vn1-vm2-04180473 launched on Node cn-jenkins-deploy-platform-ansible-os-4688-1 2025-11-10 20:20:40,962 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/928adaed-e9d5-47f5-8ee2-e03a29cf6f3a 2025-11-10 20:20:40,985 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/141d6627-69ad-4f45-b668-b5cbbbe07bd7 2025-11-10 20:20:42,302 - 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.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.816 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.816/2.279/3.743/1.463 ms') 2025-11-10 20:20:42,302 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-04180473 passed 2025-11-10 20:20:42,484 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:42,484 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-04180473, IP 89.70.49.197, Port 22 2025-11-10 20:20:42,674 - DEBUG - VM ctest-vn1-vm2-04180473 is ready for SSH connections 2025-11-10 20:20:42,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:42,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:42,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-10 20:20:42,675 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 55.192.172.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-10 20:20:42,675 - DEBUG - ping -s 56 -c 3 -W 1 55.192.172.197 2025-11-10 20:20:45,804 - DEBUG - PING 55.192.172.197 (55.192.172.197): 56 data bytes 64 bytes from 55.192.172.197: seq=0 ttl=63 time=5.417 ms 64 bytes from 55.192.172.197: seq=1 ttl=63 time=2.427 ms 64 bytes from 55.192.172.197: seq=2 ttl=63 time=1.840 ms --- 55.192.172.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.840/3.228/5.417 ms 2025-11-10 20:20:45,804 - INFO - Ping to IP 55.192.172.197 from VM ctest-vn1-vm2-04180473 passed 2025-11-10 20:20:45,804 - INFO - Detaching port 141d6627-69ad-4f45-b668-b5cbbbe07bd7 from VM ctest-vn1-vm2-04180473 2025-11-10 20:20:45,907 - INFO - Deleting VM ctest-vn1-vm2-04180473 2025-11-10 20:20:46,049 - INFO - Detaching port 46bfdc2b-e146-4464-a5dc-dd408e797a0f from VM ctest-vn1-vm1-69667859 2025-11-10 20:20:46,108 - INFO - Deleting VM ctest-vn1-vm1-69667859 2025-11-10 20:20:46,418 - DEBUG - Response for delete_port : () 2025-11-10 20:20:46,603 - DEBUG - Response for delete_port : () 2025-11-10 20:20:46,603 - INFO - Deleting VN ctest-vn1-13316728 2025-11-10 20:20:46,732 - DEBUG - Response for deleting network () 2025-11-10 20:20:47,022 - DEBUG - No XMPP flaps were noticed during the test 2025-11-10 20:20:47,023 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:29] 2025-11-10 20:20:47,023 - INFO - -------------------------------------------------------------------------------- 2025-11-10 20:20:47,817 - INFO - Deleted project: ctest-TestPorts-10572412, ID : d9cc119e-01de-451e-a05b-f0fca93e14f6