2025-12-04 15:36:44,345 - INFO - Domain Default found not creating
2025-12-04 15:36:44,481 - INFO - Project ctest-TestPorts-38263343 not found, creating it
2025-12-04 15:36:44,902 - INFO - Created Project:ctest-TestPorts-38263343, ID : 377a1840-8074-46f8-8c77-efc898f476b8
2025-12-04 15:36:46,273 - INFO - ================================================================================
2025-12-04 15:36:46,273 - INFO - STARTING TEST : test_ports_bindings
2025-12-04 15:36:46,274 - 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-12-04 15:36:46,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-12-04 15:36:46,532 - INFO - Initial checks done. Running the testcase now
2025-12-04 15:36:46,532 - INFO -
2025-12-04 15:36:47,116 - DEBUG - Response for create_network : {'network': {'id': '17090727-85b3-4245-831f-2f1b0fe901ba', 'name': 'ctest-vn-46942449', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'project_id': '377a1840807446f88c77efc898f476b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38263343', 'ctest-vn-46942449'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 15:36:47,267 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d399a20-502c-459e-bdc3-8bb2a368c258', 'name': '', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '17090727-85b3-4245-831f-2f1b0fe901ba', 'ip_version': 4, 'cidr': '204.84.21.192/26', 'allocation_pools': [{'start': '204.84.21.194', 'end': '204.84.21.254'}], 'gateway_ip': '204.84.21.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.84.21.194', 'tags': [], 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:47,285 - INFO - Created VN ctest-vn-46942449
2025-12-04 15:36:47,335 - DEBUG - VN ctest-vn-46942449 UUID is 17090727-85b3-4245-831f-2f1b0fe901ba
2025-12-04 15:36:47,431 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-38263343', 'ctest-vmi-08847482']}
2025-12-04 15:36:47,679 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08847482', 'id': '63b3097f-719b-467b-bdfb-1b70e1a3b76d', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '17090727-85b3-4245-831f-2f1b0fe901ba', 'mac_address': '02:63:b3:09:7f:71', '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': '204.84.21.195', 'subnet_id': '4d399a20-502c-459e-bdc3-8bb2a368c258'}], 'security_groups': ['f706d0e1-05c4-44ca-91db-d5dbd6168424'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:47,679 - DEBUG - Created port 63b3097f-719b-467b-bdfb-1b70e1a3b76d
2025-12-04 15:36:47,783 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63b3097f-719b-467b-bdfb-1b70e1a3b76d
2025-12-04 15:36:48,073 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/63b3097f-719b-467b-bdfb-1b70e1a3b76d
2025-12-04 15:36:48,102 - INFO - VMI 63b3097f-719b-467b-bdfb-1b70e1a3b76d verification in API Server passed
2025-12-04 15:36:48,178 - DEBUG - Response for delete_port : ()
2025-12-04 15:36:48,178 - INFO - Deleted port 63b3097f-719b-467b-bdfb-1b70e1a3b76d
2025-12-04 15:36:48,178 - INFO - Deleting VN ctest-vn-46942449
2025-12-04 15:36:48,266 - DEBUG - Response for deleting network ()
2025-12-04 15:36:48,521 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 15:36:48,521 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-04 15:36:48,521 - INFO - --------------------------------------------------------------------------------
2025-12-04 15:36:48,523 - INFO - ================================================================================
2025-12-04 15:36:48,523 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-04 15:36:48,523 - 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-12-04 15:36:48,807 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-12-04 15:36:48,807 - INFO - Initial checks done. Running the testcase now
2025-12-04 15:36:48,807 - INFO -
2025-12-04 15:36:48,966 - DEBUG - Response for create_network : {'network': {'id': '25fbc394-8fcd-4c17-830f-bfd37d2ec6ac', 'name': 'ctest-vn1-47181931', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'project_id': '377a1840807446f88c77efc898f476b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-38263343', 'ctest-vn1-47181931'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 15:36:49,114 - DEBUG - Response for create_subnet : {'subnet': {'id': '03145859-3505-490a-87b0-e1e4b7a19b20', 'name': '', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '25fbc394-8fcd-4c17-830f-bfd37d2ec6ac', 'ip_version': 4, 'cidr': '132.125.102.64/26', 'allocation_pools': [{'start': '132.125.102.66', 'end': '132.125.102.126'}], 'gateway_ip': '132.125.102.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.125.102.66', 'tags': [], 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:49,241 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9a9d290-8b66-4b81-b012-6da47df3f1b1', 'name': '', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '25fbc394-8fcd-4c17-830f-bfd37d2ec6ac', 'ip_version': 4, 'cidr': '79.137.16.128/26', 'allocation_pools': [{'start': '79.137.16.130', 'end': '79.137.16.190'}], 'gateway_ip': '79.137.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.137.16.130', 'tags': [], 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:49,258 - INFO - Created VN ctest-vn1-47181931
2025-12-04 15:36:49,307 - DEBUG - VN ctest-vn1-47181931 UUID is 25fbc394-8fcd-4c17-830f-bfd37d2ec6ac
2025-12-04 15:36:49,589 - DEBUG - Response for create_port : {'port': {'name': '072cbe9b-19e5-4541-b90c-8ec25e351875', 'id': '072cbe9b-19e5-4541-b90c-8ec25e351875', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '25fbc394-8fcd-4c17-830f-bfd37d2ec6ac', 'mac_address': '02:07:2c:be:9b:19', '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': '132.125.102.69', 'subnet_id': '03145859-3505-490a-87b0-e1e4b7a19b20'}], 'security_groups': ['f706d0e1-05c4-44ca-91db-d5dbd6168424'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:49,750 - DEBUG - Response for create_port : {'port': {'name': 'ce33fb5c-9c7d-466e-83dc-6f67b5032f78', 'id': 'ce33fb5c-9c7d-466e-83dc-6f67b5032f78', 'tenant_id': '377a1840807446f88c77efc898f476b8', 'network_id': '25fbc394-8fcd-4c17-830f-bfd37d2ec6ac', 'mac_address': '02:ce:33:fb:5c:9c', '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': '79.137.16.133', 'subnet_id': 'b9a9d290-8b66-4b81-b012-6da47df3f1b1'}], 'security_groups': ['f706d0e1-05c4-44ca-91db-d5dbd6168424'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '377a1840807446f88c77efc898f476b8'}}
2025-12-04 15:36:49,809 - DEBUG - Services list from nova: [, , ]
2025-12-04 15:36:50,113 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4844-1)
2025-12-04 15:36:50,573 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4844-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4844-1)
2025-12-04 15:36:50,573 - INFO - Waiting for VM ctest-vn1-vm1-86216500 to be up..
2025-12-04 15:36:50,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 15:36:55,703 - DEBUG - VM is in ACTIVE state now
2025-12-04 15:36:55,703 - INFO - VM name : ctest-vn1-vm1-86216500
2025-12-04 15:36:55,780 - DEBUG - VM ctest-vn1-vm1-86216500 ID is 98fe8a2d-c56a-4f97-8617-5b477c9a6795
2025-12-04 15:36:55,797 - DEBUG - VM ctest-vn1-vm1-86216500 launched on Node cn-jenkins-deploy-platform-ansible-os-4844-1
2025-12-04 15:36:55,870 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/98fe8a2d-c56a-4f97-8617-5b477c9a6795
2025-12-04 15:36:55,877 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/072cbe9b-19e5-4541-b90c-8ec25e351875
2025-12-04 15:36:59,116 - 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 1015ms')
2025-12-04 15:36:59,116 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86216500 failed!
2025-12-04 15:36:59,167 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38263343:ctest-vn1-47181931 is 132.125.102.65 and allocation pool is NOT set
2025-12-04 15:36:59,167 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-38263343:ctest-vn1-47181931 is 79.137.16.129 and allocation pool is NOT set
2025-12-04 15:37:01,227 - 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.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.733 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.733/1.964/3.195/1.231 ms')
2025-12-04 15:37:01,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86216500 passed
2025-12-04 15:37:01,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:01,379 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86216500, IP 132.125.102.69, Port 22
2025-12-04 15:37:01,435 - 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-12-04 15:37:01,506 - DEBUG - VM ctest-vn1-vm1-86216500 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 15:37:06,507 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:06,507 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86216500, IP 132.125.102.69, Port 22
2025-12-04 15:37:06,662 - DEBUG - VM ctest-vn1-vm1-86216500 is ready for SSH connections
2025-12-04 15:37:06,662 - INFO - Waiting for VM ctest-vn1-vm2-03198383 to be up..
2025-12-04 15:37:06,726 - DEBUG - VM is in ACTIVE state now
2025-12-04 15:37:06,726 - INFO - VM name : ctest-vn1-vm2-03198383
2025-12-04 15:37:06,792 - DEBUG - VM ctest-vn1-vm2-03198383 ID is c2a0b269-6ca5-4947-8b27-56b357f20a54
2025-12-04 15:37:06,792 - DEBUG - VM ctest-vn1-vm2-03198383 launched on Node cn-jenkins-deploy-platform-ansible-os-4844-1
2025-12-04 15:37:06,855 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/c2a0b269-6ca5-4947-8b27-56b357f20a54
2025-12-04 15:37:06,862 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/ce33fb5c-9c7d-466e-83dc-6f67b5032f78
2025-12-04 15:37:08,089 - 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=2.69 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.527/2.691/1.163 ms')
2025-12-04 15:37:08,089 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-03198383 passed
2025-12-04 15:37:08,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:08,235 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-03198383, IP 79.137.16.133, Port 22
2025-12-04 15:37:08,391 - DEBUG - VM ctest-vn1-vm2-03198383 is ready for SSH connections
2025-12-04 15:37:08,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:08,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:08,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 15:37:08,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 132.125.102.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.249, gateway password: c0ntrail123
2025-12-04 15:37:08,391 - DEBUG - ping -s 56 -c 3 -W 1 132.125.102.69
2025-12-04 15:37:11,011 - DEBUG - PING 132.125.102.69 (132.125.102.69): 56 data bytes
64 bytes from 132.125.102.69: seq=0 ttl=63 time=3.389 ms
64 bytes from 132.125.102.69: seq=1 ttl=63 time=1.129 ms
64 bytes from 132.125.102.69: seq=2 ttl=63 time=0.894 ms
--- 132.125.102.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.894/1.804/3.389 ms
2025-12-04 15:37:11,011 - INFO - Ping to IP 132.125.102.69 from VM ctest-vn1-vm2-03198383 passed
2025-12-04 15:37:11,011 - INFO - Detaching port ce33fb5c-9c7d-466e-83dc-6f67b5032f78 from VM ctest-vn1-vm2-03198383
2025-12-04 15:37:11,070 - INFO - Deleting VM ctest-vn1-vm2-03198383
2025-12-04 15:37:11,138 - INFO - Detaching port 072cbe9b-19e5-4541-b90c-8ec25e351875 from VM ctest-vn1-vm1-86216500
2025-12-04 15:37:11,182 - INFO - Deleting VM ctest-vn1-vm1-86216500
2025-12-04 15:37:11,377 - DEBUG - Response for delete_port : ()
2025-12-04 15:37:11,524 - DEBUG - Response for delete_port : ()
2025-12-04 15:37:11,524 - INFO - Deleting VN ctest-vn1-47181931
2025-12-04 15:37:11,628 - DEBUG - Response for deleting network ()
2025-12-04 15:37:11,875 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 15:37:11,875 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-12-04 15:37:11,875 - INFO - --------------------------------------------------------------------------------
2025-12-04 15:37:12,519 - INFO - Deleted project: ctest-TestPorts-38263343, ID : 377a1840-8074-46f8-8c77-efc898f476b8