2025-10-16 10:07:57,603 - INFO - Domain Default found not creating 2025-10-16 10:07:57,757 - INFO - Project ctest-TestPorts-89005941 not found, creating it 2025-10-16 10:07:58,210 - INFO - Created Project:ctest-TestPorts-89005941, ID : 1a57baa1-6314-40a5-b5bc-16492a869fa0 2025-10-16 10:07:59,774 - INFO - ================================================================================ 2025-10-16 10:07:59,775 - INFO - STARTING TEST : test_ports_bindings 2025-10-16 10:07:59,775 - 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-16 10:08:00,031 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-16 10:08:00,031 - INFO - Initial checks done. Running the testcase now 2025-10-16 10:08:00,031 - INFO - 2025-10-16 10:08:00,625 - DEBUG - Response for create_network : {'network': {'id': '18255158-40fb-4c70-82a2-b189987d89cb', 'name': 'ctest-vn-04229863', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'project_id': '1a57baa1631440a5b5bc16492a869fa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89005941', 'ctest-vn-04229863'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:08:00,848 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f29e87c6-c1cd-4195-9f11-f35c8ef3b211', 'name': '', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '18255158-40fb-4c70-82a2-b189987d89cb', 'ip_version': 4, 'cidr': '147.149.104.128/26', 'allocation_pools': [{'start': '147.149.104.130', 'end': '147.149.104.190'}], 'gateway_ip': '147.149.104.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.149.104.130', 'tags': [], 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:00,873 - INFO - Created VN ctest-vn-04229863 2025-10-16 10:08:00,928 - DEBUG - VN ctest-vn-04229863 UUID is 18255158-40fb-4c70-82a2-b189987d89cb 2025-10-16 10:08:01,045 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-89005941', 'ctest-vmi-98433170']} 2025-10-16 10:08:01,285 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-98433170', 'id': '20966421-46d2-4ff6-8354-2eb59967a704', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '18255158-40fb-4c70-82a2-b189987d89cb', 'mac_address': '02:20:96:64:21:46', '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': '147.149.104.131', 'subnet_id': 'f29e87c6-c1cd-4195-9f11-f35c8ef3b211'}], 'security_groups': ['01691c34-8c13-477b-a67f-7a3dc090d86f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:01,285 - DEBUG - Created port 20966421-46d2-4ff6-8354-2eb59967a704 2025-10-16 10:08:01,392 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/20966421-46d2-4ff6-8354-2eb59967a704 2025-10-16 10:08:01,728 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/20966421-46d2-4ff6-8354-2eb59967a704 2025-10-16 10:08:01,764 - INFO - VMI 20966421-46d2-4ff6-8354-2eb59967a704 verification in API Server passed 2025-10-16 10:08:01,867 - DEBUG - Response for delete_port : () 2025-10-16 10:08:01,867 - INFO - Deleted port 20966421-46d2-4ff6-8354-2eb59967a704 2025-10-16 10:08:01,868 - INFO - Deleting VN ctest-vn-04229863 2025-10-16 10:08:01,971 - DEBUG - Response for deleting network () 2025-10-16 10:08:02,229 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 10:08:02,229 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-16 10:08:02,229 - INFO - -------------------------------------------------------------------------------- 2025-10-16 10:08:02,232 - INFO - ================================================================================ 2025-10-16 10:08:02,232 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-10-16 10:08:02,232 - 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-16 10:08:02,519 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-10-16 10:08:02,519 - INFO - Initial checks done. Running the testcase now 2025-10-16 10:08:02,520 - INFO - 2025-10-16 10:08:02,698 - DEBUG - Response for create_network : {'network': {'id': '4a228806-9ad9-46b8-a5b8-fffe31f6115c', 'name': 'ctest-vn1-32413823', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'project_id': '1a57baa1631440a5b5bc16492a869fa0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-89005941', 'ctest-vn1-32413823'], 'port_security_enabled': True, 'description': ''}} 2025-10-16 10:08:02,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e683b4d-2eb7-4f52-9299-b478b3760c93', 'name': '', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '4a228806-9ad9-46b8-a5b8-fffe31f6115c', 'ip_version': 4, 'cidr': '222.137.194.64/26', 'allocation_pools': [{'start': '222.137.194.66', 'end': '222.137.194.126'}], 'gateway_ip': '222.137.194.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.137.194.66', 'tags': [], 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:03,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c6e4e90-f8d2-4057-bd81-875a16206d1e', 'name': '', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '4a228806-9ad9-46b8-a5b8-fffe31f6115c', 'ip_version': 4, 'cidr': '221.90.154.0/26', 'allocation_pools': [{'start': '221.90.154.2', 'end': '221.90.154.62'}], 'gateway_ip': '221.90.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.90.154.2', 'tags': [], 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:03,059 - INFO - Created VN ctest-vn1-32413823 2025-10-16 10:08:03,112 - DEBUG - VN ctest-vn1-32413823 UUID is 4a228806-9ad9-46b8-a5b8-fffe31f6115c 2025-10-16 10:08:03,417 - DEBUG - Response for create_port : {'port': {'name': '96ee0afb-3f40-4819-a5b1-f46baaaa7485', 'id': '96ee0afb-3f40-4819-a5b1-f46baaaa7485', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '4a228806-9ad9-46b8-a5b8-fffe31f6115c', 'mac_address': '02:96:ee:0a:fb:3f', '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': '222.137.194.69', 'subnet_id': '9e683b4d-2eb7-4f52-9299-b478b3760c93'}], 'security_groups': ['01691c34-8c13-477b-a67f-7a3dc090d86f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:03,607 - DEBUG - Response for create_port : {'port': {'name': '24528dd9-8b92-4878-a027-771dc7136a2e', 'id': '24528dd9-8b92-4878-a027-771dc7136a2e', 'tenant_id': '1a57baa1631440a5b5bc16492a869fa0', 'network_id': '4a228806-9ad9-46b8-a5b8-fffe31f6115c', 'mac_address': '02:24:52:8d:d9:8b', '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': '221.90.154.5', 'subnet_id': '8c6e4e90-f8d2-4057-bd81-875a16206d1e'}], 'security_groups': ['01691c34-8c13-477b-a67f-7a3dc090d86f'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1a57baa1631440a5b5bc16492a869fa0'}} 2025-10-16 10:08:03,667 - DEBUG - Services list from nova: [, , ] 2025-10-16 10:08:04,049 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4343-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4343-1) 2025-10-16 10:08:04,474 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4343-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4343-1) 2025-10-16 10:08:04,474 - INFO - Waiting for VM ctest-vn1-vm1-84519665 to be up.. 2025-10-16 10:08:04,522 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-16 10:08:09,601 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:08:09,601 - INFO - VM name : ctest-vn1-vm1-84519665 2025-10-16 10:08:09,677 - DEBUG - VM ctest-vn1-vm1-84519665 ID is 95d59331-dce4-40e7-bcb3-7083996e3846 2025-10-16 10:08:09,697 - DEBUG - VM ctest-vn1-vm1-84519665 launched on Node cn-jenkins-deploy-platform-ansible-os-4343-1 2025-10-16 10:08:09,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/95d59331-dce4-40e7-bcb3-7083996e3846 2025-10-16 10:08:09,782 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96ee0afb-3f40-4819-a5b1-f46baaaa7485 2025-10-16 10:08:13,053 - 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 1030ms') 2025-10-16 10:08:13,053 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84519665 failed! 2025-10-16 10:08:13,108 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89005941:ctest-vn1-32413823 is 222.137.194.65 and allocation pool is NOT set 2025-10-16 10:08:13,108 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89005941:ctest-vn1-32413823 is 221.90.154.1 and allocation pool is NOT set 2025-10-16 10:08:17,179 - 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 1010ms') 2025-10-16 10:08:17,179 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84519665 failed! 2025-10-16 10:08:17,232 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89005941:ctest-vn1-32413823 is 222.137.194.65 and allocation pool is NOT set 2025-10-16 10:08:17,233 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-89005941:ctest-vn1-32413823 is 221.90.154.1 and allocation pool is NOT set 2025-10-16 10:08:19,296 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.490 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.490/1.916/3.342/1.426 ms') 2025-10-16 10:08:19,296 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84519665 passed 2025-10-16 10:08:19,452 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:08:19,452 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84519665, IP 222.137.194.69, Port 22 2025-10-16 10:08:19,608 - DEBUG - VM ctest-vn1-vm1-84519665 is ready for SSH connections 2025-10-16 10:08:19,608 - INFO - Waiting for VM ctest-vn1-vm2-73067806 to be up.. 2025-10-16 10:08:19,688 - DEBUG - VM is in ACTIVE state now 2025-10-16 10:08:19,688 - INFO - VM name : ctest-vn1-vm2-73067806 2025-10-16 10:08:19,762 - DEBUG - VM ctest-vn1-vm2-73067806 ID is 07a67087-82c2-45f4-a231-8853ae78b122 2025-10-16 10:08:19,762 - DEBUG - VM ctest-vn1-vm2-73067806 launched on Node cn-jenkins-deploy-platform-ansible-os-4343-1 2025-10-16 10:08:19,841 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/07a67087-82c2-45f4-a231-8853ae78b122 2025-10-16 10:08:19,851 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/24528dd9-8b92-4878-a027-771dc7136a2e 2025-10-16 10:08:21,094 - 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=3.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.391 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.391/2.084/3.778/1.693 ms') 2025-10-16 10:08:21,094 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-73067806 passed 2025-10-16 10:08:21,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:08:21,252 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-73067806, IP 221.90.154.5, Port 22 2025-10-16 10:08:21,418 - DEBUG - VM ctest-vn1-vm2-73067806 is ready for SSH connections 2025-10-16 10:08:21,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:08:21,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:08:21,418 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-16 10:08:21,418 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 222.137.194.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-10-16 10:08:21,419 - DEBUG - ping -s 56 -c 3 -W 1 222.137.194.69 2025-10-16 10:08:24,129 - DEBUG - PING 222.137.194.69 (222.137.194.69): 56 data bytes 64 bytes from 222.137.194.69: seq=0 ttl=63 time=4.419 ms 64 bytes from 222.137.194.69: seq=1 ttl=63 time=0.942 ms 64 bytes from 222.137.194.69: seq=2 ttl=63 time=0.819 ms --- 222.137.194.69 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.060/4.419 ms 2025-10-16 10:08:24,129 - INFO - Ping to IP 222.137.194.69 from VM ctest-vn1-vm2-73067806 passed 2025-10-16 10:08:24,129 - INFO - Detaching port 24528dd9-8b92-4878-a027-771dc7136a2e from VM ctest-vn1-vm2-73067806 2025-10-16 10:08:24,181 - INFO - Deleting VM ctest-vn1-vm2-73067806 2025-10-16 10:08:24,251 - INFO - Detaching port 96ee0afb-3f40-4819-a5b1-f46baaaa7485 from VM ctest-vn1-vm1-84519665 2025-10-16 10:08:24,292 - INFO - Deleting VM ctest-vn1-vm1-84519665 2025-10-16 10:08:24,516 - DEBUG - Response for delete_port : () 2025-10-16 10:08:24,681 - DEBUG - Response for delete_port : () 2025-10-16 10:08:24,681 - INFO - Deleting VN ctest-vn1-32413823 2025-10-16 10:08:24,809 - DEBUG - Response for deleting network () 2025-10-16 10:08:25,065 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 10:08:25,065 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:23]
2025-10-16 10:08:25,065 - INFO - -------------------------------------------------------------------------------- 2025-10-16 10:08:25,929 - INFO - Deleted project: ctest-TestPorts-89005941, ID : 1a57baa1-6314-40a5-b5bc-16492a869fa0