2025-10-08 16:41:13,706 - INFO - Domain Default found not creating 2025-10-08 16:41:13,862 - INFO - Project ctest-TestPorts-00531124 not found, creating it 2025-10-08 16:41:14,498 - INFO - Created Project:ctest-TestPorts-00531124, ID : 57891250-2e9f-4ea2-876f-37c089166bf4 2025-10-08 16:41:15,985 - INFO - ================================================================================ 2025-10-08 16:41:15,985 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 16:41:15,985 - 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-08 16:41:17,259 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0', '10.20.0.19': '0'}, '10.0.0.19': {'10.20.0.192': '0', '10.20.0.19': '0'}} with 2025-10-08 16:41:17,259 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:41:17,259 - INFO - 2025-10-08 16:41:17,923 - DEBUG - Response for create_network : {'network': {'id': '725e95a0-ac6c-4362-869e-4a603fb9fe10', 'name': 'ctest-vn-75427248', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'project_id': '578912502e9f4ea2876f37c089166bf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00531124', 'ctest-vn-75427248'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:41:18,223 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acd9002c-f674-4c50-9145-c4ab56feee03', 'name': '', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': '725e95a0-ac6c-4362-869e-4a603fb9fe10', 'ip_version': 4, 'cidr': '212.39.133.64/26', 'allocation_pools': [{'start': '212.39.133.66', 'end': '212.39.133.126'}], 'gateway_ip': '212.39.133.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.39.133.66', 'tags': [], 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:18,247 - INFO - Created VN ctest-vn-75427248 2025-10-08 16:41:18,259 - DEBUG - VN ctest-vn-75427248 UUID is 725e95a0-ac6c-4362-869e-4a603fb9fe10 2025-10-08 16:41:18,334 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-00531124', 'ctest-vmi-03740562']} 2025-10-08 16:41:18,708 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-03740562', 'id': '4fe2977d-cce2-49b8-96cb-ab466fc3bdb0', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': '725e95a0-ac6c-4362-869e-4a603fb9fe10', 'mac_address': '02:4f:e2:97:7d:cc', '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': '212.39.133.67', 'subnet_id': 'acd9002c-f674-4c50-9145-c4ab56feee03'}], 'security_groups': ['d55dae5a-c9da-4062-a971-4349acf92a34'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:18,708 - DEBUG - Created port 4fe2977d-cce2-49b8-96cb-ab466fc3bdb0 2025-10-08 16:41:18,800 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/4fe2977d-cce2-49b8-96cb-ab466fc3bdb0 2025-10-08 16:41:19,090 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-machine-interface/4fe2977d-cce2-49b8-96cb-ab466fc3bdb0 2025-10-08 16:41:19,118 - INFO - VMI 4fe2977d-cce2-49b8-96cb-ab466fc3bdb0 verification in API Server passed 2025-10-08 16:41:19,256 - DEBUG - Response for delete_port : () 2025-10-08 16:41:19,256 - INFO - Deleted port 4fe2977d-cce2-49b8-96cb-ab466fc3bdb0 2025-10-08 16:41:19,257 - INFO - Deleting VN ctest-vn-75427248 2025-10-08 16:41:19,419 - DEBUG - Response for deleting network () 2025-10-08 16:41:20,700 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:41:20,700 - INFO - END TEST : test_ports_bindings : PASSED[0:00:05]
2025-10-08 16:41:20,700 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:41:20,702 - INFO - ================================================================================ 2025-10-08 16:41:20,702 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 16:41:20,703 - 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-08 16:41:21,992 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.192': '0', '10.20.0.19': '0'}, '10.0.0.19': {'10.20.0.192': '0', '10.20.0.19': '0'}} with 2025-10-08 16:41:21,992 - INFO - Initial checks done. Running the testcase now 2025-10-08 16:41:21,992 - INFO - 2025-10-08 16:41:22,273 - DEBUG - Response for create_network : {'network': {'id': 'fac56c4d-f133-4168-99d9-b2d649ee7aaa', 'name': 'ctest-vn1-60256751', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'project_id': '578912502e9f4ea2876f37c089166bf4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-00531124', 'ctest-vn1-60256751'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 16:41:22,464 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2fbf55b-9d2e-4d22-9abe-6722e72c74bb', 'name': '', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': 'fac56c4d-f133-4168-99d9-b2d649ee7aaa', 'ip_version': 4, 'cidr': '191.179.243.128/26', 'allocation_pools': [{'start': '191.179.243.130', 'end': '191.179.243.190'}], 'gateway_ip': '191.179.243.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.179.243.130', 'tags': [], 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:22,687 - DEBUG - Response for create_subnet : {'subnet': {'id': '0713b54e-2539-4541-93d3-3b1db5d0b349', 'name': '', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': 'fac56c4d-f133-4168-99d9-b2d649ee7aaa', 'ip_version': 4, 'cidr': '38.137.83.64/26', 'allocation_pools': [{'start': '38.137.83.66', 'end': '38.137.83.126'}], 'gateway_ip': '38.137.83.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.137.83.66', 'tags': [], 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:22,711 - INFO - Created VN ctest-vn1-60256751 2025-10-08 16:41:22,730 - DEBUG - VN ctest-vn1-60256751 UUID is fac56c4d-f133-4168-99d9-b2d649ee7aaa 2025-10-08 16:41:23,108 - DEBUG - Response for create_port : {'port': {'name': '5d13a935-4772-4cf3-9893-b0ab1ac9cb34', 'id': '5d13a935-4772-4cf3-9893-b0ab1ac9cb34', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': 'fac56c4d-f133-4168-99d9-b2d649ee7aaa', 'mac_address': '02:5d:13:a9:35:47', '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': '191.179.243.133', 'subnet_id': 'f2fbf55b-9d2e-4d22-9abe-6722e72c74bb'}], 'security_groups': ['d55dae5a-c9da-4062-a971-4349acf92a34'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:23,369 - DEBUG - Response for create_port : {'port': {'name': '604c9b21-e5da-4fdd-8e3d-692b86f6e04d', 'id': '604c9b21-e5da-4fdd-8e3d-692b86f6e04d', 'tenant_id': '578912502e9f4ea2876f37c089166bf4', 'network_id': 'fac56c4d-f133-4168-99d9-b2d649ee7aaa', 'mac_address': '02:60:4c:9b:21:e5', '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': '38.137.83.69', 'subnet_id': '0713b54e-2539-4541-93d3-3b1db5d0b349'}], 'security_groups': ['d55dae5a-c9da-4062-a971-4349acf92a34'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '578912502e9f4ea2876f37c089166bf4'}} 2025-10-08 16:41:23,421 - DEBUG - Services list from nova: [, , , ] 2025-10-08 16:41:23,888 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-1) 2025-10-08 16:41:24,358 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4239-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4239-2) 2025-10-08 16:41:24,359 - INFO - Waiting for VM ctest-vn1-vm1-53012010 to be up.. 2025-10-08 16:41:24,403 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 16:41:29,490 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:41:29,490 - INFO - VM name : ctest-vn1-vm1-53012010 2025-10-08 16:41:29,569 - DEBUG - VM ctest-vn1-vm1-53012010 ID is 0137a930-62bc-45d3-a272-6c6df60e573c 2025-10-08 16:41:29,590 - DEBUG - VM ctest-vn1-vm1-53012010 launched on Node an-jenkins-deploy-platform-ansible-os-4239-1 2025-10-08 16:41:29,668 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0137a930-62bc-45d3-a272-6c6df60e573c 2025-10-08 16:41:29,975 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/0137a930-62bc-45d3-a272-6c6df60e573c 2025-10-08 16:41:30,013 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5d13a935-4772-4cf3-9893-b0ab1ac9cb34 2025-10-08 16:41:33,173 - 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 1003ms') 2025-10-08 16:41:33,173 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53012010 failed! 2025-10-08 16:41:33,190 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00531124:ctest-vn1-60256751 is 191.179.243.129 and allocation pool is NOT set 2025-10-08 16:41:33,191 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-00531124:ctest-vn1-60256751 is 38.137.83.65 and allocation pool is NOT set 2025-10-08 16:41:35,253 - 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.16 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.524 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.524/1.842/3.161/1.318 ms') 2025-10-08 16:41:35,253 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53012010 passed 2025-10-08 16:41:35,322 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:35,322 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53012010, IP 191.179.243.133, Port 22 2025-10-08 16:41:35,496 - DEBUG - VM ctest-vn1-vm1-53012010 is ready for SSH connections 2025-10-08 16:41:35,496 - INFO - Waiting for VM ctest-vn1-vm2-58700632 to be up.. 2025-10-08 16:41:35,572 - DEBUG - VM is in ACTIVE state now 2025-10-08 16:41:35,572 - INFO - VM name : ctest-vn1-vm2-58700632 2025-10-08 16:41:35,651 - DEBUG - VM ctest-vn1-vm2-58700632 ID is 2cb52f37-ab68-4ffa-b640-4da367883638 2025-10-08 16:41:35,651 - DEBUG - VM ctest-vn1-vm2-58700632 launched on Node an-jenkins-deploy-platform-ansible-os-4239-2 2025-10-08 16:41:35,727 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/2cb52f37-ab68-4ffa-b640-4da367883638 2025-10-08 16:41:35,738 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/604c9b21-e5da-4fdd-8e3d-692b86f6e04d 2025-10-08 16:41:36,915 - 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.45 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.88 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.883/3.664/5.446/1.781 ms') 2025-10-08 16:41:36,915 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-58700632 passed 2025-10-08 16:41:36,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:36,991 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58700632, IP 38.137.83.69, Port 22 2025-10-08 16:41:37,059 - 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-08 16:41:37,147 - DEBUG - VM ctest-vn1-vm2-58700632 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-08 16:41:42,148 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:42,148 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-58700632, IP 38.137.83.69, Port 22 2025-10-08 16:41:42,305 - DEBUG - VM ctest-vn1-vm2-58700632 is ready for SSH connections 2025-10-08 16:41:42,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:42,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:42,305 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 16:41:42,305 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.179.243.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-10-08 16:41:42,305 - DEBUG - ping -s 56 -c 3 -W 1 191.179.243.133 2025-10-08 16:41:45,316 - DEBUG - PING 191.179.243.133 (191.179.243.133): 56 data bytes 64 bytes from 191.179.243.133: seq=0 ttl=63 time=6.160 ms 64 bytes from 191.179.243.133: seq=1 ttl=63 time=1.583 ms 64 bytes from 191.179.243.133: seq=2 ttl=63 time=1.713 ms --- 191.179.243.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.583/3.152/6.160 ms 2025-10-08 16:41:45,316 - INFO - Ping to IP 191.179.243.133 from VM ctest-vn1-vm2-58700632 passed 2025-10-08 16:41:45,316 - INFO - Detaching port 604c9b21-e5da-4fdd-8e3d-692b86f6e04d from VM ctest-vn1-vm2-58700632 2025-10-08 16:41:45,363 - INFO - Deleting VM ctest-vn1-vm2-58700632 2025-10-08 16:41:45,428 - INFO - Detaching port 5d13a935-4772-4cf3-9893-b0ab1ac9cb34 from VM ctest-vn1-vm1-53012010 2025-10-08 16:41:45,458 - INFO - Deleting VM ctest-vn1-vm1-53012010 2025-10-08 16:41:45,806 - DEBUG - Response for delete_port : () 2025-10-08 16:41:46,056 - DEBUG - Response for delete_port : () 2025-10-08 16:41:46,056 - INFO - Deleting VN ctest-vn1-60256751 2025-10-08 16:41:46,275 - DEBUG - Response for deleting network () 2025-10-08 16:41:47,600 - DEBUG - No XMPP flaps were noticed during the test
2025-10-08 16:41:47,600 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-08 16:41:47,600 - INFO - -------------------------------------------------------------------------------- 2025-10-08 16:41:48,303 - INFO - Deleted project: ctest-TestPorts-00531124, ID : 57891250-2e9f-4ea2-876f-37c089166bf4