2025-08-10 11:10:28,587 - INFO - Domain Default found not creating 2025-08-10 11:10:28,706 - INFO - Project ctest-TestPorts-75850015 not found, creating it 2025-08-10 11:10:29,221 - INFO - Created Project:ctest-TestPorts-75850015, ID : 00a236ef-f50b-4161-be07-76914cc509d3 2025-08-10 11:10:30,510 - INFO - ================================================================================ 2025-08-10 11:10:30,510 - INFO - STARTING TEST : test_ports_bindings 2025-08-10 11:10:30,511 - 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-08-10 11:10:31,758 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.56': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2025-08-10 11:10:31,758 - INFO - Initial checks done. Running the testcase now 2025-08-10 11:10:31,758 - INFO - 2025-08-10 11:10:32,356 - DEBUG - Response for create_network : {'network': {'id': '3aefaa29-9778-41ee-af85-f01d956d98d2', 'name': 'ctest-vn-00971318', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'project_id': '00a236eff50b4161be0776914cc509d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75850015', 'ctest-vn-00971318'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 11:10:32,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '7846b1cd-ba18-4dca-ba82-0c2b9eac5556', 'name': '', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '3aefaa29-9778-41ee-af85-f01d956d98d2', 'ip_version': 4, 'cidr': '161.180.207.128/26', 'allocation_pools': [{'start': '161.180.207.130', 'end': '161.180.207.190'}], 'gateway_ip': '161.180.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '161.180.207.130', 'tags': [], 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:32,641 - INFO - Created VN ctest-vn-00971318 2025-08-10 11:10:32,651 - DEBUG - VN ctest-vn-00971318 UUID is 3aefaa29-9778-41ee-af85-f01d956d98d2 2025-08-10 11:10:32,706 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-75850015', 'ctest-vmi-51233104']} 2025-08-10 11:10:32,996 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-51233104', 'id': '0adfcafc-14bd-475d-814b-87fae1877eef', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '3aefaa29-9778-41ee-af85-f01d956d98d2', 'mac_address': '02:0a:df:ca:fc:14', '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': '161.180.207.131', 'subnet_id': '7846b1cd-ba18-4dca-ba82-0c2b9eac5556'}], 'security_groups': ['872fcbb5-8afd-4051-89bd-02449f331faa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:32,997 - DEBUG - Created port 0adfcafc-14bd-475d-814b-87fae1877eef 2025-08-10 11:10:33,061 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0adfcafc-14bd-475d-814b-87fae1877eef 2025-08-10 11:10:33,347 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/0adfcafc-14bd-475d-814b-87fae1877eef 2025-08-10 11:10:33,375 - INFO - VMI 0adfcafc-14bd-475d-814b-87fae1877eef verification in API Server passed 2025-08-10 11:10:33,502 - DEBUG - Response for delete_port : () 2025-08-10 11:10:33,502 - INFO - Deleted port 0adfcafc-14bd-475d-814b-87fae1877eef 2025-08-10 11:10:33,502 - INFO - Deleting VN ctest-vn-00971318 2025-08-10 11:10:33,629 - DEBUG - Response for deleting network () 2025-08-10 11:10:34,861 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 11:10:34,861 - INFO - END TEST : test_ports_bindings : PASSED[0:00:04]
2025-08-10 11:10:34,861 - INFO - -------------------------------------------------------------------------------- 2025-08-10 11:10:34,863 - INFO - ================================================================================ 2025-08-10 11:10:34,863 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-10 11:10:34,863 - 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-08-10 11:10:36,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.14': '0', '10.20.0.25': '0'}, '10.0.0.56': {'10.20.0.14': '0', '10.20.0.25': '0'}} with 2025-08-10 11:10:36,113 - INFO - Initial checks done. Running the testcase now 2025-08-10 11:10:36,113 - INFO - 2025-08-10 11:10:36,356 - DEBUG - Response for create_network : {'network': {'id': '66b10bc5-5cc8-4b76-8413-ee9e1dfe1716', 'name': 'ctest-vn1-35955653', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'project_id': '00a236eff50b4161be0776914cc509d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-75850015', 'ctest-vn1-35955653'], 'port_security_enabled': True, 'description': ''}} 2025-08-10 11:10:36,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '90020b91-4a02-4cd2-8e58-a19092a71ad1', 'name': '', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '66b10bc5-5cc8-4b76-8413-ee9e1dfe1716', 'ip_version': 4, 'cidr': '82.136.138.128/26', 'allocation_pools': [{'start': '82.136.138.130', 'end': '82.136.138.190'}], 'gateway_ip': '82.136.138.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.136.138.130', 'tags': [], 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:36,801 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f160bf8b-2b1b-4595-b0f5-ffd1190bf67a', 'name': '', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '66b10bc5-5cc8-4b76-8413-ee9e1dfe1716', 'ip_version': 4, 'cidr': '151.164.63.128/26', 'allocation_pools': [{'start': '151.164.63.130', 'end': '151.164.63.190'}], 'gateway_ip': '151.164.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '151.164.63.130', 'tags': [], 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:36,822 - INFO - Created VN ctest-vn1-35955653 2025-08-10 11:10:36,833 - DEBUG - VN ctest-vn1-35955653 UUID is 66b10bc5-5cc8-4b76-8413-ee9e1dfe1716 2025-08-10 11:10:37,133 - DEBUG - Response for create_port : {'port': {'name': '7799136b-0fc3-425a-8ee3-5ebc2fe34acd', 'id': '7799136b-0fc3-425a-8ee3-5ebc2fe34acd', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '66b10bc5-5cc8-4b76-8413-ee9e1dfe1716', 'mac_address': '02:77:99:13:6b:0f', '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': '82.136.138.133', 'subnet_id': '90020b91-4a02-4cd2-8e58-a19092a71ad1'}], 'security_groups': ['872fcbb5-8afd-4051-89bd-02449f331faa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:37,364 - DEBUG - Response for create_port : {'port': {'name': '6b684aab-aa8a-4950-9c9f-bc71ac21eea4', 'id': '6b684aab-aa8a-4950-9c9f-bc71ac21eea4', 'tenant_id': '00a236eff50b4161be0776914cc509d3', 'network_id': '66b10bc5-5cc8-4b76-8413-ee9e1dfe1716', 'mac_address': '02:6b:68:4a:ab:aa', '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': '151.164.63.133', 'subnet_id': 'f160bf8b-2b1b-4595-b0f5-ffd1190bf67a'}], 'security_groups': ['872fcbb5-8afd-4051-89bd-02449f331faa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '00a236eff50b4161be0776914cc509d3'}} 2025-08-10 11:10:37,424 - DEBUG - Services list from nova: [, , , ] 2025-08-10 11:10:37,808 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-1) 2025-08-10 11:10:38,327 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3786-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3786-2) 2025-08-10 11:10:38,327 - INFO - Waiting for VM ctest-vn1-vm1-11157056 to be up.. 2025-08-10 11:10:38,367 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-10 11:10:43,433 - DEBUG - VM is in ACTIVE state now 2025-08-10 11:10:43,433 - INFO - VM name : ctest-vn1-vm1-11157056 2025-08-10 11:10:43,503 - DEBUG - VM ctest-vn1-vm1-11157056 ID is b8b783f1-e6a4-4285-9b4d-4c72a1600a3a 2025-08-10 11:10:43,530 - DEBUG - VM ctest-vn1-vm1-11157056 launched on Node an-jenkins-deploy-platform-ansible-os-3786-1 2025-08-10 11:10:43,593 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b8b783f1-e6a4-4285-9b4d-4c72a1600a3a 2025-08-10 11:10:43,880 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/b8b783f1-e6a4-4285-9b4d-4c72a1600a3a 2025-08-10 11:10:43,907 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/7799136b-0fc3-425a-8ee3-5ebc2fe34acd 2025-08-10 11:10:47,133 - 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 1032ms') 2025-08-10 11:10:47,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11157056 failed! 2025-08-10 11:10:47,146 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75850015:ctest-vn1-35955653 is 82.136.138.129 and allocation pool is NOT set 2025-08-10 11:10:47,146 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-75850015:ctest-vn1-35955653 is 151.164.63.129 and allocation pool is NOT set 2025-08-10 11:10:49,208 - 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.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.713 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.713/2.161/3.609/1.448 ms') 2025-08-10 11:10:49,208 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-11157056 passed 2025-08-10 11:10:49,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:10:49,319 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-11157056, IP 82.136.138.133, Port 22 2025-08-10 11:10:49,472 - DEBUG - VM ctest-vn1-vm1-11157056 is ready for SSH connections 2025-08-10 11:10:49,472 - INFO - Waiting for VM ctest-vn1-vm2-01795671 to be up.. 2025-08-10 11:10:49,536 - DEBUG - VM is in ACTIVE state now 2025-08-10 11:10:49,537 - INFO - VM name : ctest-vn1-vm2-01795671 2025-08-10 11:10:49,594 - DEBUG - VM ctest-vn1-vm2-01795671 ID is a3e72448-484d-49ef-ae37-c329250ac174 2025-08-10 11:10:49,595 - DEBUG - VM ctest-vn1-vm2-01795671 launched on Node an-jenkins-deploy-platform-ansible-os-3786-2 2025-08-10 11:10:49,655 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/a3e72448-484d-49ef-ae37-c329250ac174 2025-08-10 11:10:49,664 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/6b684aab-aa8a-4950-9c9f-bc71ac21eea4 2025-08-10 11:10:50,851 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.265 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.265/1.513/2.762/1.248 ms') 2025-08-10 11:10:50,851 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-01795671 passed 2025-08-10 11:10:50,958 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:10:50,958 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-01795671, IP 151.164.63.133, Port 22 2025-08-10 11:10:51,110 - DEBUG - VM ctest-vn1-vm2-01795671 is ready for SSH connections 2025-08-10 11:10:51,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:10:51,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:10:51,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-10 11:10:51,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 82.136.138.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.56, gateway password: c0ntrail123 2025-08-10 11:10:51,110 - DEBUG - ping -s 56 -c 3 -W 1 82.136.138.133 2025-08-10 11:10:53,929 - DEBUG - PING 82.136.138.133 (82.136.138.133): 56 data bytes 64 bytes from 82.136.138.133: seq=0 ttl=63 time=3.785 ms 64 bytes from 82.136.138.133: seq=1 ttl=63 time=0.816 ms 64 bytes from 82.136.138.133: seq=2 ttl=63 time=0.892 ms --- 82.136.138.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.831/3.785 ms 2025-08-10 11:10:53,929 - INFO - Ping to IP 82.136.138.133 from VM ctest-vn1-vm2-01795671 passed 2025-08-10 11:10:53,929 - INFO - Detaching port 6b684aab-aa8a-4950-9c9f-bc71ac21eea4 from VM ctest-vn1-vm2-01795671 2025-08-10 11:10:53,970 - INFO - Deleting VM ctest-vn1-vm2-01795671 2025-08-10 11:10:54,028 - INFO - Detaching port 7799136b-0fc3-425a-8ee3-5ebc2fe34acd from VM ctest-vn1-vm1-11157056 2025-08-10 11:10:54,053 - INFO - Deleting VM ctest-vn1-vm1-11157056 2025-08-10 11:10:54,317 - DEBUG - Response for delete_port : () 2025-08-10 11:10:54,511 - DEBUG - Response for delete_port : () 2025-08-10 11:10:54,512 - INFO - Deleting VN ctest-vn1-35955653 2025-08-10 11:10:54,665 - DEBUG - Response for deleting network () 2025-08-10 11:10:55,922 - DEBUG - No XMPP flaps were noticed during the test
2025-08-10 11:10:55,922 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-08-10 11:10:55,922 - INFO - -------------------------------------------------------------------------------- 2025-08-10 11:10:56,633 - INFO - Deleted project: ctest-TestPorts-75850015, ID : 00a236ef-f50b-4161-be07-76914cc509d3