2025-10-08 22:10:04,771 - INFO - Domain Default found not creating 2025-10-08 22:10:04,910 - INFO - Project ctest-TestPorts-94828941 not found, creating it 2025-10-08 22:10:05,344 - INFO - Created Project:ctest-TestPorts-94828941, ID : 300dbfc0-6253-4b8f-9ae1-f054b0a0a466 2025-10-08 22:10:06,770 - INFO - ================================================================================ 2025-10-08 22:10:06,771 - INFO - STARTING TEST : test_ports_bindings 2025-10-08 22:10:06,771 - 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 22:10:07,029 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-08 22:10:07,029 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:10:07,029 - INFO - 2025-10-08 22:10:07,579 - DEBUG - Response for create_network : {'network': {'id': '6855002b-0982-48db-8415-e40b05374523', 'name': 'ctest-vn-73930434', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'project_id': '300dbfc062534b8f9ae1f054b0a0a466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94828941', 'ctest-vn-73930434'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:10:07,790 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f936157e-41e4-47c8-8173-1ae3b65907b1', 'name': '', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': '6855002b-0982-48db-8415-e40b05374523', 'ip_version': 4, 'cidr': '57.226.216.64/26', 'allocation_pools': [{'start': '57.226.216.66', 'end': '57.226.216.126'}], 'gateway_ip': '57.226.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.226.216.66', 'tags': [], 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:07,809 - INFO - Created VN ctest-vn-73930434 2025-10-08 22:10:07,860 - DEBUG - VN ctest-vn-73930434 UUID is 6855002b-0982-48db-8415-e40b05374523 2025-10-08 22:10:07,965 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-94828941', 'ctest-vmi-62590791']} 2025-10-08 22:10:08,274 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-62590791', 'id': 'd0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': '6855002b-0982-48db-8415-e40b05374523', 'mac_address': '02:d0:ae:d8:e8:1a', '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': '57.226.216.67', 'subnet_id': 'f936157e-41e4-47c8-8173-1ae3b65907b1'}], 'security_groups': ['dde63035-b213-4f18-afa7-8eb89e6bd04a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:08,274 - DEBUG - Created port d0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8 2025-10-08 22:10:08,380 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8 2025-10-08 22:10:08,680 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/d0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8 2025-10-08 22:10:08,712 - INFO - VMI d0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8 verification in API Server passed 2025-10-08 22:10:08,799 - DEBUG - Response for delete_port : () 2025-10-08 22:10:08,799 - INFO - Deleted port d0aed8e8-1a52-4e6b-9a29-958c2d4bc7b8 2025-10-08 22:10:08,799 - INFO - Deleting VN ctest-vn-73930434 2025-10-08 22:10:08,900 - DEBUG - Response for deleting network () 2025-10-08 22:10:09,157 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 22:10:09,157 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-10-08 22:10:09,157 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:10:09,160 - INFO - ================================================================================ 2025-10-08 22:10:09,160 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-08 22:10:09,160 - 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 22:10:09,449 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with 2025-10-08 22:10:09,449 - INFO - Initial checks done. Running the testcase now 2025-10-08 22:10:09,449 - INFO - 2025-10-08 22:10:09,628 - DEBUG - Response for create_network : {'network': {'id': 'aadb725c-1e32-4f26-9717-07c6603d85ed', 'name': 'ctest-vn1-96943265', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'project_id': '300dbfc062534b8f9ae1f054b0a0a466', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-94828941', 'ctest-vn1-96943265'], 'port_security_enabled': True, 'description': ''}} 2025-10-08 22:10:09,807 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb0080fd-afc9-4b70-87eb-5542ec0f98d0', 'name': '', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': 'aadb725c-1e32-4f26-9717-07c6603d85ed', 'ip_version': 4, 'cidr': '147.225.117.64/26', 'allocation_pools': [{'start': '147.225.117.66', 'end': '147.225.117.126'}], 'gateway_ip': '147.225.117.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.225.117.66', 'tags': [], 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:09,984 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ffc25494-e50f-4183-b18e-b1c0abd209d0', 'name': '', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': 'aadb725c-1e32-4f26-9717-07c6603d85ed', 'ip_version': 4, 'cidr': '93.95.51.192/26', 'allocation_pools': [{'start': '93.95.51.194', 'end': '93.95.51.254'}], 'gateway_ip': '93.95.51.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.95.51.194', 'tags': [], 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:10,003 - INFO - Created VN ctest-vn1-96943265 2025-10-08 22:10:10,056 - DEBUG - VN ctest-vn1-96943265 UUID is aadb725c-1e32-4f26-9717-07c6603d85ed 2025-10-08 22:10:10,358 - DEBUG - Response for create_port : {'port': {'name': '225fb3c2-a895-4965-8206-475206d9b009', 'id': '225fb3c2-a895-4965-8206-475206d9b009', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': 'aadb725c-1e32-4f26-9717-07c6603d85ed', 'mac_address': '02:22:5f:b3:c2:a8', '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': '147.225.117.69', 'subnet_id': 'fb0080fd-afc9-4b70-87eb-5542ec0f98d0'}], 'security_groups': ['dde63035-b213-4f18-afa7-8eb89e6bd04a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:10,516 - DEBUG - Response for create_port : {'port': {'name': 'c607444a-653f-4758-a861-4dc0e66d4b04', 'id': 'c607444a-653f-4758-a861-4dc0e66d4b04', 'tenant_id': '300dbfc062534b8f9ae1f054b0a0a466', 'network_id': 'aadb725c-1e32-4f26-9717-07c6603d85ed', 'mac_address': '02:c6:07:44:4a:65', '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': '93.95.51.197', 'subnet_id': 'ffc25494-e50f-4183-b18e-b1c0abd209d0'}], 'security_groups': ['dde63035-b213-4f18-afa7-8eb89e6bd04a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '300dbfc062534b8f9ae1f054b0a0a466'}} 2025-10-08 22:10:10,578 - DEBUG - Services list from nova: [, , ] 2025-10-08 22:10:10,910 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:10:11,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4246-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4246-1) 2025-10-08 22:10:11,320 - INFO - Waiting for VM ctest-vn1-vm1-96881050 to be up.. 2025-10-08 22:10:11,362 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-08 22:10:16,441 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:10:16,441 - INFO - VM name : ctest-vn1-vm1-96881050 2025-10-08 22:10:16,510 - DEBUG - VM ctest-vn1-vm1-96881050 ID is 777c9c80-07d4-4869-844d-f4e0d0f45abf 2025-10-08 22:10:16,528 - DEBUG - VM ctest-vn1-vm1-96881050 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:10:16,594 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/777c9c80-07d4-4869-844d-f4e0d0f45abf 2025-10-08 22:10:16,602 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/225fb3c2-a895-4965-8206-475206d9b009 2025-10-08 22:10:19,855 - 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 1007ms') 2025-10-08 22:10:19,855 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96881050 failed! 2025-10-08 22:10:19,908 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94828941:ctest-vn1-96943265 is 147.225.117.65 and allocation pool is NOT set 2025-10-08 22:10:19,909 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-94828941:ctest-vn1-96943265 is 93.95.51.193 and allocation pool is NOT set 2025-10-08 22:10:21,970 - 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=9.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.285 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.285/4.823/9.362/4.538 ms') 2025-10-08 22:10:21,970 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-96881050 passed 2025-10-08 22:10:22,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:10:22,116 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-96881050, IP 147.225.117.69, Port 22 2025-10-08 22:10:22,272 - DEBUG - VM ctest-vn1-vm1-96881050 is ready for SSH connections 2025-10-08 22:10:22,272 - INFO - Waiting for VM ctest-vn1-vm2-38637453 to be up.. 2025-10-08 22:10:22,352 - DEBUG - VM is in ACTIVE state now 2025-10-08 22:10:22,353 - INFO - VM name : ctest-vn1-vm2-38637453 2025-10-08 22:10:22,438 - DEBUG - VM ctest-vn1-vm2-38637453 ID is 96215cf8-d678-41c3-9874-dd45e0b79c1f 2025-10-08 22:10:22,438 - DEBUG - VM ctest-vn1-vm2-38637453 launched on Node cn-jenkins-deploy-platform-ansible-os-4246-1 2025-10-08 22:10:22,517 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine/96215cf8-d678-41c3-9874-dd45e0b79c1f 2025-10-08 22:10:22,526 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-machine-interface/c607444a-653f-4758-a861-4dc0e66d4b04 2025-10-08 22:10:23,767 - 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=3.53 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.946 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.946/2.237/3.529/1.291 ms') 2025-10-08 22:10:23,767 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-38637453 passed 2025-10-08 22:10:23,920 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:10:23,921 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-38637453, IP 93.95.51.197, Port 22 2025-10-08 22:10:24,075 - DEBUG - VM ctest-vn1-vm2-38637453 is ready for SSH connections 2025-10-08 22:10:24,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:10:24,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:10:24,076 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-08 22:10:24,076 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.225.117.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-08 22:10:24,076 - DEBUG - ping -s 56 -c 3 -W 1 147.225.117.69 2025-10-08 22:10:26,717 - DEBUG - PING 147.225.117.69 (147.225.117.69): 56 data bytes 64 bytes from 147.225.117.69: seq=0 ttl=63 time=4.455 ms 64 bytes from 147.225.117.69: seq=1 ttl=63 time=0.944 ms 64 bytes from 147.225.117.69: seq=2 ttl=63 time=1.061 ms --- 147.225.117.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.944/2.153/4.455 ms 2025-10-08 22:10:26,717 - INFO - Ping to IP 147.225.117.69 from VM ctest-vn1-vm2-38637453 passed 2025-10-08 22:10:26,717 - INFO - Detaching port c607444a-653f-4758-a861-4dc0e66d4b04 from VM ctest-vn1-vm2-38637453 2025-10-08 22:10:26,765 - INFO - Deleting VM ctest-vn1-vm2-38637453 2025-10-08 22:10:26,835 - INFO - Detaching port 225fb3c2-a895-4965-8206-475206d9b009 from VM ctest-vn1-vm1-96881050 2025-10-08 22:10:26,868 - INFO - Deleting VM ctest-vn1-vm1-96881050 2025-10-08 22:10:27,102 - DEBUG - Response for delete_port : () 2025-10-08 22:10:27,277 - DEBUG - Response for delete_port : () 2025-10-08 22:10:27,277 - INFO - Deleting VN ctest-vn1-96943265 2025-10-08 22:10:27,436 - DEBUG - Response for deleting network () 2025-10-08 22:10:27,701 - DEBUG - No XMPP flaps were noticed during the test 2025-10-08 22:10:27,701 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:18] 2025-10-08 22:10:27,701 - INFO - -------------------------------------------------------------------------------- 2025-10-08 22:10:28,371 - INFO - Deleted project: ctest-TestPorts-94828941, ID : 300dbfc0-6253-4b8f-9ae1-f054b0a0a466