2025-10-06 15:53:19,233 - INFO - Domain Default found not creating 2025-10-06 15:53:19,354 - INFO - Project ctest-TestPorts-64659582 not found, creating it 2025-10-06 15:53:19,823 - INFO - Created Project:ctest-TestPorts-64659582, ID : a04de02c-c33c-4b71-b8ce-2919f462a139 2025-10-06 15:53:21,146 - INFO - ================================================================================ 2025-10-06 15:53:21,146 - INFO - STARTING TEST : test_ports_bindings 2025-10-06 15:53:21,146 - 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-06 15:53:21,401 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 15:53:21,401 - INFO - Initial checks done. Running the testcase now 2025-10-06 15:53:21,401 - INFO - 2025-10-06 15:53:21,918 - DEBUG - Response for create_network : {'network': {'id': '14112fbc-9ea2-43d4-b966-8d16b1f636fc', 'name': 'ctest-vn-07178290', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'project_id': 'a04de02cc33c4b71b8ce2919f462a139', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64659582', 'ctest-vn-07178290'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:53:22,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b97a667-e6a8-4ba4-bda0-80c4ba696c32', 'name': '', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '14112fbc-9ea2-43d4-b966-8d16b1f636fc', 'ip_version': 4, 'cidr': '56.113.209.64/26', 'allocation_pools': [{'start': '56.113.209.66', 'end': '56.113.209.126'}], 'gateway_ip': '56.113.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.113.209.66', 'tags': [], 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:22,178 - INFO - Created VN ctest-vn-07178290 2025-10-06 15:53:22,229 - DEBUG - VN ctest-vn-07178290 UUID is 14112fbc-9ea2-43d4-b966-8d16b1f636fc 2025-10-06 15:53:22,327 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64659582', 'ctest-vmi-97733595']} 2025-10-06 15:53:22,585 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-97733595', 'id': 'bbb1c9d0-8ed9-4228-97d8-2a112a108ed7', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '14112fbc-9ea2-43d4-b966-8d16b1f636fc', 'mac_address': '02:bb:b1:c9:d0:8e', '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.113.209.67', 'subnet_id': '4b97a667-e6a8-4ba4-bda0-80c4ba696c32'}], 'security_groups': ['d1022a0b-1177-4c15-a77e-45d92bfc5e00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:22,585 - DEBUG - Created port bbb1c9d0-8ed9-4228-97d8-2a112a108ed7 2025-10-06 15:53:22,689 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bbb1c9d0-8ed9-4228-97d8-2a112a108ed7 2025-10-06 15:53:22,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bbb1c9d0-8ed9-4228-97d8-2a112a108ed7 2025-10-06 15:53:23,010 - INFO - VMI bbb1c9d0-8ed9-4228-97d8-2a112a108ed7 verification in API Server passed 2025-10-06 15:53:23,086 - DEBUG - Response for delete_port : () 2025-10-06 15:53:23,086 - INFO - Deleted port bbb1c9d0-8ed9-4228-97d8-2a112a108ed7 2025-10-06 15:53:23,086 - INFO - Deleting VN ctest-vn-07178290 2025-10-06 15:53:23,171 - DEBUG - Response for deleting network () 2025-10-06 15:53:23,421 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 15:53:23,421 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-06 15:53:23,421 - INFO - -------------------------------------------------------------------------------- 2025-10-06 15:53:23,423 - INFO - ================================================================================ 2025-10-06 15:53:23,423 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-06 15:53:23,423 - 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-06 15:53:23,706 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-10-06 15:53:23,706 - INFO - Initial checks done. Running the testcase now 2025-10-06 15:53:23,706 - INFO - 2025-10-06 15:53:23,875 - DEBUG - Response for create_network : {'network': {'id': '1b9eb0a4-5ad0-4e39-af56-06aea98acc0e', 'name': 'ctest-vn1-06327624', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'project_id': 'a04de02cc33c4b71b8ce2919f462a139', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64659582', 'ctest-vn1-06327624'], 'port_security_enabled': True, 'description': ''}} 2025-10-06 15:53:24,069 - DEBUG - Response for create_subnet : {'subnet': {'id': '59743b7e-52e1-4ac1-abd5-d53933de8ce8', 'name': '', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '1b9eb0a4-5ad0-4e39-af56-06aea98acc0e', 'ip_version': 4, 'cidr': '8.251.87.64/26', 'allocation_pools': [{'start': '8.251.87.66', 'end': '8.251.87.126'}], 'gateway_ip': '8.251.87.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '8.251.87.66', 'tags': [], 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:24,253 - DEBUG - Response for create_subnet : {'subnet': {'id': 'be0804da-9ade-4a56-90ba-cf4a739595be', 'name': '', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '1b9eb0a4-5ad0-4e39-af56-06aea98acc0e', 'ip_version': 4, 'cidr': '216.85.236.128/26', 'allocation_pools': [{'start': '216.85.236.130', 'end': '216.85.236.190'}], 'gateway_ip': '216.85.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.85.236.130', 'tags': [], 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:24,271 - INFO - Created VN ctest-vn1-06327624 2025-10-06 15:53:24,321 - DEBUG - VN ctest-vn1-06327624 UUID is 1b9eb0a4-5ad0-4e39-af56-06aea98acc0e 2025-10-06 15:53:24,589 - DEBUG - Response for create_port : {'port': {'name': 'a7fc4037-f816-4c07-8b33-4082869402b5', 'id': 'a7fc4037-f816-4c07-8b33-4082869402b5', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '1b9eb0a4-5ad0-4e39-af56-06aea98acc0e', 'mac_address': '02:a7:fc:40:37:f8', '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': '8.251.87.69', 'subnet_id': '59743b7e-52e1-4ac1-abd5-d53933de8ce8'}], 'security_groups': ['d1022a0b-1177-4c15-a77e-45d92bfc5e00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:24,746 - DEBUG - Response for create_port : {'port': {'name': 'b27e7894-3f99-45a0-8556-7d0d95235e53', 'id': 'b27e7894-3f99-45a0-8556-7d0d95235e53', 'tenant_id': 'a04de02cc33c4b71b8ce2919f462a139', 'network_id': '1b9eb0a4-5ad0-4e39-af56-06aea98acc0e', 'mac_address': '02:b2:7e:78:94:3f', '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': '216.85.236.133', 'subnet_id': 'be0804da-9ade-4a56-90ba-cf4a739595be'}], 'security_groups': ['d1022a0b-1177-4c15-a77e-45d92bfc5e00'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'a04de02cc33c4b71b8ce2919f462a139'}} 2025-10-06 15:53:24,799 - DEBUG - Services list from nova: [, , ] 2025-10-06 15:53:25,080 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1) 2025-10-06 15:53:25,431 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1) 2025-10-06 15:53:25,431 - INFO - Waiting for VM ctest-vn1-vm1-57813955 to be up.. 2025-10-06 15:53:25,468 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-06 15:53:30,533 - DEBUG - VM is in ACTIVE state now 2025-10-06 15:53:30,534 - INFO - VM name : ctest-vn1-vm1-57813955 2025-10-06 15:53:30,598 - DEBUG - VM ctest-vn1-vm1-57813955 ID is 42f39719-3a01-41d3-a9e6-c36edc77c8d8 2025-10-06 15:53:30,615 - DEBUG - VM ctest-vn1-vm1-57813955 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1 2025-10-06 15:53:30,796 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/42f39719-3a01-41d3-a9e6-c36edc77c8d8 2025-10-06 15:53:30,804 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/a7fc4037-f816-4c07-8b33-4082869402b5 2025-10-06 15:53:34,038 - 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-06 15:53:34,038 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57813955 failed! 2025-10-06 15:53:34,093 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64659582:ctest-vn1-06327624 is 8.251.87.65 and allocation pool is NOT set 2025-10-06 15:53:34,093 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64659582:ctest-vn1-06327624 is 216.85.236.129 and allocation pool is NOT set 2025-10-06 15:53:36,153 - 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.09 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.689 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.689/1.889/3.090/1.200 ms') 2025-10-06 15:53:36,153 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57813955 passed 2025-10-06 15:53:36,301 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:53:36,301 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57813955, IP 8.251.87.69, Port 22 2025-10-06 15:53:36,456 - DEBUG - VM ctest-vn1-vm1-57813955 is ready for SSH connections 2025-10-06 15:53:36,456 - INFO - Waiting for VM ctest-vn1-vm2-45048800 to be up.. 2025-10-06 15:53:36,525 - DEBUG - VM is in ACTIVE state now 2025-10-06 15:53:36,525 - INFO - VM name : ctest-vn1-vm2-45048800 2025-10-06 15:53:36,592 - DEBUG - VM ctest-vn1-vm2-45048800 ID is 71bc16ed-70e8-429b-9f0b-df1952e25bd2 2025-10-06 15:53:36,592 - DEBUG - VM ctest-vn1-vm2-45048800 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1 2025-10-06 15:53:36,653 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/71bc16ed-70e8-429b-9f0b-df1952e25bd2 2025-10-06 15:53:36,659 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b27e7894-3f99-45a0-8556-7d0d95235e53 2025-10-06 15:53:37,882 - 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=2.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.400 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.400/1.500/2.600/1.100 ms') 2025-10-06 15:53:37,882 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-45048800 passed 2025-10-06 15:53:38,033 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:53:38,033 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-45048800, IP 216.85.236.133, Port 22 2025-10-06 15:53:38,188 - DEBUG - VM ctest-vn1-vm2-45048800 is ready for SSH connections 2025-10-06 15:53:38,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:53:38,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:53:38,188 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-06 15:53:38,188 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 8.251.87.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-06 15:53:38,188 - DEBUG - ping -s 56 -c 3 -W 1 8.251.87.69 2025-10-06 15:53:41,098 - DEBUG - PING 8.251.87.69 (8.251.87.69): 56 data bytes 64 bytes from 8.251.87.69: seq=0 ttl=63 time=4.300 ms 64 bytes from 8.251.87.69: seq=1 ttl=63 time=0.925 ms 64 bytes from 8.251.87.69: seq=2 ttl=63 time=0.978 ms --- 8.251.87.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/2.067/4.300 ms 2025-10-06 15:53:41,098 - INFO - Ping to IP 8.251.87.69 from VM ctest-vn1-vm2-45048800 passed 2025-10-06 15:53:41,098 - INFO - Detaching port b27e7894-3f99-45a0-8556-7d0d95235e53 from VM ctest-vn1-vm2-45048800 2025-10-06 15:53:41,143 - INFO - Deleting VM ctest-vn1-vm2-45048800 2025-10-06 15:53:41,203 - INFO - Detaching port a7fc4037-f816-4c07-8b33-4082869402b5 from VM ctest-vn1-vm1-57813955 2025-10-06 15:53:41,231 - INFO - Deleting VM ctest-vn1-vm1-57813955 2025-10-06 15:53:41,423 - DEBUG - Response for delete_port : () 2025-10-06 15:53:41,571 - DEBUG - Response for delete_port : () 2025-10-06 15:53:41,571 - INFO - Deleting VN ctest-vn1-06327624 2025-10-06 15:53:41,683 - DEBUG - Response for deleting network () 2025-10-06 15:53:41,940 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 15:53:41,940 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18]
2025-10-06 15:53:41,940 - INFO - -------------------------------------------------------------------------------- 2025-10-06 15:53:42,586 - INFO - Deleted project: ctest-TestPorts-64659582, ID : a04de02c-c33c-4b71-b8ce-2919f462a139