2025-10-30 18:18:50,441 - INFO - Domain Default found not creating 2025-10-30 18:18:50,568 - INFO - Project ctest-TestPorts-30685119 not found, creating it 2025-10-30 18:18:50,984 - INFO - Created Project:ctest-TestPorts-30685119, ID : 19c52d8c-7457-47af-9ff8-863b306ea476 2025-10-30 18:18:52,352 - INFO - ================================================================================ 2025-10-30 18:18:52,352 - INFO - STARTING TEST : test_ports_bindings 2025-10-30 18:18:52,352 - 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-30 18:18:52,607 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 18:18:52,607 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:18:52,607 - INFO - 2025-10-30 18:18:53,129 - DEBUG - Response for create_network : {'network': {'id': 'd8117230-d989-48cd-a431-4d429bcf1099', 'name': 'ctest-vn-97086521', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'project_id': '19c52d8c745747af9ff8863b306ea476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30685119', 'ctest-vn-97086521'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:18:53,332 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1b9514c-12b9-4039-b52f-d4af89ccb36a', 'name': '', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'd8117230-d989-48cd-a431-4d429bcf1099', 'ip_version': 4, 'cidr': '75.22.214.0/26', 'allocation_pools': [{'start': '75.22.214.2', 'end': '75.22.214.62'}], 'gateway_ip': '75.22.214.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.22.214.2', 'tags': [], 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:53,348 - INFO - Created VN ctest-vn-97086521 2025-10-30 18:18:53,402 - DEBUG - VN ctest-vn-97086521 UUID is d8117230-d989-48cd-a431-4d429bcf1099 2025-10-30 18:18:53,502 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-30685119', 'ctest-vmi-16346703']} 2025-10-30 18:18:53,760 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-16346703', 'id': 'dbdb9a90-7690-412f-a962-725d105f750c', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'd8117230-d989-48cd-a431-4d429bcf1099', 'mac_address': '02:db:db:9a:90:76', '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': '75.22.214.3', 'subnet_id': 'd1b9514c-12b9-4039-b52f-d4af89ccb36a'}], 'security_groups': ['8a00138f-d387-459d-be45-77ca8a595e68'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:53,760 - DEBUG - Created port dbdb9a90-7690-412f-a962-725d105f750c 2025-10-30 18:18:53,862 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dbdb9a90-7690-412f-a962-725d105f750c 2025-10-30 18:18:54,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/dbdb9a90-7690-412f-a962-725d105f750c 2025-10-30 18:18:54,180 - INFO - VMI dbdb9a90-7690-412f-a962-725d105f750c verification in API Server passed 2025-10-30 18:18:54,262 - DEBUG - Response for delete_port : () 2025-10-30 18:18:54,262 - INFO - Deleted port dbdb9a90-7690-412f-a962-725d105f750c 2025-10-30 18:18:54,262 - INFO - Deleting VN ctest-vn-97086521 2025-10-30 18:18:54,363 - DEBUG - Response for deleting network () 2025-10-30 18:18:54,619 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:18:54,620 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02] 2025-10-30 18:18:54,620 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:18:54,622 - INFO - ================================================================================ 2025-10-30 18:18:54,622 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-30 18:18:54,622 - 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-30 18:18:54,916 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-30 18:18:54,916 - INFO - Initial checks done. Running the testcase now 2025-10-30 18:18:54,916 - INFO - 2025-10-30 18:18:55,367 - DEBUG - Response for create_network : {'network': {'id': 'c4079e7c-ed93-4a7c-a1cb-bf83c48c479c', 'name': 'ctest-vn1-47049132', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'project_id': '19c52d8c745747af9ff8863b306ea476', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-30685119', 'ctest-vn1-47049132'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 18:18:55,650 - DEBUG - Response for create_subnet : {'subnet': {'id': '20211d3e-33a1-46fa-8b21-8e2746c51fe5', 'name': '', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'c4079e7c-ed93-4a7c-a1cb-bf83c48c479c', 'ip_version': 4, 'cidr': '5.165.178.192/26', 'allocation_pools': [{'start': '5.165.178.194', 'end': '5.165.178.254'}], 'gateway_ip': '5.165.178.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.165.178.194', 'tags': [], 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:55,789 - DEBUG - Response for create_subnet : {'subnet': {'id': '5cbd3b36-ea11-485c-9dc8-1842983aac43', 'name': '', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'c4079e7c-ed93-4a7c-a1cb-bf83c48c479c', 'ip_version': 4, 'cidr': '181.203.47.128/26', 'allocation_pools': [{'start': '181.203.47.130', 'end': '181.203.47.190'}], 'gateway_ip': '181.203.47.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.203.47.130', 'tags': [], 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:55,806 - INFO - Created VN ctest-vn1-47049132 2025-10-30 18:18:55,858 - DEBUG - VN ctest-vn1-47049132 UUID is c4079e7c-ed93-4a7c-a1cb-bf83c48c479c 2025-10-30 18:18:56,131 - DEBUG - Response for create_port : {'port': {'name': 'a9a95ed9-ef5b-48d4-ae28-d58a9d18db3b', 'id': 'a9a95ed9-ef5b-48d4-ae28-d58a9d18db3b', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'c4079e7c-ed93-4a7c-a1cb-bf83c48c479c', 'mac_address': '02:a9:a9:5e:d9:ef', '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': '5.165.178.197', 'subnet_id': '20211d3e-33a1-46fa-8b21-8e2746c51fe5'}], 'security_groups': ['8a00138f-d387-459d-be45-77ca8a595e68'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:56,291 - DEBUG - Response for create_port : {'port': {'name': 'c671daf9-2e8d-44dc-9317-710df02c44fe', 'id': 'c671daf9-2e8d-44dc-9317-710df02c44fe', 'tenant_id': '19c52d8c745747af9ff8863b306ea476', 'network_id': 'c4079e7c-ed93-4a7c-a1cb-bf83c48c479c', 'mac_address': '02:c6:71:da:f9:2e', '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': '181.203.47.133', 'subnet_id': '5cbd3b36-ea11-485c-9dc8-1842983aac43'}], 'security_groups': ['8a00138f-d387-459d-be45-77ca8a595e68'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '19c52d8c745747af9ff8863b306ea476'}} 2025-10-30 18:18:56,344 - DEBUG - Services list from nova: [, , ] 2025-10-30 18:18:56,638 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:18:56,996 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4550-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4550-1) 2025-10-30 18:18:56,996 - INFO - Waiting for VM ctest-vn1-vm1-73725668 to be up.. 2025-10-30 18:18:57,033 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 18:19:02,104 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:19:02,104 - INFO - VM name : ctest-vn1-vm1-73725668 2025-10-30 18:19:02,175 - DEBUG - VM ctest-vn1-vm1-73725668 ID is e4e05a0f-1442-4b26-a795-f0dba6e065d7 2025-10-30 18:19:02,193 - DEBUG - VM ctest-vn1-vm1-73725668 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:19:02,266 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/e4e05a0f-1442-4b26-a795-f0dba6e065d7 2025-10-30 18:19:02,274 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a9a95ed9-ef5b-48d4-ae28-d58a9d18db3b 2025-10-30 18:19:05,541 - 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 1027ms') 2025-10-30 18:19:05,541 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73725668 failed! 2025-10-30 18:19:05,602 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30685119:ctest-vn1-47049132 is 5.165.178.193 and allocation pool is NOT set 2025-10-30 18:19:05,602 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-30685119:ctest-vn1-47049132 is 181.203.47.129 and allocation pool is NOT set 2025-10-30 18:19:07,667 - 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.82 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.126/2.475/3.824/1.349 ms') 2025-10-30 18:19:07,667 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73725668 passed 2025-10-30 18:19:07,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:07,814 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73725668, IP 5.165.178.197, Port 22 2025-10-30 18:19:07,973 - DEBUG - VM ctest-vn1-vm1-73725668 is ready for SSH connections 2025-10-30 18:19:07,973 - INFO - Waiting for VM ctest-vn1-vm2-05235928 to be up.. 2025-10-30 18:19:08,051 - DEBUG - VM is in ACTIVE state now 2025-10-30 18:19:08,051 - INFO - VM name : ctest-vn1-vm2-05235928 2025-10-30 18:19:08,123 - DEBUG - VM ctest-vn1-vm2-05235928 ID is 156b4a5d-fe12-4c4c-8c9d-544ef177d12d 2025-10-30 18:19:08,123 - DEBUG - VM ctest-vn1-vm2-05235928 launched on Node cn-jenkins-deploy-platform-ansible-os-4550-1 2025-10-30 18:19:08,202 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/156b4a5d-fe12-4c4c-8c9d-544ef177d12d 2025-10-30 18:19:08,210 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/c671daf9-2e8d-44dc-9317-710df02c44fe 2025-10-30 18:19:09,446 - 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.82 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.59 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.590/2.702/2.815/0.112 ms') 2025-10-30 18:19:09,446 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-05235928 passed 2025-10-30 18:19:09,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:09,598 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05235928, IP 181.203.47.133, Port 22 2025-10-30 18:19:09,653 - 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-10-30 18:19:09,723 - DEBUG - VM ctest-vn1-vm2-05235928 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-30 18:19:14,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:14,724 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-05235928, IP 181.203.47.133, Port 22 2025-10-30 18:19:14,882 - DEBUG - VM ctest-vn1-vm2-05235928 is ready for SSH connections 2025-10-30 18:19:14,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:14,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:14,882 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 18:19:14,882 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.165.178.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-30 18:19:14,882 - DEBUG - ping -s 56 -c 3 -W 1 5.165.178.197 2025-10-30 18:19:17,548 - DEBUG - PING 5.165.178.197 (5.165.178.197): 56 data bytes 64 bytes from 5.165.178.197: seq=0 ttl=63 time=3.334 ms 64 bytes from 5.165.178.197: seq=1 ttl=63 time=0.909 ms 64 bytes from 5.165.178.197: seq=2 ttl=63 time=0.813 ms --- 5.165.178.197 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.685/3.334 ms 2025-10-30 18:19:17,549 - INFO - Ping to IP 5.165.178.197 from VM ctest-vn1-vm2-05235928 passed 2025-10-30 18:19:17,549 - INFO - Detaching port c671daf9-2e8d-44dc-9317-710df02c44fe from VM ctest-vn1-vm2-05235928 2025-10-30 18:19:17,599 - INFO - Deleting VM ctest-vn1-vm2-05235928 2025-10-30 18:19:17,660 - INFO - Detaching port a9a95ed9-ef5b-48d4-ae28-d58a9d18db3b from VM ctest-vn1-vm1-73725668 2025-10-30 18:19:17,692 - INFO - Deleting VM ctest-vn1-vm1-73725668 2025-10-30 18:19:17,895 - DEBUG - Response for delete_port : () 2025-10-30 18:19:18,049 - DEBUG - Response for delete_port : () 2025-10-30 18:19:18,049 - INFO - Deleting VN ctest-vn1-47049132 2025-10-30 18:19:18,166 - DEBUG - Response for deleting network () 2025-10-30 18:19:18,431 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 18:19:18,431 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24] 2025-10-30 18:19:18,431 - INFO - -------------------------------------------------------------------------------- 2025-10-30 18:19:19,098 - INFO - Deleted project: ctest-TestPorts-30685119, ID : 19c52d8c-7457-47af-9ff8-863b306ea476