2025-08-30 21:54:22,402 - INFO - Domain Default found not creating 2025-08-30 21:54:22,526 - INFO - Project ctest-TestPorts-58866767 not found, creating it 2025-08-30 21:54:22,943 - INFO - Created Project:ctest-TestPorts-58866767, ID : 81ee0a75-b08c-4de8-8ea7-6b5f1c913f7c 2025-08-30 21:54:24,297 - INFO - ================================================================================ 2025-08-30 21:54:24,297 - INFO - STARTING TEST : test_ports_bindings 2025-08-30 21:54:24,297 - 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-30 21:54:24,551 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-30 21:54:24,552 - INFO - Initial checks done. Running the testcase now 2025-08-30 21:54:24,552 - INFO - 2025-08-30 21:54:25,152 - DEBUG - Response for create_network : {'network': {'id': 'cd64ef74-3edf-4bbf-97e2-e275180055d7', 'name': 'ctest-vn-90048649', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58866767', 'ctest-vn-90048649'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:54:25,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '0703fbbb-3866-4f5b-a012-2ad4a9f15f6e', 'name': '', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': 'cd64ef74-3edf-4bbf-97e2-e275180055d7', 'ip_version': 4, 'cidr': '145.100.245.128/26', 'allocation_pools': [{'start': '145.100.245.130', 'end': '145.100.245.190'}], 'gateway_ip': '145.100.245.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.100.245.130', 'tags': [], 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:25,323 - INFO - Created VN ctest-vn-90048649 2025-08-30 21:54:25,373 - DEBUG - VN ctest-vn-90048649 UUID is cd64ef74-3edf-4bbf-97e2-e275180055d7 2025-08-30 21:54:25,473 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-58866767', 'ctest-vmi-64133886']} 2025-08-30 21:54:25,730 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-64133886', 'id': '6937b0c3-1cd6-4daf-b38c-8b6840116ce5', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': 'cd64ef74-3edf-4bbf-97e2-e275180055d7', 'mac_address': '02:69:37:b0:c3:1c', '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': '145.100.245.131', 'subnet_id': '0703fbbb-3866-4f5b-a012-2ad4a9f15f6e'}], 'security_groups': ['a42e3032-05e1-48fb-b668-8fe9c859dbe5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:25,730 - DEBUG - Created port 6937b0c3-1cd6-4daf-b38c-8b6840116ce5 2025-08-30 21:54:25,837 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6937b0c3-1cd6-4daf-b38c-8b6840116ce5 2025-08-30 21:54:26,124 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/6937b0c3-1cd6-4daf-b38c-8b6840116ce5 2025-08-30 21:54:26,152 - INFO - VMI 6937b0c3-1cd6-4daf-b38c-8b6840116ce5 verification in API Server passed 2025-08-30 21:54:26,227 - DEBUG - Response for delete_port : () 2025-08-30 21:54:26,227 - INFO - Deleted port 6937b0c3-1cd6-4daf-b38c-8b6840116ce5 2025-08-30 21:54:26,227 - INFO - Deleting VN ctest-vn-90048649 2025-08-30 21:54:26,315 - DEBUG - Response for deleting network () 2025-08-30 21:54:26,569 - DEBUG - No XMPP flaps were noticed during the test
2025-08-30 21:54:26,569 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-08-30 21:54:26,569 - INFO - -------------------------------------------------------------------------------- 2025-08-30 21:54:26,571 - INFO - ================================================================================ 2025-08-30 21:54:26,572 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-08-30 21:54:26,572 - 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-30 21:54:26,861 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.254': '0'}} with 2025-08-30 21:54:26,861 - INFO - Initial checks done. Running the testcase now 2025-08-30 21:54:26,862 - INFO - 2025-08-30 21:54:27,017 - DEBUG - Response for create_network : {'network': {'id': '67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510', 'name': 'ctest-vn1-05263213', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-58866767', 'ctest-vn1-05263213'], 'port_security_enabled': True, 'description': ''}} 2025-08-30 21:54:27,231 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2dc6cff-86cc-4e11-99a3-28cbb9aacb57', 'name': '', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': '67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510', 'ip_version': 4, 'cidr': '60.33.224.0/26', 'allocation_pools': [{'start': '60.33.224.2', 'end': '60.33.224.62'}], 'gateway_ip': '60.33.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.33.224.2', 'tags': [], 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:27,402 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a02a607d-9f48-4128-9b12-79348467757c', 'name': '', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': '67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510', 'ip_version': 4, 'cidr': '190.79.203.0/26', 'allocation_pools': [{'start': '190.79.203.2', 'end': '190.79.203.62'}], 'gateway_ip': '190.79.203.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.79.203.2', 'tags': [], 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:27,419 - INFO - Created VN ctest-vn1-05263213 2025-08-30 21:54:27,469 - DEBUG - VN ctest-vn1-05263213 UUID is 67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510 2025-08-30 21:54:27,748 - DEBUG - Response for create_port : {'port': {'name': 'eac1088a-16de-4fa1-a8cc-8f40deff41f6', 'id': 'eac1088a-16de-4fa1-a8cc-8f40deff41f6', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': '67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510', 'mac_address': '02:ea:c1:08:8a:16', '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': '60.33.224.5', 'subnet_id': 'c2dc6cff-86cc-4e11-99a3-28cbb9aacb57'}], 'security_groups': ['a42e3032-05e1-48fb-b668-8fe9c859dbe5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:27,894 - DEBUG - Response for create_port : {'port': {'name': '20740d19-03d8-4439-8276-dc846a0c2c60', 'id': '20740d19-03d8-4439-8276-dc846a0c2c60', 'tenant_id': '81ee0a75b08c4de88ea76b5f1c913f7c', 'network_id': '67c6f2e6-0540-4fb7-b3ba-3fc4c8c3b510', 'mac_address': '02:20:74:0d:19:03', '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': '190.79.203.5', 'subnet_id': 'a02a607d-9f48-4128-9b12-79348467757c'}], 'security_groups': ['a42e3032-05e1-48fb-b668-8fe9c859dbe5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '81ee0a75b08c4de88ea76b5f1c913f7c'}} 2025-08-30 21:54:27,945 - DEBUG - Services list from nova: [, , ] 2025-08-30 21:54:28,224 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:54:28,564 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3983-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3983-1) 2025-08-30 21:54:28,564 - INFO - Waiting for VM ctest-vn1-vm1-61808470 to be up.. 2025-08-30 21:54:28,598 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-30 21:54:33,718 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:54:33,718 - INFO - VM name : ctest-vn1-vm1-61808470 2025-08-30 21:54:33,790 - DEBUG - VM ctest-vn1-vm1-61808470 ID is f90dc12f-74e9-4a57-bc6c-988e0d886c74 2025-08-30 21:54:33,806 - DEBUG - VM ctest-vn1-vm1-61808470 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:54:33,992 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/f90dc12f-74e9-4a57-bc6c-988e0d886c74 2025-08-30 21:54:34,000 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/eac1088a-16de-4fa1-a8cc-8f40deff41f6 2025-08-30 21:54:37,235 - 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 1008ms') 2025-08-30 21:54:37,235 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61808470 failed! 2025-08-30 21:54:37,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58866767:ctest-vn1-05263213 is 60.33.224.1 and allocation pool is NOT set 2025-08-30 21:54:37,289 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-58866767:ctest-vn1-05263213 is 190.79.203.1 and allocation pool is NOT set 2025-08-30 21:54:39,348 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.762 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.762/2.258/3.755/1.496 ms') 2025-08-30 21:54:39,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61808470 passed 2025-08-30 21:54:39,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:39,497 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61808470, IP 60.33.224.5, Port 22 2025-08-30 21:54:39,649 - DEBUG - VM ctest-vn1-vm1-61808470 is ready for SSH connections 2025-08-30 21:54:39,649 - INFO - Waiting for VM ctest-vn1-vm2-28355193 to be up.. 2025-08-30 21:54:39,715 - DEBUG - VM is in ACTIVE state now 2025-08-30 21:54:39,715 - INFO - VM name : ctest-vn1-vm2-28355193 2025-08-30 21:54:39,778 - DEBUG - VM ctest-vn1-vm2-28355193 ID is 0dfcfe2d-df85-4e4a-9f75-f03f6d9e9035 2025-08-30 21:54:39,778 - DEBUG - VM ctest-vn1-vm2-28355193 launched on Node cn-jenkins-deploy-platform-ansible-os-3983-1 2025-08-30 21:54:39,841 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/0dfcfe2d-df85-4e4a-9f75-f03f6d9e9035 2025-08-30 21:54:39,848 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/20740d19-03d8-4439-8276-dc846a0c2c60 2025-08-30 21:54:41,079 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.62 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 = 2.620/2.758/2.896/0.138 ms') 2025-08-30 21:54:41,079 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-28355193 passed 2025-08-30 21:54:41,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:41,225 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28355193, IP 190.79.203.5, Port 22 2025-08-30 21:54:41,281 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-08-30 21:54:41,344 - DEBUG - VM ctest-vn1-vm2-28355193 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-30 21:54:46,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:46,344 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-28355193, IP 190.79.203.5, Port 22 2025-08-30 21:54:46,501 - DEBUG - VM ctest-vn1-vm2-28355193 is ready for SSH connections 2025-08-30 21:54:46,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:46,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:46,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-30 21:54:46,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 60.33.224.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-30 21:54:46,502 - DEBUG - ping -s 56 -c 3 -W 1 60.33.224.5 2025-08-30 21:54:49,166 - DEBUG - PING 60.33.224.5 (60.33.224.5): 56 data bytes 64 bytes from 60.33.224.5: seq=0 ttl=63 time=3.574 ms 64 bytes from 60.33.224.5: seq=1 ttl=63 time=0.851 ms 64 bytes from 60.33.224.5: seq=2 ttl=63 time=0.823 ms --- 60.33.224.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.749/3.574 ms 2025-08-30 21:54:49,166 - INFO - Ping to IP 60.33.224.5 from VM ctest-vn1-vm2-28355193 passed 2025-08-30 21:54:49,166 - INFO - Detaching port 20740d19-03d8-4439-8276-dc846a0c2c60 from VM ctest-vn1-vm2-28355193 2025-08-30 21:54:49,209 - INFO - Deleting VM ctest-vn1-vm2-28355193 2025-08-30 21:54:49,270 - INFO - Detaching port eac1088a-16de-4fa1-a8cc-8f40deff41f6 from VM ctest-vn1-vm1-61808470 2025-08-30 21:54:49,302 - INFO - Deleting VM ctest-vn1-vm1-61808470 2025-08-30 21:54:49,498 - DEBUG - Response for delete_port : () 2025-08-30 21:54:49,629 - DEBUG - Response for delete_port : () 2025-08-30 21:54:49,629 - INFO - Deleting VN ctest-vn1-05263213 2025-08-30 21:54:49,761 - DEBUG - Response for deleting network () 2025-08-30 21:54:50,014 - DEBUG - No XMPP flaps were noticed during the test
2025-08-30 21:54:50,014 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-08-30 21:54:50,014 - INFO - -------------------------------------------------------------------------------- 2025-08-30 21:54:50,658 - INFO - Deleted project: ctest-TestPorts-58866767, ID : 81ee0a75-b08c-4de8-8ea7-6b5f1c913f7c