2025-09-11 06:38:08,195 - INFO - Domain Default found not creating 2025-09-11 06:38:08,328 - INFO - Project ctest-TestPorts-28202838 not found, creating it 2025-09-11 06:38:08,752 - INFO - Created Project:ctest-TestPorts-28202838, ID : 696a0e2a-9263-4df8-9f09-bb4d318cf073 2025-09-11 06:38:10,379 - INFO - ================================================================================ 2025-09-11 06:38:10,379 - INFO - STARTING TEST : test_ports_bindings 2025-09-11 06:38:10,379 - 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 06:38:10,638 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 06:38:10,638 - INFO - Initial checks done. Running the testcase now 2025-09-11 06:38:10,638 - INFO - 2025-09-11 06:38:11,171 - DEBUG - Response for create_network : {'network': {'id': 'bab4093e-c26d-416b-9ab9-6b729793b65d', 'name': 'ctest-vn-00376822', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'project_id': '696a0e2a92634df89f09bb4d318cf073', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28202838', 'ctest-vn-00376822'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:38:11,375 - DEBUG - Response for create_subnet : {'subnet': {'id': '79534ef4-529e-46b8-a678-d987410629b6', 'name': '', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': 'bab4093e-c26d-416b-9ab9-6b729793b65d', 'ip_version': 4, 'cidr': '49.170.172.192/26', 'allocation_pools': [{'start': '49.170.172.194', 'end': '49.170.172.254'}], 'gateway_ip': '49.170.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.170.172.194', 'tags': [], 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:11,394 - INFO - Created VN ctest-vn-00376822 2025-09-11 06:38:11,444 - DEBUG - VN ctest-vn-00376822 UUID is bab4093e-c26d-416b-9ab9-6b729793b65d 2025-09-11 06:38:11,564 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-28202838', 'ctest-vmi-08861064']} 2025-09-11 06:38:11,783 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-08861064', 'id': '9a7a2a99-db1f-42c1-a2c1-556a3c170104', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': 'bab4093e-c26d-416b-9ab9-6b729793b65d', 'mac_address': '02:9a:7a:2a:99:db', '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': '49.170.172.195', 'subnet_id': '79534ef4-529e-46b8-a678-d987410629b6'}], 'security_groups': ['cd9d1a40-c2a7-4654-9a34-4531defc3061'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:11,783 - DEBUG - Created port 9a7a2a99-db1f-42c1-a2c1-556a3c170104 2025-09-11 06:38:11,884 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9a7a2a99-db1f-42c1-a2c1-556a3c170104 2025-09-11 06:38:12,392 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/9a7a2a99-db1f-42c1-a2c1-556a3c170104 2025-09-11 06:38:12,431 - INFO - VMI 9a7a2a99-db1f-42c1-a2c1-556a3c170104 verification in API Server passed 2025-09-11 06:38:12,510 - DEBUG - Response for delete_port : () 2025-09-11 06:38:12,510 - INFO - Deleted port 9a7a2a99-db1f-42c1-a2c1-556a3c170104 2025-09-11 06:38:12,510 - INFO - Deleting VN ctest-vn-00376822 2025-09-11 06:38:12,597 - DEBUG - Response for deleting network () 2025-09-11 06:38:12,848 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 06:38:12,849 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-11 06:38:12,849 - INFO - -------------------------------------------------------------------------------- 2025-09-11 06:38:12,851 - INFO - ================================================================================ 2025-09-11 06:38:12,851 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-11 06:38:12,851 - 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 06:38:13,136 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-09-11 06:38:13,137 - INFO - Initial checks done. Running the testcase now 2025-09-11 06:38:13,137 - INFO - 2025-09-11 06:38:13,314 - DEBUG - Response for create_network : {'network': {'id': '09024345-cd79-429f-8cc8-b34fe4c6e94f', 'name': 'ctest-vn1-01994161', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'project_id': '696a0e2a92634df89f09bb4d318cf073', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-28202838', 'ctest-vn1-01994161'], 'port_security_enabled': True, 'description': ''}} 2025-09-11 06:38:13,517 - DEBUG - Response for create_subnet : {'subnet': {'id': '55cbe58c-7a9d-4b60-97d2-304511a7c5f4', 'name': '', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': '09024345-cd79-429f-8cc8-b34fe4c6e94f', 'ip_version': 4, 'cidr': '89.120.254.64/26', 'allocation_pools': [{'start': '89.120.254.66', 'end': '89.120.254.126'}], 'gateway_ip': '89.120.254.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.120.254.66', 'tags': [], 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:13,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '4c2459e6-8cd8-4e81-b287-b0f4701f78a1', 'name': '', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': '09024345-cd79-429f-8cc8-b34fe4c6e94f', 'ip_version': 4, 'cidr': '22.188.172.192/26', 'allocation_pools': [{'start': '22.188.172.194', 'end': '22.188.172.254'}], 'gateway_ip': '22.188.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.188.172.194', 'tags': [], 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:13,720 - INFO - Created VN ctest-vn1-01994161 2025-09-11 06:38:13,772 - DEBUG - VN ctest-vn1-01994161 UUID is 09024345-cd79-429f-8cc8-b34fe4c6e94f 2025-09-11 06:38:14,055 - DEBUG - Response for create_port : {'port': {'name': '37ce529c-e205-4b15-a26c-b0b4fc50dff8', 'id': '37ce529c-e205-4b15-a26c-b0b4fc50dff8', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': '09024345-cd79-429f-8cc8-b34fe4c6e94f', 'mac_address': '02:37:ce:52:9c:e2', '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': '89.120.254.69', 'subnet_id': '55cbe58c-7a9d-4b60-97d2-304511a7c5f4'}], 'security_groups': ['cd9d1a40-c2a7-4654-9a34-4531defc3061'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:14,208 - DEBUG - Response for create_port : {'port': {'name': '82d4255c-248c-42cd-9371-45c800f191f7', 'id': '82d4255c-248c-42cd-9371-45c800f191f7', 'tenant_id': '696a0e2a92634df89f09bb4d318cf073', 'network_id': '09024345-cd79-429f-8cc8-b34fe4c6e94f', 'mac_address': '02:82:d4:25:5c:24', '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': '22.188.172.197', 'subnet_id': '4c2459e6-8cd8-4e81-b287-b0f4701f78a1'}], 'security_groups': ['cd9d1a40-c2a7-4654-9a34-4531defc3061'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '696a0e2a92634df89f09bb4d318cf073'}} 2025-09-11 06:38:14,263 - DEBUG - Services list from nova: [, , ] 2025-09-11 06:38:14,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:38:14,933 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4081-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4081-1) 2025-09-11 06:38:14,933 - INFO - Waiting for VM ctest-vn1-vm1-60691271 to be up.. 2025-09-11 06:38:14,970 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-11 06:38:20,038 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:38:20,038 - INFO - VM name : ctest-vn1-vm1-60691271 2025-09-11 06:38:20,108 - DEBUG - VM ctest-vn1-vm1-60691271 ID is d5d5b603-7178-477f-af14-72514fc04d3a 2025-09-11 06:38:20,127 - DEBUG - VM ctest-vn1-vm1-60691271 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:38:20,213 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d5d5b603-7178-477f-af14-72514fc04d3a 2025-09-11 06:38:20,221 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/37ce529c-e205-4b15-a26c-b0b4fc50dff8 2025-09-11 06:38:23,456 - 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 1003ms') 2025-09-11 06:38:23,457 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60691271 failed! 2025-09-11 06:38:23,512 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28202838:ctest-vn1-01994161 is 89.120.254.65 and allocation pool is NOT set 2025-09-11 06:38:23,513 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-28202838:ctest-vn1-01994161 is 22.188.172.193 and allocation pool is NOT set 2025-09-11 06:38:25,578 - 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=12.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.710 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 = 0.710/6.709/12.709/5.999 ms') 2025-09-11 06:38:25,578 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60691271 passed 2025-09-11 06:38:25,729 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:25,729 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60691271, IP 89.120.254.69, Port 22 2025-09-11 06:38:25,785 - 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-11 06:38:25,859 - DEBUG - VM ctest-vn1-vm1-60691271 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-11 06:38:30,860 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:30,860 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60691271, IP 89.120.254.69, Port 22 2025-09-11 06:38:31,032 - DEBUG - VM ctest-vn1-vm1-60691271 is ready for SSH connections 2025-09-11 06:38:31,032 - INFO - Waiting for VM ctest-vn1-vm2-12421391 to be up.. 2025-09-11 06:38:31,101 - DEBUG - VM is in ACTIVE state now 2025-09-11 06:38:31,101 - INFO - VM name : ctest-vn1-vm2-12421391 2025-09-11 06:38:31,166 - DEBUG - VM ctest-vn1-vm2-12421391 ID is d4e3612f-f0ac-4242-9120-bb5eb87d9e85 2025-09-11 06:38:31,166 - DEBUG - VM ctest-vn1-vm2-12421391 launched on Node cn-jenkins-deploy-platform-ansible-os-4081-1 2025-09-11 06:38:31,232 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/d4e3612f-f0ac-4242-9120-bb5eb87d9e85 2025-09-11 06:38:31,239 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/82d4255c-248c-42cd-9371-45c800f191f7 2025-09-11 06:38:32,481 - 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.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.398 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.398/1.730/3.062/1.332 ms') 2025-09-11 06:38:32,481 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-12421391 passed 2025-09-11 06:38:32,628 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:32,628 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-12421391, IP 22.188.172.197, Port 22 2025-09-11 06:38:32,791 - DEBUG - VM ctest-vn1-vm2-12421391 is ready for SSH connections 2025-09-11 06:38:32,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:32,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:32,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-11 06:38:32,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 89.120.254.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-09-11 06:38:32,792 - DEBUG - ping -s 56 -c 3 -W 1 89.120.254.69 2025-09-11 06:38:35,768 - DEBUG - PING 89.120.254.69 (89.120.254.69): 56 data bytes 64 bytes from 89.120.254.69: seq=0 ttl=63 time=4.476 ms 64 bytes from 89.120.254.69: seq=1 ttl=63 time=0.951 ms 64 bytes from 89.120.254.69: seq=2 ttl=63 time=0.868 ms --- 89.120.254.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.868/2.098/4.476 ms 2025-09-11 06:38:35,768 - INFO - Ping to IP 89.120.254.69 from VM ctest-vn1-vm2-12421391 passed 2025-09-11 06:38:35,768 - INFO - Detaching port 82d4255c-248c-42cd-9371-45c800f191f7 from VM ctest-vn1-vm2-12421391 2025-09-11 06:38:35,815 - INFO - Deleting VM ctest-vn1-vm2-12421391 2025-09-11 06:38:35,880 - INFO - Detaching port 37ce529c-e205-4b15-a26c-b0b4fc50dff8 from VM ctest-vn1-vm1-60691271 2025-09-11 06:38:35,910 - INFO - Deleting VM ctest-vn1-vm1-60691271 2025-09-11 06:38:36,126 - DEBUG - Response for delete_port : () 2025-09-11 06:38:36,312 - DEBUG - Response for delete_port : () 2025-09-11 06:38:36,312 - INFO - Deleting VN ctest-vn1-01994161 2025-09-11 06:38:36,449 - DEBUG - Response for deleting network () 2025-09-11 06:38:36,705 - DEBUG - No XMPP flaps were noticed during the test
2025-09-11 06:38:36,705 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-11 06:38:36,705 - INFO - -------------------------------------------------------------------------------- 2025-09-11 06:38:37,376 - INFO - Deleted project: ctest-TestPorts-28202838, ID : 696a0e2a-9263-4df8-9f09-bb4d318cf073