2025-07-24 02:25:08,149 - INFO - Domain Default found not creating 2025-07-24 02:25:08,340 - INFO - Project ctest-TestPorts-28378401 not found, creating it 2025-07-24 02:25:08,902 - INFO - Created Project:ctest-TestPorts-28378401, ID : 43298967-c71d-4922-aa54-bb1831ecdbfc 2025-07-24 02:25:10,585 - INFO - ================================================================================ 2025-07-24 02:25:10,585 - INFO - STARTING TEST : test_ports_bindings 2025-07-24 02:25:10,585 - 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-07-24 02:25:10,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-24 02:25:10,848 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:25:10,848 - INFO - 2025-07-24 02:25:11,464 - DEBUG - Response for create_network : {'network': {'id': '46dd9437-00e6-4f3a-9253-3f665e86ebab', 'name': 'ctest-vn-16003880', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'project_id': '43298967c71d4922aa54bb1831ecdbfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28378401', 'ctest-vn-16003880'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:25:11,637 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec6150d0-daf0-4df8-8f63-3b09093f309a', 'name': '', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': '46dd9437-00e6-4f3a-9253-3f665e86ebab', 'ip_version': 4, 'cidr': '44.7.216.64/26', 'allocation_pools': [{'start': '44.7.216.66', 'end': '44.7.216.126'}], 'gateway_ip': '44.7.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.7.216.66', 'tags': [], 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:11,662 - INFO - Created VN ctest-vn-16003880 2025-07-24 02:25:11,720 - DEBUG - VN ctest-vn-16003880 UUID is 46dd9437-00e6-4f3a-9253-3f665e86ebab 2025-07-24 02:25:11,840 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28378401', 'ctest-vmi-70231772']} 2025-07-24 02:25:12,118 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-70231772', 'id': '0bd6b0b2-cc88-42d6-b1e6-eb23aa049828', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': '46dd9437-00e6-4f3a-9253-3f665e86ebab', 'mac_address': '02:0b:d6:b0:b2:cc', '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': '44.7.216.67', 'subnet_id': 'ec6150d0-daf0-4df8-8f63-3b09093f309a'}], 'security_groups': ['e4032f3a-cf91-41b9-afc1-1cee450a13b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:12,118 - DEBUG - Created port 0bd6b0b2-cc88-42d6-b1e6-eb23aa049828 2025-07-24 02:25:12,236 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0bd6b0b2-cc88-42d6-b1e6-eb23aa049828 2025-07-24 02:25:12,542 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0bd6b0b2-cc88-42d6-b1e6-eb23aa049828 2025-07-24 02:25:12,582 - INFO - VMI 0bd6b0b2-cc88-42d6-b1e6-eb23aa049828 verification in API Server passed 2025-07-24 02:25:12,700 - DEBUG - Response for delete_port : () 2025-07-24 02:25:12,700 - INFO - Deleted port 0bd6b0b2-cc88-42d6-b1e6-eb23aa049828 2025-07-24 02:25:12,700 - INFO - Deleting VN ctest-vn-16003880 2025-07-24 02:25:12,834 - DEBUG - Response for deleting network () 2025-07-24 02:25:13,106 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:25:13,106 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-07-24 02:25:13,106 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:25:13,109 - INFO - ================================================================================ 2025-07-24 02:25:13,109 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-24 02:25:13,109 - 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-07-24 02:25:13,388 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-07-24 02:25:13,388 - INFO - Initial checks done. Running the testcase now 2025-07-24 02:25:13,389 - INFO - 2025-07-24 02:25:13,589 - DEBUG - Response for create_network : {'network': {'id': 'b40e6088-925d-48ef-9f33-b3b9213bcc31', 'name': 'ctest-vn1-60364520', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'project_id': '43298967c71d4922aa54bb1831ecdbfc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28378401', 'ctest-vn1-60364520'], 'port_security_enabled': True, 'description': ''}} 2025-07-24 02:25:13,963 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f20f31f4-edbb-4c97-964e-a25456522276', 'name': '', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': 'b40e6088-925d-48ef-9f33-b3b9213bcc31', 'ip_version': 4, 'cidr': '177.124.20.64/26', 'allocation_pools': [{'start': '177.124.20.66', 'end': '177.124.20.126'}], 'gateway_ip': '177.124.20.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.124.20.66', 'tags': [], 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:14,300 - DEBUG - Response for create_subnet : {'subnet': {'id': '73ffeeef-5a02-47dd-a54b-294a772ab704', 'name': '', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': 'b40e6088-925d-48ef-9f33-b3b9213bcc31', 'ip_version': 4, 'cidr': '68.94.141.192/26', 'allocation_pools': [{'start': '68.94.141.194', 'end': '68.94.141.254'}], 'gateway_ip': '68.94.141.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.94.141.194', 'tags': [], 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:14,341 - INFO - Created VN ctest-vn1-60364520 2025-07-24 02:25:14,408 - DEBUG - VN ctest-vn1-60364520 UUID is b40e6088-925d-48ef-9f33-b3b9213bcc31 2025-07-24 02:25:14,785 - DEBUG - Response for create_port : {'port': {'name': 'faa8f224-4eb8-499b-92ce-6f1e81cb4de5', 'id': 'faa8f224-4eb8-499b-92ce-6f1e81cb4de5', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': 'b40e6088-925d-48ef-9f33-b3b9213bcc31', 'mac_address': '02:fa:a8:f2:24:4e', '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': '177.124.20.69', 'subnet_id': 'f20f31f4-edbb-4c97-964e-a25456522276'}], 'security_groups': ['e4032f3a-cf91-41b9-afc1-1cee450a13b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:14,993 - DEBUG - Response for create_port : {'port': {'name': 'e7133c9f-e001-404c-8e01-36eeabab3ec8', 'id': 'e7133c9f-e001-404c-8e01-36eeabab3ec8', 'tenant_id': '43298967c71d4922aa54bb1831ecdbfc', 'network_id': 'b40e6088-925d-48ef-9f33-b3b9213bcc31', 'mac_address': '02:e7:13:3c:9f:e0', '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': '68.94.141.197', 'subnet_id': '73ffeeef-5a02-47dd-a54b-294a772ab704'}], 'security_groups': ['e4032f3a-cf91-41b9-afc1-1cee450a13b4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '43298967c71d4922aa54bb1831ecdbfc'}} 2025-07-24 02:25:15,062 - DEBUG - Services list from nova: [, , ] 2025-07-24 02:25:15,464 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:25:15,936 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3711-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3711-1) 2025-07-24 02:25:15,936 - INFO - Waiting for VM ctest-vn1-vm1-09857608 to be up.. 2025-07-24 02:25:15,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-24 02:25:21,081 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:25:21,082 - INFO - VM name : ctest-vn1-vm1-09857608 2025-07-24 02:25:21,176 - DEBUG - VM ctest-vn1-vm1-09857608 ID is 23315bec-6c72-4bde-b498-29ef985e7885 2025-07-24 02:25:21,202 - DEBUG - VM ctest-vn1-vm1-09857608 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:25:21,303 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/23315bec-6c72-4bde-b498-29ef985e7885 2025-07-24 02:25:21,314 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/faa8f224-4eb8-499b-92ce-6f1e81cb4de5 2025-07-24 02:25:24,603 - 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 1032ms') 2025-07-24 02:25:24,603 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09857608 failed! 2025-07-24 02:25:24,664 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28378401:ctest-vn1-60364520 is 177.124.20.65 and allocation pool is NOT set 2025-07-24 02:25:24,664 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28378401:ctest-vn1-60364520 is 68.94.141.193 and allocation pool is NOT set 2025-07-24 02:25:28,735 - 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=8.30 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1009ms\r\nrtt min/avg/max/mdev = 8.299/8.299/8.299/0.000 ms') 2025-07-24 02:25:28,735 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09857608 passed 2025-07-24 02:25:28,892 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:28,892 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09857608, IP 177.124.20.69, Port 22 2025-07-24 02:25:29,050 - DEBUG - VM ctest-vn1-vm1-09857608 is ready for SSH connections 2025-07-24 02:25:29,050 - INFO - Waiting for VM ctest-vn1-vm2-26957632 to be up.. 2025-07-24 02:25:29,146 - DEBUG - VM is in ACTIVE state now 2025-07-24 02:25:29,146 - INFO - VM name : ctest-vn1-vm2-26957632 2025-07-24 02:25:29,239 - DEBUG - VM ctest-vn1-vm2-26957632 ID is 3295e327-3304-4fbd-87c6-0ed0530f4748 2025-07-24 02:25:29,239 - DEBUG - VM ctest-vn1-vm2-26957632 launched on Node cn-jenkins-deploy-platform-ansible-os-3711-1 2025-07-24 02:25:29,328 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3295e327-3304-4fbd-87c6-0ed0530f4748 2025-07-24 02:25:29,339 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/e7133c9f-e001-404c-8e01-36eeabab3ec8 2025-07-24 02:25:30,599 - 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.42 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.65 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 = 3.422/3.535/3.649/0.113 ms') 2025-07-24 02:25:30,599 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-26957632 passed 2025-07-24 02:25:30,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:30,756 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26957632, IP 68.94.141.197, Port 22 2025-07-24 02:25:30,822 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-07-24 02:25:30,909 - DEBUG - VM ctest-vn1-vm2-26957632 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-24 02:25:35,911 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:35,911 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-26957632, IP 68.94.141.197, Port 22 2025-07-24 02:25:36,071 - DEBUG - VM ctest-vn1-vm2-26957632 is ready for SSH connections 2025-07-24 02:25:36,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:36,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:36,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-24 02:25:36,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 177.124.20.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-07-24 02:25:36,071 - DEBUG - ping -s 56 -c 3 -W 1 177.124.20.69 2025-07-24 02:25:38,728 - DEBUG - PING 177.124.20.69 (177.124.20.69): 56 data bytes 64 bytes from 177.124.20.69: seq=0 ttl=63 time=5.304 ms 64 bytes from 177.124.20.69: seq=1 ttl=63 time=1.062 ms 64 bytes from 177.124.20.69: seq=2 ttl=63 time=0.854 ms --- 177.124.20.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/2.406/5.304 ms 2025-07-24 02:25:38,728 - INFO - Ping to IP 177.124.20.69 from VM ctest-vn1-vm2-26957632 passed 2025-07-24 02:25:38,728 - INFO - Detaching port e7133c9f-e001-404c-8e01-36eeabab3ec8 from VM ctest-vn1-vm2-26957632 2025-07-24 02:25:38,794 - INFO - Deleting VM ctest-vn1-vm2-26957632 2025-07-24 02:25:38,885 - INFO - Detaching port faa8f224-4eb8-499b-92ce-6f1e81cb4de5 from VM ctest-vn1-vm1-09857608 2025-07-24 02:25:38,923 - INFO - Deleting VM ctest-vn1-vm1-09857608 2025-07-24 02:25:39,234 - DEBUG - Response for delete_port : () 2025-07-24 02:25:39,433 - DEBUG - Response for delete_port : () 2025-07-24 02:25:39,433 - INFO - Deleting VN ctest-vn1-60364520 2025-07-24 02:25:39,595 - DEBUG - Response for deleting network () 2025-07-24 02:25:39,855 - DEBUG - No XMPP flaps were noticed during the test
2025-07-24 02:25:39,856 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-07-24 02:25:39,856 - INFO - -------------------------------------------------------------------------------- 2025-07-24 02:25:40,610 - INFO - Deleted project: ctest-TestPorts-28378401, ID : 43298967-c71d-4922-aa54-bb1831ecdbfc