2025-10-31 13:04:24,807 - INFO - Domain Default found not creating 2025-10-31 13:04:24,956 - INFO - Project ctest-TestPorts-05573711 not found, creating it 2025-10-31 13:04:25,400 - INFO - Created Project:ctest-TestPorts-05573711, ID : 430d3471-c00c-448f-a98f-42a3bfd88f59 2025-10-31 13:04:26,853 - INFO - ================================================================================ 2025-10-31 13:04:26,853 - INFO - STARTING TEST : test_ports_bindings 2025-10-31 13:04:26,853 - 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-31 13:04:27,110 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-31 13:04:27,110 - INFO - Initial checks done. Running the testcase now 2025-10-31 13:04:27,110 - INFO - 2025-10-31 13:04:27,662 - DEBUG - Response for create_network : {'network': {'id': 'ad2f2776-45ed-48a1-abbc-26c1e3be0b3a', 'name': 'ctest-vn-31083698', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'project_id': '430d3471c00c448fa98f42a3bfd88f59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05573711', 'ctest-vn-31083698'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 13:04:27,860 - DEBUG - Response for create_subnet : {'subnet': {'id': '32a23720-0cbb-4af6-a59d-c974dcfec83e', 'name': '', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': 'ad2f2776-45ed-48a1-abbc-26c1e3be0b3a', 'ip_version': 4, 'cidr': '150.128.16.128/26', 'allocation_pools': [{'start': '150.128.16.130', 'end': '150.128.16.190'}], 'gateway_ip': '150.128.16.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.128.16.130', 'tags': [], 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:27,878 - INFO - Created VN ctest-vn-31083698 2025-10-31 13:04:27,929 - DEBUG - VN ctest-vn-31083698 UUID is ad2f2776-45ed-48a1-abbc-26c1e3be0b3a 2025-10-31 13:04:28,045 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-05573711', 'ctest-vmi-58165426']} 2025-10-31 13:04:28,315 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-58165426', 'id': '90d43e1a-fc19-49c4-a240-a22127ae40c9', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': 'ad2f2776-45ed-48a1-abbc-26c1e3be0b3a', 'mac_address': '02:90:d4:3e:1a:fc', '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': '150.128.16.131', 'subnet_id': '32a23720-0cbb-4af6-a59d-c974dcfec83e'}], 'security_groups': ['4bf7c08a-bf50-4168-b258-0a7dbb6c7646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:28,315 - DEBUG - Created port 90d43e1a-fc19-49c4-a240-a22127ae40c9 2025-10-31 13:04:28,422 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/90d43e1a-fc19-49c4-a240-a22127ae40c9 2025-10-31 13:04:28,715 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/90d43e1a-fc19-49c4-a240-a22127ae40c9 2025-10-31 13:04:28,746 - INFO - VMI 90d43e1a-fc19-49c4-a240-a22127ae40c9 verification in API Server passed 2025-10-31 13:04:28,839 - DEBUG - Response for delete_port : () 2025-10-31 13:04:28,839 - INFO - Deleted port 90d43e1a-fc19-49c4-a240-a22127ae40c9 2025-10-31 13:04:28,839 - INFO - Deleting VN ctest-vn-31083698 2025-10-31 13:04:28,943 - DEBUG - Response for deleting network () 2025-10-31 13:04:29,207 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 13:04:29,207 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 13:04:29,207 - INFO - -------------------------------------------------------------------------------- 2025-10-31 13:04:29,210 - INFO - ================================================================================ 2025-10-31 13:04:29,211 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-31 13:04:29,211 - 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-31 13:04:29,494 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-31 13:04:29,494 - INFO - Initial checks done. Running the testcase now 2025-10-31 13:04:29,494 - INFO - 2025-10-31 13:04:29,700 - DEBUG - Response for create_network : {'network': {'id': '48b7d5c3-3168-428a-a0fd-2584afdb414c', 'name': 'ctest-vn1-45356642', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'project_id': '430d3471c00c448fa98f42a3bfd88f59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-05573711', 'ctest-vn1-45356642'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 13:04:29,912 - DEBUG - Response for create_subnet : {'subnet': {'id': '29e64658-2c29-42fb-84fc-2fee3c9e6f11', 'name': '', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': '48b7d5c3-3168-428a-a0fd-2584afdb414c', 'ip_version': 4, 'cidr': '99.76.75.192/26', 'allocation_pools': [{'start': '99.76.75.194', 'end': '99.76.75.254'}], 'gateway_ip': '99.76.75.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.76.75.194', 'tags': [], 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:30,074 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0f50498-9c45-4578-9f86-41ea78e266b8', 'name': '', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': '48b7d5c3-3168-428a-a0fd-2584afdb414c', 'ip_version': 4, 'cidr': '101.148.0.192/26', 'allocation_pools': [{'start': '101.148.0.194', 'end': '101.148.0.254'}], 'gateway_ip': '101.148.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.148.0.194', 'tags': [], 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:30,096 - INFO - Created VN ctest-vn1-45356642 2025-10-31 13:04:30,149 - DEBUG - VN ctest-vn1-45356642 UUID is 48b7d5c3-3168-428a-a0fd-2584afdb414c 2025-10-31 13:04:30,468 - DEBUG - Response for create_port : {'port': {'name': 'e2f7e1d8-9095-426a-826f-e15d6cb4cf4f', 'id': 'e2f7e1d8-9095-426a-826f-e15d6cb4cf4f', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': '48b7d5c3-3168-428a-a0fd-2584afdb414c', 'mac_address': '02:e2:f7:e1:d8:90', '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': '99.76.75.197', 'subnet_id': '29e64658-2c29-42fb-84fc-2fee3c9e6f11'}], 'security_groups': ['4bf7c08a-bf50-4168-b258-0a7dbb6c7646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:30,643 - DEBUG - Response for create_port : {'port': {'name': '2f83f9fc-fab7-4f47-8538-24106fdf1686', 'id': '2f83f9fc-fab7-4f47-8538-24106fdf1686', 'tenant_id': '430d3471c00c448fa98f42a3bfd88f59', 'network_id': '48b7d5c3-3168-428a-a0fd-2584afdb414c', 'mac_address': '02:2f:83:f9:fc:fa', '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': '101.148.0.197', 'subnet_id': 'a0f50498-9c45-4578-9f86-41ea78e266b8'}], 'security_groups': ['4bf7c08a-bf50-4168-b258-0a7dbb6c7646'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '430d3471c00c448fa98f42a3bfd88f59'}} 2025-10-31 13:04:30,698 - DEBUG - Services list from nova: [, , ] 2025-10-31 13:04:31,019 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4575-1) 2025-10-31 13:04:31,396 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4575-1) 2025-10-31 13:04:31,396 - INFO - Waiting for VM ctest-vn1-vm1-84988318 to be up.. 2025-10-31 13:04:31,444 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 13:04:36,517 - DEBUG - VM is in ACTIVE state now 2025-10-31 13:04:36,517 - INFO - VM name : ctest-vn1-vm1-84988318 2025-10-31 13:04:36,587 - DEBUG - VM ctest-vn1-vm1-84988318 ID is 8b33d158-0935-4e0f-8324-7dead96852a9 2025-10-31 13:04:36,606 - DEBUG - VM ctest-vn1-vm1-84988318 launched on Node cn-jenkins-deploy-platform-ansible-os-4575-1 2025-10-31 13:04:36,673 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/8b33d158-0935-4e0f-8324-7dead96852a9 2025-10-31 13:04:36,681 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e2f7e1d8-9095-426a-826f-e15d6cb4cf4f 2025-10-31 13:04:39,921 - 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-31 13:04:39,922 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84988318 failed! 2025-10-31 13:04:39,982 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05573711:ctest-vn1-45356642 is 99.76.75.193 and allocation pool is NOT set 2025-10-31 13:04:39,982 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-05573711:ctest-vn1-45356642 is 101.148.0.193 and allocation pool is NOT set 2025-10-31 13:04:42,046 - 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.4 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.65 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.650/7.023/12.396/5.373 ms') 2025-10-31 13:04:42,046 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84988318 passed 2025-10-31 13:04:42,193 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:42,194 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84988318, IP 99.76.75.197, Port 22 2025-10-31 13:04:42,259 - 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-31 13:04:42,332 - DEBUG - VM ctest-vn1-vm1-84988318 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 13:04:47,333 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:47,333 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84988318, IP 99.76.75.197, Port 22 2025-10-31 13:04:47,489 - DEBUG - VM ctest-vn1-vm1-84988318 is ready for SSH connections 2025-10-31 13:04:47,489 - INFO - Waiting for VM ctest-vn1-vm2-97787504 to be up.. 2025-10-31 13:04:47,556 - DEBUG - VM is in ACTIVE state now 2025-10-31 13:04:47,556 - INFO - VM name : ctest-vn1-vm2-97787504 2025-10-31 13:04:47,623 - DEBUG - VM ctest-vn1-vm2-97787504 ID is 798d95a9-82c1-416c-b8be-a779b9e15cb2 2025-10-31 13:04:47,623 - DEBUG - VM ctest-vn1-vm2-97787504 launched on Node cn-jenkins-deploy-platform-ansible-os-4575-1 2025-10-31 13:04:47,692 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/798d95a9-82c1-416c-b8be-a779b9e15cb2 2025-10-31 13:04:47,700 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2f83f9fc-fab7-4f47-8538-24106fdf1686 2025-10-31 13:04:48,930 - 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.85 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.341 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.341/1.593/2.846/1.252 ms') 2025-10-31 13:04:48,930 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97787504 passed 2025-10-31 13:04:49,077 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:49,078 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97787504, IP 101.148.0.197, Port 22 2025-10-31 13:04:49,238 - DEBUG - VM ctest-vn1-vm2-97787504 is ready for SSH connections 2025-10-31 13:04:49,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:49,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:49,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:04:49,238 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.76.75.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:04:49,238 - DEBUG - ping -s 56 -c 3 -W 1 99.76.75.197 2025-10-31 13:04:51,977 - DEBUG - PING 99.76.75.197 (99.76.75.197): 56 data bytes 64 bytes from 99.76.75.197: seq=0 ttl=63 time=3.937 ms 64 bytes from 99.76.75.197: seq=1 ttl=63 time=0.976 ms 64 bytes from 99.76.75.197: seq=2 ttl=63 time=1.147 ms --- 99.76.75.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.976/2.020/3.937 ms 2025-10-31 13:04:51,977 - INFO - Ping to IP 99.76.75.197 from VM ctest-vn1-vm2-97787504 passed 2025-10-31 13:04:51,977 - INFO - Detaching port 2f83f9fc-fab7-4f47-8538-24106fdf1686 from VM ctest-vn1-vm2-97787504 2025-10-31 13:04:52,032 - INFO - Deleting VM ctest-vn1-vm2-97787504 2025-10-31 13:04:52,109 - INFO - Detaching port e2f7e1d8-9095-426a-826f-e15d6cb4cf4f from VM ctest-vn1-vm1-84988318 2025-10-31 13:04:52,142 - INFO - Deleting VM ctest-vn1-vm1-84988318 2025-10-31 13:04:52,377 - DEBUG - Response for delete_port : () 2025-10-31 13:04:52,528 - DEBUG - Response for delete_port : () 2025-10-31 13:04:52,528 - INFO - Deleting VN ctest-vn1-45356642 2025-10-31 13:04:52,647 - DEBUG - Response for deleting network () 2025-10-31 13:04:52,902 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 13:04:52,902 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-31 13:04:52,902 - INFO - -------------------------------------------------------------------------------- 2025-10-31 13:04:53,638 - INFO - Deleted project: ctest-TestPorts-05573711, ID : 430d3471-c00c-448f-a98f-42a3bfd88f59