2025-09-26 00:14:23,937 - INFO - Domain Default found not creating 2025-09-26 00:14:24,075 - INFO - Project ctest-TestPorts-70701905 not found, creating it 2025-09-26 00:14:24,514 - INFO - Created Project:ctest-TestPorts-70701905, ID : 1f304895-a05b-42b8-a53e-d19481f0083d 2025-09-26 00:14:25,993 - INFO - ================================================================================ 2025-09-26 00:14:25,994 - INFO - STARTING TEST : test_ports_bindings 2025-09-26 00:14:25,994 - 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-26 00:14:26,247 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-26 00:14:26,247 - INFO - Initial checks done. Running the testcase now 2025-09-26 00:14:26,247 - INFO - 2025-09-26 00:14:26,794 - DEBUG - Response for create_network : {'network': {'id': '682de6b6-7be9-4071-a471-33a1c73b407d', 'name': 'ctest-vn-89056418', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'project_id': '1f304895a05b42b8a53ed19481f0083d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70701905', 'ctest-vn-89056418'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:14:26,987 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ce113d5-b2bc-4843-8e03-edc8e77adbef', 'name': '', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '682de6b6-7be9-4071-a471-33a1c73b407d', 'ip_version': 4, 'cidr': '215.162.110.128/26', 'allocation_pools': [{'start': '215.162.110.130', 'end': '215.162.110.190'}], 'gateway_ip': '215.162.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.162.110.130', 'tags': [], 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:27,003 - INFO - Created VN ctest-vn-89056418 2025-09-26 00:14:27,054 - DEBUG - VN ctest-vn-89056418 UUID is 682de6b6-7be9-4071-a471-33a1c73b407d 2025-09-26 00:14:27,163 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70701905', 'ctest-vmi-03358883']} 2025-09-26 00:14:27,439 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03358883', 'id': '3cc7624e-ed66-4969-bb6a-4e32a10a2f5d', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '682de6b6-7be9-4071-a471-33a1c73b407d', 'mac_address': '02:3c:c7:62:4e:ed', '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': '215.162.110.131', 'subnet_id': '8ce113d5-b2bc-4843-8e03-edc8e77adbef'}], 'security_groups': ['00c10e8d-eb44-4a1c-abe6-c423a29be60f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:27,440 - DEBUG - Created port 3cc7624e-ed66-4969-bb6a-4e32a10a2f5d 2025-09-26 00:14:27,550 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/3cc7624e-ed66-4969-bb6a-4e32a10a2f5d 2025-09-26 00:14:27,843 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/3cc7624e-ed66-4969-bb6a-4e32a10a2f5d 2025-09-26 00:14:27,873 - INFO - VMI 3cc7624e-ed66-4969-bb6a-4e32a10a2f5d verification in API Server passed 2025-09-26 00:14:27,950 - DEBUG - Response for delete_port : () 2025-09-26 00:14:27,950 - INFO - Deleted port 3cc7624e-ed66-4969-bb6a-4e32a10a2f5d 2025-09-26 00:14:27,950 - INFO - Deleting VN ctest-vn-89056418 2025-09-26 00:14:28,052 - DEBUG - Response for deleting network () 2025-09-26 00:14:28,306 - DEBUG - No XMPP flaps were noticed during the test 2025-09-26 00:14:28,306 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-09-26 00:14:28,306 - INFO - -------------------------------------------------------------------------------- 2025-09-26 00:14:28,309 - INFO - ================================================================================ 2025-09-26 00:14:28,309 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-26 00:14:28,309 - 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-26 00:14:28,598 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-26 00:14:28,599 - INFO - Initial checks done. Running the testcase now 2025-09-26 00:14:28,599 - INFO - 2025-09-26 00:14:28,759 - DEBUG - Response for create_network : {'network': {'id': '26f59da5-fbda-4f63-8dd9-55d0edc84bce', 'name': 'ctest-vn1-17556547', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'project_id': '1f304895a05b42b8a53ed19481f0083d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70701905', 'ctest-vn1-17556547'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:14:28,921 - DEBUG - Response for create_subnet : {'subnet': {'id': '6e06fc86-7b6f-4cea-9c6c-49f0f1836a98', 'name': '', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '26f59da5-fbda-4f63-8dd9-55d0edc84bce', 'ip_version': 4, 'cidr': '156.129.15.192/26', 'allocation_pools': [{'start': '156.129.15.194', 'end': '156.129.15.254'}], 'gateway_ip': '156.129.15.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.129.15.194', 'tags': [], 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:29,091 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd410b258-3673-4430-8bf1-0f4c3b292650', 'name': '', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '26f59da5-fbda-4f63-8dd9-55d0edc84bce', 'ip_version': 4, 'cidr': '85.119.203.192/26', 'allocation_pools': [{'start': '85.119.203.194', 'end': '85.119.203.254'}], 'gateway_ip': '85.119.203.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.119.203.194', 'tags': [], 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:29,109 - INFO - Created VN ctest-vn1-17556547 2025-09-26 00:14:29,162 - DEBUG - VN ctest-vn1-17556547 UUID is 26f59da5-fbda-4f63-8dd9-55d0edc84bce 2025-09-26 00:14:29,467 - DEBUG - Response for create_port : {'port': {'name': '5fcd8b7a-407a-408f-bd79-7930c0114666', 'id': '5fcd8b7a-407a-408f-bd79-7930c0114666', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '26f59da5-fbda-4f63-8dd9-55d0edc84bce', 'mac_address': '02:5f:cd:8b:7a:40', '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.129.15.197', 'subnet_id': '6e06fc86-7b6f-4cea-9c6c-49f0f1836a98'}], 'security_groups': ['00c10e8d-eb44-4a1c-abe6-c423a29be60f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:29,639 - DEBUG - Response for create_port : {'port': {'name': '9dc179b9-1feb-46f4-84f2-2e45732a5101', 'id': '9dc179b9-1feb-46f4-84f2-2e45732a5101', 'tenant_id': '1f304895a05b42b8a53ed19481f0083d', 'network_id': '26f59da5-fbda-4f63-8dd9-55d0edc84bce', 'mac_address': '02:9d:c1:79:b9:1f', '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': '85.119.203.197', 'subnet_id': 'd410b258-3673-4430-8bf1-0f4c3b292650'}], 'security_groups': ['00c10e8d-eb44-4a1c-abe6-c423a29be60f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1f304895a05b42b8a53ed19481f0083d'}} 2025-09-26 00:14:29,699 - DEBUG - Services list from nova: [, , ] 2025-09-26 00:14:30,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:14:30,414 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:14:30,415 - INFO - Waiting for VM ctest-vn1-vm1-33524406 to be up.. 2025-09-26 00:14:30,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-26 00:14:35,538 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:14:35,538 - INFO - VM name : ctest-vn1-vm1-33524406 2025-09-26 00:14:35,615 - DEBUG - VM ctest-vn1-vm1-33524406 ID is 7a1e0fdb-ff13-441c-8bba-6ce1ebdc94b8 2025-09-26 00:14:35,639 - DEBUG - VM ctest-vn1-vm1-33524406 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:14:35,718 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/7a1e0fdb-ff13-441c-8bba-6ce1ebdc94b8 2025-09-26 00:14:35,727 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/5fcd8b7a-407a-408f-bd79-7930c0114666 2025-09-26 00:14:38,991 - 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 1030ms') 2025-09-26 00:14:38,991 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33524406 failed! 2025-09-26 00:14:39,046 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70701905:ctest-vn1-17556547 is 156.129.15.193 and allocation pool is NOT set 2025-09-26 00:14:39,046 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70701905:ctest-vn1-17556547 is 85.119.203.193 and allocation pool is NOT set 2025-09-26 00:14:41,102 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 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.375/3.452/5.530/2.077 ms') 2025-09-26 00:14:41,102 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33524406 passed 2025-09-26 00:14:41,254 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:41,254 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33524406, IP 156.129.15.197, Port 22 2025-09-26 00:14:41,320 - 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-26 00:14:41,404 - DEBUG - VM ctest-vn1-vm1-33524406 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-26 00:14:46,405 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:46,405 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33524406, IP 156.129.15.197, Port 22 2025-09-26 00:14:46,561 - DEBUG - VM ctest-vn1-vm1-33524406 is ready for SSH connections 2025-09-26 00:14:46,561 - INFO - Waiting for VM ctest-vn1-vm2-47163550 to be up.. 2025-09-26 00:14:46,636 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:14:46,636 - INFO - VM name : ctest-vn1-vm2-47163550 2025-09-26 00:14:46,714 - DEBUG - VM ctest-vn1-vm2-47163550 ID is bfb6b462-050e-4931-beef-743b4a982d64 2025-09-26 00:14:46,714 - DEBUG - VM ctest-vn1-vm2-47163550 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:14:46,782 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/bfb6b462-050e-4931-beef-743b4a982d64 2025-09-26 00:14:46,790 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/9dc179b9-1feb-46f4-84f2-2e45732a5101 2025-09-26 00:14:48,027 - 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.44 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.402 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.402/1.923/3.444/1.521 ms') 2025-09-26 00:14:48,028 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-47163550 passed 2025-09-26 00:14:48,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:48,178 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-47163550, IP 85.119.203.197, Port 22 2025-09-26 00:14:48,341 - DEBUG - VM ctest-vn1-vm2-47163550 is ready for SSH connections 2025-09-26 00:14:48,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:48,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:48,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:14:48,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 156.129.15.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-26 00:14:48,341 - DEBUG - ping -s 56 -c 3 -W 1 156.129.15.197 2025-09-26 00:14:51,013 - DEBUG - PING 156.129.15.197 (156.129.15.197): 56 data bytes 64 bytes from 156.129.15.197: seq=0 ttl=63 time=3.869 ms 64 bytes from 156.129.15.197: seq=1 ttl=63 time=0.964 ms 64 bytes from 156.129.15.197: seq=2 ttl=63 time=1.013 ms --- 156.129.15.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.964/1.948/3.869 ms 2025-09-26 00:14:51,013 - INFO - Ping to IP 156.129.15.197 from VM ctest-vn1-vm2-47163550 passed 2025-09-26 00:14:51,013 - INFO - Detaching port 9dc179b9-1feb-46f4-84f2-2e45732a5101 from VM ctest-vn1-vm2-47163550 2025-09-26 00:14:51,084 - INFO - Deleting VM ctest-vn1-vm2-47163550 2025-09-26 00:14:51,166 - INFO - Detaching port 5fcd8b7a-407a-408f-bd79-7930c0114666 from VM ctest-vn1-vm1-33524406 2025-09-26 00:14:51,203 - INFO - Deleting VM ctest-vn1-vm1-33524406 2025-09-26 00:14:51,431 - DEBUG - Response for delete_port : () 2025-09-26 00:14:51,588 - DEBUG - Response for delete_port : () 2025-09-26 00:14:51,588 - INFO - Deleting VN ctest-vn1-17556547 2025-09-26 00:14:51,730 - DEBUG - Response for deleting network () 2025-09-26 00:14:51,983 - DEBUG - No XMPP flaps were noticed during the test 2025-09-26 00:14:51,983 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23] 2025-09-26 00:14:51,983 - INFO - -------------------------------------------------------------------------------- 2025-09-26 00:14:52,661 - INFO - Deleted project: ctest-TestPorts-70701905, ID : 1f304895-a05b-42b8-a53e-d19481f0083d