2025-09-29 21:01:59,265 - INFO - Domain Default found not creating 2025-09-29 21:01:59,395 - INFO - Project ctest-TestPorts-22527816 not found, creating it 2025-09-29 21:01:59,843 - INFO - Created Project:ctest-TestPorts-22527816, ID : 59b96d1f-d724-4e36-9f2a-66b36b8769ca 2025-09-29 21:02:01,144 - INFO - ================================================================================ 2025-09-29 21:02:01,144 - INFO - STARTING TEST : test_ports_bindings 2025-09-29 21:02:01,144 - 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-29 21:02:01,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 21:02:01,394 - INFO - Initial checks done. Running the testcase now 2025-09-29 21:02:01,394 - INFO - 2025-09-29 21:02:01,885 - DEBUG - Response for create_network : {'network': {'id': '1f03fed3-f2d0-41c6-b095-ce1bcabc451a', 'name': 'ctest-vn-16786211', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'project_id': '59b96d1fd7244e369f2a66b36b8769ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22527816', 'ctest-vn-16786211'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:02:02,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '40968cc6-bb22-4e4b-9433-2d56d2b8a05a', 'name': '', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '1f03fed3-f2d0-41c6-b095-ce1bcabc451a', 'ip_version': 4, 'cidr': '184.25.102.0/26', 'allocation_pools': [{'start': '184.25.102.2', 'end': '184.25.102.62'}], 'gateway_ip': '184.25.102.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.25.102.2', 'tags': [], 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:02,070 - INFO - Created VN ctest-vn-16786211 2025-09-29 21:02:02,121 - DEBUG - VN ctest-vn-16786211 UUID is 1f03fed3-f2d0-41c6-b095-ce1bcabc451a 2025-09-29 21:02:02,216 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-22527816', 'ctest-vmi-74734560']} 2025-09-29 21:02:02,466 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-74734560', 'id': '1a285d68-063c-4927-9aea-c32b93537361', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '1f03fed3-f2d0-41c6-b095-ce1bcabc451a', 'mac_address': '02:1a:28:5d:68:06', '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': '184.25.102.3', 'subnet_id': '40968cc6-bb22-4e4b-9433-2d56d2b8a05a'}], 'security_groups': ['9cc837a3-394e-42cc-a3c5-92d22d06cca8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:02,466 - DEBUG - Created port 1a285d68-063c-4927-9aea-c32b93537361 2025-09-29 21:02:02,569 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a285d68-063c-4927-9aea-c32b93537361 2025-09-29 21:02:02,855 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/1a285d68-063c-4927-9aea-c32b93537361 2025-09-29 21:02:02,882 - INFO - VMI 1a285d68-063c-4927-9aea-c32b93537361 verification in API Server passed 2025-09-29 21:02:02,955 - DEBUG - Response for delete_port : () 2025-09-29 21:02:02,955 - INFO - Deleted port 1a285d68-063c-4927-9aea-c32b93537361 2025-09-29 21:02:02,955 - INFO - Deleting VN ctest-vn-16786211 2025-09-29 21:02:03,036 - DEBUG - Response for deleting network () 2025-09-29 21:02:03,289 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 21:02:03,289 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-09-29 21:02:03,289 - INFO - -------------------------------------------------------------------------------- 2025-09-29 21:02:03,291 - INFO - ================================================================================ 2025-09-29 21:02:03,291 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-29 21:02:03,291 - 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-29 21:02:03,586 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-29 21:02:03,586 - INFO - Initial checks done. Running the testcase now 2025-09-29 21:02:03,586 - INFO - 2025-09-29 21:02:03,735 - DEBUG - Response for create_network : {'network': {'id': '78d3a0b2-2390-4411-afe2-3535f2358f6d', 'name': 'ctest-vn1-08564168', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'project_id': '59b96d1fd7244e369f2a66b36b8769ca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-22527816', 'ctest-vn1-08564168'], 'port_security_enabled': True, 'description': ''}} 2025-09-29 21:02:03,941 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc177271-9b6a-43b1-9a64-28fb94fb6842', 'name': '', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '78d3a0b2-2390-4411-afe2-3535f2358f6d', 'ip_version': 4, 'cidr': '167.238.149.0/26', 'allocation_pools': [{'start': '167.238.149.2', 'end': '167.238.149.62'}], 'gateway_ip': '167.238.149.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.238.149.2', 'tags': [], 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:04,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '0b4711b3-b0e8-4b2a-aa94-1421d85764eb', 'name': '', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '78d3a0b2-2390-4411-afe2-3535f2358f6d', 'ip_version': 4, 'cidr': '150.114.68.192/26', 'allocation_pools': [{'start': '150.114.68.194', 'end': '150.114.68.254'}], 'gateway_ip': '150.114.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.114.68.194', 'tags': [], 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:04,092 - INFO - Created VN ctest-vn1-08564168 2025-09-29 21:02:04,141 - DEBUG - VN ctest-vn1-08564168 UUID is 78d3a0b2-2390-4411-afe2-3535f2358f6d 2025-09-29 21:02:04,428 - DEBUG - Response for create_port : {'port': {'name': '14552ea6-eee3-4968-8190-dcae53b54bc2', 'id': '14552ea6-eee3-4968-8190-dcae53b54bc2', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '78d3a0b2-2390-4411-afe2-3535f2358f6d', 'mac_address': '02:14:55:2e:a6:ee', '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': '167.238.149.5', 'subnet_id': 'bc177271-9b6a-43b1-9a64-28fb94fb6842'}], 'security_groups': ['9cc837a3-394e-42cc-a3c5-92d22d06cca8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:04,596 - DEBUG - Response for create_port : {'port': {'name': '03deda2c-7eac-48ca-9197-c0edb8880647', 'id': '03deda2c-7eac-48ca-9197-c0edb8880647', 'tenant_id': '59b96d1fd7244e369f2a66b36b8769ca', 'network_id': '78d3a0b2-2390-4411-afe2-3535f2358f6d', 'mac_address': '02:03:de:da:2c:7e', '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': '150.114.68.197', 'subnet_id': '0b4711b3-b0e8-4b2a-aa94-1421d85764eb'}], 'security_groups': ['9cc837a3-394e-42cc-a3c5-92d22d06cca8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '59b96d1fd7244e369f2a66b36b8769ca'}} 2025-09-29 21:02:04,643 - DEBUG - Services list from nova: [, , ] 2025-09-29 21:02:04,908 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:02:05,235 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4206-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4206-1) 2025-09-29 21:02:05,235 - INFO - Waiting for VM ctest-vn1-vm1-17462205 to be up.. 2025-09-29 21:02:05,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-29 21:02:10,336 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:02:10,336 - INFO - VM name : ctest-vn1-vm1-17462205 2025-09-29 21:02:10,506 - DEBUG - VM ctest-vn1-vm1-17462205 ID is 1895c626-4ff2-43c9-8668-17cf2ee13f1e 2025-09-29 21:02:10,523 - DEBUG - VM ctest-vn1-vm1-17462205 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:02:10,591 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1895c626-4ff2-43c9-8668-17cf2ee13f1e 2025-09-29 21:02:10,599 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/14552ea6-eee3-4968-8190-dcae53b54bc2 2025-09-29 21:02:13,840 - 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 1016ms') 2025-09-29 21:02:13,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17462205 failed! 2025-09-29 21:02:13,893 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22527816:ctest-vn1-08564168 is 167.238.149.1 and allocation pool is NOT set 2025-09-29 21:02:13,893 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-22527816:ctest-vn1-08564168 is 150.114.68.193 and allocation pool is NOT set 2025-09-29 21:02:15,956 - 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.23 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.402/2.818/4.234/1.416 ms') 2025-09-29 21:02:15,957 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-17462205 passed 2025-09-29 21:02:16,109 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:16,109 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17462205, IP 167.238.149.5, Port 22 2025-09-29 21:02:16,165 - 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-29 21:02:16,234 - DEBUG - VM ctest-vn1-vm1-17462205 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-29 21:02:21,235 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:21,235 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-17462205, IP 167.238.149.5, Port 22 2025-09-29 21:02:21,392 - DEBUG - VM ctest-vn1-vm1-17462205 is ready for SSH connections 2025-09-29 21:02:21,392 - INFO - Waiting for VM ctest-vn1-vm2-82528964 to be up.. 2025-09-29 21:02:21,454 - DEBUG - VM is in ACTIVE state now 2025-09-29 21:02:21,454 - INFO - VM name : ctest-vn1-vm2-82528964 2025-09-29 21:02:21,516 - DEBUG - VM ctest-vn1-vm2-82528964 ID is 56a92351-949e-4c32-a729-1726ceb24c16 2025-09-29 21:02:21,516 - DEBUG - VM ctest-vn1-vm2-82528964 launched on Node cn-jenkins-deploy-platform-ansible-os-4206-1 2025-09-29 21:02:21,579 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/56a92351-949e-4c32-a729-1726ceb24c16 2025-09-29 21:02:21,586 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/03deda2c-7eac-48ca-9197-c0edb8880647 2025-09-29 21:02:22,816 - 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.56 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.387 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.387/1.473/2.559/1.086 ms') 2025-09-29 21:02:22,816 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-82528964 passed 2025-09-29 21:02:22,965 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:22,965 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-82528964, IP 150.114.68.197, Port 22 2025-09-29 21:02:23,116 - DEBUG - VM ctest-vn1-vm2-82528964 is ready for SSH connections 2025-09-29 21:02:23,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:23,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:23,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-29 21:02:23,117 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.238.149.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-29 21:02:23,117 - DEBUG - ping -s 56 -c 3 -W 1 167.238.149.5 2025-09-29 21:02:25,750 - DEBUG - PING 167.238.149.5 (167.238.149.5): 56 data bytes 64 bytes from 167.238.149.5: seq=0 ttl=63 time=3.610 ms 64 bytes from 167.238.149.5: seq=1 ttl=63 time=0.905 ms 64 bytes from 167.238.149.5: seq=2 ttl=63 time=0.763 ms --- 167.238.149.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.759/3.610 ms 2025-09-29 21:02:25,750 - INFO - Ping to IP 167.238.149.5 from VM ctest-vn1-vm2-82528964 passed 2025-09-29 21:02:25,750 - INFO - Detaching port 03deda2c-7eac-48ca-9197-c0edb8880647 from VM ctest-vn1-vm2-82528964 2025-09-29 21:02:25,800 - INFO - Deleting VM ctest-vn1-vm2-82528964 2025-09-29 21:02:25,889 - INFO - Detaching port 14552ea6-eee3-4968-8190-dcae53b54bc2 from VM ctest-vn1-vm1-17462205 2025-09-29 21:02:25,939 - INFO - Deleting VM ctest-vn1-vm1-17462205 2025-09-29 21:02:26,170 - DEBUG - Response for delete_port : () 2025-09-29 21:02:26,308 - DEBUG - Response for delete_port : () 2025-09-29 21:02:26,308 - INFO - Deleting VN ctest-vn1-08564168 2025-09-29 21:02:26,438 - DEBUG - Response for deleting network () 2025-09-29 21:02:26,698 - DEBUG - No XMPP flaps were noticed during the test
2025-09-29 21:02:26,698 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-09-29 21:02:26,698 - INFO - -------------------------------------------------------------------------------- 2025-09-29 21:02:27,330 - INFO - Deleted project: ctest-TestPorts-22527816, ID : 59b96d1f-d724-4e36-9f2a-66b36b8769ca