2025-12-08 02:08:49,663 - INFO - Domain Default found not creating 2025-12-08 02:08:49,823 - INFO - Project ctest-TestPorts-40398388 not found, creating it 2025-12-08 02:08:50,292 - INFO - Created Project:ctest-TestPorts-40398388, ID : 807ab00c-c845-4fc7-b6cf-ac9c5aeda13c 2025-12-08 02:08:51,801 - INFO - ================================================================================ 2025-12-08 02:08:51,801 - INFO - STARTING TEST : test_ports_bindings 2025-12-08 02:08:51,801 - 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-12-08 02:08:52,056 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0'}} with 2025-12-08 02:08:52,057 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:08:52,057 - INFO - 2025-12-08 02:08:52,659 - DEBUG - Response for create_network : {'network': {'id': '41faa418-38f1-4eef-b660-48520f11c63f', 'name': 'ctest-vn-21793886', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40398388', 'ctest-vn-21793886'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:08:52,831 - DEBUG - Response for create_subnet : {'subnet': {'id': '2649c721-77c2-4cbe-bf84-765ea61d2461', 'name': '', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '41faa418-38f1-4eef-b660-48520f11c63f', 'ip_version': 4, 'cidr': '168.254.242.192/26', 'allocation_pools': [{'start': '168.254.242.194', 'end': '168.254.242.254'}], 'gateway_ip': '168.254.242.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.254.242.194', 'tags': [], 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:52,853 - INFO - Created VN ctest-vn-21793886 2025-12-08 02:08:52,907 - DEBUG - VN ctest-vn-21793886 UUID is 41faa418-38f1-4eef-b660-48520f11c63f 2025-12-08 02:08:53,018 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-40398388', 'ctest-vmi-98324013']} 2025-12-08 02:08:53,266 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98324013', 'id': 'b203ad90-da55-43f8-9067-0e2894b4f8a7', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '41faa418-38f1-4eef-b660-48520f11c63f', 'mac_address': '02:b2:03:ad:90:da', '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': '168.254.242.195', 'subnet_id': '2649c721-77c2-4cbe-bf84-765ea61d2461'}], 'security_groups': ['b3df0dc5-9f37-4b25-946e-0d659eae2516'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:53,266 - DEBUG - Created port b203ad90-da55-43f8-9067-0e2894b4f8a7 2025-12-08 02:08:53,375 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b203ad90-da55-43f8-9067-0e2894b4f8a7 2025-12-08 02:08:53,674 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/b203ad90-da55-43f8-9067-0e2894b4f8a7 2025-12-08 02:08:53,710 - INFO - VMI b203ad90-da55-43f8-9067-0e2894b4f8a7 verification in API Server passed 2025-12-08 02:08:53,804 - DEBUG - Response for delete_port : () 2025-12-08 02:08:53,804 - INFO - Deleted port b203ad90-da55-43f8-9067-0e2894b4f8a7 2025-12-08 02:08:53,804 - INFO - Deleting VN ctest-vn-21793886 2025-12-08 02:08:53,906 - DEBUG - Response for deleting network () 2025-12-08 02:08:54,168 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:08:54,168 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-08 02:08:54,168 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:08:54,170 - INFO - ================================================================================ 2025-12-08 02:08:54,170 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-08 02:08:54,170 - 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-12-08 02:08:54,456 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.129': '0'}} with 2025-12-08 02:08:54,456 - INFO - Initial checks done. Running the testcase now 2025-12-08 02:08:54,456 - INFO - 2025-12-08 02:08:54,654 - DEBUG - Response for create_network : {'network': {'id': '3efdd559-7db1-47a0-9560-de1981fb28b7', 'name': 'ctest-vn1-59696338', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-40398388', 'ctest-vn1-59696338'], 'port_security_enabled': True, 'description': ''}} 2025-12-08 02:08:54,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'df72d680-e4e6-4706-a8ca-853da9a3275b', 'name': '', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '3efdd559-7db1-47a0-9560-de1981fb28b7', 'ip_version': 4, 'cidr': '121.79.202.64/26', 'allocation_pools': [{'start': '121.79.202.66', 'end': '121.79.202.126'}], 'gateway_ip': '121.79.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '121.79.202.66', 'tags': [], 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:55,053 - DEBUG - Response for create_subnet : {'subnet': {'id': '13e167cf-8d83-4379-aa26-ce7f15f2ad36', 'name': '', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '3efdd559-7db1-47a0-9560-de1981fb28b7', 'ip_version': 4, 'cidr': '125.131.140.128/26', 'allocation_pools': [{'start': '125.131.140.130', 'end': '125.131.140.190'}], 'gateway_ip': '125.131.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '125.131.140.130', 'tags': [], 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:55,073 - INFO - Created VN ctest-vn1-59696338 2025-12-08 02:08:55,127 - DEBUG - VN ctest-vn1-59696338 UUID is 3efdd559-7db1-47a0-9560-de1981fb28b7 2025-12-08 02:08:55,434 - DEBUG - Response for create_port : {'port': {'name': '8354444b-fcda-4c09-8869-dce0ff84e484', 'id': '8354444b-fcda-4c09-8869-dce0ff84e484', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '3efdd559-7db1-47a0-9560-de1981fb28b7', 'mac_address': '02:83:54:44:4b:fc', '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': '121.79.202.69', 'subnet_id': 'df72d680-e4e6-4706-a8ca-853da9a3275b'}], 'security_groups': ['b3df0dc5-9f37-4b25-946e-0d659eae2516'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:55,604 - DEBUG - Response for create_port : {'port': {'name': 'fb7d5771-1521-4ca0-86be-385cef61187e', 'id': 'fb7d5771-1521-4ca0-86be-385cef61187e', 'tenant_id': '807ab00cc8454fc7b6cfac9c5aeda13c', 'network_id': '3efdd559-7db1-47a0-9560-de1981fb28b7', 'mac_address': '02:fb:7d:57:71:15', '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': '125.131.140.133', 'subnet_id': '13e167cf-8d83-4379-aa26-ce7f15f2ad36'}], 'security_groups': ['b3df0dc5-9f37-4b25-946e-0d659eae2516'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '807ab00cc8454fc7b6cfac9c5aeda13c'}} 2025-12-08 02:08:55,667 - DEBUG - Services list from nova: [, , ] 2025-12-08 02:08:56,001 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4853-1) 2025-12-08 02:08:56,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4853-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4853-1) 2025-12-08 02:08:56,421 - INFO - Waiting for VM ctest-vn1-vm1-12293453 to be up.. 2025-12-08 02:08:56,460 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-08 02:09:01,561 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:09:01,562 - INFO - VM name : ctest-vn1-vm1-12293453 2025-12-08 02:09:01,662 - DEBUG - VM ctest-vn1-vm1-12293453 ID is c255f557-0e41-4fd4-a5d0-0023137fd487 2025-12-08 02:09:01,682 - DEBUG - VM ctest-vn1-vm1-12293453 launched on Node cn-jenkins-deploy-platform-ansible-os-4853-1 2025-12-08 02:09:01,776 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/c255f557-0e41-4fd4-a5d0-0023137fd487 2025-12-08 02:09:01,787 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/8354444b-fcda-4c09-8869-dce0ff84e484 2025-12-08 02:09:05,059 - 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 1023ms') 2025-12-08 02:09:05,060 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12293453 failed! 2025-12-08 02:09:05,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40398388:ctest-vn1-59696338 is 121.79.202.65 and allocation pool is NOT set 2025-12-08 02:09:05,115 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-40398388:ctest-vn1-59696338 is 125.131.140.129 and allocation pool is NOT set 2025-12-08 02:09:09,181 - 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.83 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 9.829/9.829/9.829/0.000 ms') 2025-12-08 02:09:09,181 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12293453 passed 2025-12-08 02:09:09,335 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:09:09,335 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12293453, IP 121.79.202.69, Port 22 2025-12-08 02:09:09,490 - DEBUG - VM ctest-vn1-vm1-12293453 is ready for SSH connections 2025-12-08 02:09:09,491 - INFO - Waiting for VM ctest-vn1-vm2-23127193 to be up.. 2025-12-08 02:09:09,572 - DEBUG - VM is in ACTIVE state now 2025-12-08 02:09:09,573 - INFO - VM name : ctest-vn1-vm2-23127193 2025-12-08 02:09:09,647 - DEBUG - VM ctest-vn1-vm2-23127193 ID is 8499dfde-f836-4a05-8275-11e88edd6c6b 2025-12-08 02:09:09,647 - DEBUG - VM ctest-vn1-vm2-23127193 launched on Node cn-jenkins-deploy-platform-ansible-os-4853-1 2025-12-08 02:09:09,725 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/8499dfde-f836-4a05-8275-11e88edd6c6b 2025-12-08 02:09:09,733 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/fb7d5771-1521-4ca0-86be-385cef61187e 2025-12-08 02:09:10,969 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.477 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.477/1.605/2.734/1.128 ms') 2025-12-08 02:09:10,969 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-23127193 passed 2025-12-08 02:09:11,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:09:11,119 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-23127193, IP 125.131.140.133, Port 22 2025-12-08 02:09:11,275 - DEBUG - VM ctest-vn1-vm2-23127193 is ready for SSH connections 2025-12-08 02:09:11,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:09:11,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:09:11,275 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-08 02:09:11,275 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 121.79.202.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-12-08 02:09:11,275 - DEBUG - ping -s 56 -c 3 -W 1 121.79.202.69 2025-12-08 02:09:13,927 - DEBUG - PING 121.79.202.69 (121.79.202.69): 56 data bytes 64 bytes from 121.79.202.69: seq=0 ttl=63 time=4.051 ms 64 bytes from 121.79.202.69: seq=1 ttl=63 time=0.835 ms 64 bytes from 121.79.202.69: seq=2 ttl=63 time=0.839 ms --- 121.79.202.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.908/4.051 ms 2025-12-08 02:09:13,927 - INFO - Ping to IP 121.79.202.69 from VM ctest-vn1-vm2-23127193 passed 2025-12-08 02:09:13,927 - INFO - Detaching port fb7d5771-1521-4ca0-86be-385cef61187e from VM ctest-vn1-vm2-23127193 2025-12-08 02:09:13,980 - INFO - Deleting VM ctest-vn1-vm2-23127193 2025-12-08 02:09:14,057 - INFO - Detaching port 8354444b-fcda-4c09-8869-dce0ff84e484 from VM ctest-vn1-vm1-12293453 2025-12-08 02:09:14,094 - INFO - Deleting VM ctest-vn1-vm1-12293453 2025-12-08 02:09:14,402 - DEBUG - Response for delete_port : () 2025-12-08 02:09:14,583 - DEBUG - Response for delete_port : () 2025-12-08 02:09:14,583 - INFO - Deleting VN ctest-vn1-59696338 2025-12-08 02:09:14,737 - DEBUG - Response for deleting network () 2025-12-08 02:09:14,993 - DEBUG - No XMPP flaps were noticed during the test
2025-12-08 02:09:14,993 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-12-08 02:09:14,993 - INFO - -------------------------------------------------------------------------------- 2025-12-08 02:09:15,689 - INFO - Deleted project: ctest-TestPorts-40398388, ID : 807ab00c-c845-4fc7-b6cf-ac9c5aeda13c