2025-08-11 20:40:39,357 - INFO - Domain Default found not creating 2025-08-11 20:40:39,479 - INFO - Project ctest-TestPorts-65019100 not found, creating it 2025-08-11 20:40:39,918 - INFO - Created Project:ctest-TestPorts-65019100, ID : 08d4352f-8fac-44d4-a379-ab52213f2972 2025-08-11 20:40:41,289 - INFO - ================================================================================ 2025-08-11 20:40:41,290 - INFO - STARTING TEST : test_ports_bindings 2025-08-11 20:40:41,290 - 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-11 20:40:41,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 20:40:41,551 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:40:41,552 - INFO - 2025-08-11 20:40:42,059 - DEBUG - Response for create_network : {'network': {'id': '7401947a-f998-4fb1-9d37-34555848efd3', 'name': 'ctest-vn-69040634', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'project_id': '08d4352f8fac44d4a379ab52213f2972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65019100', 'ctest-vn-69040634'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:40:42,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1a41b28-0f56-419c-bdf8-5c73381366a5', 'name': '', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '7401947a-f998-4fb1-9d37-34555848efd3', 'ip_version': 4, 'cidr': '98.42.233.192/26', 'allocation_pools': [{'start': '98.42.233.194', 'end': '98.42.233.254'}], 'gateway_ip': '98.42.233.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.42.233.194', 'tags': [], 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:42,247 - INFO - Created VN ctest-vn-69040634 2025-08-11 20:40:42,299 - DEBUG - VN ctest-vn-69040634 UUID is 7401947a-f998-4fb1-9d37-34555848efd3 2025-08-11 20:40:42,400 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65019100', 'ctest-vmi-95111304']} 2025-08-11 20:40:42,665 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-95111304', 'id': '219f3e95-faad-4dde-9871-e06f5711a5d8', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '7401947a-f998-4fb1-9d37-34555848efd3', 'mac_address': '02:21:9f:3e:95:fa', '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': '98.42.233.195', 'subnet_id': 'e1a41b28-0f56-419c-bdf8-5c73381366a5'}], 'security_groups': ['1c167b5f-be4b-430f-b61c-c4b170bdcf56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:42,666 - DEBUG - Created port 219f3e95-faad-4dde-9871-e06f5711a5d8 2025-08-11 20:40:42,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/219f3e95-faad-4dde-9871-e06f5711a5d8 2025-08-11 20:40:43,058 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/219f3e95-faad-4dde-9871-e06f5711a5d8 2025-08-11 20:40:43,087 - INFO - VMI 219f3e95-faad-4dde-9871-e06f5711a5d8 verification in API Server passed 2025-08-11 20:40:43,176 - DEBUG - Response for delete_port : () 2025-08-11 20:40:43,176 - INFO - Deleted port 219f3e95-faad-4dde-9871-e06f5711a5d8 2025-08-11 20:40:43,177 - INFO - Deleting VN ctest-vn-69040634 2025-08-11 20:40:43,264 - DEBUG - Response for deleting network () 2025-08-11 20:40:43,524 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:40:43,524 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-08-11 20:40:43,524 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:40:43,526 - INFO - ================================================================================ 2025-08-11 20:40:43,527 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-11 20:40:43,527 - 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-11 20:40:43,812 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 20:40:43,812 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:40:43,812 - INFO - 2025-08-11 20:40:43,977 - DEBUG - Response for create_network : {'network': {'id': '9fbe90e9-e4b7-421b-8a96-7c2212e254f9', 'name': 'ctest-vn1-01085074', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'project_id': '08d4352f8fac44d4a379ab52213f2972', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65019100', 'ctest-vn1-01085074'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:40:44,153 - DEBUG - Response for create_subnet : {'subnet': {'id': '1f1a9136-dc29-4f78-b4f7-2a251273e0af', 'name': '', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '9fbe90e9-e4b7-421b-8a96-7c2212e254f9', 'ip_version': 4, 'cidr': '78.38.193.64/26', 'allocation_pools': [{'start': '78.38.193.66', 'end': '78.38.193.126'}], 'gateway_ip': '78.38.193.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.38.193.66', 'tags': [], 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:44,354 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0aaef43-c516-4efb-a8fb-84c69bf6267b', 'name': '', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '9fbe90e9-e4b7-421b-8a96-7c2212e254f9', 'ip_version': 4, 'cidr': '103.112.31.128/26', 'allocation_pools': [{'start': '103.112.31.130', 'end': '103.112.31.190'}], 'gateway_ip': '103.112.31.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.112.31.130', 'tags': [], 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:44,371 - INFO - Created VN ctest-vn1-01085074 2025-08-11 20:40:44,423 - DEBUG - VN ctest-vn1-01085074 UUID is 9fbe90e9-e4b7-421b-8a96-7c2212e254f9 2025-08-11 20:40:44,701 - DEBUG - Response for create_port : {'port': {'name': '433e8cc4-ae63-42b2-9840-4edc08398b76', 'id': '433e8cc4-ae63-42b2-9840-4edc08398b76', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '9fbe90e9-e4b7-421b-8a96-7c2212e254f9', 'mac_address': '02:43:3e:8c:c4:ae', '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': '78.38.193.69', 'subnet_id': '1f1a9136-dc29-4f78-b4f7-2a251273e0af'}], 'security_groups': ['1c167b5f-be4b-430f-b61c-c4b170bdcf56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:44,867 - DEBUG - Response for create_port : {'port': {'name': '291aab59-3ceb-4182-8a0f-ec30e1f45866', 'id': '291aab59-3ceb-4182-8a0f-ec30e1f45866', 'tenant_id': '08d4352f8fac44d4a379ab52213f2972', 'network_id': '9fbe90e9-e4b7-421b-8a96-7c2212e254f9', 'mac_address': '02:29:1a:ab:59:3c', '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': '103.112.31.133', 'subnet_id': 'e0aaef43-c516-4efb-a8fb-84c69bf6267b'}], 'security_groups': ['1c167b5f-be4b-430f-b61c-c4b170bdcf56'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '08d4352f8fac44d4a379ab52213f2972'}} 2025-08-11 20:40:44,915 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:40:45,197 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:40:45,526 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:40:45,526 - INFO - Waiting for VM ctest-vn1-vm1-15605130 to be up.. 2025-08-11 20:40:45,563 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:40:50,625 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:40:50,625 - INFO - VM name : ctest-vn1-vm1-15605130 2025-08-11 20:40:50,685 - DEBUG - VM ctest-vn1-vm1-15605130 ID is cfa4ef6b-85a4-497d-8de5-0cee39d0e763 2025-08-11 20:40:50,701 - DEBUG - VM ctest-vn1-vm1-15605130 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:40:50,764 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cfa4ef6b-85a4-497d-8de5-0cee39d0e763 2025-08-11 20:40:50,771 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/433e8cc4-ae63-42b2-9840-4edc08398b76 2025-08-11 20:40:54,012 - 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 1016ms') 2025-08-11 20:40:54,012 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15605130 failed! 2025-08-11 20:40:54,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65019100:ctest-vn1-01085074 is 78.38.193.65 and allocation pool is NOT set 2025-08-11 20:40:54,067 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65019100:ctest-vn1-01085074 is 103.112.31.129 and allocation pool is NOT set 2025-08-11 20:40:56,127 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.75 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 = 2.752/3.122/3.493/0.370 ms') 2025-08-11 20:40:56,127 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-15605130 passed 2025-08-11 20:40:56,283 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:40:56,283 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15605130, IP 78.38.193.69, Port 22 2025-08-11 20:40:56,339 - 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-08-11 20:40:56,575 - DEBUG - VM ctest-vn1-vm1-15605130 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-11 20:41:01,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:01,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-15605130, IP 78.38.193.69, Port 22 2025-08-11 20:41:01,735 - DEBUG - VM ctest-vn1-vm1-15605130 is ready for SSH connections 2025-08-11 20:41:01,735 - INFO - Waiting for VM ctest-vn1-vm2-15905037 to be up.. 2025-08-11 20:41:01,820 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:41:01,820 - INFO - VM name : ctest-vn1-vm2-15905037 2025-08-11 20:41:01,898 - DEBUG - VM ctest-vn1-vm2-15905037 ID is aec63653-94c1-459d-af36-f4e066790da0 2025-08-11 20:41:01,898 - DEBUG - VM ctest-vn1-vm2-15905037 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:41:01,986 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aec63653-94c1-459d-af36-f4e066790da0 2025-08-11 20:41:01,996 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/291aab59-3ceb-4182-8a0f-ec30e1f45866 2025-08-11 20:41:03,253 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.475 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.475/2.309/4.144/1.834 ms') 2025-08-11 20:41:03,253 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-15905037 passed 2025-08-11 20:41:03,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:03,415 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-15905037, IP 103.112.31.133, Port 22 2025-08-11 20:41:03,583 - DEBUG - VM ctest-vn1-vm2-15905037 is ready for SSH connections 2025-08-11 20:41:03,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:03,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:03,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:03,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 78.38.193.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:03,584 - DEBUG - ping -s 56 -c 3 -W 1 78.38.193.69 2025-08-11 20:41:06,547 - DEBUG - PING 78.38.193.69 (78.38.193.69): 56 data bytes 64 bytes from 78.38.193.69: seq=0 ttl=63 time=3.478 ms 64 bytes from 78.38.193.69: seq=1 ttl=63 time=0.770 ms 64 bytes from 78.38.193.69: seq=2 ttl=63 time=0.790 ms --- 78.38.193.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.770/1.679/3.478 ms 2025-08-11 20:41:06,547 - INFO - Ping to IP 78.38.193.69 from VM ctest-vn1-vm2-15905037 passed 2025-08-11 20:41:06,547 - INFO - Detaching port 291aab59-3ceb-4182-8a0f-ec30e1f45866 from VM ctest-vn1-vm2-15905037 2025-08-11 20:41:06,594 - INFO - Deleting VM ctest-vn1-vm2-15905037 2025-08-11 20:41:06,658 - INFO - Detaching port 433e8cc4-ae63-42b2-9840-4edc08398b76 from VM ctest-vn1-vm1-15605130 2025-08-11 20:41:06,691 - INFO - Deleting VM ctest-vn1-vm1-15605130 2025-08-11 20:41:06,937 - DEBUG - Response for delete_port : () 2025-08-11 20:41:07,099 - DEBUG - Response for delete_port : () 2025-08-11 20:41:07,099 - INFO - Deleting VN ctest-vn1-01085074 2025-08-11 20:41:07,280 - DEBUG - Response for deleting network () 2025-08-11 20:41:07,541 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:41:07,541 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-08-11 20:41:07,541 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:41:08,192 - INFO - Deleted project: ctest-TestPorts-65019100, ID : 08d4352f-8fac-44d4-a379-ab52213f2972