2025-12-25 02:20:38,567 - INFO - Domain Default found not creating 2025-12-25 02:20:38,750 - INFO - Project ctest-TestPorts-10000247 not found, creating it 2025-12-25 02:20:39,210 - INFO - Created Project:ctest-TestPorts-10000247, ID : 8d663f74-2c41-41d8-84a9-52426aec73e8 2025-12-25 02:20:40,938 - INFO - ================================================================================ 2025-12-25 02:20:40,939 - INFO - STARTING TEST : test_ports_bindings 2025-12-25 02:20:40,939 - 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-12-25 02:20:41,213 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2025-12-25 02:20:41,213 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:20:41,213 - INFO - 2025-12-25 02:20:41,828 - DEBUG - Response for create_network : {'network': {'id': '745f57af-9f2c-4845-b06e-5fb85b2a93bc', 'name': 'ctest-vn-22664919', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'project_id': '8d663f742c4141d884a952426aec73e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10000247', 'ctest-vn-22664919'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:42,057 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c70bfa6-0063-4096-b2bd-38965d9cd55d', 'name': '', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '745f57af-9f2c-4845-b06e-5fb85b2a93bc', 'ip_version': 4, 'cidr': '190.134.191.192/26', 'allocation_pools': [{'start': '190.134.191.194', 'end': '190.134.191.254'}], 'gateway_ip': '190.134.191.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '190.134.191.194', 'tags': [], 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:42,076 - INFO - Created VN ctest-vn-22664919 2025-12-25 02:20:42,128 - DEBUG - VN ctest-vn-22664919 UUID is 745f57af-9f2c-4845-b06e-5fb85b2a93bc 2025-12-25 02:20:42,235 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-10000247', 'ctest-vmi-73759911']} 2025-12-25 02:20:42,477 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-73759911', 'id': '407d85ba-2531-4f8f-a3a6-7827c2de87d1', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '745f57af-9f2c-4845-b06e-5fb85b2a93bc', 'mac_address': '02:40:7d:85:ba:25', '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': '190.134.191.195', 'subnet_id': '5c70bfa6-0063-4096-b2bd-38965d9cd55d'}], 'security_groups': ['420b96cd-52a9-4e43-9dce-39f0272a54a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:42,477 - DEBUG - Created port 407d85ba-2531-4f8f-a3a6-7827c2de87d1 2025-12-25 02:20:42,580 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/407d85ba-2531-4f8f-a3a6-7827c2de87d1 2025-12-25 02:20:42,925 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/407d85ba-2531-4f8f-a3a6-7827c2de87d1 2025-12-25 02:20:42,960 - INFO - VMI 407d85ba-2531-4f8f-a3a6-7827c2de87d1 verification in API Server passed 2025-12-25 02:20:43,061 - DEBUG - Response for delete_port : () 2025-12-25 02:20:43,061 - INFO - Deleted port 407d85ba-2531-4f8f-a3a6-7827c2de87d1 2025-12-25 02:20:43,061 - INFO - Deleting VN ctest-vn-22664919 2025-12-25 02:20:43,173 - DEBUG - Response for deleting network () 2025-12-25 02:20:43,429 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:20:43,429 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-12-25 02:20:43,429 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:20:43,432 - INFO - ================================================================================ 2025-12-25 02:20:43,432 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-12-25 02:20:43,432 - 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-12-25 02:20:43,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with 2025-12-25 02:20:43,729 - INFO - Initial checks done. Running the testcase now 2025-12-25 02:20:43,729 - INFO - 2025-12-25 02:20:43,915 - DEBUG - Response for create_network : {'network': {'id': '19f402b0-588f-4739-aba2-1f2902753aac', 'name': 'ctest-vn1-76663488', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'project_id': '8d663f742c4141d884a952426aec73e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-10000247', 'ctest-vn1-76663488'], 'port_security_enabled': True, 'description': ''}} 2025-12-25 02:20:44,080 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fd04609a-504f-4ed0-9a57-e503e4b9b97e', 'name': '', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '19f402b0-588f-4739-aba2-1f2902753aac', 'ip_version': 4, 'cidr': '45.176.67.0/26', 'allocation_pools': [{'start': '45.176.67.2', 'end': '45.176.67.62'}], 'gateway_ip': '45.176.67.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.176.67.2', 'tags': [], 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:44,265 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a15e4f50-993b-4c6a-9f1c-50ac66568cd5', 'name': '', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '19f402b0-588f-4739-aba2-1f2902753aac', 'ip_version': 4, 'cidr': '20.29.233.64/26', 'allocation_pools': [{'start': '20.29.233.66', 'end': '20.29.233.126'}], 'gateway_ip': '20.29.233.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.29.233.66', 'tags': [], 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:44,286 - INFO - Created VN ctest-vn1-76663488 2025-12-25 02:20:44,340 - DEBUG - VN ctest-vn1-76663488 UUID is 19f402b0-588f-4739-aba2-1f2902753aac 2025-12-25 02:20:44,647 - DEBUG - Response for create_port : {'port': {'name': '19df8683-19de-4c1e-aa05-453eb99d0ebf', 'id': '19df8683-19de-4c1e-aa05-453eb99d0ebf', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '19f402b0-588f-4739-aba2-1f2902753aac', 'mac_address': '02:19:df:86:83:19', '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': '45.176.67.5', 'subnet_id': 'fd04609a-504f-4ed0-9a57-e503e4b9b97e'}], 'security_groups': ['420b96cd-52a9-4e43-9dce-39f0272a54a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:44,843 - DEBUG - Response for create_port : {'port': {'name': '0cf264bd-5cbc-492d-9d9b-95bf4982f664', 'id': '0cf264bd-5cbc-492d-9d9b-95bf4982f664', 'tenant_id': '8d663f742c4141d884a952426aec73e8', 'network_id': '19f402b0-588f-4739-aba2-1f2902753aac', 'mac_address': '02:0c:f2:64:bd:5c', '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': '20.29.233.69', 'subnet_id': 'a15e4f50-993b-4c6a-9f1c-50ac66568cd5'}], 'security_groups': ['420b96cd-52a9-4e43-9dce-39f0272a54a7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8d663f742c4141d884a952426aec73e8'}} 2025-12-25 02:20:44,907 - DEBUG - Services list from nova: [, , ] 2025-12-25 02:20:45,279 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:20:45,730 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4926-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4926-1) 2025-12-25 02:20:45,731 - INFO - Waiting for VM ctest-vn1-vm1-54671928 to be up.. 2025-12-25 02:20:45,776 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-25 02:20:50,866 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:20:50,866 - INFO - VM name : ctest-vn1-vm1-54671928 2025-12-25 02:20:50,947 - DEBUG - VM ctest-vn1-vm1-54671928 ID is 597c9e82-63de-464f-88ec-fb3c8e5bb6d7 2025-12-25 02:20:50,972 - DEBUG - VM ctest-vn1-vm1-54671928 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:20:51,061 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/597c9e82-63de-464f-88ec-fb3c8e5bb6d7 2025-12-25 02:20:51,072 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/19df8683-19de-4c1e-aa05-453eb99d0ebf 2025-12-25 02:20:54,335 - 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 1019ms') 2025-12-25 02:20:54,335 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54671928 failed! 2025-12-25 02:20:54,397 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10000247:ctest-vn1-76663488 is 45.176.67.1 and allocation pool is NOT set 2025-12-25 02:20:54,397 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-10000247:ctest-vn1-76663488 is 20.29.233.65 and allocation pool is NOT set 2025-12-25 02:20:58,468 - 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=2 ttl=63 time=12.2 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 12.163/12.163/12.163/0.000 ms') 2025-12-25 02:20:58,469 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54671928 passed 2025-12-25 02:20:58,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:20:58,616 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54671928, IP 45.176.67.5, Port 22 2025-12-25 02:20:58,686 - 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-12-25 02:20:58,775 - DEBUG - VM ctest-vn1-vm1-54671928 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-25 02:21:03,775 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:21:03,775 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54671928, IP 45.176.67.5, Port 22 2025-12-25 02:21:03,946 - DEBUG - VM ctest-vn1-vm1-54671928 is ready for SSH connections 2025-12-25 02:21:03,946 - INFO - Waiting for VM ctest-vn1-vm2-86190397 to be up.. 2025-12-25 02:21:04,027 - DEBUG - VM is in ACTIVE state now 2025-12-25 02:21:04,028 - INFO - VM name : ctest-vn1-vm2-86190397 2025-12-25 02:21:04,103 - DEBUG - VM ctest-vn1-vm2-86190397 ID is e3c0096f-4208-4d36-9d25-fccb4384f192 2025-12-25 02:21:04,103 - DEBUG - VM ctest-vn1-vm2-86190397 launched on Node cn-jenkins-deploy-platform-ansible-os-4926-1 2025-12-25 02:21:04,185 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/e3c0096f-4208-4d36-9d25-fccb4384f192 2025-12-25 02:21:04,193 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0cf264bd-5cbc-492d-9d9b-95bf4982f664 2025-12-25 02:21:05,429 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.517 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 = 0.517/2.527/4.538/2.010 ms') 2025-12-25 02:21:05,429 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-86190397 passed 2025-12-25 02:21:05,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:21:05,576 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-86190397, IP 20.29.233.69, Port 22 2025-12-25 02:21:05,742 - DEBUG - VM ctest-vn1-vm2-86190397 is ready for SSH connections 2025-12-25 02:21:05,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:21:05,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:21:05,742 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-25 02:21:05,743 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 45.176.67.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-12-25 02:21:05,743 - DEBUG - ping -s 56 -c 3 -W 1 45.176.67.5 2025-12-25 02:21:08,457 - DEBUG - PING 45.176.67.5 (45.176.67.5): 56 data bytes 64 bytes from 45.176.67.5: seq=0 ttl=63 time=3.594 ms 64 bytes from 45.176.67.5: seq=1 ttl=63 time=1.135 ms 64 bytes from 45.176.67.5: seq=2 ttl=63 time=1.248 ms --- 45.176.67.5 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.135/1.992/3.594 ms 2025-12-25 02:21:08,457 - INFO - Ping to IP 45.176.67.5 from VM ctest-vn1-vm2-86190397 passed 2025-12-25 02:21:08,458 - INFO - Detaching port 0cf264bd-5cbc-492d-9d9b-95bf4982f664 from VM ctest-vn1-vm2-86190397 2025-12-25 02:21:08,511 - INFO - Deleting VM ctest-vn1-vm2-86190397 2025-12-25 02:21:08,585 - INFO - Detaching port 19df8683-19de-4c1e-aa05-453eb99d0ebf from VM ctest-vn1-vm1-54671928 2025-12-25 02:21:08,628 - INFO - Deleting VM ctest-vn1-vm1-54671928 2025-12-25 02:21:08,883 - DEBUG - Response for delete_port : () 2025-12-25 02:21:09,054 - DEBUG - Response for delete_port : () 2025-12-25 02:21:09,054 - INFO - Deleting VN ctest-vn1-76663488 2025-12-25 02:21:09,195 - DEBUG - Response for deleting network () 2025-12-25 02:21:09,454 - DEBUG - No XMPP flaps were noticed during the test
2025-12-25 02:21:09,454 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:26]
2025-12-25 02:21:09,454 - INFO - -------------------------------------------------------------------------------- 2025-12-25 02:21:10,246 - INFO - Deleted project: ctest-TestPorts-10000247, ID : 8d663f74-2c41-41d8-84a9-52426aec73e8