2025-11-05 16:21:03,528 - INFO - Domain Default found not creating
2025-11-05 16:21:03,703 - INFO - Project ctest-TestPorts-48175814 not found, creating it
2025-11-05 16:21:04,221 - INFO - Created Project:ctest-TestPorts-48175814, ID : 72a7244a-4171-49ff-9e92-7e40a3445b6c
2025-11-05 16:21:05,913 - INFO - ================================================================================
2025-11-05 16:21:05,914 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 16:21:05,914 - 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-05 16:21:06,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.147': {'10.20.0.249': '0'}} with
2025-11-05 16:21:06,184 - INFO - Initial checks done. Running the testcase now
2025-11-05 16:21:06,184 - INFO -
2025-11-05 16:21:06,846 - DEBUG - Response for create_network : {'network': {'id': 'd59a24f9-7369-42b4-84de-4e5be23f3ecb', 'name': 'ctest-vn-93431853', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'project_id': '72a7244a417149ff9e927e40a3445b6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48175814', 'ctest-vn-93431853'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 16:21:07,067 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f24f71d5-fb0f-4a48-807d-e9d24f4dbda2', 'name': '', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': 'd59a24f9-7369-42b4-84de-4e5be23f3ecb', 'ip_version': 4, 'cidr': '63.144.244.0/26', 'allocation_pools': [{'start': '63.144.244.2', 'end': '63.144.244.62'}], 'gateway_ip': '63.144.244.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.144.244.2', 'tags': [], 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:07,089 - INFO - Created VN ctest-vn-93431853
2025-11-05 16:21:07,143 - DEBUG - VN ctest-vn-93431853 UUID is d59a24f9-7369-42b4-84de-4e5be23f3ecb
2025-11-05 16:21:07,270 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-48175814', 'ctest-vmi-16917109']}
2025-11-05 16:21:07,533 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16917109', 'id': '9e09097e-618b-4d67-ba44-b58476c2436b', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': 'd59a24f9-7369-42b4-84de-4e5be23f3ecb', 'mac_address': '02:9e:09:09:7e:61', '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': '63.144.244.3', 'subnet_id': 'f24f71d5-fb0f-4a48-807d-e9d24f4dbda2'}], 'security_groups': ['f3ed5ae0-5c3d-4e9e-a199-4618ad5c071d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:07,533 - DEBUG - Created port 9e09097e-618b-4d67-ba44-b58476c2436b
2025-11-05 16:21:07,643 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/9e09097e-618b-4d67-ba44-b58476c2436b
2025-11-05 16:21:07,995 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/9e09097e-618b-4d67-ba44-b58476c2436b
2025-11-05 16:21:08,033 - INFO - VMI 9e09097e-618b-4d67-ba44-b58476c2436b verification in API Server passed
2025-11-05 16:21:08,146 - DEBUG - Response for delete_port : ()
2025-11-05 16:21:08,146 - INFO - Deleted port 9e09097e-618b-4d67-ba44-b58476c2436b
2025-11-05 16:21:08,146 - INFO - Deleting VN ctest-vn-93431853
2025-11-05 16:21:08,264 - DEBUG - Response for deleting network ()
2025-11-05 16:21:08,527 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:21:08,528 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 16:21:08,528 - INFO - --------------------------------------------------------------------------------
2025-11-05 16:21:08,530 - INFO - ================================================================================
2025-11-05 16:21:08,531 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 16:21:08,531 - 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-05 16:21:08,819 - DEBUG - Nothing to compare xmpp stats {'10.0.0.147': {'10.20.0.249': '0'}} with
2025-11-05 16:21:08,819 - INFO - Initial checks done. Running the testcase now
2025-11-05 16:21:08,819 - INFO -
2025-11-05 16:21:09,024 - DEBUG - Response for create_network : {'network': {'id': '8a23434b-7082-455f-b7af-eff633271647', 'name': 'ctest-vn1-67916288', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'project_id': '72a7244a417149ff9e927e40a3445b6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-48175814', 'ctest-vn1-67916288'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 16:21:09,193 - DEBUG - Response for create_subnet : {'subnet': {'id': '21549a43-6df5-493d-a914-85f5e687b3aa', 'name': '', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': '8a23434b-7082-455f-b7af-eff633271647', 'ip_version': 4, 'cidr': '168.121.114.128/26', 'allocation_pools': [{'start': '168.121.114.130', 'end': '168.121.114.190'}], 'gateway_ip': '168.121.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.121.114.130', 'tags': [], 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:09,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c85ad1c-f09c-4471-a0de-8796f8e775ff', 'name': '', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': '8a23434b-7082-455f-b7af-eff633271647', 'ip_version': 4, 'cidr': '209.29.18.0/26', 'allocation_pools': [{'start': '209.29.18.2', 'end': '209.29.18.62'}], 'gateway_ip': '209.29.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.29.18.2', 'tags': [], 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:09,397 - INFO - Created VN ctest-vn1-67916288
2025-11-05 16:21:09,451 - DEBUG - VN ctest-vn1-67916288 UUID is 8a23434b-7082-455f-b7af-eff633271647
2025-11-05 16:21:09,823 - DEBUG - Response for create_port : {'port': {'name': '11588130-f125-4963-9dcd-748388036954', 'id': '11588130-f125-4963-9dcd-748388036954', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': '8a23434b-7082-455f-b7af-eff633271647', 'mac_address': '02:11:58:81:30:f1', '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': '168.121.114.133', 'subnet_id': '21549a43-6df5-493d-a914-85f5e687b3aa'}], 'security_groups': ['f3ed5ae0-5c3d-4e9e-a199-4618ad5c071d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:10,028 - DEBUG - Response for create_port : {'port': {'name': '8cb658a6-6e68-45a0-afd0-6044caf7b98e', 'id': '8cb658a6-6e68-45a0-afd0-6044caf7b98e', 'tenant_id': '72a7244a417149ff9e927e40a3445b6c', 'network_id': '8a23434b-7082-455f-b7af-eff633271647', 'mac_address': '02:8c:b6:58:a6:6e', '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': '209.29.18.5', 'subnet_id': '9c85ad1c-f09c-4471-a0de-8796f8e775ff'}], 'security_groups': ['f3ed5ae0-5c3d-4e9e-a199-4618ad5c071d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '72a7244a417149ff9e927e40a3445b6c'}}
2025-11-05 16:21:10,096 - DEBUG - Services list from nova: [, , ]
2025-11-05 16:21:10,530 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1)
2025-11-05 16:21:10,998 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4649-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4649-1)
2025-11-05 16:21:10,998 - INFO - Waiting for VM ctest-vn1-vm1-85963330 to be up..
2025-11-05 16:21:11,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 16:21:16,137 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:21:16,138 - INFO - VM name : ctest-vn1-vm1-85963330
2025-11-05 16:21:16,228 - DEBUG - VM ctest-vn1-vm1-85963330 ID is 6554e631-796e-411b-9cc1-a07b7b83a45a
2025-11-05 16:21:16,253 - DEBUG - VM ctest-vn1-vm1-85963330 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1
2025-11-05 16:21:16,347 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/6554e631-796e-411b-9cc1-a07b7b83a45a
2025-11-05 16:21:16,357 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/11588130-f125-4963-9dcd-748388036954
2025-11-05 16:21:19,626 - 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 1012ms')
2025-11-05 16:21:19,626 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85963330 failed!
2025-11-05 16:21:19,694 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48175814:ctest-vn1-67916288 is 168.121.114.129 and allocation pool is NOT set
2025-11-05 16:21:19,695 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48175814:ctest-vn1-67916288 is 209.29.18.1 and allocation pool is NOT set
2025-11-05 16:21:23,789 - 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 1028ms')
2025-11-05 16:21:23,789 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85963330 failed!
2025-11-05 16:21:23,843 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48175814:ctest-vn1-67916288 is 168.121.114.129 and allocation pool is NOT set
2025-11-05 16:21:23,843 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-48175814:ctest-vn1-67916288 is 209.29.18.1 and allocation pool is NOT set
2025-11-05 16:21:25,905 - 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=8.27 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.687 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.687/4.480/8.273/3.793 ms')
2025-11-05 16:21:25,906 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-85963330 passed
2025-11-05 16:21:26,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:21:26,059 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-85963330, IP 168.121.114.133, Port 22
2025-11-05 16:21:26,218 - DEBUG - VM ctest-vn1-vm1-85963330 is ready for SSH connections
2025-11-05 16:21:26,218 - INFO - Waiting for VM ctest-vn1-vm2-52230779 to be up..
2025-11-05 16:21:26,312 - DEBUG - VM is in ACTIVE state now
2025-11-05 16:21:26,312 - INFO - VM name : ctest-vn1-vm2-52230779
2025-11-05 16:21:26,403 - DEBUG - VM ctest-vn1-vm2-52230779 ID is c3a300f7-b51c-4d4d-b213-ddb59266ef5c
2025-11-05 16:21:26,403 - DEBUG - VM ctest-vn1-vm2-52230779 launched on Node cn-jenkins-deploy-platform-ansible-os-4649-1
2025-11-05 16:21:26,493 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine/c3a300f7-b51c-4d4d-b213-ddb59266ef5c
2025-11-05 16:21:26,502 - DEBUG - Requesting: http://10.0.0.147:8082/virtual-machine-interface/8cb658a6-6e68-45a0-afd0-6044caf7b98e
2025-11-05 16:21:27,750 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.494 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.494/2.037/3.581/1.543 ms')
2025-11-05 16:21:27,750 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-52230779 passed
2025-11-05 16:21:27,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:21:27,903 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-52230779, IP 209.29.18.5, Port 22
2025-11-05 16:21:28,058 - DEBUG - VM ctest-vn1-vm2-52230779 is ready for SSH connections
2025-11-05 16:21:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:21:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:21:28,058 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 16:21:28,058 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 168.121.114.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.147, gateway password: c0ntrail123
2025-11-05 16:21:28,058 - DEBUG - ping -s 56 -c 3 -W 1 168.121.114.133
2025-11-05 16:21:30,789 - DEBUG - PING 168.121.114.133 (168.121.114.133): 56 data bytes
64 bytes from 168.121.114.133: seq=0 ttl=63 time=4.624 ms
64 bytes from 168.121.114.133: seq=1 ttl=63 time=1.104 ms
64 bytes from 168.121.114.133: seq=2 ttl=63 time=1.097 ms
--- 168.121.114.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.097/2.275/4.624 ms
2025-11-05 16:21:30,789 - INFO - Ping to IP 168.121.114.133 from VM ctest-vn1-vm2-52230779 passed
2025-11-05 16:21:30,789 - INFO - Detaching port 8cb658a6-6e68-45a0-afd0-6044caf7b98e from VM ctest-vn1-vm2-52230779
2025-11-05 16:21:30,848 - INFO - Deleting VM ctest-vn1-vm2-52230779
2025-11-05 16:21:30,938 - INFO - Detaching port 11588130-f125-4963-9dcd-748388036954 from VM ctest-vn1-vm1-85963330
2025-11-05 16:21:30,980 - INFO - Deleting VM ctest-vn1-vm1-85963330
2025-11-05 16:21:31,275 - DEBUG - Response for delete_port : ()
2025-11-05 16:21:31,513 - DEBUG - Response for delete_port : ()
2025-11-05 16:21:31,513 - INFO - Deleting VN ctest-vn1-67916288
2025-11-05 16:21:31,708 - DEBUG - Response for deleting network ()
2025-11-05 16:21:31,981 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 16:21:31,981 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-05 16:21:31,981 - INFO - --------------------------------------------------------------------------------
2025-11-05 16:21:32,751 - INFO - Deleted project: ctest-TestPorts-48175814, ID : 72a7244a-4171-49ff-9e92-7e40a3445b6c