2025-07-23 15:54:30,957 - INFO - Domain Default found not creating 2025-07-23 15:54:31,120 - INFO - Project ctest-TestPorts-64891755 not found, creating it 2025-07-23 15:54:31,629 - INFO - Created Project:ctest-TestPorts-64891755, ID : 8ff884ac-1d9d-484a-9773-31a535207cca 2025-07-23 15:54:33,095 - INFO - ================================================================================ 2025-07-23 15:54:33,095 - INFO - STARTING TEST : test_ports_bindings 2025-07-23 15:54:33,095 - 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-07-23 15:54:33,349 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-07-23 15:54:33,349 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:54:33,349 - INFO - 2025-07-23 15:54:33,909 - DEBUG - Response for create_network : {'network': {'id': '9afbcc30-fadf-43d7-85f5-b37cb07f87f7', 'name': 'ctest-vn-99441256', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'project_id': '8ff884ac1d9d484a977331a535207cca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64891755', 'ctest-vn-99441256'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:54:34,125 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8abee9b-43e4-498c-a1b8-4b38009f2c6e', 'name': '', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '9afbcc30-fadf-43d7-85f5-b37cb07f87f7', 'ip_version': 4, 'cidr': '166.3.231.128/26', 'allocation_pools': [{'start': '166.3.231.130', 'end': '166.3.231.190'}], 'gateway_ip': '166.3.231.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '166.3.231.130', 'tags': [], 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:34,144 - INFO - Created VN ctest-vn-99441256 2025-07-23 15:54:34,199 - DEBUG - VN ctest-vn-99441256 UUID is 9afbcc30-fadf-43d7-85f5-b37cb07f87f7 2025-07-23 15:54:34,315 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-64891755', 'ctest-vmi-14598796']} 2025-07-23 15:54:34,566 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-14598796', 'id': '5390a858-0b51-4495-94d2-76f5e1556ff2', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '9afbcc30-fadf-43d7-85f5-b37cb07f87f7', 'mac_address': '02:53:90:a8:58:0b', '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': '166.3.231.131', 'subnet_id': 'd8abee9b-43e4-498c-a1b8-4b38009f2c6e'}], 'security_groups': ['08b61a44-179f-463c-9d21-8e4ecd9266f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:34,566 - DEBUG - Created port 5390a858-0b51-4495-94d2-76f5e1556ff2 2025-07-23 15:54:34,679 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5390a858-0b51-4495-94d2-76f5e1556ff2 2025-07-23 15:54:34,991 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/5390a858-0b51-4495-94d2-76f5e1556ff2 2025-07-23 15:54:35,027 - INFO - VMI 5390a858-0b51-4495-94d2-76f5e1556ff2 verification in API Server passed 2025-07-23 15:54:35,141 - DEBUG - Response for delete_port : () 2025-07-23 15:54:35,141 - INFO - Deleted port 5390a858-0b51-4495-94d2-76f5e1556ff2 2025-07-23 15:54:35,142 - INFO - Deleting VN ctest-vn-99441256 2025-07-23 15:54:35,265 - DEBUG - Response for deleting network () 2025-07-23 15:54:35,520 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:54:35,520 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-07-23 15:54:35,520 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:54:35,523 - INFO - ================================================================================ 2025-07-23 15:54:35,523 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-07-23 15:54:35,523 - 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-07-23 15:54:35,809 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0'}} with 2025-07-23 15:54:35,809 - INFO - Initial checks done. Running the testcase now 2025-07-23 15:54:35,809 - INFO - 2025-07-23 15:54:35,989 - DEBUG - Response for create_network : {'network': {'id': '016e946d-8f5c-48cc-9819-e3b1f287356d', 'name': 'ctest-vn1-26971295', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'project_id': '8ff884ac1d9d484a977331a535207cca', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-64891755', 'ctest-vn1-26971295'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 15:54:36,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '64f67662-4c8c-4eed-a2f2-1d588ac7bdc4', 'name': '', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '016e946d-8f5c-48cc-9819-e3b1f287356d', 'ip_version': 4, 'cidr': '184.147.150.64/26', 'allocation_pools': [{'start': '184.147.150.66', 'end': '184.147.150.126'}], 'gateway_ip': '184.147.150.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.147.150.66', 'tags': [], 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:36,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '550ad69b-456e-4869-8a32-3f187bceed61', 'name': '', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '016e946d-8f5c-48cc-9819-e3b1f287356d', 'ip_version': 4, 'cidr': '31.1.47.192/26', 'allocation_pools': [{'start': '31.1.47.194', 'end': '31.1.47.254'}], 'gateway_ip': '31.1.47.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.47.194', 'tags': [], 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:36,335 - INFO - Created VN ctest-vn1-26971295 2025-07-23 15:54:36,387 - DEBUG - VN ctest-vn1-26971295 UUID is 016e946d-8f5c-48cc-9819-e3b1f287356d 2025-07-23 15:54:36,704 - DEBUG - Response for create_port : {'port': {'name': '26f61fd6-1189-40d2-aba4-99d207034497', 'id': '26f61fd6-1189-40d2-aba4-99d207034497', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '016e946d-8f5c-48cc-9819-e3b1f287356d', 'mac_address': '02:26:f6:1f:d6:11', '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': '184.147.150.69', 'subnet_id': '64f67662-4c8c-4eed-a2f2-1d588ac7bdc4'}], 'security_groups': ['08b61a44-179f-463c-9d21-8e4ecd9266f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:36,892 - DEBUG - Response for create_port : {'port': {'name': 'cedf6004-82b9-4423-abee-fc928118c5b7', 'id': 'cedf6004-82b9-4423-abee-fc928118c5b7', 'tenant_id': '8ff884ac1d9d484a977331a535207cca', 'network_id': '016e946d-8f5c-48cc-9819-e3b1f287356d', 'mac_address': '02:ce:df:60:04:82', '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': '31.1.47.197', 'subnet_id': '550ad69b-456e-4869-8a32-3f187bceed61'}], 'security_groups': ['08b61a44-179f-463c-9d21-8e4ecd9266f4'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8ff884ac1d9d484a977331a535207cca'}} 2025-07-23 15:54:36,957 - DEBUG - Services list from nova: [, , ] 2025-07-23 15:54:37,302 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:54:37,715 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3706-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3706-1) 2025-07-23 15:54:37,715 - INFO - Waiting for VM ctest-vn1-vm1-87813985 to be up.. 2025-07-23 15:54:37,761 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 15:54:42,850 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:54:42,850 - INFO - VM name : ctest-vn1-vm1-87813985 2025-07-23 15:54:42,938 - DEBUG - VM ctest-vn1-vm1-87813985 ID is 6b7638fd-c208-42cf-9261-bed7142d31d1 2025-07-23 15:54:42,961 - DEBUG - VM ctest-vn1-vm1-87813985 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:54:43,046 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/6b7638fd-c208-42cf-9261-bed7142d31d1 2025-07-23 15:54:43,057 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/26f61fd6-1189-40d2-aba4-99d207034497 2025-07-23 15:54:46,321 - 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 1015ms') 2025-07-23 15:54:46,321 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87813985 failed! 2025-07-23 15:54:46,379 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64891755:ctest-vn1-26971295 is 184.147.150.65 and allocation pool is NOT set 2025-07-23 15:54:46,379 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-64891755:ctest-vn1-26971295 is 31.1.47.193 and allocation pool is NOT set 2025-07-23 15:54:48,440 - 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=13.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.941 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.941/7.334/13.727/6.393 ms') 2025-07-23 15:54:48,440 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-87813985 passed 2025-07-23 15:54:48,591 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:48,591 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87813985, IP 184.147.150.69, Port 22 2025-07-23 15:54:48,657 - 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-07-23 15:54:48,735 - DEBUG - VM ctest-vn1-vm1-87813985 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-23 15:54:53,736 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:53,736 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-87813985, IP 184.147.150.69, Port 22 2025-07-23 15:54:53,895 - DEBUG - VM ctest-vn1-vm1-87813985 is ready for SSH connections 2025-07-23 15:54:53,895 - INFO - Waiting for VM ctest-vn1-vm2-29217372 to be up.. 2025-07-23 15:54:53,966 - DEBUG - VM is in ACTIVE state now 2025-07-23 15:54:53,966 - INFO - VM name : ctest-vn1-vm2-29217372 2025-07-23 15:54:54,039 - DEBUG - VM ctest-vn1-vm2-29217372 ID is 45d7ba66-9d74-4e70-b692-423a5f2bd6f2 2025-07-23 15:54:54,039 - DEBUG - VM ctest-vn1-vm2-29217372 launched on Node cn-jenkins-deploy-platform-ansible-os-3706-1 2025-07-23 15:54:54,114 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/45d7ba66-9d74-4e70-b692-423a5f2bd6f2 2025-07-23 15:54:54,123 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/cedf6004-82b9-4423-abee-fc928118c5b7 2025-07-23 15:54:55,371 - 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.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.377 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.377/1.990/3.603/1.613 ms') 2025-07-23 15:54:55,371 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-29217372 passed 2025-07-23 15:54:55,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:55,527 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-29217372, IP 31.1.47.197, Port 22 2025-07-23 15:54:55,682 - DEBUG - VM ctest-vn1-vm2-29217372 is ready for SSH connections 2025-07-23 15:54:55,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:55,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:55,683 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 15:54:55,683 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 184.147.150.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-07-23 15:54:55,683 - DEBUG - ping -s 56 -c 3 -W 1 184.147.150.69 2025-07-23 15:54:58,400 - DEBUG - PING 184.147.150.69 (184.147.150.69): 56 data bytes 64 bytes from 184.147.150.69: seq=0 ttl=63 time=3.827 ms 64 bytes from 184.147.150.69: seq=1 ttl=63 time=0.908 ms 64 bytes from 184.147.150.69: seq=2 ttl=63 time=1.091 ms --- 184.147.150.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.908/1.942/3.827 ms 2025-07-23 15:54:58,400 - INFO - Ping to IP 184.147.150.69 from VM ctest-vn1-vm2-29217372 passed 2025-07-23 15:54:58,400 - INFO - Detaching port cedf6004-82b9-4423-abee-fc928118c5b7 from VM ctest-vn1-vm2-29217372 2025-07-23 15:54:58,452 - INFO - Deleting VM ctest-vn1-vm2-29217372 2025-07-23 15:54:58,536 - INFO - Detaching port 26f61fd6-1189-40d2-aba4-99d207034497 from VM ctest-vn1-vm1-87813985 2025-07-23 15:54:58,577 - INFO - Deleting VM ctest-vn1-vm1-87813985 2025-07-23 15:54:58,810 - DEBUG - Response for delete_port : () 2025-07-23 15:54:59,003 - DEBUG - Response for delete_port : () 2025-07-23 15:54:59,003 - INFO - Deleting VN ctest-vn1-26971295 2025-07-23 15:54:59,212 - DEBUG - Response for deleting network () 2025-07-23 15:54:59,481 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 15:54:59,481 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-07-23 15:54:59,481 - INFO - -------------------------------------------------------------------------------- 2025-07-23 15:55:00,192 - INFO - Deleted project: ctest-TestPorts-64891755, ID : 8ff884ac-1d9d-484a-9773-31a535207cca