2025-09-26 02:30:59,556 - INFO - Domain Default found not creating
2025-09-26 02:31:00,033 - INFO - Project ctest-TestPorts-65064848 not found, creating it
2025-09-26 02:31:00,469 - INFO - Created Project:ctest-TestPorts-65064848, ID : afad10b3-2b4e-44da-91ea-d90fa71d559f
2025-09-26 02:31:01,869 - INFO - ================================================================================
2025-09-26 02:31:01,870 - INFO - STARTING TEST : test_ports_bindings
2025-09-26 02:31:01,870 - 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-09-26 02:31:02,142 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-26 02:31:02,142 - INFO - Initial checks done. Running the testcase now
2025-09-26 02:31:02,142 - INFO -
2025-09-26 02:31:02,687 - DEBUG - Response for create_network : {'network': {'id': '8da1b447-9a82-4501-8616-17e9fd081a0f', 'name': 'ctest-vn-50029462', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'project_id': 'afad10b32b4e44da91ead90fa71d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65064848', 'ctest-vn-50029462'], 'port_security_enabled': True, 'description': ''}}
2025-09-26 02:31:02,852 - DEBUG - Response for create_subnet : {'subnet': {'id': '83513225-147a-49a5-892a-af148ade67e3', 'name': '', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '8da1b447-9a82-4501-8616-17e9fd081a0f', 'ip_version': 4, 'cidr': '86.2.125.128/26', 'allocation_pools': [{'start': '86.2.125.130', 'end': '86.2.125.190'}], 'gateway_ip': '86.2.125.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.2.125.130', 'tags': [], 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:02,873 - INFO - Created VN ctest-vn-50029462
2025-09-26 02:31:02,927 - DEBUG - VN ctest-vn-50029462 UUID is 8da1b447-9a82-4501-8616-17e9fd081a0f
2025-09-26 02:31:03,035 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-65064848', 'ctest-vmi-41008445']}
2025-09-26 02:31:03,305 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-41008445', 'id': '14e114d7-dd73-4e49-a0a8-c915157ac5d9', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '8da1b447-9a82-4501-8616-17e9fd081a0f', 'mac_address': '02:14:e1:14:d7:dd', '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': '86.2.125.131', 'subnet_id': '83513225-147a-49a5-892a-af148ade67e3'}], 'security_groups': ['c95beea2-d056-43c4-a4ac-527c03ee9a92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:03,305 - DEBUG - Created port 14e114d7-dd73-4e49-a0a8-c915157ac5d9
2025-09-26 02:31:03,407 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14e114d7-dd73-4e49-a0a8-c915157ac5d9
2025-09-26 02:31:03,707 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/14e114d7-dd73-4e49-a0a8-c915157ac5d9
2025-09-26 02:31:03,737 - INFO - VMI 14e114d7-dd73-4e49-a0a8-c915157ac5d9 verification in API Server passed
2025-09-26 02:31:03,821 - DEBUG - Response for delete_port : ()
2025-09-26 02:31:03,822 - INFO - Deleted port 14e114d7-dd73-4e49-a0a8-c915157ac5d9
2025-09-26 02:31:03,822 - INFO - Deleting VN ctest-vn-50029462
2025-09-26 02:31:03,925 - DEBUG - Response for deleting network ()
2025-09-26 02:31:04,192 - DEBUG - No XMPP flaps were noticed during the test
2025-09-26 02:31:04,192 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-09-26 02:31:04,192 - INFO - --------------------------------------------------------------------------------
2025-09-26 02:31:04,194 - INFO - ================================================================================
2025-09-26 02:31:04,194 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-09-26 02:31:04,195 - 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-09-26 02:31:04,477 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-09-26 02:31:04,477 - INFO - Initial checks done. Running the testcase now
2025-09-26 02:31:04,477 - INFO -
2025-09-26 02:31:04,666 - DEBUG - Response for create_network : {'network': {'id': '739f7aa2-b42b-4357-95ba-f8ae42e36e9a', 'name': 'ctest-vn1-81891670', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'project_id': 'afad10b32b4e44da91ead90fa71d559f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-65064848', 'ctest-vn1-81891670'], 'port_security_enabled': True, 'description': ''}}
2025-09-26 02:31:04,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '3fa4fa07-8b83-4afa-8c64-550ec3b5bd05', 'name': '', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '739f7aa2-b42b-4357-95ba-f8ae42e36e9a', 'ip_version': 4, 'cidr': '39.51.58.128/26', 'allocation_pools': [{'start': '39.51.58.130', 'end': '39.51.58.190'}], 'gateway_ip': '39.51.58.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.51.58.130', 'tags': [], 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:05,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '14cd9e51-fffe-4130-8806-cfaaaa731789', 'name': '', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '739f7aa2-b42b-4357-95ba-f8ae42e36e9a', 'ip_version': 4, 'cidr': '22.2.188.128/26', 'allocation_pools': [{'start': '22.2.188.130', 'end': '22.2.188.190'}], 'gateway_ip': '22.2.188.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.2.188.130', 'tags': [], 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:05,033 - INFO - Created VN ctest-vn1-81891670
2025-09-26 02:31:05,083 - DEBUG - VN ctest-vn1-81891670 UUID is 739f7aa2-b42b-4357-95ba-f8ae42e36e9a
2025-09-26 02:31:05,417 - DEBUG - Response for create_port : {'port': {'name': '2f5d726e-d93c-4e59-9fcc-c3647bd2fa10', 'id': '2f5d726e-d93c-4e59-9fcc-c3647bd2fa10', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '739f7aa2-b42b-4357-95ba-f8ae42e36e9a', 'mac_address': '02:2f:5d:72:6e:d9', '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': '39.51.58.133', 'subnet_id': '3fa4fa07-8b83-4afa-8c64-550ec3b5bd05'}], 'security_groups': ['c95beea2-d056-43c4-a4ac-527c03ee9a92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:05,594 - DEBUG - Response for create_port : {'port': {'name': '9b5a7d2b-a12e-4e49-b462-7575085ae1a3', 'id': '9b5a7d2b-a12e-4e49-b462-7575085ae1a3', 'tenant_id': 'afad10b32b4e44da91ead90fa71d559f', 'network_id': '739f7aa2-b42b-4357-95ba-f8ae42e36e9a', 'mac_address': '02:9b:5a:7d:2b:a1', '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': '22.2.188.133', 'subnet_id': '14cd9e51-fffe-4130-8806-cfaaaa731789'}], 'security_groups': ['c95beea2-d056-43c4-a4ac-527c03ee9a92'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afad10b32b4e44da91ead90fa71d559f'}}
2025-09-26 02:31:05,667 - DEBUG - Services list from nova: [, , ]
2025-09-26 02:31:05,988 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1)
2025-09-26 02:31:06,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4197-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4197-1)
2025-09-26 02:31:06,484 - INFO - Waiting for VM ctest-vn1-vm1-25182188 to be up..
2025-09-26 02:31:06,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-09-26 02:31:11,591 - DEBUG - VM is in ACTIVE state now
2025-09-26 02:31:11,591 - INFO - VM name : ctest-vn1-vm1-25182188
2025-09-26 02:31:11,659 - DEBUG - VM ctest-vn1-vm1-25182188 ID is 642dd013-4757-4b5f-bc7f-51804e4b4f15
2025-09-26 02:31:11,677 - DEBUG - VM ctest-vn1-vm1-25182188 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1
2025-09-26 02:31:11,749 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/642dd013-4757-4b5f-bc7f-51804e4b4f15
2025-09-26 02:31:11,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2f5d726e-d93c-4e59-9fcc-c3647bd2fa10
2025-09-26 02:31:15,017 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1018ms')
2025-09-26 02:31:15,017 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-25182188 failed!
2025-09-26 02:31:15,071 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65064848:ctest-vn1-81891670 is 39.51.58.129 and allocation pool is NOT set
2025-09-26 02:31:15,071 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-65064848:ctest-vn1-81891670 is 22.2.188.129 and allocation pool is NOT set
2025-09-26 02:31:19,137 - 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=2 ttl=63 time=10.5 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 10.453/10.453/10.453/0.000 ms')
2025-09-26 02:31:19,137 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-25182188 passed
2025-09-26 02:31:19,291 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-26 02:31:19,291 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25182188, IP 39.51.58.133, Port 22
2025-09-26 02:31:19,468 - DEBUG - VM ctest-vn1-vm1-25182188 is ready for SSH connections
2025-09-26 02:31:19,468 - INFO - Waiting for VM ctest-vn1-vm2-27235076 to be up..
2025-09-26 02:31:19,542 - DEBUG - VM is in ACTIVE state now
2025-09-26 02:31:19,542 - INFO - VM name : ctest-vn1-vm2-27235076
2025-09-26 02:31:19,614 - DEBUG - VM ctest-vn1-vm2-27235076 ID is 6d24141c-29b6-416f-a289-045a4c443266
2025-09-26 02:31:19,614 - DEBUG - VM ctest-vn1-vm2-27235076 launched on Node cn-jenkins-deploy-platform-ansible-os-4197-1
2025-09-26 02:31:19,679 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6d24141c-29b6-416f-a289-045a4c443266
2025-09-26 02:31:19,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b5a7d2b-a12e-4e49-b462-7575085ae1a3
2025-09-26 02:31:20,924 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.401/1.753/3.106/1.352 ms')
2025-09-26 02:31:20,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-27235076 passed
2025-09-26 02:31:21,075 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-26 02:31:21,075 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-27235076, IP 22.2.188.133, Port 22
2025-09-26 02:31:21,242 - DEBUG - VM ctest-vn1-vm2-27235076 is ready for SSH connections
2025-09-26 02:31:21,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-26 02:31:21,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-26 02:31:21,243 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-09-26 02:31:21,243 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 39.51.58.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-09-26 02:31:21,243 - DEBUG - ping -s 56 -c 3 -W 1 39.51.58.133
2025-09-26 02:31:25,285 - DEBUG - PING 39.51.58.133 (39.51.58.133): 56 data bytes
64 bytes from 39.51.58.133: seq=0 ttl=63 time=3.992 ms
64 bytes from 39.51.58.133: seq=1 ttl=63 time=1.124 ms
64 bytes from 39.51.58.133: seq=2 ttl=63 time=2.508 ms
--- 39.51.58.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.124/2.541/3.992 ms
2025-09-26 02:31:25,286 - INFO - Ping to IP 39.51.58.133 from VM ctest-vn1-vm2-27235076 passed
2025-09-26 02:31:25,286 - INFO - Detaching port 9b5a7d2b-a12e-4e49-b462-7575085ae1a3 from VM ctest-vn1-vm2-27235076
2025-09-26 02:31:25,334 - INFO - Deleting VM ctest-vn1-vm2-27235076
2025-09-26 02:31:25,401 - INFO - Detaching port 2f5d726e-d93c-4e59-9fcc-c3647bd2fa10 from VM ctest-vn1-vm1-25182188
2025-09-26 02:31:25,432 - INFO - Deleting VM ctest-vn1-vm1-25182188
2025-09-26 02:31:25,684 - DEBUG - Response for delete_port : ()
2025-09-26 02:31:25,837 - DEBUG - Response for delete_port : ()
2025-09-26 02:31:25,838 - INFO - Deleting VN ctest-vn1-81891670
2025-09-26 02:31:25,969 - DEBUG - Response for deleting network ()
2025-09-26 02:31:26,225 - DEBUG - No XMPP flaps were noticed during the test
2025-09-26 02:31:26,225 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-09-26 02:31:26,225 - INFO - --------------------------------------------------------------------------------
2025-09-26 02:31:26,893 - INFO - Deleted project: ctest-TestPorts-65064848, ID : afad10b3-2b4e-44da-91ea-d90fa71d559f