2025-11-05 14:03:49,459 - INFO - Domain Default found not creating
2025-11-05 14:03:49,623 - INFO - Project ctest-TestPorts-25220090 not found, creating it
2025-11-05 14:03:50,092 - INFO - Created Project:ctest-TestPorts-25220090, ID : 3b3620a7-153c-4b84-b601-73d5aa6871b6
2025-11-05 14:03:51,754 - INFO - ================================================================================
2025-11-05 14:03:51,754 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 14:03:51,754 - 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 14:03:52,008 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with
2025-11-05 14:03:52,008 - INFO - Initial checks done. Running the testcase now
2025-11-05 14:03:52,008 - INFO -
2025-11-05 14:03:52,611 - DEBUG - Response for create_network : {'network': {'id': '1a1201ea-e7e6-4d43-9e59-1e61b222d137', 'name': 'ctest-vn-62012729', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'project_id': '3b3620a7153c4b84b60173d5aa6871b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25220090', 'ctest-vn-62012729'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 14:03:52,815 - DEBUG - Response for create_subnet : {'subnet': {'id': '51b6ffba-3b8b-4375-abc7-73924bcde44d', 'name': '', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '1a1201ea-e7e6-4d43-9e59-1e61b222d137', 'ip_version': 4, 'cidr': '24.80.104.0/26', 'allocation_pools': [{'start': '24.80.104.2', 'end': '24.80.104.62'}], 'gateway_ip': '24.80.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.80.104.2', 'tags': [], 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:52,833 - INFO - Created VN ctest-vn-62012729
2025-11-05 14:03:52,886 - DEBUG - VN ctest-vn-62012729 UUID is 1a1201ea-e7e6-4d43-9e59-1e61b222d137
2025-11-05 14:03:53,000 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-25220090', 'ctest-vmi-58850184']}
2025-11-05 14:03:53,244 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58850184', 'id': '83703e28-257f-43dd-8130-fa5d7c61ad7a', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '1a1201ea-e7e6-4d43-9e59-1e61b222d137', 'mac_address': '02:83:70:3e:28:25', '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': '24.80.104.3', 'subnet_id': '51b6ffba-3b8b-4375-abc7-73924bcde44d'}], 'security_groups': ['f25aad6e-9ab8-4888-88b5-95f2530aa1ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:53,244 - DEBUG - Created port 83703e28-257f-43dd-8130-fa5d7c61ad7a
2025-11-05 14:03:53,350 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/83703e28-257f-43dd-8130-fa5d7c61ad7a
2025-11-05 14:03:53,688 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/83703e28-257f-43dd-8130-fa5d7c61ad7a
2025-11-05 14:03:53,723 - INFO - VMI 83703e28-257f-43dd-8130-fa5d7c61ad7a verification in API Server passed
2025-11-05 14:03:53,834 - DEBUG - Response for delete_port : ()
2025-11-05 14:03:53,834 - INFO - Deleted port 83703e28-257f-43dd-8130-fa5d7c61ad7a
2025-11-05 14:03:53,834 - INFO - Deleting VN ctest-vn-62012729
2025-11-05 14:03:53,964 - DEBUG - Response for deleting network ()
2025-11-05 14:03:54,231 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 14:03:54,231 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-05 14:03:54,231 - INFO - --------------------------------------------------------------------------------
2025-11-05 14:03:54,234 - INFO - ================================================================================
2025-11-05 14:03:54,234 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 14:03:54,234 - 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 14:03:54,528 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.201': '0'}} with
2025-11-05 14:03:54,528 - INFO - Initial checks done. Running the testcase now
2025-11-05 14:03:54,528 - INFO -
2025-11-05 14:03:54,726 - DEBUG - Response for create_network : {'network': {'id': '6e9899c4-3310-463c-967f-4254dff64ff1', 'name': 'ctest-vn1-34877529', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'project_id': '3b3620a7153c4b84b60173d5aa6871b6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-25220090', 'ctest-vn1-34877529'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 14:03:54,924 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b34969a-85ff-4ac5-97ef-f89cc39ea622', 'name': '', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '6e9899c4-3310-463c-967f-4254dff64ff1', 'ip_version': 4, 'cidr': '162.163.14.64/26', 'allocation_pools': [{'start': '162.163.14.66', 'end': '162.163.14.126'}], 'gateway_ip': '162.163.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.163.14.66', 'tags': [], 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:55,097 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dbfae53-2769-4f6d-b78f-edf9b4b7db6e', 'name': '', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '6e9899c4-3310-463c-967f-4254dff64ff1', 'ip_version': 4, 'cidr': '90.64.85.128/26', 'allocation_pools': [{'start': '90.64.85.130', 'end': '90.64.85.190'}], 'gateway_ip': '90.64.85.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.64.85.130', 'tags': [], 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:55,120 - INFO - Created VN ctest-vn1-34877529
2025-11-05 14:03:55,174 - DEBUG - VN ctest-vn1-34877529 UUID is 6e9899c4-3310-463c-967f-4254dff64ff1
2025-11-05 14:03:55,501 - DEBUG - Response for create_port : {'port': {'name': 'b6ea01a6-1cac-434d-b9f9-13e6101ab2e0', 'id': 'b6ea01a6-1cac-434d-b9f9-13e6101ab2e0', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '6e9899c4-3310-463c-967f-4254dff64ff1', 'mac_address': '02:b6:ea:01:a6:1c', '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': '162.163.14.69', 'subnet_id': '5b34969a-85ff-4ac5-97ef-f89cc39ea622'}], 'security_groups': ['f25aad6e-9ab8-4888-88b5-95f2530aa1ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:55,676 - DEBUG - Response for create_port : {'port': {'name': '8b1fd398-6b2a-41ed-9a72-1b9c5807d9b6', 'id': '8b1fd398-6b2a-41ed-9a72-1b9c5807d9b6', 'tenant_id': '3b3620a7153c4b84b60173d5aa6871b6', 'network_id': '6e9899c4-3310-463c-967f-4254dff64ff1', 'mac_address': '02:8b:1f:d3:98:6b', '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': '90.64.85.133', 'subnet_id': '8dbfae53-2769-4f6d-b78f-edf9b4b7db6e'}], 'security_groups': ['f25aad6e-9ab8-4888-88b5-95f2530aa1ec'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '3b3620a7153c4b84b60173d5aa6871b6'}}
2025-11-05 14:03:55,737 - DEBUG - Services list from nova: [, , ]
2025-11-05 14:03:56,166 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1)
2025-11-05 14:03:56,629 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4643-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4643-1)
2025-11-05 14:03:56,630 - INFO - Waiting for VM ctest-vn1-vm1-51612289 to be up..
2025-11-05 14:03:56,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 14:04:01,781 - DEBUG - VM is in ACTIVE state now
2025-11-05 14:04:01,781 - INFO - VM name : ctest-vn1-vm1-51612289
2025-11-05 14:04:01,894 - DEBUG - VM ctest-vn1-vm1-51612289 ID is cf24392d-af7e-468f-8976-420fee78c05d
2025-11-05 14:04:01,921 - DEBUG - VM ctest-vn1-vm1-51612289 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1
2025-11-05 14:04:02,022 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cf24392d-af7e-468f-8976-420fee78c05d
2025-11-05 14:04:02,033 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b6ea01a6-1cac-434d-b9f9-13e6101ab2e0
2025-11-05 14:04:05,312 - 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 1029ms')
2025-11-05 14:04:05,312 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51612289 failed!
2025-11-05 14:04:05,374 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25220090:ctest-vn1-34877529 is 162.163.14.65 and allocation pool is NOT set
2025-11-05 14:04:05,374 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25220090:ctest-vn1-34877529 is 90.64.85.129 and allocation pool is NOT set
2025-11-05 14:04:09,439 - 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 1008ms')
2025-11-05 14:04:09,439 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51612289 failed!
2025-11-05 14:04:09,498 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25220090:ctest-vn1-34877529 is 162.163.14.65 and allocation pool is NOT set
2025-11-05 14:04:09,498 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-25220090:ctest-vn1-34877529 is 90.64.85.129 and allocation pool is NOT set
2025-11-05 14:04:11,559 - 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=4.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.12 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 = 1.116/2.875/4.635/1.759 ms')
2025-11-05 14:04:11,559 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-51612289 passed
2025-11-05 14:04:11,714 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 14:04:11,714 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-51612289, IP 162.163.14.69, Port 22
2025-11-05 14:04:11,884 - DEBUG - VM ctest-vn1-vm1-51612289 is ready for SSH connections
2025-11-05 14:04:11,884 - INFO - Waiting for VM ctest-vn1-vm2-84930533 to be up..
2025-11-05 14:04:11,965 - DEBUG - VM is in ACTIVE state now
2025-11-05 14:04:11,965 - INFO - VM name : ctest-vn1-vm2-84930533
2025-11-05 14:04:12,053 - DEBUG - VM ctest-vn1-vm2-84930533 ID is b42c1f49-b650-487c-a22e-837b14be4f39
2025-11-05 14:04:12,054 - DEBUG - VM ctest-vn1-vm2-84930533 launched on Node cn-jenkins-deploy-platform-ansible-os-4643-1
2025-11-05 14:04:12,136 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/b42c1f49-b650-487c-a22e-837b14be4f39
2025-11-05 14:04:12,145 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8b1fd398-6b2a-41ed-9a72-1b9c5807d9b6
2025-11-05 14:04:13,390 - 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=4.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.456 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.456/2.518/4.580/2.062 ms')
2025-11-05 14:04:13,390 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-84930533 passed
2025-11-05 14:04:13,550 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 14:04:13,550 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-84930533, IP 90.64.85.133, Port 22
2025-11-05 14:04:13,716 - DEBUG - VM ctest-vn1-vm2-84930533 is ready for SSH connections
2025-11-05 14:04:13,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 14:04:13,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 14:04:13,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 14:04:13,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.163.14.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-05 14:04:13,717 - DEBUG - ping -s 56 -c 3 -W 1 162.163.14.69
2025-11-05 14:04:16,442 - DEBUG - PING 162.163.14.69 (162.163.14.69): 56 data bytes
64 bytes from 162.163.14.69: seq=0 ttl=63 time=3.985 ms
64 bytes from 162.163.14.69: seq=1 ttl=63 time=0.947 ms
64 bytes from 162.163.14.69: seq=2 ttl=63 time=1.185 ms
--- 162.163.14.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.947/2.039/3.985 ms
2025-11-05 14:04:16,442 - INFO - Ping to IP 162.163.14.69 from VM ctest-vn1-vm2-84930533 passed
2025-11-05 14:04:16,442 - INFO - Detaching port 8b1fd398-6b2a-41ed-9a72-1b9c5807d9b6 from VM ctest-vn1-vm2-84930533
2025-11-05 14:04:16,494 - INFO - Deleting VM ctest-vn1-vm2-84930533
2025-11-05 14:04:16,573 - INFO - Detaching port b6ea01a6-1cac-434d-b9f9-13e6101ab2e0 from VM ctest-vn1-vm1-51612289
2025-11-05 14:04:16,617 - INFO - Deleting VM ctest-vn1-vm1-51612289
2025-11-05 14:04:16,920 - DEBUG - Response for delete_port : ()
2025-11-05 14:04:17,166 - DEBUG - Response for delete_port : ()
2025-11-05 14:04:17,166 - INFO - Deleting VN ctest-vn1-34877529
2025-11-05 14:04:17,341 - DEBUG - Response for deleting network ()
2025-11-05 14:04:17,600 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 14:04:17,600 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-11-05 14:04:17,600 - INFO - --------------------------------------------------------------------------------
2025-11-05 14:04:18,328 - INFO - Deleted project: ctest-TestPorts-25220090, ID : 3b3620a7-153c-4b84-b601-73d5aa6871b6