2025-08-04 02:14:45,532 - INFO - Domain Default found not creating 2025-08-04 02:14:45,711 - INFO - Project ctest-TestPorts-72174622 not found, creating it 2025-08-04 02:14:46,181 - INFO - Created Project:ctest-TestPorts-72174622, ID : a87b6b2b-2751-48ce-98b9-1cf9eab16278 2025-08-04 02:14:47,730 - INFO - ================================================================================ 2025-08-04 02:14:47,730 - INFO - STARTING TEST : test_ports_bindings 2025-08-04 02:14:47,730 - 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-04 02:14:47,991 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-04 02:14:47,992 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:14:47,992 - INFO - 2025-08-04 02:14:48,558 - DEBUG - Response for create_network : {'network': {'id': 'e6868856-761a-42ff-8f06-b9156597366a', 'name': 'ctest-vn-72424210', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'project_id': 'a87b6b2b275148ce98b91cf9eab16278', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72174622', 'ctest-vn-72424210'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:14:48,726 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8db59ba-2e94-4f06-97c8-f73fa5cd3501', 'name': '', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': 'e6868856-761a-42ff-8f06-b9156597366a', 'ip_version': 4, 'cidr': '78.148.235.128/26', 'allocation_pools': [{'start': '78.148.235.130', 'end': '78.148.235.190'}], 'gateway_ip': '78.148.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.148.235.130', 'tags': [], 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:48,747 - INFO - Created VN ctest-vn-72424210 2025-08-04 02:14:48,801 - DEBUG - VN ctest-vn-72424210 UUID is e6868856-761a-42ff-8f06-b9156597366a 2025-08-04 02:14:48,915 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-72174622', 'ctest-vmi-85611124']} 2025-08-04 02:14:49,178 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-85611124', 'id': 'a708f0ba-56c6-4d42-a4ae-29e952fb3a59', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': 'e6868856-761a-42ff-8f06-b9156597366a', 'mac_address': '02:a7:08:f0:ba:56', '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': '78.148.235.131', 'subnet_id': 'd8db59ba-2e94-4f06-97c8-f73fa5cd3501'}], 'security_groups': ['8c10dd16-ab56-47fb-ba98-50d67dd4bced'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:49,179 - DEBUG - Created port a708f0ba-56c6-4d42-a4ae-29e952fb3a59 2025-08-04 02:14:49,285 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a708f0ba-56c6-4d42-a4ae-29e952fb3a59 2025-08-04 02:14:49,577 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a708f0ba-56c6-4d42-a4ae-29e952fb3a59 2025-08-04 02:14:49,609 - INFO - VMI a708f0ba-56c6-4d42-a4ae-29e952fb3a59 verification in API Server passed 2025-08-04 02:14:49,715 - DEBUG - Response for delete_port : () 2025-08-04 02:14:49,715 - INFO - Deleted port a708f0ba-56c6-4d42-a4ae-29e952fb3a59 2025-08-04 02:14:49,716 - INFO - Deleting VN ctest-vn-72424210 2025-08-04 02:14:49,826 - DEBUG - Response for deleting network () 2025-08-04 02:14:50,083 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:14:50,083 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-08-04 02:14:50,083 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:14:50,086 - INFO - ================================================================================ 2025-08-04 02:14:50,086 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-04 02:14:50,086 - 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-04 02:14:50,377 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-04 02:14:50,378 - INFO - Initial checks done. Running the testcase now 2025-08-04 02:14:50,378 - INFO - 2025-08-04 02:14:50,592 - DEBUG - Response for create_network : {'network': {'id': '2c11bb9c-a6b3-41f5-b9a1-813709b868e6', 'name': 'ctest-vn1-01424234', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'project_id': 'a87b6b2b275148ce98b91cf9eab16278', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-72174622', 'ctest-vn1-01424234'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 02:14:50,814 - DEBUG - Response for create_subnet : {'subnet': {'id': '48764d1e-3eb0-4b9e-b62a-68993d4ee822', 'name': '', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': '2c11bb9c-a6b3-41f5-b9a1-813709b868e6', 'ip_version': 4, 'cidr': '126.34.244.192/26', 'allocation_pools': [{'start': '126.34.244.194', 'end': '126.34.244.254'}], 'gateway_ip': '126.34.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.34.244.194', 'tags': [], 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:51,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '7b5c1d76-0d61-4b11-8fca-341a2b3ea1f9', 'name': '', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': '2c11bb9c-a6b3-41f5-b9a1-813709b868e6', 'ip_version': 4, 'cidr': '37.59.49.64/26', 'allocation_pools': [{'start': '37.59.49.66', 'end': '37.59.49.126'}], 'gateway_ip': '37.59.49.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.59.49.66', 'tags': [], 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:51,045 - INFO - Created VN ctest-vn1-01424234 2025-08-04 02:14:51,101 - DEBUG - VN ctest-vn1-01424234 UUID is 2c11bb9c-a6b3-41f5-b9a1-813709b868e6 2025-08-04 02:14:51,475 - DEBUG - Response for create_port : {'port': {'name': 'b5c0c7cc-41cc-4f3a-9ade-aae7fe0149fb', 'id': 'b5c0c7cc-41cc-4f3a-9ade-aae7fe0149fb', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': '2c11bb9c-a6b3-41f5-b9a1-813709b868e6', 'mac_address': '02:b5:c0:c7:cc:41', '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': '126.34.244.197', 'subnet_id': '48764d1e-3eb0-4b9e-b62a-68993d4ee822'}], 'security_groups': ['8c10dd16-ab56-47fb-ba98-50d67dd4bced'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:51,673 - DEBUG - Response for create_port : {'port': {'name': '36e30846-f016-4285-99f8-481c474a3208', 'id': '36e30846-f016-4285-99f8-481c474a3208', 'tenant_id': 'a87b6b2b275148ce98b91cf9eab16278', 'network_id': '2c11bb9c-a6b3-41f5-b9a1-813709b868e6', 'mac_address': '02:36:e3:08:46:f0', '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': '37.59.49.69', 'subnet_id': '7b5c1d76-0d61-4b11-8fca-341a2b3ea1f9'}], 'security_groups': ['8c10dd16-ab56-47fb-ba98-50d67dd4bced'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a87b6b2b275148ce98b91cf9eab16278'}} 2025-08-04 02:14:51,737 - DEBUG - Services list from nova: [, , ] 2025-08-04 02:14:52,072 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:14:52,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3746-1) 2025-08-04 02:14:52,481 - INFO - Waiting for VM ctest-vn1-vm1-98031201 to be up.. 2025-08-04 02:14:52,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-04 02:14:57,605 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:14:57,605 - INFO - VM name : ctest-vn1-vm1-98031201 2025-08-04 02:14:57,677 - DEBUG - VM ctest-vn1-vm1-98031201 ID is 66339049-35fb-4bd0-bf33-7ad2e9f99f9e 2025-08-04 02:14:57,696 - DEBUG - VM ctest-vn1-vm1-98031201 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:14:57,774 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/66339049-35fb-4bd0-bf33-7ad2e9f99f9e 2025-08-04 02:14:57,784 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b5c0c7cc-41cc-4f3a-9ade-aae7fe0149fb 2025-08-04 02:15:01,040 - 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-08-04 02:15:01,040 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98031201 failed! 2025-08-04 02:15:01,097 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72174622:ctest-vn1-01424234 is 126.34.244.193 and allocation pool is NOT set 2025-08-04 02:15:01,097 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-72174622:ctest-vn1-01424234 is 37.59.49.65 and allocation pool is NOT set 2025-08-04 02:15:03,163 - 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=13.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.73 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 = 2.730/8.062/13.394/5.332 ms') 2025-08-04 02:15:03,163 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98031201 passed 2025-08-04 02:15:03,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:03,325 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98031201, IP 126.34.244.197, Port 22 2025-08-04 02:15:03,390 - 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-04 02:15:03,505 - DEBUG - VM ctest-vn1-vm1-98031201 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-04 02:15:08,506 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:08,506 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98031201, IP 126.34.244.197, Port 22 2025-08-04 02:15:08,660 - DEBUG - VM ctest-vn1-vm1-98031201 is ready for SSH connections 2025-08-04 02:15:08,660 - INFO - Waiting for VM ctest-vn1-vm2-88713700 to be up.. 2025-08-04 02:15:08,736 - DEBUG - VM is in ACTIVE state now 2025-08-04 02:15:08,736 - INFO - VM name : ctest-vn1-vm2-88713700 2025-08-04 02:15:08,811 - DEBUG - VM ctest-vn1-vm2-88713700 ID is d143244c-b57d-466d-9da8-f012f8989a00 2025-08-04 02:15:08,811 - DEBUG - VM ctest-vn1-vm2-88713700 launched on Node cn-jenkins-deploy-platform-ansible-os-3746-1 2025-08-04 02:15:08,888 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d143244c-b57d-466d-9da8-f012f8989a00 2025-08-04 02:15:08,898 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/36e30846-f016-4285-99f8-481c474a3208 2025-08-04 02:15:10,137 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.345 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.345/1.681/3.017/1.336 ms') 2025-08-04 02:15:10,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-88713700 passed 2025-08-04 02:15:10,289 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:10,289 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-88713700, IP 37.59.49.69, Port 22 2025-08-04 02:15:10,444 - DEBUG - VM ctest-vn1-vm2-88713700 is ready for SSH connections 2025-08-04 02:15:10,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:10,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:10,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-04 02:15:10,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.34.244.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-04 02:15:10,445 - DEBUG - ping -s 56 -c 3 -W 1 126.34.244.197 2025-08-04 02:15:13,417 - DEBUG - PING 126.34.244.197 (126.34.244.197): 56 data bytes 64 bytes from 126.34.244.197: seq=0 ttl=63 time=3.704 ms 64 bytes from 126.34.244.197: seq=1 ttl=63 time=0.948 ms 64 bytes from 126.34.244.197: seq=2 ttl=63 time=1.515 ms --- 126.34.244.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.948/2.055/3.704 ms 2025-08-04 02:15:13,418 - INFO - Ping to IP 126.34.244.197 from VM ctest-vn1-vm2-88713700 passed 2025-08-04 02:15:13,418 - INFO - Detaching port 36e30846-f016-4285-99f8-481c474a3208 from VM ctest-vn1-vm2-88713700 2025-08-04 02:15:13,465 - INFO - Deleting VM ctest-vn1-vm2-88713700 2025-08-04 02:15:13,539 - INFO - Detaching port b5c0c7cc-41cc-4f3a-9ade-aae7fe0149fb from VM ctest-vn1-vm1-98031201 2025-08-04 02:15:13,568 - INFO - Deleting VM ctest-vn1-vm1-98031201 2025-08-04 02:15:13,856 - DEBUG - Response for delete_port : () 2025-08-04 02:15:14,022 - DEBUG - Response for delete_port : () 2025-08-04 02:15:14,022 - INFO - Deleting VN ctest-vn1-01424234 2025-08-04 02:15:14,166 - DEBUG - Response for deleting network () 2025-08-04 02:15:14,445 - DEBUG - No XMPP flaps were noticed during the test
2025-08-04 02:15:14,445 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-04 02:15:14,445 - INFO - -------------------------------------------------------------------------------- 2025-08-04 02:15:15,134 - INFO - Deleted project: ctest-TestPorts-72174622, ID : a87b6b2b-2751-48ce-98b9-1cf9eab16278