2025-09-03 16:08:33,799 - INFO - Domain Default found not creating 2025-09-03 16:08:33,919 - INFO - Project ctest-TestPorts-51552290 not found, creating it 2025-09-03 16:08:34,346 - INFO - Created Project:ctest-TestPorts-51552290, ID : b519be6e-01db-4ca4-8324-b7c9d421582d 2025-09-03 16:08:35,689 - INFO - ================================================================================ 2025-09-03 16:08:35,689 - INFO - STARTING TEST : test_ports_bindings 2025-09-03 16:08:35,689 - 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-03 16:08:35,948 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-03 16:08:35,948 - INFO - Initial checks done. Running the testcase now 2025-09-03 16:08:35,948 - INFO - 2025-09-03 16:08:36,699 - DEBUG - Response for create_network : {'network': {'id': '2bc6661f-0c55-48db-8b58-71b780f15ab3', 'name': 'ctest-vn-99271322', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'project_id': 'b519be6e01db4ca48324b7c9d421582d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51552290', 'ctest-vn-99271322'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:08:36,853 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b000356a-ea80-4e3f-bd68-8a9706859559', 'name': '', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '2bc6661f-0c55-48db-8b58-71b780f15ab3', 'ip_version': 4, 'cidr': '156.6.77.192/26', 'allocation_pools': [{'start': '156.6.77.194', 'end': '156.6.77.254'}], 'gateway_ip': '156.6.77.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.6.77.194', 'tags': [], 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:36,869 - INFO - Created VN ctest-vn-99271322 2025-09-03 16:08:36,920 - DEBUG - VN ctest-vn-99271322 UUID is 2bc6661f-0c55-48db-8b58-71b780f15ab3 2025-09-03 16:08:37,019 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-51552290', 'ctest-vmi-99395329']} 2025-09-03 16:08:37,299 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-99395329', 'id': 'bb9fdff0-9971-44ee-97db-631a73e5fdd7', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '2bc6661f-0c55-48db-8b58-71b780f15ab3', 'mac_address': '02:bb:9f:df:f0:99', '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': '156.6.77.195', 'subnet_id': 'b000356a-ea80-4e3f-bd68-8a9706859559'}], 'security_groups': ['281a3663-a217-4821-b774-6072929a000d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:37,300 - DEBUG - Created port bb9fdff0-9971-44ee-97db-631a73e5fdd7 2025-09-03 16:08:37,400 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bb9fdff0-9971-44ee-97db-631a73e5fdd7 2025-09-03 16:08:37,687 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/bb9fdff0-9971-44ee-97db-631a73e5fdd7 2025-09-03 16:08:37,723 - INFO - VMI bb9fdff0-9971-44ee-97db-631a73e5fdd7 verification in API Server passed 2025-09-03 16:08:37,803 - DEBUG - Response for delete_port : () 2025-09-03 16:08:37,803 - INFO - Deleted port bb9fdff0-9971-44ee-97db-631a73e5fdd7 2025-09-03 16:08:37,804 - INFO - Deleting VN ctest-vn-99271322 2025-09-03 16:08:37,890 - DEBUG - Response for deleting network () 2025-09-03 16:08:38,144 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 16:08:38,144 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-03 16:08:38,144 - INFO - -------------------------------------------------------------------------------- 2025-09-03 16:08:38,147 - INFO - ================================================================================ 2025-09-03 16:08:38,147 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-03 16:08:38,147 - 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-03 16:08:38,433 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with 2025-09-03 16:08:38,433 - INFO - Initial checks done. Running the testcase now 2025-09-03 16:08:38,433 - INFO - 2025-09-03 16:08:38,597 - DEBUG - Response for create_network : {'network': {'id': '0e28d3fb-e331-466f-9d07-8855ac96940d', 'name': 'ctest-vn1-75420723', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'project_id': 'b519be6e01db4ca48324b7c9d421582d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-51552290', 'ctest-vn1-75420723'], 'port_security_enabled': True, 'description': ''}} 2025-09-03 16:08:38,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f72382a-eca0-4549-adb6-dbefbc72963e', 'name': '', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '0e28d3fb-e331-466f-9d07-8855ac96940d', 'ip_version': 4, 'cidr': '98.112.249.0/26', 'allocation_pools': [{'start': '98.112.249.2', 'end': '98.112.249.62'}], 'gateway_ip': '98.112.249.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.112.249.2', 'tags': [], 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:38,923 - DEBUG - Response for create_subnet : {'subnet': {'id': '6a944258-6561-4a2b-8889-1d7e1fc1e0f8', 'name': '', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '0e28d3fb-e331-466f-9d07-8855ac96940d', 'ip_version': 4, 'cidr': '92.81.166.192/26', 'allocation_pools': [{'start': '92.81.166.194', 'end': '92.81.166.254'}], 'gateway_ip': '92.81.166.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '92.81.166.194', 'tags': [], 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:38,940 - INFO - Created VN ctest-vn1-75420723 2025-09-03 16:08:38,992 - DEBUG - VN ctest-vn1-75420723 UUID is 0e28d3fb-e331-466f-9d07-8855ac96940d 2025-09-03 16:08:39,253 - DEBUG - Response for create_port : {'port': {'name': '6d417cb8-e562-4adf-bdc8-0dab66ba7210', 'id': '6d417cb8-e562-4adf-bdc8-0dab66ba7210', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '0e28d3fb-e331-466f-9d07-8855ac96940d', 'mac_address': '02:6d:41:7c:b8:e5', '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': '98.112.249.5', 'subnet_id': '1f72382a-eca0-4549-adb6-dbefbc72963e'}], 'security_groups': ['281a3663-a217-4821-b774-6072929a000d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:39,398 - DEBUG - Response for create_port : {'port': {'name': '0ec043d8-e147-47e1-a5fc-a57f9b64a12a', 'id': '0ec043d8-e147-47e1-a5fc-a57f9b64a12a', 'tenant_id': 'b519be6e01db4ca48324b7c9d421582d', 'network_id': '0e28d3fb-e331-466f-9d07-8855ac96940d', 'mac_address': '02:0e:c0:43:d8:e1', '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': '92.81.166.197', 'subnet_id': '6a944258-6561-4a2b-8889-1d7e1fc1e0f8'}], 'security_groups': ['281a3663-a217-4821-b774-6072929a000d'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'b519be6e01db4ca48324b7c9d421582d'}} 2025-09-03 16:08:39,445 - DEBUG - Services list from nova: [, , ] 2025-09-03 16:08:39,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:08:40,078 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4006-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4006-1) 2025-09-03 16:08:40,078 - INFO - Waiting for VM ctest-vn1-vm1-72542244 to be up.. 2025-09-03 16:08:40,114 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-03 16:08:45,190 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:08:45,190 - INFO - VM name : ctest-vn1-vm1-72542244 2025-09-03 16:08:45,256 - DEBUG - VM ctest-vn1-vm1-72542244 ID is 569b0be7-c1d7-4a8e-8985-8942369c911f 2025-09-03 16:08:45,274 - DEBUG - VM ctest-vn1-vm1-72542244 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:08:45,340 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/569b0be7-c1d7-4a8e-8985-8942369c911f 2025-09-03 16:08:45,349 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/6d417cb8-e562-4adf-bdc8-0dab66ba7210 2025-09-03 16:08:48,595 - 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 1012ms') 2025-09-03 16:08:48,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72542244 failed! 2025-09-03 16:08:48,648 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51552290:ctest-vn1-75420723 is 98.112.249.1 and allocation pool is NOT set 2025-09-03 16:08:48,648 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-51552290:ctest-vn1-75420723 is 92.81.166.193 and allocation pool is NOT set 2025-09-03 16:08:50,709 - 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=5.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.78 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 = 2.776/4.321/5.866/1.545 ms') 2025-09-03 16:08:50,709 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72542244 passed 2025-09-03 16:08:50,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:50,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72542244, IP 98.112.249.5, Port 22 2025-09-03 16:08:50,926 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-09-03 16:08:50,996 - DEBUG - VM ctest-vn1-vm1-72542244 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-03 16:08:55,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:55,996 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72542244, IP 98.112.249.5, Port 22 2025-09-03 16:08:56,147 - DEBUG - VM ctest-vn1-vm1-72542244 is ready for SSH connections 2025-09-03 16:08:56,147 - INFO - Waiting for VM ctest-vn1-vm2-94156845 to be up.. 2025-09-03 16:08:56,212 - DEBUG - VM is in ACTIVE state now 2025-09-03 16:08:56,213 - INFO - VM name : ctest-vn1-vm2-94156845 2025-09-03 16:08:56,275 - DEBUG - VM ctest-vn1-vm2-94156845 ID is bc3c18b2-7c00-4c56-9286-dbe8a82610b1 2025-09-03 16:08:56,275 - DEBUG - VM ctest-vn1-vm2-94156845 launched on Node cn-jenkins-deploy-platform-ansible-os-4006-1 2025-09-03 16:08:56,341 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/bc3c18b2-7c00-4c56-9286-dbe8a82610b1 2025-09-03 16:08:56,348 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/0ec043d8-e147-47e1-a5fc-a57f9b64a12a 2025-09-03 16:08:57,577 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.355 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.355/1.557/2.760/1.202 ms') 2025-09-03 16:08:57,577 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-94156845 passed 2025-09-03 16:08:57,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:57,724 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-94156845, IP 92.81.166.197, Port 22 2025-09-03 16:08:57,875 - DEBUG - VM ctest-vn1-vm2-94156845 is ready for SSH connections 2025-09-03 16:08:57,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:57,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:57,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-03 16:08:57,875 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 98.112.249.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-09-03 16:08:57,876 - DEBUG - ping -s 56 -c 3 -W 1 98.112.249.5 2025-09-03 16:09:00,854 - DEBUG - PING 98.112.249.5 (98.112.249.5): 56 data bytes 64 bytes from 98.112.249.5: seq=0 ttl=63 time=3.503 ms 64 bytes from 98.112.249.5: seq=1 ttl=63 time=0.891 ms 64 bytes from 98.112.249.5: seq=2 ttl=63 time=0.719 ms --- 98.112.249.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.704/3.503 ms 2025-09-03 16:09:00,854 - INFO - Ping to IP 98.112.249.5 from VM ctest-vn1-vm2-94156845 passed 2025-09-03 16:09:00,854 - INFO - Detaching port 0ec043d8-e147-47e1-a5fc-a57f9b64a12a from VM ctest-vn1-vm2-94156845 2025-09-03 16:09:00,901 - INFO - Deleting VM ctest-vn1-vm2-94156845 2025-09-03 16:09:00,967 - INFO - Detaching port 6d417cb8-e562-4adf-bdc8-0dab66ba7210 from VM ctest-vn1-vm1-72542244 2025-09-03 16:09:01,004 - INFO - Deleting VM ctest-vn1-vm1-72542244 2025-09-03 16:09:01,209 - DEBUG - Response for delete_port : () 2025-09-03 16:09:01,376 - DEBUG - Response for delete_port : () 2025-09-03 16:09:01,377 - INFO - Deleting VN ctest-vn1-75420723 2025-09-03 16:09:01,521 - DEBUG - Response for deleting network () 2025-09-03 16:09:01,780 - DEBUG - No XMPP flaps were noticed during the test
2025-09-03 16:09:01,780 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-03 16:09:01,780 - INFO - -------------------------------------------------------------------------------- 2025-09-03 16:09:02,430 - INFO - Deleted project: ctest-TestPorts-51552290, ID : b519be6e-01db-4ca4-8324-b7c9d421582d