2025-10-30 15:25:57,246 - INFO - Domain Default found not creating 2025-10-30 15:25:57,440 - INFO - Project ctest-TestPorts-12739313 not found, creating it 2025-10-30 15:25:57,957 - INFO - Created Project:ctest-TestPorts-12739313, ID : f55b3216-1fb2-498c-a073-b9f26383af6b 2025-10-30 15:25:59,699 - INFO - ================================================================================ 2025-10-30 15:25:59,699 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 15:25:59,699 - 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-30 15:25:59,977 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-30 15:25:59,977 - INFO - Initial checks done. Running the testcase now 2025-10-30 15:25:59,977 - INFO - 2025-10-30 15:26:00,572 - DEBUG - Response for create_network : {'network': {'id': '7ae586d0-e018-499a-b56d-d6c169d0f9be', 'name': 'ctest-vn-77320762', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'project_id': 'f55b32161fb2498ca073b9f26383af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12739313', 'ctest-vn-77320762'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:26:00,759 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffda3d05-3292-4c2a-b6a7-8a29b3bf95e3', 'name': '', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': '7ae586d0-e018-499a-b56d-d6c169d0f9be', 'ip_version': 4, 'cidr': '26.133.75.64/26', 'allocation_pools': [{'start': '26.133.75.66', 'end': '26.133.75.126'}], 'gateway_ip': '26.133.75.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.133.75.66', 'tags': [], 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:00,782 - INFO - Created VN ctest-vn-77320762 2025-10-30 15:26:00,838 - DEBUG - VN ctest-vn-77320762 UUID is 7ae586d0-e018-499a-b56d-d6c169d0f9be 2025-10-30 15:26:00,965 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-12739313', 'ctest-vmi-88844368']} 2025-10-30 15:26:01,280 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-88844368', 'id': 'a877a896-20d8-4264-952f-7c6a444779b1', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': '7ae586d0-e018-499a-b56d-d6c169d0f9be', 'mac_address': '02:a8:77:a8:96:20', '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': '26.133.75.67', 'subnet_id': 'ffda3d05-3292-4c2a-b6a7-8a29b3bf95e3'}], 'security_groups': ['fac390db-56a8-4bac-80cf-27b16aeee88b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:01,281 - DEBUG - Created port a877a896-20d8-4264-952f-7c6a444779b1 2025-10-30 15:26:01,398 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a877a896-20d8-4264-952f-7c6a444779b1 2025-10-30 15:26:01,718 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a877a896-20d8-4264-952f-7c6a444779b1 2025-10-30 15:26:01,775 - INFO - VMI a877a896-20d8-4264-952f-7c6a444779b1 verification in API Server passed 2025-10-30 15:26:01,904 - DEBUG - Response for delete_port : () 2025-10-30 15:26:01,904 - INFO - Deleted port a877a896-20d8-4264-952f-7c6a444779b1 2025-10-30 15:26:01,904 - INFO - Deleting VN ctest-vn-77320762 2025-10-30 15:26:02,030 - DEBUG - Response for deleting network () 2025-10-30 15:26:02,305 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 15:26:02,305 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-30 15:26:02,305 - INFO - -------------------------------------------------------------------------------- 2025-10-30 15:26:02,310 - INFO - ================================================================================ 2025-10-30 15:26:02,311 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 15:26:02,311 - 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-30 15:26:02,629 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with 2025-10-30 15:26:02,629 - INFO - Initial checks done. Running the testcase now 2025-10-30 15:26:02,629 - INFO - 2025-10-30 15:26:02,855 - DEBUG - Response for create_network : {'network': {'id': 'edd38dac-523e-4f72-aa4d-28915655d87c', 'name': 'ctest-vn1-54487483', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'project_id': 'f55b32161fb2498ca073b9f26383af6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-12739313', 'ctest-vn1-54487483'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 15:26:03,025 - DEBUG - Response for create_subnet : {'subnet': {'id': '7e4573eb-1928-4d0e-81ac-d902a14359a8', 'name': '', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': 'edd38dac-523e-4f72-aa4d-28915655d87c', 'ip_version': 4, 'cidr': '1.164.221.0/26', 'allocation_pools': [{'start': '1.164.221.2', 'end': '1.164.221.62'}], 'gateway_ip': '1.164.221.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.164.221.2', 'tags': [], 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:03,179 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a0ffa6af-ee0a-4672-96b9-e86007922ae3', 'name': '', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': 'edd38dac-523e-4f72-aa4d-28915655d87c', 'ip_version': 4, 'cidr': '199.87.64.0/26', 'allocation_pools': [{'start': '199.87.64.2', 'end': '199.87.64.62'}], 'gateway_ip': '199.87.64.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.87.64.2', 'tags': [], 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:03,207 - INFO - Created VN ctest-vn1-54487483 2025-10-30 15:26:03,262 - DEBUG - VN ctest-vn1-54487483 UUID is edd38dac-523e-4f72-aa4d-28915655d87c 2025-10-30 15:26:03,651 - DEBUG - Response for create_port : {'port': {'name': '6945a9cd-4e72-4fd4-95c3-294ea443dbec', 'id': '6945a9cd-4e72-4fd4-95c3-294ea443dbec', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': 'edd38dac-523e-4f72-aa4d-28915655d87c', 'mac_address': '02:69:45:a9:cd:4e', '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': '1.164.221.5', 'subnet_id': '7e4573eb-1928-4d0e-81ac-d902a14359a8'}], 'security_groups': ['fac390db-56a8-4bac-80cf-27b16aeee88b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:03,863 - DEBUG - Response for create_port : {'port': {'name': '8ebc6e95-d989-4702-821c-7a17a7f82536', 'id': '8ebc6e95-d989-4702-821c-7a17a7f82536', 'tenant_id': 'f55b32161fb2498ca073b9f26383af6b', 'network_id': 'edd38dac-523e-4f72-aa4d-28915655d87c', 'mac_address': '02:8e:bc:6e:95:d9', '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': '199.87.64.5', 'subnet_id': 'a0ffa6af-ee0a-4672-96b9-e86007922ae3'}], 'security_groups': ['fac390db-56a8-4bac-80cf-27b16aeee88b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f55b32161fb2498ca073b9f26383af6b'}} 2025-10-30 15:26:03,927 - DEBUG - Services list from nova: [, , ] 2025-10-30 15:26:04,452 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4547-1) 2025-10-30 15:26:05,008 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4547-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4547-1) 2025-10-30 15:26:05,008 - INFO - Waiting for VM ctest-vn1-vm1-43056910 to be up.. 2025-10-30 15:26:05,067 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 15:26:10,248 - DEBUG - VM is in ACTIVE state now 2025-10-30 15:26:10,248 - INFO - VM name : ctest-vn1-vm1-43056910 2025-10-30 15:26:10,345 - DEBUG - VM ctest-vn1-vm1-43056910 ID is 0dd19132-71ca-4ede-aa54-128537a54382 2025-10-30 15:26:10,373 - DEBUG - VM ctest-vn1-vm1-43056910 launched on Node cn-jenkins-deploy-platform-ansible-os-4547-1 2025-10-30 15:26:10,483 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/0dd19132-71ca-4ede-aa54-128537a54382 2025-10-30 15:26:10,496 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6945a9cd-4e72-4fd4-95c3-294ea443dbec 2025-10-30 15:26:13,784 - 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 1029ms') 2025-10-30 15:26:13,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43056910 failed! 2025-10-30 15:26:13,847 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12739313:ctest-vn1-54487483 is 1.164.221.1 and allocation pool is NOT set 2025-10-30 15:26:13,847 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-12739313:ctest-vn1-54487483 is 199.87.64.1 and allocation pool is NOT set 2025-10-30 15:26:17,912 - 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=2 ttl=63 time=9.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 9.187/9.187/9.187/0.000 ms') 2025-10-30 15:26:17,913 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43056910 passed 2025-10-30 15:26:18,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:26:18,080 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43056910, IP 1.164.221.5, Port 22 2025-10-30 15:26:18,262 - DEBUG - VM ctest-vn1-vm1-43056910 is ready for SSH connections 2025-10-30 15:26:18,263 - INFO - Waiting for VM ctest-vn1-vm2-74250568 to be up.. 2025-10-30 15:26:18,421 - DEBUG - VM is in ACTIVE state now 2025-10-30 15:26:18,422 - INFO - VM name : ctest-vn1-vm2-74250568 2025-10-30 15:26:18,547 - DEBUG - VM ctest-vn1-vm2-74250568 ID is 1ff5af8f-3f18-4a49-96d6-3908af97cb3c 2025-10-30 15:26:18,547 - DEBUG - VM ctest-vn1-vm2-74250568 launched on Node cn-jenkins-deploy-platform-ansible-os-4547-1 2025-10-30 15:26:18,656 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/1ff5af8f-3f18-4a49-96d6-3908af97cb3c 2025-10-30 15:26:18,665 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8ebc6e95-d989-4702-821c-7a17a7f82536 2025-10-30 15:26:19,944 - 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=4.71 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.16 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 = 1.158/2.933/4.708/1.775 ms') 2025-10-30 15:26:19,944 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-74250568 passed 2025-10-30 15:26:20,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:26:20,099 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-74250568, IP 199.87.64.5, Port 22 2025-10-30 15:26:20,269 - DEBUG - VM ctest-vn1-vm2-74250568 is ready for SSH connections 2025-10-30 15:26:20,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:26:20,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:26:20,269 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 15:26:20,269 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 1.164.221.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 15:26:20,270 - DEBUG - ping -s 56 -c 3 -W 1 1.164.221.5 2025-10-30 15:26:23,263 - DEBUG - PING 1.164.221.5 (1.164.221.5): 56 data bytes 64 bytes from 1.164.221.5: seq=0 ttl=63 time=7.035 ms 64 bytes from 1.164.221.5: seq=1 ttl=63 time=1.171 ms 64 bytes from 1.164.221.5: seq=2 ttl=63 time=1.217 ms --- 1.164.221.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.171/3.141/7.035 ms 2025-10-30 15:26:23,263 - INFO - Ping to IP 1.164.221.5 from VM ctest-vn1-vm2-74250568 passed 2025-10-30 15:26:23,264 - INFO - Detaching port 8ebc6e95-d989-4702-821c-7a17a7f82536 from VM ctest-vn1-vm2-74250568 2025-10-30 15:26:23,386 - INFO - Deleting VM ctest-vn1-vm2-74250568 2025-10-30 15:26:23,503 - INFO - Detaching port 6945a9cd-4e72-4fd4-95c3-294ea443dbec from VM ctest-vn1-vm1-43056910 2025-10-30 15:26:23,550 - INFO - Deleting VM ctest-vn1-vm1-43056910 2025-10-30 15:26:23,900 - DEBUG - Response for delete_port : () 2025-10-30 15:26:24,079 - DEBUG - Response for delete_port : () 2025-10-30 15:26:24,079 - INFO - Deleting VN ctest-vn1-54487483 2025-10-30 15:26:24,293 - DEBUG - Response for deleting network () 2025-10-30 15:26:24,561 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 15:26:24,561 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-10-30 15:26:24,562 - INFO - -------------------------------------------------------------------------------- 2025-10-30 15:26:25,318 - INFO - Deleted project: ctest-TestPorts-12739313, ID : f55b3216-1fb2-498c-a073-b9f26383af6b