2025-12-08 22:09:53,178 - INFO - Domain Default found not creating
2025-12-08 22:09:53,336 - INFO - Project ctest-TestPorts-75481302 not found, creating it
2025-12-08 22:09:53,833 - INFO - Created Project:ctest-TestPorts-75481302, ID : 09d1ac15-a8d5-43d5-8fc0-9939dff4ab4e
2025-12-08 22:09:55,508 - INFO - ================================================================================
2025-12-08 22:09:55,508 - INFO - STARTING TEST : test_ports_bindings
2025-12-08 22:09:55,509 - 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-08 22:09:55,766 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-08 22:09:55,766 - INFO - Initial checks done. Running the testcase now
2025-12-08 22:09:55,766 - INFO -
2025-12-08 22:09:56,368 - DEBUG - Response for create_network : {'network': {'id': '789a315d-e472-4dee-86a9-363963f067fe', 'name': 'ctest-vn-71174124', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75481302', 'ctest-vn-71174124'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 22:09:56,591 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e84481bd-b398-4138-bfe8-fbe5804811d4', 'name': '', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '789a315d-e472-4dee-86a9-363963f067fe', 'ip_version': 4, 'cidr': '216.205.194.192/26', 'allocation_pools': [{'start': '216.205.194.194', 'end': '216.205.194.254'}], 'gateway_ip': '216.205.194.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.205.194.194', 'tags': [], 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:56,609 - INFO - Created VN ctest-vn-71174124
2025-12-08 22:09:56,661 - DEBUG - VN ctest-vn-71174124 UUID is 789a315d-e472-4dee-86a9-363963f067fe
2025-12-08 22:09:56,770 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75481302', 'ctest-vmi-63561341']}
2025-12-08 22:09:57,052 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-63561341', 'id': '80a74804-dd58-47a7-9f9b-169e10791f99', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '789a315d-e472-4dee-86a9-363963f067fe', 'mac_address': '02:80:a7:48:04:dd', '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': '216.205.194.195', 'subnet_id': 'e84481bd-b398-4138-bfe8-fbe5804811d4'}], 'security_groups': ['33a7a326-85a5-4916-9046-b6f94b4a12cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:57,052 - DEBUG - Created port 80a74804-dd58-47a7-9f9b-169e10791f99
2025-12-08 22:09:57,161 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80a74804-dd58-47a7-9f9b-169e10791f99
2025-12-08 22:09:57,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/80a74804-dd58-47a7-9f9b-169e10791f99
2025-12-08 22:09:57,528 - INFO - VMI 80a74804-dd58-47a7-9f9b-169e10791f99 verification in API Server passed
2025-12-08 22:09:57,604 - DEBUG - Response for delete_port : ()
2025-12-08 22:09:57,604 - INFO - Deleted port 80a74804-dd58-47a7-9f9b-169e10791f99
2025-12-08 22:09:57,604 - INFO - Deleting VN ctest-vn-71174124
2025-12-08 22:09:57,708 - DEBUG - Response for deleting network ()
2025-12-08 22:09:57,966 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 22:09:57,966 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-12-08 22:09:57,966 - INFO - --------------------------------------------------------------------------------
2025-12-08 22:09:57,968 - INFO - ================================================================================
2025-12-08 22:09:57,969 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-12-08 22:09:57,969 - 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-08 22:09:58,254 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-08 22:09:58,254 - INFO - Initial checks done. Running the testcase now
2025-12-08 22:09:58,254 - INFO -
2025-12-08 22:09:58,430 - DEBUG - Response for create_network : {'network': {'id': '53b02926-6577-4138-98c2-d2214176885c', 'name': 'ctest-vn1-67978439', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75481302', 'ctest-vn1-67978439'], 'port_security_enabled': True, 'description': ''}}
2025-12-08 22:09:58,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '2257804c-ab65-450e-b69d-fd989216822a', 'name': '', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '53b02926-6577-4138-98c2-d2214176885c', 'ip_version': 4, 'cidr': '131.194.246.128/26', 'allocation_pools': [{'start': '131.194.246.130', 'end': '131.194.246.190'}], 'gateway_ip': '131.194.246.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.194.246.130', 'tags': [], 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:58,840 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a53e634d-3a98-424c-abec-e4373fa9ef3b', 'name': '', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '53b02926-6577-4138-98c2-d2214176885c', 'ip_version': 4, 'cidr': '161.91.32.0/26', 'allocation_pools': [{'start': '161.91.32.2', 'end': '161.91.32.62'}], 'gateway_ip': '161.91.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.91.32.2', 'tags': [], 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:58,861 - INFO - Created VN ctest-vn1-67978439
2025-12-08 22:09:58,913 - DEBUG - VN ctest-vn1-67978439 UUID is 53b02926-6577-4138-98c2-d2214176885c
2025-12-08 22:09:59,199 - DEBUG - Response for create_port : {'port': {'name': '62d1f42b-3b15-4442-8760-890e4e4bdf22', 'id': '62d1f42b-3b15-4442-8760-890e4e4bdf22', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '53b02926-6577-4138-98c2-d2214176885c', 'mac_address': '02:62:d1:f4:2b:3b', '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': '131.194.246.133', 'subnet_id': '2257804c-ab65-450e-b69d-fd989216822a'}], 'security_groups': ['33a7a326-85a5-4916-9046-b6f94b4a12cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:59,366 - DEBUG - Response for create_port : {'port': {'name': '855fca06-c0c6-4c24-8565-6aa4c57694b8', 'id': '855fca06-c0c6-4c24-8565-6aa4c57694b8', 'tenant_id': '09d1ac15a8d543d58fc09939dff4ab4e', 'network_id': '53b02926-6577-4138-98c2-d2214176885c', 'mac_address': '02:85:5f:ca:06:c0', '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': '161.91.32.5', 'subnet_id': 'a53e634d-3a98-424c-abec-e4373fa9ef3b'}], 'security_groups': ['33a7a326-85a5-4916-9046-b6f94b4a12cf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '09d1ac15a8d543d58fc09939dff4ab4e'}}
2025-12-08 22:09:59,423 - DEBUG - Services list from nova: [, , ]
2025-12-08 22:09:59,754 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4861-1)
2025-12-08 22:10:00,171 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4861-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4861-1)
2025-12-08 22:10:00,171 - INFO - Waiting for VM ctest-vn1-vm1-15741584 to be up..
2025-12-08 22:10:00,211 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-08 22:10:05,281 - DEBUG - VM is in ACTIVE state now
2025-12-08 22:10:05,281 - INFO - VM name : ctest-vn1-vm1-15741584
2025-12-08 22:10:05,347 - DEBUG - VM ctest-vn1-vm1-15741584 ID is b8efa8d0-94b4-48dd-a1b7-2afae09b0a3c
2025-12-08 22:10:05,365 - DEBUG - VM ctest-vn1-vm1-15741584 launched on Node cn-jenkins-deploy-platform-ansible-os-4861-1
2025-12-08 22:10:05,432 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/b8efa8d0-94b4-48dd-a1b7-2afae09b0a3c
2025-12-08 22:10:05,439 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/62d1f42b-3b15-4442-8760-890e4e4bdf22
2025-12-08 22:10:08,682 - 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 1011ms')
2025-12-08 22:10:08,682 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15741584 failed!
2025-12-08 22:10:08,737 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75481302:ctest-vn1-67978439 is 131.194.246.129 and allocation pool is NOT set
2025-12-08 22:10:08,738 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75481302:ctest-vn1-67978439 is 161.91.32.1 and allocation pool is NOT set
2025-12-08 22:10:12,810 - 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=7.75 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1015ms\r\nrtt min/avg/max/mdev = 7.751/7.751/7.751/0.000 ms')
2025-12-08 22:10:12,810 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15741584 passed
2025-12-08 22:10:12,961 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 22:10:12,961 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15741584, IP 131.194.246.133, Port 22
2025-12-08 22:10:13,117 - DEBUG - VM ctest-vn1-vm1-15741584 is ready for SSH connections
2025-12-08 22:10:13,117 - INFO - Waiting for VM ctest-vn1-vm2-98156973 to be up..
2025-12-08 22:10:13,188 - DEBUG - VM is in ACTIVE state now
2025-12-08 22:10:13,188 - INFO - VM name : ctest-vn1-vm2-98156973
2025-12-08 22:10:13,257 - DEBUG - VM ctest-vn1-vm2-98156973 ID is bfd6fee2-fb53-4946-839f-ab0bf54000c6
2025-12-08 22:10:13,257 - DEBUG - VM ctest-vn1-vm2-98156973 launched on Node cn-jenkins-deploy-platform-ansible-os-4861-1
2025-12-08 22:10:13,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bfd6fee2-fb53-4946-839f-ab0bf54000c6
2025-12-08 22:10:13,334 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/855fca06-c0c6-4c24-8565-6aa4c57694b8
2025-12-08 22:10:14,566 - 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.93 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.446 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.446/1.689/2.932/1.243 ms')
2025-12-08 22:10:14,566 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-98156973 passed
2025-12-08 22:10:14,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 22:10:14,721 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-98156973, IP 161.91.32.5, Port 22
2025-12-08 22:10:14,876 - DEBUG - VM ctest-vn1-vm2-98156973 is ready for SSH connections
2025-12-08 22:10:14,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 22:10:14,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 22:10:14,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-08 22:10:14,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 131.194.246.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-12-08 22:10:14,877 - DEBUG - ping -s 56 -c 3 -W 1 131.194.246.133
2025-12-08 22:10:17,559 - DEBUG - PING 131.194.246.133 (131.194.246.133): 56 data bytes
64 bytes from 131.194.246.133: seq=0 ttl=63 time=4.576 ms
64 bytes from 131.194.246.133: seq=1 ttl=63 time=0.906 ms
64 bytes from 131.194.246.133: seq=2 ttl=63 time=0.729 ms
--- 131.194.246.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.729/2.070/4.576 ms
2025-12-08 22:10:17,559 - INFO - Ping to IP 131.194.246.133 from VM ctest-vn1-vm2-98156973 passed
2025-12-08 22:10:17,559 - INFO - Detaching port 855fca06-c0c6-4c24-8565-6aa4c57694b8 from VM ctest-vn1-vm2-98156973
2025-12-08 22:10:17,608 - INFO - Deleting VM ctest-vn1-vm2-98156973
2025-12-08 22:10:17,671 - INFO - Detaching port 62d1f42b-3b15-4442-8760-890e4e4bdf22 from VM ctest-vn1-vm1-15741584
2025-12-08 22:10:17,705 - INFO - Deleting VM ctest-vn1-vm1-15741584
2025-12-08 22:10:17,922 - DEBUG - Response for delete_port : ()
2025-12-08 22:10:18,088 - DEBUG - Response for delete_port : ()
2025-12-08 22:10:18,089 - INFO - Deleting VN ctest-vn1-67978439
2025-12-08 22:10:18,220 - DEBUG - Response for deleting network ()
2025-12-08 22:10:18,478 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 22:10:18,478 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-12-08 22:10:18,478 - INFO - --------------------------------------------------------------------------------
2025-12-08 22:10:19,208 - INFO - Deleted project: ctest-TestPorts-75481302, ID : 09d1ac15-a8d5-43d5-8fc0-9939dff4ab4e