2026-01-08 02:14:33,275 - INFO - Domain Default found not creating 2026-01-08 02:14:33,446 - INFO - Project ctest-TestPorts-79114133 not found, creating it 2026-01-08 02:14:33,986 - INFO - Created Project:ctest-TestPorts-79114133, ID : 9042e0e1-9f3b-4cdf-afb2-c0cf272b85c7 2026-01-08 02:14:35,497 - INFO - ================================================================================ 2026-01-08 02:14:35,498 - INFO - STARTING TEST : test_ports_bindings 2026-01-08 02:14:35,498 - 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 2026-01-08 02:14:36,777 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.56': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-01-08 02:14:36,777 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:14:36,777 - INFO - 2026-01-08 02:14:37,434 - DEBUG - Response for create_network : {'network': {'id': 'd0273575-069e-4afc-b4db-9c2336c5f4d0', 'name': 'ctest-vn-17501820', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79114133', 'ctest-vn-17501820'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:14:37,694 - DEBUG - Response for create_subnet : {'subnet': {'id': '3568f5c9-cf58-4f6d-a6fb-475df9968dd0', 'name': '', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'd0273575-069e-4afc-b4db-9c2336c5f4d0', 'ip_version': 4, 'cidr': '30.161.247.0/26', 'allocation_pools': [{'start': '30.161.247.2', 'end': '30.161.247.62'}], 'gateway_ip': '30.161.247.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.161.247.2', 'tags': [], 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:37,715 - INFO - Created VN ctest-vn-17501820 2026-01-08 02:14:37,727 - DEBUG - VN ctest-vn-17501820 UUID is d0273575-069e-4afc-b4db-9c2336c5f4d0 2026-01-08 02:14:37,803 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-79114133', 'ctest-vmi-36349944']} 2026-01-08 02:14:38,094 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-36349944', 'id': '96ee44b0-f66b-462f-b6e5-9fe97a32f591', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'd0273575-069e-4afc-b4db-9c2336c5f4d0', 'mac_address': '02:96:ee:44:b0:f6', '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': '30.161.247.3', 'subnet_id': '3568f5c9-cf58-4f6d-a6fb-475df9968dd0'}], 'security_groups': ['1c3c808a-f320-4dff-9d07-3cb1a44307bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:38,094 - DEBUG - Created port 96ee44b0-f66b-462f-b6e5-9fe97a32f591 2026-01-08 02:14:38,207 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/96ee44b0-f66b-462f-b6e5-9fe97a32f591 2026-01-08 02:14:38,499 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/96ee44b0-f66b-462f-b6e5-9fe97a32f591 2026-01-08 02:14:38,539 - INFO - VMI 96ee44b0-f66b-462f-b6e5-9fe97a32f591 verification in API Server passed 2026-01-08 02:14:38,681 - DEBUG - Response for delete_port : () 2026-01-08 02:14:38,682 - INFO - Deleted port 96ee44b0-f66b-462f-b6e5-9fe97a32f591 2026-01-08 02:14:38,682 - INFO - Deleting VN ctest-vn-17501820 2026-01-08 02:14:38,820 - DEBUG - Response for deleting network () 2026-01-08 02:14:40,088 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 02:14:40,088 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2026-01-08 02:14:40,088 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:14:40,092 - INFO - ================================================================================ 2026-01-08 02:14:40,093 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2026-01-08 02:14:40,093 - 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 2026-01-08 02:14:41,376 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.25': '0', '10.20.0.17': '0'}, '10.0.0.56': {'10.20.0.25': '0', '10.20.0.193': '0'}} with 2026-01-08 02:14:41,376 - INFO - Initial checks done. Running the testcase now 2026-01-08 02:14:41,376 - INFO - 2026-01-08 02:14:41,621 - DEBUG - Response for create_network : {'network': {'id': 'f6a5aef4-4171-46b8-b2ee-91027190c411', 'name': 'ctest-vn1-45976475', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-79114133', 'ctest-vn1-45976475'], 'port_security_enabled': True, 'description': ''}} 2026-01-08 02:14:41,847 - DEBUG - Response for create_subnet : {'subnet': {'id': '719ce30e-8e12-4ecd-97d6-af1c0d79a2df', 'name': '', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'f6a5aef4-4171-46b8-b2ee-91027190c411', 'ip_version': 4, 'cidr': '102.64.80.0/26', 'allocation_pools': [{'start': '102.64.80.2', 'end': '102.64.80.62'}], 'gateway_ip': '102.64.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '102.64.80.2', 'tags': [], 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:42,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '92a2a59b-6349-4bec-801f-ee4776ffc8b7', 'name': '', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'f6a5aef4-4171-46b8-b2ee-91027190c411', 'ip_version': 4, 'cidr': '173.51.15.64/26', 'allocation_pools': [{'start': '173.51.15.66', 'end': '173.51.15.126'}], 'gateway_ip': '173.51.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.51.15.66', 'tags': [], 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:42,140 - INFO - Created VN ctest-vn1-45976475 2026-01-08 02:14:42,152 - DEBUG - VN ctest-vn1-45976475 UUID is f6a5aef4-4171-46b8-b2ee-91027190c411 2026-01-08 02:14:42,532 - DEBUG - Response for create_port : {'port': {'name': 'a3e7ddb2-3561-46fa-a16d-8c136a93ad26', 'id': 'a3e7ddb2-3561-46fa-a16d-8c136a93ad26', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'f6a5aef4-4171-46b8-b2ee-91027190c411', 'mac_address': '02:a3:e7:dd:b2:35', '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': '102.64.80.5', 'subnet_id': '719ce30e-8e12-4ecd-97d6-af1c0d79a2df'}], 'security_groups': ['1c3c808a-f320-4dff-9d07-3cb1a44307bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:42,764 - DEBUG - Response for create_port : {'port': {'name': '56b1c73b-8819-4133-9373-6cff50f5717e', 'id': '56b1c73b-8819-4133-9373-6cff50f5717e', 'tenant_id': '9042e0e19f3b4cdfafb2c0cf272b85c7', 'network_id': 'f6a5aef4-4171-46b8-b2ee-91027190c411', 'mac_address': '02:56:b1:c7:3b:88', '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': '173.51.15.69', 'subnet_id': '92a2a59b-6349-4bec-801f-ee4776ffc8b7'}], 'security_groups': ['1c3c808a-f320-4dff-9d07-3cb1a44307bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '9042e0e19f3b4cdfafb2c0cf272b85c7'}} 2026-01-08 02:14:42,826 - DEBUG - Services list from nova: [, , , ] 2026-01-08 02:14:43,201 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4976-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4976-2) 2026-01-08 02:14:43,758 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4976-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4976-1) 2026-01-08 02:14:43,759 - INFO - Waiting for VM ctest-vn1-vm1-65634459 to be up.. 2026-01-08 02:14:43,805 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-08 02:14:48,892 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:14:48,892 - INFO - VM name : ctest-vn1-vm1-65634459 2026-01-08 02:14:48,969 - DEBUG - VM ctest-vn1-vm1-65634459 ID is eaefde67-7ba3-4f3f-a57d-5a46763a743e 2026-01-08 02:14:49,003 - DEBUG - VM ctest-vn1-vm1-65634459 launched on Node an-jenkins-deploy-platform-ansible-os-4976-2 2026-01-08 02:14:49,099 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eaefde67-7ba3-4f3f-a57d-5a46763a743e 2026-01-08 02:14:49,413 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/eaefde67-7ba3-4f3f-a57d-5a46763a743e 2026-01-08 02:14:49,449 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/a3e7ddb2-3561-46fa-a16d-8c136a93ad26 2026-01-08 02:14:52,643 - 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 1035ms') 2026-01-08 02:14:52,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65634459 failed! 2026-01-08 02:14:52,658 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79114133:ctest-vn1-45976475 is 102.64.80.1 and allocation pool is NOT set 2026-01-08 02:14:52,658 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-79114133:ctest-vn1-45976475 is 173.51.15.65 and allocation pool is NOT set 2026-01-08 02:14:54,724 - 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=5.94 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.676 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 = 0.676/3.307/5.938/2.631 ms') 2026-01-08 02:14:54,724 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-65634459 passed 2026-01-08 02:14:54,795 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:14:54,795 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65634459, IP 102.64.80.5, Port 22 2026-01-08 02:14:54,862 - 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': ''} 2026-01-08 02:14:54,943 - DEBUG - VM ctest-vn1-vm1-65634459 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-08 02:14:59,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:14:59,944 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-65634459, IP 102.64.80.5, Port 22 2026-01-08 02:15:00,100 - DEBUG - VM ctest-vn1-vm1-65634459 is ready for SSH connections 2026-01-08 02:15:00,100 - INFO - Waiting for VM ctest-vn1-vm2-58881317 to be up.. 2026-01-08 02:15:00,207 - DEBUG - VM is in ACTIVE state now 2026-01-08 02:15:00,207 - INFO - VM name : ctest-vn1-vm2-58881317 2026-01-08 02:15:00,314 - DEBUG - VM ctest-vn1-vm2-58881317 ID is e49f8d4e-62ef-4167-a9cd-4798cd7dff53 2026-01-08 02:15:00,314 - DEBUG - VM ctest-vn1-vm2-58881317 launched on Node an-jenkins-deploy-platform-ansible-os-4976-1 2026-01-08 02:15:00,430 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/e49f8d4e-62ef-4167-a9cd-4798cd7dff53 2026-01-08 02:15:00,441 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/56b1c73b-8819-4133-9373-6cff50f5717e 2026-01-08 02:15:01,612 - 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=3.25 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.398 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 = 0.398/1.823/3.249/1.425 ms') 2026-01-08 02:15:01,612 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-58881317 passed 2026-01-08 02:15:01,689 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:15:01,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58881317, IP 173.51.15.69, Port 22 2026-01-08 02:15:01,859 - DEBUG - VM ctest-vn1-vm2-58881317 is ready for SSH connections 2026-01-08 02:15:01,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:15:01,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:15:01,859 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-08 02:15:01,859 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 102.64.80.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2026-01-08 02:15:01,859 - DEBUG - ping -s 56 -c 3 -W 1 102.64.80.5 2026-01-08 02:15:04,873 - DEBUG - PING 102.64.80.5 (102.64.80.5): 56 data bytes 64 bytes from 102.64.80.5: seq=0 ttl=63 time=5.731 ms 64 bytes from 102.64.80.5: seq=1 ttl=63 time=1.381 ms 64 bytes from 102.64.80.5: seq=2 ttl=63 time=1.463 ms --- 102.64.80.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.381/2.858/5.731 ms 2026-01-08 02:15:04,873 - INFO - Ping to IP 102.64.80.5 from VM ctest-vn1-vm2-58881317 passed 2026-01-08 02:15:04,873 - INFO - Detaching port 56b1c73b-8819-4133-9373-6cff50f5717e from VM ctest-vn1-vm2-58881317 2026-01-08 02:15:04,923 - INFO - Deleting VM ctest-vn1-vm2-58881317 2026-01-08 02:15:04,995 - INFO - Detaching port a3e7ddb2-3561-46fa-a16d-8c136a93ad26 from VM ctest-vn1-vm1-65634459 2026-01-08 02:15:05,032 - INFO - Deleting VM ctest-vn1-vm1-65634459 2026-01-08 02:15:05,347 - DEBUG - Response for delete_port : () 2026-01-08 02:15:05,603 - DEBUG - Response for delete_port : () 2026-01-08 02:15:05,603 - INFO - Deleting VN ctest-vn1-45976475 2026-01-08 02:15:05,830 - DEBUG - Response for deleting network () 2026-01-08 02:15:07,144 - DEBUG - No XMPP flaps were noticed during the test
2026-01-08 02:15:07,144 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2026-01-08 02:15:07,144 - INFO - -------------------------------------------------------------------------------- 2026-01-08 02:15:08,524 - INFO - Deleted project: ctest-TestPorts-79114133, ID : 9042e0e1-9f3b-4cdf-afb2-c0cf272b85c7