2025-08-19 16:02:10,454 - INFO - Domain Default found not creating 2025-08-19 16:02:10,583 - INFO - Project ctest-TestPorts-88250983 not found, creating it 2025-08-19 16:02:11,028 - INFO - Created Project:ctest-TestPorts-88250983, ID : 8fccbf6c-115f-488f-89ed-ad85741fa9bc 2025-08-19 16:02:12,385 - INFO - ================================================================================ 2025-08-19 16:02:12,385 - INFO - STARTING TEST : test_ports_bindings 2025-08-19 16:02:12,385 - 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-19 16:02:12,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-19 16:02:12,640 - INFO - Initial checks done. Running the testcase now 2025-08-19 16:02:12,640 - INFO - 2025-08-19 16:02:13,187 - DEBUG - Response for create_network : {'network': {'id': '1194ae8c-4b4c-4d2f-ae5f-a7f780fe956a', 'name': 'ctest-vn-20708492', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'project_id': '8fccbf6c115f488f89edad85741fa9bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88250983', 'ctest-vn-20708492'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:02:13,372 - DEBUG - Response for create_subnet : {'subnet': {'id': '3e72327f-665e-4926-8215-e74f0f1202b5', 'name': '', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '1194ae8c-4b4c-4d2f-ae5f-a7f780fe956a', 'ip_version': 4, 'cidr': '58.236.76.192/26', 'allocation_pools': [{'start': '58.236.76.194', 'end': '58.236.76.254'}], 'gateway_ip': '58.236.76.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.236.76.194', 'tags': [], 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:13,387 - INFO - Created VN ctest-vn-20708492 2025-08-19 16:02:13,435 - DEBUG - VN ctest-vn-20708492 UUID is 1194ae8c-4b4c-4d2f-ae5f-a7f780fe956a 2025-08-19 16:02:13,531 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-88250983', 'ctest-vmi-74986143']} 2025-08-19 16:02:13,802 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74986143', 'id': 'c6e22958-e90b-4645-91e6-1d3c9e6903d3', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '1194ae8c-4b4c-4d2f-ae5f-a7f780fe956a', 'mac_address': '02:c6:e2:29:58:e9', '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': '58.236.76.195', 'subnet_id': '3e72327f-665e-4926-8215-e74f0f1202b5'}], 'security_groups': ['fe97b2b0-d846-405e-adb6-48bd5deab188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:13,802 - DEBUG - Created port c6e22958-e90b-4645-91e6-1d3c9e6903d3 2025-08-19 16:02:13,907 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c6e22958-e90b-4645-91e6-1d3c9e6903d3 2025-08-19 16:02:14,193 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c6e22958-e90b-4645-91e6-1d3c9e6903d3 2025-08-19 16:02:14,220 - INFO - VMI c6e22958-e90b-4645-91e6-1d3c9e6903d3 verification in API Server passed 2025-08-19 16:02:14,301 - DEBUG - Response for delete_port : () 2025-08-19 16:02:14,301 - INFO - Deleted port c6e22958-e90b-4645-91e6-1d3c9e6903d3 2025-08-19 16:02:14,301 - INFO - Deleting VN ctest-vn-20708492 2025-08-19 16:02:14,400 - DEBUG - Response for deleting network () 2025-08-19 16:02:14,660 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 16:02:14,660 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-19 16:02:14,660 - INFO - -------------------------------------------------------------------------------- 2025-08-19 16:02:14,662 - INFO - ================================================================================ 2025-08-19 16:02:14,662 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-19 16:02:14,662 - 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-19 16:02:14,944 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-19 16:02:14,944 - INFO - Initial checks done. Running the testcase now 2025-08-19 16:02:14,944 - INFO - 2025-08-19 16:02:15,112 - DEBUG - Response for create_network : {'network': {'id': '07bb958e-8abe-4e50-80df-a4d85321b56e', 'name': 'ctest-vn1-39533257', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'project_id': '8fccbf6c115f488f89edad85741fa9bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-88250983', 'ctest-vn1-39533257'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:02:15,452 - DEBUG - Response for create_subnet : {'subnet': {'id': '9466f633-2581-436a-8f67-2b14190a7fb2', 'name': '', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '07bb958e-8abe-4e50-80df-a4d85321b56e', 'ip_version': 4, 'cidr': '213.112.33.0/26', 'allocation_pools': [{'start': '213.112.33.2', 'end': '213.112.33.62'}], 'gateway_ip': '213.112.33.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '213.112.33.2', 'tags': [], 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:15,836 - DEBUG - Response for create_subnet : {'subnet': {'id': '216104cd-de1b-4b19-99b4-e919a3a3e0b7', 'name': '', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '07bb958e-8abe-4e50-80df-a4d85321b56e', 'ip_version': 4, 'cidr': '121.243.10.128/26', 'allocation_pools': [{'start': '121.243.10.130', 'end': '121.243.10.190'}], 'gateway_ip': '121.243.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.243.10.130', 'tags': [], 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:15,890 - INFO - Created VN ctest-vn1-39533257 2025-08-19 16:02:15,943 - DEBUG - VN ctest-vn1-39533257 UUID is 07bb958e-8abe-4e50-80df-a4d85321b56e 2025-08-19 16:02:16,254 - DEBUG - Response for create_port : {'port': {'name': '74da0768-93c9-4d4f-94bd-a71027100c09', 'id': '74da0768-93c9-4d4f-94bd-a71027100c09', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '07bb958e-8abe-4e50-80df-a4d85321b56e', 'mac_address': '02:74:da:07:68:93', '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': '213.112.33.5', 'subnet_id': '9466f633-2581-436a-8f67-2b14190a7fb2'}], 'security_groups': ['fe97b2b0-d846-405e-adb6-48bd5deab188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:16,428 - DEBUG - Response for create_port : {'port': {'name': '2efce2a6-d7b6-4cf2-a8c9-79f2c1d4604f', 'id': '2efce2a6-d7b6-4cf2-a8c9-79f2c1d4604f', 'tenant_id': '8fccbf6c115f488f89edad85741fa9bc', 'network_id': '07bb958e-8abe-4e50-80df-a4d85321b56e', 'mac_address': '02:2e:fc:e2:a6:d7', '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': '121.243.10.133', 'subnet_id': '216104cd-de1b-4b19-99b4-e919a3a3e0b7'}], 'security_groups': ['fe97b2b0-d846-405e-adb6-48bd5deab188'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8fccbf6c115f488f89edad85741fa9bc'}} 2025-08-19 16:02:16,475 - DEBUG - Services list from nova: [, , ] 2025-08-19 16:02:16,791 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:02:17,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:02:17,149 - INFO - Waiting for VM ctest-vn1-vm1-69226212 to be up.. 2025-08-19 16:02:17,299 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 16:02:22,366 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:02:22,366 - INFO - VM name : ctest-vn1-vm1-69226212 2025-08-19 16:02:22,434 - DEBUG - VM ctest-vn1-vm1-69226212 ID is 59571539-d7e2-42d3-a18b-193099671b22 2025-08-19 16:02:22,451 - DEBUG - VM ctest-vn1-vm1-69226212 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:02:22,517 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/59571539-d7e2-42d3-a18b-193099671b22 2025-08-19 16:02:22,523 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/74da0768-93c9-4d4f-94bd-a71027100c09 2025-08-19 16:02:25,786 - 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 1026ms') 2025-08-19 16:02:25,786 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69226212 failed! 2025-08-19 16:02:25,843 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88250983:ctest-vn1-39533257 is 213.112.33.1 and allocation pool is NOT set 2025-08-19 16:02:25,844 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-88250983:ctest-vn1-39533257 is 121.243.10.129 and allocation pool is NOT set 2025-08-19 16:02:27,903 - 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=4.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.397/2.886/4.376/1.489 ms') 2025-08-19 16:02:27,904 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-69226212 passed 2025-08-19 16:02:28,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:28,052 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69226212, IP 213.112.33.5, Port 22 2025-08-19 16:02:28,111 - 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-08-19 16:02:28,185 - DEBUG - VM ctest-vn1-vm1-69226212 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-19 16:02:33,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:33,186 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-69226212, IP 213.112.33.5, Port 22 2025-08-19 16:02:33,357 - DEBUG - VM ctest-vn1-vm1-69226212 is ready for SSH connections 2025-08-19 16:02:33,357 - INFO - Waiting for VM ctest-vn1-vm2-74015295 to be up.. 2025-08-19 16:02:33,421 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:02:33,421 - INFO - VM name : ctest-vn1-vm2-74015295 2025-08-19 16:02:33,481 - DEBUG - VM ctest-vn1-vm2-74015295 ID is c113cae4-1820-467f-89fa-f4316f3c7046 2025-08-19 16:02:33,481 - DEBUG - VM ctest-vn1-vm2-74015295 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:02:33,541 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/c113cae4-1820-467f-89fa-f4316f3c7046 2025-08-19 16:02:33,548 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/2efce2a6-d7b6-4cf2-a8c9-79f2c1d4604f 2025-08-19 16:02:34,776 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.315 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.315/1.465/2.616/1.150 ms') 2025-08-19 16:02:34,776 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74015295 passed 2025-08-19 16:02:34,928 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:34,928 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74015295, IP 121.243.10.133, Port 22 2025-08-19 16:02:35,085 - DEBUG - VM ctest-vn1-vm2-74015295 is ready for SSH connections 2025-08-19 16:02:35,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:35,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:35,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:35,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 213.112.33.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:02:35,086 - DEBUG - ping -s 56 -c 3 -W 1 213.112.33.5 2025-08-19 16:02:37,991 - DEBUG - PING 213.112.33.5 (213.112.33.5): 56 data bytes 64 bytes from 213.112.33.5: seq=0 ttl=63 time=3.679 ms 64 bytes from 213.112.33.5: seq=1 ttl=63 time=0.809 ms 64 bytes from 213.112.33.5: seq=2 ttl=63 time=0.894 ms --- 213.112.33.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.809/1.794/3.679 ms 2025-08-19 16:02:37,991 - INFO - Ping to IP 213.112.33.5 from VM ctest-vn1-vm2-74015295 passed 2025-08-19 16:02:37,991 - INFO - Detaching port 2efce2a6-d7b6-4cf2-a8c9-79f2c1d4604f from VM ctest-vn1-vm2-74015295 2025-08-19 16:02:38,037 - INFO - Deleting VM ctest-vn1-vm2-74015295 2025-08-19 16:02:38,098 - INFO - Detaching port 74da0768-93c9-4d4f-94bd-a71027100c09 from VM ctest-vn1-vm1-69226212 2025-08-19 16:02:38,124 - INFO - Deleting VM ctest-vn1-vm1-69226212 2025-08-19 16:02:38,353 - DEBUG - Response for delete_port : () 2025-08-19 16:02:38,504 - DEBUG - Response for delete_port : () 2025-08-19 16:02:38,504 - INFO - Deleting VN ctest-vn1-39533257 2025-08-19 16:02:38,643 - DEBUG - Response for deleting network () 2025-08-19 16:02:38,904 - DEBUG - No XMPP flaps were noticed during the test
2025-08-19 16:02:38,904 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-19 16:02:38,904 - INFO - -------------------------------------------------------------------------------- 2025-08-19 16:02:39,583 - INFO - Deleted project: ctest-TestPorts-88250983, ID : 8fccbf6c-115f-488f-89ed-ad85741fa9bc