2025-11-13 02:05:52,871 - INFO - Domain Default found not creating
2025-11-13 02:05:53,008 - INFO - Project ctest-TestPorts-31935370 not found, creating it
2025-11-13 02:05:53,456 - INFO - Created Project:ctest-TestPorts-31935370, ID : 547abd73-f7f8-4d89-9e6f-084865ed7e9d
2025-11-13 02:05:54,894 - INFO - ================================================================================
2025-11-13 02:05:54,894 - INFO - STARTING TEST : test_ports_bindings
2025-11-13 02:05:54,895 - 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-13 02:05:55,151 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-13 02:05:55,151 - INFO - Initial checks done. Running the testcase now
2025-11-13 02:05:55,151 - INFO -
2025-11-13 02:05:55,730 - DEBUG - Response for create_network : {'network': {'id': '66bb7747-28e6-4e48-9b82-da60e72ed6a3', 'name': 'ctest-vn-15600257', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'project_id': '547abd73f7f84d899e6f084865ed7e9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31935370', 'ctest-vn-15600257'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 02:05:55,943 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c64f8296-95ce-4caa-ba7f-cc4a906ddd7e', 'name': '', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '66bb7747-28e6-4e48-9b82-da60e72ed6a3', 'ip_version': 4, 'cidr': '218.175.162.64/26', 'allocation_pools': [{'start': '218.175.162.66', 'end': '218.175.162.126'}], 'gateway_ip': '218.175.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '218.175.162.66', 'tags': [], 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:55,963 - INFO - Created VN ctest-vn-15600257
2025-11-13 02:05:56,014 - DEBUG - VN ctest-vn-15600257 UUID is 66bb7747-28e6-4e48-9b82-da60e72ed6a3
2025-11-13 02:05:56,116 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-31935370', 'ctest-vmi-07159007']}
2025-11-13 02:05:56,382 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-07159007', 'id': '029f7f89-fc34-4af2-b0ab-cf47dc3acf87', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '66bb7747-28e6-4e48-9b82-da60e72ed6a3', 'mac_address': '02:02:9f:7f:89:fc', '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': '218.175.162.67', 'subnet_id': 'c64f8296-95ce-4caa-ba7f-cc4a906ddd7e'}], 'security_groups': ['3c23708a-764c-4315-9582-f5751809a657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:56,382 - DEBUG - Created port 029f7f89-fc34-4af2-b0ab-cf47dc3acf87
2025-11-13 02:05:56,486 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/029f7f89-fc34-4af2-b0ab-cf47dc3acf87
2025-11-13 02:05:56,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/029f7f89-fc34-4af2-b0ab-cf47dc3acf87
2025-11-13 02:05:56,804 - INFO - VMI 029f7f89-fc34-4af2-b0ab-cf47dc3acf87 verification in API Server passed
2025-11-13 02:05:56,887 - DEBUG - Response for delete_port : ()
2025-11-13 02:05:56,887 - INFO - Deleted port 029f7f89-fc34-4af2-b0ab-cf47dc3acf87
2025-11-13 02:05:56,887 - INFO - Deleting VN ctest-vn-15600257
2025-11-13 02:05:56,983 - DEBUG - Response for deleting network ()
2025-11-13 02:05:57,240 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:05:57,240 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-11-13 02:05:57,241 - INFO - --------------------------------------------------------------------------------
2025-11-13 02:05:57,244 - INFO - ================================================================================
2025-11-13 02:05:57,244 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-13 02:05:57,244 - 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-13 02:05:57,532 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2025-11-13 02:05:57,532 - INFO - Initial checks done. Running the testcase now
2025-11-13 02:05:57,532 - INFO -
2025-11-13 02:05:57,701 - DEBUG - Response for create_network : {'network': {'id': '73408d18-9153-4ba6-9828-9af8fab08b6c', 'name': 'ctest-vn1-08765946', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'project_id': '547abd73f7f84d899e6f084865ed7e9d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-31935370', 'ctest-vn1-08765946'], 'port_security_enabled': True, 'description': ''}}
2025-11-13 02:05:57,873 - DEBUG - Response for create_subnet : {'subnet': {'id': '8d3ad81a-b861-4cc4-9303-233efe66d4ef', 'name': '', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '73408d18-9153-4ba6-9828-9af8fab08b6c', 'ip_version': 4, 'cidr': '50.203.233.128/26', 'allocation_pools': [{'start': '50.203.233.130', 'end': '50.203.233.190'}], 'gateway_ip': '50.203.233.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.203.233.130', 'tags': [], 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:58,033 - DEBUG - Response for create_subnet : {'subnet': {'id': '3c5cc4b7-20fa-4b75-8518-f1fe1ecc5eff', 'name': '', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '73408d18-9153-4ba6-9828-9af8fab08b6c', 'ip_version': 4, 'cidr': '151.207.27.128/26', 'allocation_pools': [{'start': '151.207.27.130', 'end': '151.207.27.190'}], 'gateway_ip': '151.207.27.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.207.27.130', 'tags': [], 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:58,051 - INFO - Created VN ctest-vn1-08765946
2025-11-13 02:05:58,102 - DEBUG - VN ctest-vn1-08765946 UUID is 73408d18-9153-4ba6-9828-9af8fab08b6c
2025-11-13 02:05:58,412 - DEBUG - Response for create_port : {'port': {'name': '3b1da79a-e775-43fb-9c98-98cbf0325ca4', 'id': '3b1da79a-e775-43fb-9c98-98cbf0325ca4', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '73408d18-9153-4ba6-9828-9af8fab08b6c', 'mac_address': '02:3b:1d:a7:9a:e7', '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': '50.203.233.133', 'subnet_id': '8d3ad81a-b861-4cc4-9303-233efe66d4ef'}], 'security_groups': ['3c23708a-764c-4315-9582-f5751809a657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:58,573 - DEBUG - Response for create_port : {'port': {'name': '4cef9735-6ab5-4543-8607-9f742a5c45d1', 'id': '4cef9735-6ab5-4543-8607-9f742a5c45d1', 'tenant_id': '547abd73f7f84d899e6f084865ed7e9d', 'network_id': '73408d18-9153-4ba6-9828-9af8fab08b6c', 'mac_address': '02:4c:ef:97:35:6a', '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': '151.207.27.133', 'subnet_id': '3c5cc4b7-20fa-4b75-8518-f1fe1ecc5eff'}], 'security_groups': ['3c23708a-764c-4315-9582-f5751809a657'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '547abd73f7f84d899e6f084865ed7e9d'}}
2025-11-13 02:05:58,631 - DEBUG - Services list from nova: [, , ]
2025-11-13 02:05:58,979 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1)
2025-11-13 02:05:59,508 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4713-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4713-1)
2025-11-13 02:05:59,508 - INFO - Waiting for VM ctest-vn1-vm1-56080734 to be up..
2025-11-13 02:05:59,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-13 02:06:04,636 - DEBUG - VM is in ACTIVE state now
2025-11-13 02:06:04,636 - INFO - VM name : ctest-vn1-vm1-56080734
2025-11-13 02:06:04,720 - DEBUG - VM ctest-vn1-vm1-56080734 ID is 05c071bc-0264-411f-819d-f332c746dae0
2025-11-13 02:06:04,739 - DEBUG - VM ctest-vn1-vm1-56080734 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1
2025-11-13 02:06:04,828 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/05c071bc-0264-411f-819d-f332c746dae0
2025-11-13 02:06:04,837 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/3b1da79a-e775-43fb-9c98-98cbf0325ca4
2025-11-13 02:06:08,099 - 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-11-13 02:06:08,099 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56080734 failed!
2025-11-13 02:06:08,150 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31935370:ctest-vn1-08765946 is 50.203.233.129 and allocation pool is NOT set
2025-11-13 02:06:08,150 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-31935370:ctest-vn1-08765946 is 151.207.27.129 and allocation pool is NOT set
2025-11-13 02:06:10,216 - 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=9.32 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.114/5.719/9.324/3.605 ms')
2025-11-13 02:06:10,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56080734 passed
2025-11-13 02:06:10,366 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:10,367 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56080734, IP 50.203.233.133, Port 22
2025-11-13 02:06:10,533 - DEBUG - VM ctest-vn1-vm1-56080734 is ready for SSH connections
2025-11-13 02:06:10,533 - INFO - Waiting for VM ctest-vn1-vm2-27556324 to be up..
2025-11-13 02:06:10,603 - DEBUG - VM is in ACTIVE state now
2025-11-13 02:06:10,603 - INFO - VM name : ctest-vn1-vm2-27556324
2025-11-13 02:06:10,669 - DEBUG - VM ctest-vn1-vm2-27556324 ID is 2a227ff8-47da-46bf-8488-56dbdbbdaef2
2025-11-13 02:06:10,670 - DEBUG - VM ctest-vn1-vm2-27556324 launched on Node cn-jenkins-deploy-platform-ansible-os-4713-1
2025-11-13 02:06:10,751 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2a227ff8-47da-46bf-8488-56dbdbbdaef2
2025-11-13 02:06:10,761 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/4cef9735-6ab5-4543-8607-9f742a5c45d1
2025-11-13 02:06:12,009 - 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.477 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.477/1.707/2.937/1.230 ms')
2025-11-13 02:06:12,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-27556324 passed
2025-11-13 02:06:12,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:12,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27556324, IP 151.207.27.133, Port 22
2025-11-13 02:06:12,318 - DEBUG - VM ctest-vn1-vm2-27556324 is ready for SSH connections
2025-11-13 02:06:12,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:12,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:12,318 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-13 02:06:12,318 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 50.203.233.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-11-13 02:06:12,318 - DEBUG - ping -s 56 -c 3 -W 1 50.203.233.133
2025-11-13 02:06:15,327 - DEBUG - PING 50.203.233.133 (50.203.233.133): 56 data bytes
64 bytes from 50.203.233.133: seq=0 ttl=63 time=3.928 ms
64 bytes from 50.203.233.133: seq=1 ttl=63 time=0.942 ms
64 bytes from 50.203.233.133: seq=2 ttl=63 time=1.028 ms
--- 50.203.233.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.942/1.966/3.928 ms
2025-11-13 02:06:15,328 - INFO - Ping to IP 50.203.233.133 from VM ctest-vn1-vm2-27556324 passed
2025-11-13 02:06:15,328 - INFO - Detaching port 4cef9735-6ab5-4543-8607-9f742a5c45d1 from VM ctest-vn1-vm2-27556324
2025-11-13 02:06:15,379 - INFO - Deleting VM ctest-vn1-vm2-27556324
2025-11-13 02:06:15,449 - INFO - Detaching port 3b1da79a-e775-43fb-9c98-98cbf0325ca4 from VM ctest-vn1-vm1-56080734
2025-11-13 02:06:15,484 - INFO - Deleting VM ctest-vn1-vm1-56080734
2025-11-13 02:06:15,703 - DEBUG - Response for delete_port : ()
2025-11-13 02:06:15,838 - DEBUG - Response for delete_port : ()
2025-11-13 02:06:15,838 - INFO - Deleting VN ctest-vn1-08765946
2025-11-13 02:06:15,955 - DEBUG - Response for deleting network ()
2025-11-13 02:06:16,217 - DEBUG - No XMPP flaps were noticed during the test
2025-11-13 02:06:16,217 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-13 02:06:16,217 - INFO - --------------------------------------------------------------------------------
2025-11-13 02:06:16,896 - INFO - Deleted project: ctest-TestPorts-31935370, ID : 547abd73-f7f8-4d89-9e6f-084865ed7e9d