2025-12-01 17:32:21,794 - INFO - Domain Default found not creating 2025-12-01 17:32:22,055 - INFO - Project ctest-TestPorts-70918697 not found, creating it 2025-12-01 17:32:22,879 - INFO - Created Project:ctest-TestPorts-70918697, ID : d22f2f78-96e3-4403-8a48-1697cbd67743 2025-12-01 17:32:24,835 - INFO - ================================================================================ 2025-12-01 17:32:24,835 - INFO - STARTING TEST : test_ports_bindings 2025-12-01 17:32:24,835 - 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-01 17:32:25,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-01 17:32:25,114 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:32:25,114 - INFO - 2025-12-01 17:32:25,825 - DEBUG - Response for create_network : {'network': {'id': '64ebcbdb-ce9b-4b4c-9dd4-9b917cdd6d87', 'name': 'ctest-vn-49696773', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'project_id': 'd22f2f7896e344038a481697cbd67743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70918697', 'ctest-vn-49696773'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:32:26,060 - DEBUG - Response for create_subnet : {'subnet': {'id': '71a7ebb5-d8fd-49aa-9d67-176d6e420777', 'name': '', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': '64ebcbdb-ce9b-4b4c-9dd4-9b917cdd6d87', 'ip_version': 4, 'cidr': '106.247.218.0/26', 'allocation_pools': [{'start': '106.247.218.2', 'end': '106.247.218.62'}], 'gateway_ip': '106.247.218.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.247.218.2', 'tags': [], 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:26,081 - INFO - Created VN ctest-vn-49696773 2025-12-01 17:32:26,135 - DEBUG - VN ctest-vn-49696773 UUID is 64ebcbdb-ce9b-4b4c-9dd4-9b917cdd6d87 2025-12-01 17:32:26,263 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-70918697', 'ctest-vmi-86701431']} 2025-12-01 17:32:26,535 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-86701431', 'id': '286d1150-39ae-4f69-8f16-101266f5e622', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': '64ebcbdb-ce9b-4b4c-9dd4-9b917cdd6d87', 'mac_address': '02:28:6d:11:50:39', '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': '106.247.218.3', 'subnet_id': '71a7ebb5-d8fd-49aa-9d67-176d6e420777'}], 'security_groups': ['84d5bf8f-1a3f-4900-ba17-536ad22d2670'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:26,535 - DEBUG - Created port 286d1150-39ae-4f69-8f16-101266f5e622 2025-12-01 17:32:26,647 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/286d1150-39ae-4f69-8f16-101266f5e622 2025-12-01 17:32:27,012 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/286d1150-39ae-4f69-8f16-101266f5e622 2025-12-01 17:32:27,056 - INFO - VMI 286d1150-39ae-4f69-8f16-101266f5e622 verification in API Server passed 2025-12-01 17:32:27,209 - DEBUG - Response for delete_port : () 2025-12-01 17:32:27,209 - INFO - Deleted port 286d1150-39ae-4f69-8f16-101266f5e622 2025-12-01 17:32:27,209 - INFO - Deleting VN ctest-vn-49696773 2025-12-01 17:32:27,355 - DEBUG - Response for deleting network () 2025-12-01 17:32:27,614 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 17:32:27,615 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-01 17:32:27,615 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:32:27,617 - INFO - ================================================================================ 2025-12-01 17:32:27,617 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-01 17:32:27,617 - 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-01 17:32:27,909 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.14': '0'}} with 2025-12-01 17:32:27,909 - INFO - Initial checks done. Running the testcase now 2025-12-01 17:32:27,909 - INFO - 2025-12-01 17:32:28,109 - DEBUG - Response for create_network : {'network': {'id': 'b8103f14-e018-4bc8-b5ee-1a3e1ac7df89', 'name': 'ctest-vn1-54298035', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'project_id': 'd22f2f7896e344038a481697cbd67743', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-70918697', 'ctest-vn1-54298035'], 'port_security_enabled': True, 'description': ''}} 2025-12-01 17:32:28,335 - DEBUG - Response for create_subnet : {'subnet': {'id': '59ed092f-a24a-447d-9cee-595d6e53a456', 'name': '', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': 'b8103f14-e018-4bc8-b5ee-1a3e1ac7df89', 'ip_version': 4, 'cidr': '25.110.83.0/26', 'allocation_pools': [{'start': '25.110.83.2', 'end': '25.110.83.62'}], 'gateway_ip': '25.110.83.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.110.83.2', 'tags': [], 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:28,566 - DEBUG - Response for create_subnet : {'subnet': {'id': '9112911a-c5f3-454a-84b1-ac08b15ebf81', 'name': '', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': 'b8103f14-e018-4bc8-b5ee-1a3e1ac7df89', 'ip_version': 4, 'cidr': '71.152.91.128/26', 'allocation_pools': [{'start': '71.152.91.130', 'end': '71.152.91.190'}], 'gateway_ip': '71.152.91.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.152.91.130', 'tags': [], 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:28,591 - INFO - Created VN ctest-vn1-54298035 2025-12-01 17:32:28,647 - DEBUG - VN ctest-vn1-54298035 UUID is b8103f14-e018-4bc8-b5ee-1a3e1ac7df89 2025-12-01 17:32:29,011 - DEBUG - Response for create_port : {'port': {'name': '731669fc-1cfc-4a0a-a45c-8d185788cc3f', 'id': '731669fc-1cfc-4a0a-a45c-8d185788cc3f', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': 'b8103f14-e018-4bc8-b5ee-1a3e1ac7df89', 'mac_address': '02:73:16:69:fc:1c', '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': '25.110.83.5', 'subnet_id': '59ed092f-a24a-447d-9cee-595d6e53a456'}], 'security_groups': ['84d5bf8f-1a3f-4900-ba17-536ad22d2670'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:29,230 - DEBUG - Response for create_port : {'port': {'name': '77b76ee5-2631-4e75-b15b-593106f80c5b', 'id': '77b76ee5-2631-4e75-b15b-593106f80c5b', 'tenant_id': 'd22f2f7896e344038a481697cbd67743', 'network_id': 'b8103f14-e018-4bc8-b5ee-1a3e1ac7df89', 'mac_address': '02:77:b7:6e:e5:26', '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': '71.152.91.133', 'subnet_id': '9112911a-c5f3-454a-84b1-ac08b15ebf81'}], 'security_groups': ['84d5bf8f-1a3f-4900-ba17-536ad22d2670'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd22f2f7896e344038a481697cbd67743'}} 2025-12-01 17:32:29,304 - DEBUG - Services list from nova: [, , ] 2025-12-01 17:32:29,713 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:32:30,218 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4831-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4831-1) 2025-12-01 17:32:30,219 - INFO - Waiting for VM ctest-vn1-vm1-09443251 to be up.. 2025-12-01 17:32:30,272 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-01 17:32:35,370 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:32:35,370 - INFO - VM name : ctest-vn1-vm1-09443251 2025-12-01 17:32:35,464 - DEBUG - VM ctest-vn1-vm1-09443251 ID is 4a84e04e-1ad5-4e26-ac9d-fe3212956d04 2025-12-01 17:32:35,487 - DEBUG - VM ctest-vn1-vm1-09443251 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:32:35,580 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/4a84e04e-1ad5-4e26-ac9d-fe3212956d04 2025-12-01 17:32:35,590 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/731669fc-1cfc-4a0a-a45c-8d185788cc3f 2025-12-01 17:32:38,865 - 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 1025ms') 2025-12-01 17:32:38,865 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09443251 failed! 2025-12-01 17:32:38,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70918697:ctest-vn1-54298035 is 25.110.83.1 and allocation pool is NOT set 2025-12-01 17:32:38,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70918697:ctest-vn1-54298035 is 71.152.91.129 and allocation pool is NOT set 2025-12-01 17:32:42,986 - 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 1004ms') 2025-12-01 17:32:42,987 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09443251 failed! 2025-12-01 17:32:43,043 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70918697:ctest-vn1-54298035 is 25.110.83.1 and allocation pool is NOT set 2025-12-01 17:32:43,043 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-70918697:ctest-vn1-54298035 is 71.152.91.129 and allocation pool is NOT set 2025-12-01 17:32:45,111 - 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.98 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 1.081/3.028/4.976/1.947 ms') 2025-12-01 17:32:45,111 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09443251 passed 2025-12-01 17:32:45,227 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:32:45,228 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09443251, IP 25.110.83.5, Port 22 2025-12-01 17:32:45,400 - DEBUG - VM ctest-vn1-vm1-09443251 is ready for SSH connections 2025-12-01 17:32:45,400 - INFO - Waiting for VM ctest-vn1-vm2-15956285 to be up.. 2025-12-01 17:32:45,506 - DEBUG - VM is in ACTIVE state now 2025-12-01 17:32:45,506 - INFO - VM name : ctest-vn1-vm2-15956285 2025-12-01 17:32:45,600 - DEBUG - VM ctest-vn1-vm2-15956285 ID is 5a33b751-f478-4702-841e-822ec35d803f 2025-12-01 17:32:45,600 - DEBUG - VM ctest-vn1-vm2-15956285 launched on Node cn-jenkins-deploy-platform-ansible-os-4831-1 2025-12-01 17:32:45,701 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/5a33b751-f478-4702-841e-822ec35d803f 2025-12-01 17:32:45,710 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/77b76ee5-2631-4e75-b15b-593106f80c5b 2025-12-01 17:32:46,974 - 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.27 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.479 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.479/2.375/4.271/1.896 ms') 2025-12-01 17:32:46,974 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15956285 passed 2025-12-01 17:32:47,131 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:32:47,131 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15956285, IP 71.152.91.133, Port 22 2025-12-01 17:32:47,288 - DEBUG - VM ctest-vn1-vm2-15956285 is ready for SSH connections 2025-12-01 17:32:47,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:32:47,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:32:47,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-01 17:32:47,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 25.110.83.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-12-01 17:32:47,288 - DEBUG - ping -s 56 -c 3 -W 1 25.110.83.5 2025-12-01 17:32:50,047 - DEBUG - PING 25.110.83.5 (25.110.83.5): 56 data bytes 64 bytes from 25.110.83.5: seq=0 ttl=63 time=4.541 ms 64 bytes from 25.110.83.5: seq=1 ttl=63 time=1.055 ms 64 bytes from 25.110.83.5: seq=2 ttl=63 time=1.182 ms --- 25.110.83.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.055/2.259/4.541 ms 2025-12-01 17:32:50,048 - INFO - Ping to IP 25.110.83.5 from VM ctest-vn1-vm2-15956285 passed 2025-12-01 17:32:50,048 - INFO - Detaching port 77b76ee5-2631-4e75-b15b-593106f80c5b from VM ctest-vn1-vm2-15956285 2025-12-01 17:32:50,108 - INFO - Deleting VM ctest-vn1-vm2-15956285 2025-12-01 17:32:50,198 - INFO - Detaching port 731669fc-1cfc-4a0a-a45c-8d185788cc3f from VM ctest-vn1-vm1-09443251 2025-12-01 17:32:50,237 - INFO - Deleting VM ctest-vn1-vm1-09443251 2025-12-01 17:32:50,527 - DEBUG - Response for delete_port : () 2025-12-01 17:32:50,689 - DEBUG - Response for delete_port : () 2025-12-01 17:32:50,689 - INFO - Deleting VN ctest-vn1-54298035 2025-12-01 17:32:50,868 - DEBUG - Response for deleting network () 2025-12-01 17:32:51,130 - DEBUG - No XMPP flaps were noticed during the test
2025-12-01 17:32:51,130 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-12-01 17:32:51,130 - INFO - -------------------------------------------------------------------------------- 2025-12-01 17:32:51,929 - INFO - Deleted project: ctest-TestPorts-70918697, ID : d22f2f78-96e3-4403-8a48-1697cbd67743