2025-10-22 11:37:06,250 - INFO - Domain Default found not creating 2025-10-22 11:37:06,389 - INFO - Project ctest-TestPorts-36204650 not found, creating it 2025-10-22 11:37:06,840 - INFO - Created Project:ctest-TestPorts-36204650, ID : 918960b1-0cec-4598-8496-e3b3c27282a1 2025-10-22 11:37:08,251 - INFO - ================================================================================ 2025-10-22 11:37:08,252 - INFO - STARTING TEST : test_ports_bindings 2025-10-22 11:37:08,252 - 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-10-22 11:37:08,505 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:37:08,505 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:37:08,505 - INFO - 2025-10-22 11:37:09,039 - DEBUG - Response for create_network : {'network': {'id': '0bc28f9e-4a51-41df-8427-8dd17584c01f', 'name': 'ctest-vn-50558286', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'project_id': '918960b10cec45988496e3b3c27282a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36204650', 'ctest-vn-50558286'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:37:09,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '1fd5ed16-b278-4a9f-bc3a-ac0c8681ca77', 'name': '', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': '0bc28f9e-4a51-41df-8427-8dd17584c01f', 'ip_version': 4, 'cidr': '108.224.128.64/26', 'allocation_pools': [{'start': '108.224.128.66', 'end': '108.224.128.126'}], 'gateway_ip': '108.224.128.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.224.128.66', 'tags': [], 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:09,245 - INFO - Created VN ctest-vn-50558286 2025-10-22 11:37:09,296 - DEBUG - VN ctest-vn-50558286 UUID is 0bc28f9e-4a51-41df-8427-8dd17584c01f 2025-10-22 11:37:09,401 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-36204650', 'ctest-vmi-10401715']} 2025-10-22 11:37:09,680 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10401715', 'id': '2b1c6a20-c3c7-47ef-8519-100809bc6bb2', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': '0bc28f9e-4a51-41df-8427-8dd17584c01f', 'mac_address': '02:2b:1c:6a:20:c3', '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': '108.224.128.67', 'subnet_id': '1fd5ed16-b278-4a9f-bc3a-ac0c8681ca77'}], 'security_groups': ['f4b7f41b-04b0-4e8b-a251-1751fd47dcf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:09,680 - DEBUG - Created port 2b1c6a20-c3c7-47ef-8519-100809bc6bb2 2025-10-22 11:37:09,784 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2b1c6a20-c3c7-47ef-8519-100809bc6bb2 2025-10-22 11:37:10,075 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/2b1c6a20-c3c7-47ef-8519-100809bc6bb2 2025-10-22 11:37:10,104 - INFO - VMI 2b1c6a20-c3c7-47ef-8519-100809bc6bb2 verification in API Server passed 2025-10-22 11:37:10,181 - DEBUG - Response for delete_port : () 2025-10-22 11:37:10,181 - INFO - Deleted port 2b1c6a20-c3c7-47ef-8519-100809bc6bb2 2025-10-22 11:37:10,181 - INFO - Deleting VN ctest-vn-50558286 2025-10-22 11:37:10,275 - DEBUG - Response for deleting network () 2025-10-22 11:37:10,529 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 11:37:10,529 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-22 11:37:10,529 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:37:10,531 - INFO - ================================================================================ 2025-10-22 11:37:10,531 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-22 11:37:10,532 - 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-10-22 11:37:10,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with 2025-10-22 11:37:10,826 - INFO - Initial checks done. Running the testcase now 2025-10-22 11:37:10,826 - INFO - 2025-10-22 11:37:11,006 - DEBUG - Response for create_network : {'network': {'id': 'd62e6798-06c3-4005-a030-4387e2ff52fe', 'name': 'ctest-vn1-05544840', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'project_id': '918960b10cec45988496e3b3c27282a1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-36204650', 'ctest-vn1-05544840'], 'port_security_enabled': True, 'description': ''}} 2025-10-22 11:37:11,204 - DEBUG - Response for create_subnet : {'subnet': {'id': '323d992d-4925-4abd-8e70-ddd6c4bb4500', 'name': '', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': 'd62e6798-06c3-4005-a030-4387e2ff52fe', 'ip_version': 4, 'cidr': '88.228.140.128/26', 'allocation_pools': [{'start': '88.228.140.130', 'end': '88.228.140.190'}], 'gateway_ip': '88.228.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.228.140.130', 'tags': [], 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:11,351 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a93d29eb-cf76-4442-97d6-12befa39f842', 'name': '', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': 'd62e6798-06c3-4005-a030-4387e2ff52fe', 'ip_version': 4, 'cidr': '42.77.34.192/26', 'allocation_pools': [{'start': '42.77.34.194', 'end': '42.77.34.254'}], 'gateway_ip': '42.77.34.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '42.77.34.194', 'tags': [], 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:11,371 - INFO - Created VN ctest-vn1-05544840 2025-10-22 11:37:11,424 - DEBUG - VN ctest-vn1-05544840 UUID is d62e6798-06c3-4005-a030-4387e2ff52fe 2025-10-22 11:37:11,732 - DEBUG - Response for create_port : {'port': {'name': '4a985653-0b5b-4ed2-9d06-c9c696bdb19e', 'id': '4a985653-0b5b-4ed2-9d06-c9c696bdb19e', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': 'd62e6798-06c3-4005-a030-4387e2ff52fe', 'mac_address': '02:4a:98:56:53:0b', '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': '88.228.140.133', 'subnet_id': '323d992d-4925-4abd-8e70-ddd6c4bb4500'}], 'security_groups': ['f4b7f41b-04b0-4e8b-a251-1751fd47dcf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:11,934 - DEBUG - Response for create_port : {'port': {'name': 'd1c9245b-ac52-4c8a-96d2-ac5154f98f83', 'id': 'd1c9245b-ac52-4c8a-96d2-ac5154f98f83', 'tenant_id': '918960b10cec45988496e3b3c27282a1', 'network_id': 'd62e6798-06c3-4005-a030-4387e2ff52fe', 'mac_address': '02:d1:c9:24:5b:ac', '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': '42.77.34.197', 'subnet_id': 'a93d29eb-cf76-4442-97d6-12befa39f842'}], 'security_groups': ['f4b7f41b-04b0-4e8b-a251-1751fd47dcf7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '918960b10cec45988496e3b3c27282a1'}} 2025-10-22 11:37:11,990 - DEBUG - Services list from nova: [, , ] 2025-10-22 11:37:12,317 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:37:12,710 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4425-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4425-1) 2025-10-22 11:37:12,710 - INFO - Waiting for VM ctest-vn1-vm1-65351581 to be up.. 2025-10-22 11:37:12,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-22 11:37:17,824 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:37:17,824 - INFO - VM name : ctest-vn1-vm1-65351581 2025-10-22 11:37:17,897 - DEBUG - VM ctest-vn1-vm1-65351581 ID is 1a47f3d8-9c93-4747-97f4-ea02b7901f7f 2025-10-22 11:37:17,918 - DEBUG - VM ctest-vn1-vm1-65351581 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:37:17,993 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/1a47f3d8-9c93-4747-97f4-ea02b7901f7f 2025-10-22 11:37:18,000 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4a985653-0b5b-4ed2-9d06-c9c696bdb19e 2025-10-22 11:37:21,243 - 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 1002ms') 2025-10-22 11:37:21,243 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65351581 failed! 2025-10-22 11:37:21,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36204650:ctest-vn1-05544840 is 88.228.140.129 and allocation pool is NOT set 2025-10-22 11:37:21,296 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-36204650:ctest-vn1-05544840 is 42.77.34.193 and allocation pool is NOT set 2025-10-22 11:37:23,361 - 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=3.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.25 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 = 3.247/3.446/3.645/0.199 ms') 2025-10-22 11:37:23,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65351581 passed 2025-10-22 11:37:23,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:23,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65351581, IP 88.228.140.133, Port 22 2025-10-22 11:37:23,581 - 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-10-22 11:37:23,659 - DEBUG - VM ctest-vn1-vm1-65351581 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-22 11:37:28,660 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:28,660 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65351581, IP 88.228.140.133, Port 22 2025-10-22 11:37:28,819 - DEBUG - VM ctest-vn1-vm1-65351581 is ready for SSH connections 2025-10-22 11:37:28,819 - INFO - Waiting for VM ctest-vn1-vm2-45775880 to be up.. 2025-10-22 11:37:28,895 - DEBUG - VM is in ACTIVE state now 2025-10-22 11:37:28,895 - INFO - VM name : ctest-vn1-vm2-45775880 2025-10-22 11:37:28,970 - DEBUG - VM ctest-vn1-vm2-45775880 ID is 61f57674-a8cf-49bd-bdb9-a0e7a01b85b0 2025-10-22 11:37:28,970 - DEBUG - VM ctest-vn1-vm2-45775880 launched on Node cn-jenkins-deploy-platform-ansible-os-4425-1 2025-10-22 11:37:29,039 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/61f57674-a8cf-49bd-bdb9-a0e7a01b85b0 2025-10-22 11:37:29,047 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/d1c9245b-ac52-4c8a-96d2-ac5154f98f83 2025-10-22 11:37:30,276 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.352 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.352/1.562/2.773/1.210 ms') 2025-10-22 11:37:30,276 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45775880 passed 2025-10-22 11:37:30,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:30,424 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45775880, IP 42.77.34.197, Port 22 2025-10-22 11:37:30,579 - DEBUG - VM ctest-vn1-vm2-45775880 is ready for SSH connections 2025-10-22 11:37:30,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:30,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:30,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-22 11:37:30,580 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.228.140.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.41, gateway password: c0ntrail123 2025-10-22 11:37:30,580 - DEBUG - ping -s 56 -c 3 -W 1 88.228.140.133 2025-10-22 11:37:33,278 - DEBUG - PING 88.228.140.133 (88.228.140.133): 56 data bytes 64 bytes from 88.228.140.133: seq=0 ttl=63 time=4.074 ms 64 bytes from 88.228.140.133: seq=1 ttl=63 time=1.103 ms 64 bytes from 88.228.140.133: seq=2 ttl=63 time=1.061 ms --- 88.228.140.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.061/2.079/4.074 ms 2025-10-22 11:37:33,278 - INFO - Ping to IP 88.228.140.133 from VM ctest-vn1-vm2-45775880 passed 2025-10-22 11:37:33,278 - INFO - Detaching port d1c9245b-ac52-4c8a-96d2-ac5154f98f83 from VM ctest-vn1-vm2-45775880 2025-10-22 11:37:33,325 - INFO - Deleting VM ctest-vn1-vm2-45775880 2025-10-22 11:37:33,390 - INFO - Detaching port 4a985653-0b5b-4ed2-9d06-c9c696bdb19e from VM ctest-vn1-vm1-65351581 2025-10-22 11:37:33,426 - INFO - Deleting VM ctest-vn1-vm1-65351581 2025-10-22 11:37:33,654 - DEBUG - Response for delete_port : () 2025-10-22 11:37:33,841 - DEBUG - Response for delete_port : () 2025-10-22 11:37:33,841 - INFO - Deleting VN ctest-vn1-05544840 2025-10-22 11:37:34,009 - DEBUG - Response for deleting network () 2025-10-22 11:37:34,269 - DEBUG - No XMPP flaps were noticed during the test
2025-10-22 11:37:34,269 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-10-22 11:37:34,269 - INFO - -------------------------------------------------------------------------------- 2025-10-22 11:37:34,966 - INFO - Deleted project: ctest-TestPorts-36204650, ID : 918960b1-0cec-4598-8496-e3b3c27282a1