2025-08-11 20:51:23,288 - INFO - Domain Default found not creating
2025-08-11 20:51:23,419 - INFO - Project ctest-TestPorts-04575658 not found, creating it
2025-08-11 20:51:23,870 - INFO - Created Project:ctest-TestPorts-04575658, ID : ca956157-fa49-481a-a327-b053644cae0a
2025-08-11 20:51:25,283 - INFO - ================================================================================
2025-08-11 20:51:25,283 - INFO - STARTING TEST : test_ports_bindings
2025-08-11 20:51:25,283 - 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-08-11 20:51:25,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-11 20:51:25,542 - INFO - Initial checks done. Running the testcase now
2025-08-11 20:51:25,542 - INFO -
2025-08-11 20:51:26,066 - DEBUG - Response for create_network : {'network': {'id': 'f3c9cec1-9f68-47b9-ae1d-49d13bcc9faf', 'name': 'ctest-vn-86829572', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'project_id': 'ca956157fa49481aa327b053644cae0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04575658', 'ctest-vn-86829572'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 20:51:26,271 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b059d29-8d40-46ba-8103-3df98d1e7885', 'name': '', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': 'f3c9cec1-9f68-47b9-ae1d-49d13bcc9faf', 'ip_version': 4, 'cidr': '170.246.49.192/26', 'allocation_pools': [{'start': '170.246.49.194', 'end': '170.246.49.254'}], 'gateway_ip': '170.246.49.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.246.49.194', 'tags': [], 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:26,287 - INFO - Created VN ctest-vn-86829572
2025-08-11 20:51:26,341 - DEBUG - VN ctest-vn-86829572 UUID is f3c9cec1-9f68-47b9-ae1d-49d13bcc9faf
2025-08-11 20:51:26,442 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04575658', 'ctest-vmi-32035262']}
2025-08-11 20:51:26,717 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-32035262', 'id': '2297b365-848e-4248-9983-9d5fe495f50b', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': 'f3c9cec1-9f68-47b9-ae1d-49d13bcc9faf', 'mac_address': '02:22:97:b3:65:84', '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': '170.246.49.195', 'subnet_id': '6b059d29-8d40-46ba-8103-3df98d1e7885'}], 'security_groups': ['9d73bbf7-6873-41ac-9398-774eb2bf24a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:26,717 - DEBUG - Created port 2297b365-848e-4248-9983-9d5fe495f50b
2025-08-11 20:51:26,825 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2297b365-848e-4248-9983-9d5fe495f50b
2025-08-11 20:51:27,114 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2297b365-848e-4248-9983-9d5fe495f50b
2025-08-11 20:51:27,144 - INFO - VMI 2297b365-848e-4248-9983-9d5fe495f50b verification in API Server passed
2025-08-11 20:51:27,229 - DEBUG - Response for delete_port : ()
2025-08-11 20:51:27,229 - INFO - Deleted port 2297b365-848e-4248-9983-9d5fe495f50b
2025-08-11 20:51:27,229 - INFO - Deleting VN ctest-vn-86829572
2025-08-11 20:51:27,334 - DEBUG - Response for deleting network ()
2025-08-11 20:51:27,582 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 20:51:27,582 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-11 20:51:27,583 - INFO - --------------------------------------------------------------------------------
2025-08-11 20:51:27,585 - INFO - ================================================================================
2025-08-11 20:51:27,585 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-08-11 20:51:27,585 - 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-08-11 20:51:27,873 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-08-11 20:51:27,873 - INFO - Initial checks done. Running the testcase now
2025-08-11 20:51:27,873 - INFO -
2025-08-11 20:51:28,040 - DEBUG - Response for create_network : {'network': {'id': '19022027-d981-408b-8d14-6f1baa1fbb7e', 'name': 'ctest-vn1-80751679', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'project_id': 'ca956157fa49481aa327b053644cae0a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04575658', 'ctest-vn1-80751679'], 'port_security_enabled': True, 'description': ''}}
2025-08-11 20:51:28,233 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f740f9f4-fc7a-42a6-a97b-1424eb05ca8f', 'name': '', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': '19022027-d981-408b-8d14-6f1baa1fbb7e', 'ip_version': 4, 'cidr': '223.248.81.192/26', 'allocation_pools': [{'start': '223.248.81.194', 'end': '223.248.81.254'}], 'gateway_ip': '223.248.81.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.248.81.194', 'tags': [], 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:28,395 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fef144e-7d36-4051-9de3-784acfbe6e1d', 'name': '', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': '19022027-d981-408b-8d14-6f1baa1fbb7e', 'ip_version': 4, 'cidr': '34.108.150.0/26', 'allocation_pools': [{'start': '34.108.150.2', 'end': '34.108.150.62'}], 'gateway_ip': '34.108.150.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.108.150.2', 'tags': [], 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:28,412 - INFO - Created VN ctest-vn1-80751679
2025-08-11 20:51:28,465 - DEBUG - VN ctest-vn1-80751679 UUID is 19022027-d981-408b-8d14-6f1baa1fbb7e
2025-08-11 20:51:28,751 - DEBUG - Response for create_port : {'port': {'name': '6af45814-023e-46d7-8fb0-a62bbed27627', 'id': '6af45814-023e-46d7-8fb0-a62bbed27627', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': '19022027-d981-408b-8d14-6f1baa1fbb7e', 'mac_address': '02:6a:f4:58:14:02', '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': '223.248.81.197', 'subnet_id': 'f740f9f4-fc7a-42a6-a97b-1424eb05ca8f'}], 'security_groups': ['9d73bbf7-6873-41ac-9398-774eb2bf24a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:28,910 - DEBUG - Response for create_port : {'port': {'name': '7ccbe571-8c7e-4a41-a2ad-403249f46633', 'id': '7ccbe571-8c7e-4a41-a2ad-403249f46633', 'tenant_id': 'ca956157fa49481aa327b053644cae0a', 'network_id': '19022027-d981-408b-8d14-6f1baa1fbb7e', 'mac_address': '02:7c:cb:e5:71:8c', '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': '34.108.150.5', 'subnet_id': '1fef144e-7d36-4051-9de3-784acfbe6e1d'}], 'security_groups': ['9d73bbf7-6873-41ac-9398-774eb2bf24a0'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca956157fa49481aa327b053644cae0a'}}
2025-08-11 20:51:28,958 - DEBUG - Services list from nova: [, , ]
2025-08-11 20:51:29,241 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1)
2025-08-11 20:51:29,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3822-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3822-1)
2025-08-11 20:51:29,592 - INFO - Waiting for VM ctest-vn1-vm1-80270180 to be up..
2025-08-11 20:51:29,744 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-08-11 20:51:34,812 - DEBUG - VM is in ACTIVE state now
2025-08-11 20:51:34,812 - INFO - VM name : ctest-vn1-vm1-80270180
2025-08-11 20:51:34,882 - DEBUG - VM ctest-vn1-vm1-80270180 ID is 05ddac97-65b2-44d7-b38a-645d68784915
2025-08-11 20:51:34,898 - DEBUG - VM ctest-vn1-vm1-80270180 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1
2025-08-11 20:51:34,960 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/05ddac97-65b2-44d7-b38a-645d68784915
2025-08-11 20:51:34,967 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/6af45814-023e-46d7-8fb0-a62bbed27627
2025-08-11 20:51:38,232 - 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-08-11 20:51:38,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80270180 failed!
2025-08-11 20:51:38,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04575658:ctest-vn1-80751679 is 223.248.81.193 and allocation pool is NOT set
2025-08-11 20:51:38,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04575658:ctest-vn1-80751679 is 34.108.150.1 and allocation pool is NOT set
2025-08-11 20:51:40,347 - 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=7.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.387 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 = 0.387/4.119/7.852/3.732 ms')
2025-08-11 20:51:40,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80270180 passed
2025-08-11 20:51:40,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 20:51:40,501 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80270180, IP 223.248.81.197, Port 22
2025-08-11 20:51:40,652 - DEBUG - VM ctest-vn1-vm1-80270180 is ready for SSH connections
2025-08-11 20:51:40,652 - INFO - Waiting for VM ctest-vn1-vm2-63948223 to be up..
2025-08-11 20:51:40,719 - DEBUG - VM is in ACTIVE state now
2025-08-11 20:51:40,719 - INFO - VM name : ctest-vn1-vm2-63948223
2025-08-11 20:51:40,779 - DEBUG - VM ctest-vn1-vm2-63948223 ID is 784a4b6e-b45e-41aa-81ba-b51819eaec0a
2025-08-11 20:51:40,780 - DEBUG - VM ctest-vn1-vm2-63948223 launched on Node cn-jenkins-deploy-platform-ansible-os-3822-1
2025-08-11 20:51:40,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/784a4b6e-b45e-41aa-81ba-b51819eaec0a
2025-08-11 20:51:40,848 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/7ccbe571-8c7e-4a41-a2ad-403249f46633
2025-08-11 20:51:42,078 - 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.94 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 1001ms\r\nrtt min/avg/max/mdev = 0.364/1.651/2.938/1.287 ms')
2025-08-11 20:51:42,078 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-63948223 passed
2025-08-11 20:51:42,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 20:51:42,225 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-63948223, IP 34.108.150.5, Port 22
2025-08-11 20:51:42,391 - DEBUG - VM ctest-vn1-vm2-63948223 is ready for SSH connections
2025-08-11 20:51:42,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 20:51:42,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 20:51:42,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-08-11 20:51:42,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.248.81.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-08-11 20:51:42,391 - DEBUG - ping -s 56 -c 3 -W 1 223.248.81.197
2025-08-11 20:51:45,278 - DEBUG - PING 223.248.81.197 (223.248.81.197): 56 data bytes
64 bytes from 223.248.81.197: seq=0 ttl=63 time=3.296 ms
64 bytes from 223.248.81.197: seq=1 ttl=63 time=0.795 ms
64 bytes from 223.248.81.197: seq=2 ttl=63 time=0.823 ms
--- 223.248.81.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.795/1.638/3.296 ms
2025-08-11 20:51:45,279 - INFO - Ping to IP 223.248.81.197 from VM ctest-vn1-vm2-63948223 passed
2025-08-11 20:51:45,279 - INFO - Detaching port 7ccbe571-8c7e-4a41-a2ad-403249f46633 from VM ctest-vn1-vm2-63948223
2025-08-11 20:51:45,326 - INFO - Deleting VM ctest-vn1-vm2-63948223
2025-08-11 20:51:45,385 - INFO - Detaching port 6af45814-023e-46d7-8fb0-a62bbed27627 from VM ctest-vn1-vm1-80270180
2025-08-11 20:51:45,414 - INFO - Deleting VM ctest-vn1-vm1-80270180
2025-08-11 20:51:45,647 - DEBUG - Response for delete_port : ()
2025-08-11 20:51:45,817 - DEBUG - Response for delete_port : ()
2025-08-11 20:51:45,818 - INFO - Deleting VN ctest-vn1-80751679
2025-08-11 20:51:45,962 - DEBUG - Response for deleting network ()
2025-08-11 20:51:46,222 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 20:51:46,222 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-08-11 20:51:46,223 - INFO - --------------------------------------------------------------------------------
2025-08-11 20:51:46,887 - INFO - Deleted project: ctest-TestPorts-04575658, ID : ca956157-fa49-481a-a327-b053644cae0a