2025-09-15 02:00:10,226 - INFO - Domain Default found not creating 2025-09-15 02:00:10,376 - INFO - Project ctest-TestPorts-60072206 not found, creating it 2025-09-15 02:00:10,824 - INFO - Created Project:ctest-TestPorts-60072206, ID : 786784d4-8427-43dc-b028-829f5acf0b1b 2025-09-15 02:00:12,882 - INFO - ================================================================================ 2025-09-15 02:00:12,882 - INFO - STARTING TEST : test_ports_bindings 2025-09-15 02:00:12,883 - 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-09-15 02:00:13,143 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 02:00:13,143 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:00:13,143 - INFO - 2025-09-15 02:00:13,719 - DEBUG - Response for create_network : {'network': {'id': '2cc721f8-1b7f-4d75-89bc-0867ebe4e4e5', 'name': 'ctest-vn-09337181', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'project_id': '786784d4842743dcb028829f5acf0b1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60072206', 'ctest-vn-09337181'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:00:13,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e52cbc96-8ef7-4349-89c5-f0b0cbf8631a', 'name': '', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '2cc721f8-1b7f-4d75-89bc-0867ebe4e4e5', 'ip_version': 4, 'cidr': '56.97.162.64/26', 'allocation_pools': [{'start': '56.97.162.66', 'end': '56.97.162.126'}], 'gateway_ip': '56.97.162.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.97.162.66', 'tags': [], 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:13,960 - INFO - Created VN ctest-vn-09337181 2025-09-15 02:00:14,013 - DEBUG - VN ctest-vn-09337181 UUID is 2cc721f8-1b7f-4d75-89bc-0867ebe4e4e5 2025-09-15 02:00:14,116 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-60072206', 'ctest-vmi-66800254']} 2025-09-15 02:00:14,385 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-66800254', 'id': '5666789b-0197-482b-b104-36b522d62e76', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '2cc721f8-1b7f-4d75-89bc-0867ebe4e4e5', 'mac_address': '02:56:66:78:9b:01', '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': '56.97.162.67', 'subnet_id': 'e52cbc96-8ef7-4349-89c5-f0b0cbf8631a'}], 'security_groups': ['13598b30-b9d3-4c81-8b9e-f47b1f6a1f75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:14,385 - DEBUG - Created port 5666789b-0197-482b-b104-36b522d62e76 2025-09-15 02:00:14,497 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5666789b-0197-482b-b104-36b522d62e76 2025-09-15 02:00:14,804 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/5666789b-0197-482b-b104-36b522d62e76 2025-09-15 02:00:14,833 - INFO - VMI 5666789b-0197-482b-b104-36b522d62e76 verification in API Server passed 2025-09-15 02:00:14,919 - DEBUG - Response for delete_port : () 2025-09-15 02:00:14,919 - INFO - Deleted port 5666789b-0197-482b-b104-36b522d62e76 2025-09-15 02:00:14,919 - INFO - Deleting VN ctest-vn-09337181 2025-09-15 02:00:15,028 - DEBUG - Response for deleting network () 2025-09-15 02:00:15,288 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:00:15,288 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-15 02:00:15,288 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:00:15,291 - INFO - ================================================================================ 2025-09-15 02:00:15,291 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-09-15 02:00:15,291 - 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-09-15 02:00:15,578 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-15 02:00:15,578 - INFO - Initial checks done. Running the testcase now 2025-09-15 02:00:15,578 - INFO - 2025-09-15 02:00:15,760 - DEBUG - Response for create_network : {'network': {'id': '93da57cd-116b-4216-879d-198021ad97c2', 'name': 'ctest-vn1-67594967', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'project_id': '786784d4842743dcb028829f5acf0b1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-60072206', 'ctest-vn1-67594967'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 02:00:15,936 - DEBUG - Response for create_subnet : {'subnet': {'id': '5586b04d-ab1d-41eb-9302-444a18979bfc', 'name': '', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '93da57cd-116b-4216-879d-198021ad97c2', 'ip_version': 4, 'cidr': '53.24.111.64/26', 'allocation_pools': [{'start': '53.24.111.66', 'end': '53.24.111.126'}], 'gateway_ip': '53.24.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '53.24.111.66', 'tags': [], 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:16,082 - DEBUG - Response for create_subnet : {'subnet': {'id': '521ec3de-a0de-47d2-a701-998187562e7f', 'name': '', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '93da57cd-116b-4216-879d-198021ad97c2', 'ip_version': 4, 'cidr': '162.76.43.64/26', 'allocation_pools': [{'start': '162.76.43.66', 'end': '162.76.43.126'}], 'gateway_ip': '162.76.43.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.76.43.66', 'tags': [], 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:16,100 - INFO - Created VN ctest-vn1-67594967 2025-09-15 02:00:16,153 - DEBUG - VN ctest-vn1-67594967 UUID is 93da57cd-116b-4216-879d-198021ad97c2 2025-09-15 02:00:16,453 - DEBUG - Response for create_port : {'port': {'name': '4513dffd-bddb-4906-b527-e18a70efcdaa', 'id': '4513dffd-bddb-4906-b527-e18a70efcdaa', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '93da57cd-116b-4216-879d-198021ad97c2', 'mac_address': '02:45:13:df:fd:bd', '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': '53.24.111.69', 'subnet_id': '5586b04d-ab1d-41eb-9302-444a18979bfc'}], 'security_groups': ['13598b30-b9d3-4c81-8b9e-f47b1f6a1f75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:16,618 - DEBUG - Response for create_port : {'port': {'name': '2b37a617-714c-4eb2-b5d3-49758f0ce15e', 'id': '2b37a617-714c-4eb2-b5d3-49758f0ce15e', 'tenant_id': '786784d4842743dcb028829f5acf0b1b', 'network_id': '93da57cd-116b-4216-879d-198021ad97c2', 'mac_address': '02:2b:37:a6:17:71', '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': '162.76.43.69', 'subnet_id': '521ec3de-a0de-47d2-a701-998187562e7f'}], 'security_groups': ['13598b30-b9d3-4c81-8b9e-f47b1f6a1f75'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '786784d4842743dcb028829f5acf0b1b'}} 2025-09-15 02:00:16,675 - DEBUG - Services list from nova: [, , ] 2025-09-15 02:00:16,990 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:00:17,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4107-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4107-1) 2025-09-15 02:00:17,481 - INFO - Waiting for VM ctest-vn1-vm1-56129741 to be up.. 2025-09-15 02:00:17,520 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 02:00:22,594 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:00:22,594 - INFO - VM name : ctest-vn1-vm1-56129741 2025-09-15 02:00:22,670 - DEBUG - VM ctest-vn1-vm1-56129741 ID is 02acc33c-4a6e-491d-b5c8-2d9f9704db7b 2025-09-15 02:00:22,693 - DEBUG - VM ctest-vn1-vm1-56129741 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:00:22,776 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/02acc33c-4a6e-491d-b5c8-2d9f9704db7b 2025-09-15 02:00:22,783 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4513dffd-bddb-4906-b527-e18a70efcdaa 2025-09-15 02:00:26,051 - 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-09-15 02:00:26,051 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56129741 failed! 2025-09-15 02:00:26,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60072206:ctest-vn1-67594967 is 53.24.111.65 and allocation pool is NOT set 2025-09-15 02:00:26,109 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-60072206:ctest-vn1-67594967 is 162.76.43.65 and allocation pool is NOT set 2025-09-15 02:00:28,174 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.41 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.406/3.315/4.225/0.909 ms') 2025-09-15 02:00:28,174 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-56129741 passed 2025-09-15 02:00:28,321 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:28,321 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56129741, IP 53.24.111.69, Port 22 2025-09-15 02:00:28,387 - 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-09-15 02:00:28,460 - DEBUG - VM ctest-vn1-vm1-56129741 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-15 02:00:33,461 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:33,461 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-56129741, IP 53.24.111.69, Port 22 2025-09-15 02:00:33,621 - DEBUG - VM ctest-vn1-vm1-56129741 is ready for SSH connections 2025-09-15 02:00:33,621 - INFO - Waiting for VM ctest-vn1-vm2-89162617 to be up.. 2025-09-15 02:00:33,697 - DEBUG - VM is in ACTIVE state now 2025-09-15 02:00:33,697 - INFO - VM name : ctest-vn1-vm2-89162617 2025-09-15 02:00:33,773 - DEBUG - VM ctest-vn1-vm2-89162617 ID is 7908d77f-c3b0-4e60-99b2-df1e8d37ae14 2025-09-15 02:00:33,773 - DEBUG - VM ctest-vn1-vm2-89162617 launched on Node cn-jenkins-deploy-platform-ansible-os-4107-1 2025-09-15 02:00:33,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/7908d77f-c3b0-4e60-99b2-df1e8d37ae14 2025-09-15 02:00:33,860 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2b37a617-714c-4eb2-b5d3-49758f0ce15e 2025-09-15 02:00:35,093 - 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.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.465 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.465/2.099/3.733/1.634 ms') 2025-09-15 02:00:35,093 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-89162617 passed 2025-09-15 02:00:35,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:35,249 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-89162617, IP 162.76.43.69, Port 22 2025-09-15 02:00:35,409 - DEBUG - VM ctest-vn1-vm2-89162617 is ready for SSH connections 2025-09-15 02:00:35,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:35,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:35,409 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 02:00:35,409 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 53.24.111.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-15 02:00:35,409 - DEBUG - ping -s 56 -c 3 -W 1 53.24.111.69 2025-09-15 02:00:38,397 - DEBUG - PING 53.24.111.69 (53.24.111.69): 56 data bytes 64 bytes from 53.24.111.69: seq=0 ttl=63 time=4.191 ms 64 bytes from 53.24.111.69: seq=1 ttl=63 time=0.865 ms 64 bytes from 53.24.111.69: seq=2 ttl=63 time=0.889 ms --- 53.24.111.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.981/4.191 ms 2025-09-15 02:00:38,397 - INFO - Ping to IP 53.24.111.69 from VM ctest-vn1-vm2-89162617 passed 2025-09-15 02:00:38,398 - INFO - Detaching port 2b37a617-714c-4eb2-b5d3-49758f0ce15e from VM ctest-vn1-vm2-89162617 2025-09-15 02:00:38,445 - INFO - Deleting VM ctest-vn1-vm2-89162617 2025-09-15 02:00:38,506 - INFO - Detaching port 4513dffd-bddb-4906-b527-e18a70efcdaa from VM ctest-vn1-vm1-56129741 2025-09-15 02:00:38,539 - INFO - Deleting VM ctest-vn1-vm1-56129741 2025-09-15 02:00:38,748 - DEBUG - Response for delete_port : () 2025-09-15 02:00:38,942 - DEBUG - Response for delete_port : () 2025-09-15 02:00:38,942 - INFO - Deleting VN ctest-vn1-67594967 2025-09-15 02:00:39,092 - DEBUG - Response for deleting network () 2025-09-15 02:00:39,351 - DEBUG - No XMPP flaps were noticed during the test
2025-09-15 02:00:39,351 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-09-15 02:00:39,351 - INFO - -------------------------------------------------------------------------------- 2025-09-15 02:00:40,031 - INFO - Deleted project: ctest-TestPorts-60072206, ID : 786784d4-8427-43dc-b028-829f5acf0b1b