2025-09-22 21:09:44,846 - INFO - Domain Default found not creating
2025-09-22 21:09:44,994 - INFO - Project ctest-TestPorts-09696233 not found, creating it
2025-09-22 21:09:45,426 - INFO - Created Project:ctest-TestPorts-09696233, ID : d3b20081-d02a-4203-aee5-e3e181701471
2025-09-22 21:09:46,730 - INFO - ================================================================================
2025-09-22 21:09:46,730 - INFO - STARTING TEST : test_ports_bindings
2025-09-22 21:09:46,730 - 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-09-22 21:09:46,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-22 21:09:46,987 - INFO - Initial checks done. Running the testcase now
2025-09-22 21:09:46,987 - INFO -
2025-09-22 21:09:47,497 - DEBUG - Response for create_network : {'network': {'id': '207854d6-9744-4182-8c54-08babe72a858', 'name': 'ctest-vn-09278286', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'project_id': 'd3b20081d02a4203aee5e3e181701471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09696233', 'ctest-vn-09278286'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 21:09:47,700 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c039b57-ee08-40b9-aebc-5a80f9c0a3bc', 'name': '', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': '207854d6-9744-4182-8c54-08babe72a858', 'ip_version': 4, 'cidr': '121.250.107.128/26', 'allocation_pools': [{'start': '121.250.107.130', 'end': '121.250.107.190'}], 'gateway_ip': '121.250.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.250.107.130', 'tags': [], 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:47,716 - INFO - Created VN ctest-vn-09278286
2025-09-22 21:09:47,771 - DEBUG - VN ctest-vn-09278286 UUID is 207854d6-9744-4182-8c54-08babe72a858
2025-09-22 21:09:47,868 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-09696233', 'ctest-vmi-29712049']}
2025-09-22 21:09:48,144 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-29712049', 'id': 'd12a07cc-e36f-4940-ace5-d38ff2f4b863', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': '207854d6-9744-4182-8c54-08babe72a858', 'mac_address': '02:d1:2a:07:cc:e3', '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': '121.250.107.131', 'subnet_id': '3c039b57-ee08-40b9-aebc-5a80f9c0a3bc'}], 'security_groups': ['5657ec80-3e00-4ec2-9580-5879efbf40ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:48,144 - DEBUG - Created port d12a07cc-e36f-4940-ace5-d38ff2f4b863
2025-09-22 21:09:48,247 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d12a07cc-e36f-4940-ace5-d38ff2f4b863
2025-09-22 21:09:48,533 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/d12a07cc-e36f-4940-ace5-d38ff2f4b863
2025-09-22 21:09:48,561 - INFO - VMI d12a07cc-e36f-4940-ace5-d38ff2f4b863 verification in API Server passed
2025-09-22 21:09:48,637 - DEBUG - Response for delete_port : ()
2025-09-22 21:09:48,637 - INFO - Deleted port d12a07cc-e36f-4940-ace5-d38ff2f4b863
2025-09-22 21:09:48,637 - INFO - Deleting VN ctest-vn-09278286
2025-09-22 21:09:48,719 - DEBUG - Response for deleting network ()
2025-09-22 21:09:48,971 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 21:09:48,971 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-22 21:09:48,971 - INFO - --------------------------------------------------------------------------------
2025-09-22 21:09:48,973 - INFO - ================================================================================
2025-09-22 21:09:48,973 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-22 21:09:48,973 - 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-09-22 21:09:49,255 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with
2025-09-22 21:09:49,255 - INFO - Initial checks done. Running the testcase now
2025-09-22 21:09:49,255 - INFO -
2025-09-22 21:09:49,413 - DEBUG - Response for create_network : {'network': {'id': 'a02cdaa3-f6cc-4322-8c61-561e007a6628', 'name': 'ctest-vn1-03394810', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'project_id': 'd3b20081d02a4203aee5e3e181701471', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-09696233', 'ctest-vn1-03394810'], 'port_security_enabled': True, 'description': ''}}
2025-09-22 21:09:49,590 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d79bd46-ec96-4180-9489-14053ee90547', 'name': '', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': 'a02cdaa3-f6cc-4322-8c61-561e007a6628', 'ip_version': 4, 'cidr': '175.241.209.64/26', 'allocation_pools': [{'start': '175.241.209.66', 'end': '175.241.209.126'}], 'gateway_ip': '175.241.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.241.209.66', 'tags': [], 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:49,765 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd6128ba5-486e-458f-b072-54e3bf562cf6', 'name': '', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': 'a02cdaa3-f6cc-4322-8c61-561e007a6628', 'ip_version': 4, 'cidr': '17.22.203.0/26', 'allocation_pools': [{'start': '17.22.203.2', 'end': '17.22.203.62'}], 'gateway_ip': '17.22.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.22.203.2', 'tags': [], 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:49,781 - INFO - Created VN ctest-vn1-03394810
2025-09-22 21:09:49,830 - DEBUG - VN ctest-vn1-03394810 UUID is a02cdaa3-f6cc-4322-8c61-561e007a6628
2025-09-22 21:09:50,275 - DEBUG - Response for create_port : {'port': {'name': '602a3d23-668d-4098-ae15-298810a68b21', 'id': '602a3d23-668d-4098-ae15-298810a68b21', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': 'a02cdaa3-f6cc-4322-8c61-561e007a6628', 'mac_address': '02:60:2a:3d:23:66', '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': '175.241.209.69', 'subnet_id': '3d79bd46-ec96-4180-9489-14053ee90547'}], 'security_groups': ['5657ec80-3e00-4ec2-9580-5879efbf40ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:50,635 - DEBUG - Response for create_port : {'port': {'name': '9121196a-cbc9-4bb1-af96-2a978f5583c5', 'id': '9121196a-cbc9-4bb1-af96-2a978f5583c5', 'tenant_id': 'd3b20081d02a4203aee5e3e181701471', 'network_id': 'a02cdaa3-f6cc-4322-8c61-561e007a6628', 'mac_address': '02:91:21:19:6a:cb', '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': '17.22.203.5', 'subnet_id': 'd6128ba5-486e-458f-b072-54e3bf562cf6'}], 'security_groups': ['5657ec80-3e00-4ec2-9580-5879efbf40ff'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd3b20081d02a4203aee5e3e181701471'}}
2025-09-22 21:09:50,702 - DEBUG - Services list from nova: [, , ]
2025-09-22 21:09:50,995 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1)
2025-09-22 21:09:51,334 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4172-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4172-1)
2025-09-22 21:09:51,334 - INFO - Waiting for VM ctest-vn1-vm1-66613083 to be up..
2025-09-22 21:09:51,374 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-22 21:09:56,444 - DEBUG - VM is in ACTIVE state now
2025-09-22 21:09:56,444 - INFO - VM name : ctest-vn1-vm1-66613083
2025-09-22 21:09:56,503 - DEBUG - VM ctest-vn1-vm1-66613083 ID is d790f8e2-0615-4515-80f1-91fb8482cf33
2025-09-22 21:09:56,520 - DEBUG - VM ctest-vn1-vm1-66613083 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1
2025-09-22 21:09:56,585 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d790f8e2-0615-4515-80f1-91fb8482cf33
2025-09-22 21:09:56,592 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/602a3d23-668d-4098-ae15-298810a68b21
2025-09-22 21:09:59,846 - 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-09-22 21:09:59,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66613083 failed!
2025-09-22 21:09:59,903 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09696233:ctest-vn1-03394810 is 175.241.209.65 and allocation pool is NOT set
2025-09-22 21:09:59,903 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-09696233:ctest-vn1-03394810 is 17.22.203.1 and allocation pool is NOT set
2025-09-22 21:10:01,964 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.200/3.093/4.987/1.893 ms')
2025-09-22 21:10:01,964 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-66613083 passed
2025-09-22 21:10:02,115 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 21:10:02,115 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-66613083, IP 175.241.209.69, Port 22
2025-09-22 21:10:02,274 - DEBUG - VM ctest-vn1-vm1-66613083 is ready for SSH connections
2025-09-22 21:10:02,274 - INFO - Waiting for VM ctest-vn1-vm2-01228450 to be up..
2025-09-22 21:10:02,344 - DEBUG - VM is in ACTIVE state now
2025-09-22 21:10:02,344 - INFO - VM name : ctest-vn1-vm2-01228450
2025-09-22 21:10:02,403 - DEBUG - VM ctest-vn1-vm2-01228450 ID is 2e62541f-4b81-4d5a-9713-1e6a715ded19
2025-09-22 21:10:02,403 - DEBUG - VM ctest-vn1-vm2-01228450 launched on Node cn-jenkins-deploy-platform-ansible-os-4172-1
2025-09-22 21:10:02,463 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/2e62541f-4b81-4d5a-9713-1e6a715ded19
2025-09-22 21:10:02,469 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/9121196a-cbc9-4bb1-af96-2a978f5583c5
2025-09-22 21:10:03,696 - 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.75 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.876 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.876/2.311/3.747/1.435 ms')
2025-09-22 21:10:03,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-01228450 passed
2025-09-22 21:10:03,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 21:10:03,847 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01228450, IP 17.22.203.5, Port 22
2025-09-22 21:10:03,998 - DEBUG - VM ctest-vn1-vm2-01228450 is ready for SSH connections
2025-09-22 21:10:03,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 21:10:03,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 21:10:03,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-22 21:10:03,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 175.241.209.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-09-22 21:10:03,998 - DEBUG - ping -s 56 -c 3 -W 1 175.241.209.69
2025-09-22 21:10:06,917 - DEBUG - PING 175.241.209.69 (175.241.209.69): 56 data bytes
64 bytes from 175.241.209.69: seq=0 ttl=63 time=3.196 ms
64 bytes from 175.241.209.69: seq=1 ttl=63 time=0.687 ms
64 bytes from 175.241.209.69: seq=2 ttl=63 time=0.657 ms
--- 175.241.209.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.657/1.513/3.196 ms
2025-09-22 21:10:06,917 - INFO - Ping to IP 175.241.209.69 from VM ctest-vn1-vm2-01228450 passed
2025-09-22 21:10:06,917 - INFO - Detaching port 9121196a-cbc9-4bb1-af96-2a978f5583c5 from VM ctest-vn1-vm2-01228450
2025-09-22 21:10:06,961 - INFO - Deleting VM ctest-vn1-vm2-01228450
2025-09-22 21:10:07,017 - INFO - Detaching port 602a3d23-668d-4098-ae15-298810a68b21 from VM ctest-vn1-vm1-66613083
2025-09-22 21:10:07,044 - INFO - Deleting VM ctest-vn1-vm1-66613083
2025-09-22 21:10:07,228 - DEBUG - Response for delete_port : ()
2025-09-22 21:10:07,419 - DEBUG - Response for delete_port : ()
2025-09-22 21:10:07,419 - INFO - Deleting VN ctest-vn1-03394810
2025-09-22 21:10:07,539 - DEBUG - Response for deleting network ()
2025-09-22 21:10:07,791 - DEBUG - No XMPP flaps were noticed during the test
2025-09-22 21:10:07,791 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-09-22 21:10:07,791 - INFO - --------------------------------------------------------------------------------
2025-09-22 21:10:08,418 - INFO - Deleted project: ctest-TestPorts-09696233, ID : d3b20081-d02a-4203-aee5-e3e181701471