2025-09-11 12:03:32,335 - INFO - Domain Default found not creating 2025-09-11 12:03:32,482 - INFO - Project ctest-TestPorts-21719619 not found, creating it 2025-09-11 12:03:32,925 - INFO - Created Project:ctest-TestPorts-21719619, ID : 7eca34f0-a364-42a7-9925-042b86853950 2025-09-11 12:03:34,316 - INFO - ================================================================================ 2025-09-11 12:03:34,316 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 12:03:34,316 - 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-11 12:03:34,572 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 12:03:34,572 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:03:34,572 - INFO - 2025-09-11 12:03:35,107 - DEBUG - Response for create_network : {'network': {'id': '340bf371-8e2e-4afd-b544-c8d14773a5c9', 'name': 'ctest-vn-25371886', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'project_id': '7eca34f0a36442a79925042b86853950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21719619', 'ctest-vn-25371886'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:03:35,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '1254c15e-a6fe-4f26-91d0-f59430be4841', 'name': '', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': '340bf371-8e2e-4afd-b544-c8d14773a5c9', 'ip_version': 4, 'cidr': '144.155.27.64/26', 'allocation_pools': [{'start': '144.155.27.66', 'end': '144.155.27.126'}], 'gateway_ip': '144.155.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.155.27.66', 'tags': [], 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:35,305 - INFO - Created VN ctest-vn-25371886 2025-09-11 12:03:35,355 - DEBUG - VN ctest-vn-25371886 UUID is 340bf371-8e2e-4afd-b544-c8d14773a5c9 2025-09-11 12:03:35,459 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-21719619', 'ctest-vmi-49702179']} 2025-09-11 12:03:35,765 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-49702179', 'id': '020a81f1-ccbf-4fd5-b2c3-fb01e0b86913', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': '340bf371-8e2e-4afd-b544-c8d14773a5c9', 'mac_address': '02:02:0a:81:f1: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': '144.155.27.67', 'subnet_id': '1254c15e-a6fe-4f26-91d0-f59430be4841'}], 'security_groups': ['13193588-f79c-423e-9df7-288452c23a23'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:35,765 - DEBUG - Created port 020a81f1-ccbf-4fd5-b2c3-fb01e0b86913 2025-09-11 12:03:35,871 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/020a81f1-ccbf-4fd5-b2c3-fb01e0b86913 2025-09-11 12:03:36,163 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/020a81f1-ccbf-4fd5-b2c3-fb01e0b86913 2025-09-11 12:03:36,199 - INFO - VMI 020a81f1-ccbf-4fd5-b2c3-fb01e0b86913 verification in API Server passed 2025-09-11 12:03:36,284 - DEBUG - Response for delete_port : () 2025-09-11 12:03:36,284 - INFO - Deleted port 020a81f1-ccbf-4fd5-b2c3-fb01e0b86913 2025-09-11 12:03:36,284 - INFO - Deleting VN ctest-vn-25371886 2025-09-11 12:03:36,400 - DEBUG - Response for deleting network () 2025-09-11 12:03:36,661 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 12:03:36,661 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 12:03:36,661 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:03:36,663 - INFO - ================================================================================ 2025-09-11 12:03:36,663 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 12:03:36,664 - 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-11 12:03:36,952 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.254': '0'}} with 2025-09-11 12:03:36,952 - INFO - Initial checks done. Running the testcase now 2025-09-11 12:03:36,952 - INFO - 2025-09-11 12:03:37,138 - DEBUG - Response for create_network : {'network': {'id': 'a57b0367-815f-4c40-9c30-5078895a03f2', 'name': 'ctest-vn1-22265204', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'project_id': '7eca34f0a36442a79925042b86853950', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-21719619', 'ctest-vn1-22265204'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 12:03:37,322 - DEBUG - Response for create_subnet : {'subnet': {'id': '227f5d16-9165-4c41-b537-a015d46af88a', 'name': '', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': 'a57b0367-815f-4c40-9c30-5078895a03f2', 'ip_version': 4, 'cidr': '139.221.156.64/26', 'allocation_pools': [{'start': '139.221.156.66', 'end': '139.221.156.126'}], 'gateway_ip': '139.221.156.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.221.156.66', 'tags': [], 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:37,545 - DEBUG - Response for create_subnet : {'subnet': {'id': '41ef96d9-4a00-4e05-bdfe-ffab98aff783', 'name': '', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': 'a57b0367-815f-4c40-9c30-5078895a03f2', 'ip_version': 4, 'cidr': '178.5.126.192/26', 'allocation_pools': [{'start': '178.5.126.194', 'end': '178.5.126.254'}], 'gateway_ip': '178.5.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.5.126.194', 'tags': [], 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:37,564 - INFO - Created VN ctest-vn1-22265204 2025-09-11 12:03:37,615 - DEBUG - VN ctest-vn1-22265204 UUID is a57b0367-815f-4c40-9c30-5078895a03f2 2025-09-11 12:03:37,902 - DEBUG - Response for create_port : {'port': {'name': 'f58dc788-5edd-4966-9fee-b224e7359477', 'id': 'f58dc788-5edd-4966-9fee-b224e7359477', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': 'a57b0367-815f-4c40-9c30-5078895a03f2', 'mac_address': '02:f5:8d:c7:88:5e', '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': '139.221.156.69', 'subnet_id': '227f5d16-9165-4c41-b537-a015d46af88a'}], 'security_groups': ['13193588-f79c-423e-9df7-288452c23a23'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:38,063 - DEBUG - Response for create_port : {'port': {'name': '628e585e-d291-4f83-8d15-279c214c31f2', 'id': '628e585e-d291-4f83-8d15-279c214c31f2', 'tenant_id': '7eca34f0a36442a79925042b86853950', 'network_id': 'a57b0367-815f-4c40-9c30-5078895a03f2', 'mac_address': '02:62:8e:58:5e:d2', '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': '178.5.126.197', 'subnet_id': '41ef96d9-4a00-4e05-bdfe-ffab98aff783'}], 'security_groups': ['13193588-f79c-423e-9df7-288452c23a23'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '7eca34f0a36442a79925042b86853950'}} 2025-09-11 12:03:38,118 - DEBUG - Services list from nova: [, , ] 2025-09-11 12:03:38,424 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:03:38,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4091-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4091-1) 2025-09-11 12:03:38,782 - INFO - Waiting for VM ctest-vn1-vm1-71390299 to be up.. 2025-09-11 12:03:38,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 12:03:44,022 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:03:44,022 - INFO - VM name : ctest-vn1-vm1-71390299 2025-09-11 12:03:44,092 - DEBUG - VM ctest-vn1-vm1-71390299 ID is b11a849a-e2ed-4597-9602-43a7569c694b 2025-09-11 12:03:44,109 - DEBUG - VM ctest-vn1-vm1-71390299 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:03:44,176 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/b11a849a-e2ed-4597-9602-43a7569c694b 2025-09-11 12:03:44,184 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/f58dc788-5edd-4966-9fee-b224e7359477 2025-09-11 12:03:47,441 - 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 1023ms') 2025-09-11 12:03:47,441 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71390299 failed! 2025-09-11 12:03:47,499 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21719619:ctest-vn1-22265204 is 139.221.156.65 and allocation pool is NOT set 2025-09-11 12:03:47,499 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-21719619:ctest-vn1-22265204 is 178.5.126.193 and allocation pool is NOT set 2025-09-11 12:03:49,563 - 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=2.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.38 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.383/2.512/2.642/0.129 ms') 2025-09-11 12:03:49,563 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-71390299 passed 2025-09-11 12:03:49,719 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:49,719 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-71390299, IP 139.221.156.69, Port 22 2025-09-11 12:03:49,874 - DEBUG - VM ctest-vn1-vm1-71390299 is ready for SSH connections 2025-09-11 12:03:49,875 - INFO - Waiting for VM ctest-vn1-vm2-81904413 to be up.. 2025-09-11 12:03:49,942 - DEBUG - VM is in ACTIVE state now 2025-09-11 12:03:49,943 - INFO - VM name : ctest-vn1-vm2-81904413 2025-09-11 12:03:50,012 - DEBUG - VM ctest-vn1-vm2-81904413 ID is 7036e0a8-f24d-40ba-b174-a556b1f4292d 2025-09-11 12:03:50,012 - DEBUG - VM ctest-vn1-vm2-81904413 launched on Node cn-jenkins-deploy-platform-ansible-os-4091-1 2025-09-11 12:03:50,081 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/7036e0a8-f24d-40ba-b174-a556b1f4292d 2025-09-11 12:03:50,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/628e585e-d291-4f83-8d15-279c214c31f2 2025-09-11 12:03:51,325 - 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=4.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.35 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 = 1.345/3.120/4.895/1.775 ms') 2025-09-11 12:03:51,325 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-81904413 passed 2025-09-11 12:03:51,476 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:51,476 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81904413, IP 178.5.126.197, Port 22 2025-09-11 12:03:51,541 - 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-09-11 12:03:51,612 - DEBUG - VM ctest-vn1-vm2-81904413 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 12:03:56,613 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:56,614 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-81904413, IP 178.5.126.197, Port 22 2025-09-11 12:03:56,767 - DEBUG - VM ctest-vn1-vm2-81904413 is ready for SSH connections 2025-09-11 12:03:56,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:56,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:56,768 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 12:03:56,768 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.221.156.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 12:03:56,768 - DEBUG - ping -s 56 -c 3 -W 1 139.221.156.69 2025-09-11 12:03:59,731 - DEBUG - PING 139.221.156.69 (139.221.156.69): 56 data bytes 64 bytes from 139.221.156.69: seq=0 ttl=63 time=3.788 ms 64 bytes from 139.221.156.69: seq=1 ttl=63 time=0.948 ms 64 bytes from 139.221.156.69: seq=2 ttl=63 time=0.827 ms --- 139.221.156.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.827/1.854/3.788 ms 2025-09-11 12:03:59,731 - INFO - Ping to IP 139.221.156.69 from VM ctest-vn1-vm2-81904413 passed 2025-09-11 12:03:59,732 - INFO - Detaching port 628e585e-d291-4f83-8d15-279c214c31f2 from VM ctest-vn1-vm2-81904413 2025-09-11 12:03:59,781 - INFO - Deleting VM ctest-vn1-vm2-81904413 2025-09-11 12:03:59,848 - INFO - Detaching port f58dc788-5edd-4966-9fee-b224e7359477 from VM ctest-vn1-vm1-71390299 2025-09-11 12:03:59,880 - INFO - Deleting VM ctest-vn1-vm1-71390299 2025-09-11 12:04:00,100 - DEBUG - Response for delete_port : () 2025-09-11 12:04:00,320 - DEBUG - Response for delete_port : () 2025-09-11 12:04:00,320 - INFO - Deleting VN ctest-vn1-22265204 2025-09-11 12:04:00,464 - DEBUG - Response for deleting network () 2025-09-11 12:04:00,720 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 12:04:00,720 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-11 12:04:00,720 - INFO - -------------------------------------------------------------------------------- 2025-09-11 12:04:01,397 - INFO - Deleted project: ctest-TestPorts-21719619, ID : 7eca34f0-a364-42a7-9925-042b86853950