2025-10-31 20:02:31,616 - INFO - Domain Default found not creating
2025-10-31 20:02:32,059 - INFO - Project ctest-TestPorts-45926560 not found, creating it
2025-10-31 20:02:32,494 - INFO - Created Project:ctest-TestPorts-45926560, ID : afca91f4-1d7f-4196-80ce-23604fa1a8fa
2025-10-31 20:02:33,937 - INFO - ================================================================================
2025-10-31 20:02:33,937 - INFO - STARTING TEST : test_ports_bindings
2025-10-31 20:02:33,937 - 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-31 20:02:34,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-10-31 20:02:34,191 - INFO - Initial checks done. Running the testcase now
2025-10-31 20:02:34,191 - INFO -
2025-10-31 20:02:34,813 - DEBUG - Response for create_network : {'network': {'id': '65beb74c-46b6-43d4-bea6-5c66d7ff7509', 'name': 'ctest-vn-53649157', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'project_id': 'afca91f41d7f419680ce23604fa1a8fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45926560', 'ctest-vn-53649157'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 20:02:35,027 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9e810bc-2d91-4f81-8ac4-c032e8653e1b', 'name': '', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '65beb74c-46b6-43d4-bea6-5c66d7ff7509', 'ip_version': 4, 'cidr': '172.196.19.64/26', 'allocation_pools': [{'start': '172.196.19.66', 'end': '172.196.19.126'}], 'gateway_ip': '172.196.19.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '172.196.19.66', 'tags': [], 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:35,044 - INFO - Created VN ctest-vn-53649157
2025-10-31 20:02:35,098 - DEBUG - VN ctest-vn-53649157 UUID is 65beb74c-46b6-43d4-bea6-5c66d7ff7509
2025-10-31 20:02:35,204 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45926560', 'ctest-vmi-10508508']}
2025-10-31 20:02:35,469 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-10508508', 'id': '4c4237c6-2ee7-4239-a6cc-5f9ab79641b8', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '65beb74c-46b6-43d4-bea6-5c66d7ff7509', 'mac_address': '02:4c:42:37:c6:2e', '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': '172.196.19.67', 'subnet_id': 'e9e810bc-2d91-4f81-8ac4-c032e8653e1b'}], 'security_groups': ['6773d6aa-fcf6-4d79-afdb-cdfdc4d45eab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:35,469 - DEBUG - Created port 4c4237c6-2ee7-4239-a6cc-5f9ab79641b8
2025-10-31 20:02:35,574 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c4237c6-2ee7-4239-a6cc-5f9ab79641b8
2025-10-31 20:02:35,863 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4c4237c6-2ee7-4239-a6cc-5f9ab79641b8
2025-10-31 20:02:35,892 - INFO - VMI 4c4237c6-2ee7-4239-a6cc-5f9ab79641b8 verification in API Server passed
2025-10-31 20:02:35,979 - DEBUG - Response for delete_port : ()
2025-10-31 20:02:35,979 - INFO - Deleted port 4c4237c6-2ee7-4239-a6cc-5f9ab79641b8
2025-10-31 20:02:35,979 - INFO - Deleting VN ctest-vn-53649157
2025-10-31 20:02:36,099 - DEBUG - Response for deleting network ()
2025-10-31 20:02:36,359 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 20:02:36,359 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-31 20:02:36,359 - INFO - --------------------------------------------------------------------------------
2025-10-31 20:02:36,362 - INFO - ================================================================================
2025-10-31 20:02:36,362 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-31 20:02:36,362 - 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-31 20:02:36,648 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-10-31 20:02:36,648 - INFO - Initial checks done. Running the testcase now
2025-10-31 20:02:36,648 - INFO -
2025-10-31 20:02:36,823 - DEBUG - Response for create_network : {'network': {'id': '8cbcb6ae-c1b0-4d27-b01c-8317b88c9090', 'name': 'ctest-vn1-73615377', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'project_id': 'afca91f41d7f419680ce23604fa1a8fa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45926560', 'ctest-vn1-73615377'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 20:02:37,038 - DEBUG - Response for create_subnet : {'subnet': {'id': '883faf20-de4f-4d39-b447-05e321f8f539', 'name': '', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '8cbcb6ae-c1b0-4d27-b01c-8317b88c9090', 'ip_version': 4, 'cidr': '129.236.111.64/26', 'allocation_pools': [{'start': '129.236.111.66', 'end': '129.236.111.126'}], 'gateway_ip': '129.236.111.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.236.111.66', 'tags': [], 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:37,215 - DEBUG - Response for create_subnet : {'subnet': {'id': '2924aaf7-ecd0-4bdc-a44e-fd9aa058e975', 'name': '', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '8cbcb6ae-c1b0-4d27-b01c-8317b88c9090', 'ip_version': 4, 'cidr': '181.136.49.128/26', 'allocation_pools': [{'start': '181.136.49.130', 'end': '181.136.49.190'}], 'gateway_ip': '181.136.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.136.49.130', 'tags': [], 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:37,232 - INFO - Created VN ctest-vn1-73615377
2025-10-31 20:02:37,282 - DEBUG - VN ctest-vn1-73615377 UUID is 8cbcb6ae-c1b0-4d27-b01c-8317b88c9090
2025-10-31 20:02:37,552 - DEBUG - Response for create_port : {'port': {'name': 'ba1968c6-857c-4519-870f-ccf3be40ed64', 'id': 'ba1968c6-857c-4519-870f-ccf3be40ed64', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '8cbcb6ae-c1b0-4d27-b01c-8317b88c9090', 'mac_address': '02:ba:19:68:c6:85', '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': '129.236.111.69', 'subnet_id': '883faf20-de4f-4d39-b447-05e321f8f539'}], 'security_groups': ['6773d6aa-fcf6-4d79-afdb-cdfdc4d45eab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:37,698 - DEBUG - Response for create_port : {'port': {'name': '542912eb-dfe1-46de-a446-73534e0fa170', 'id': '542912eb-dfe1-46de-a446-73534e0fa170', 'tenant_id': 'afca91f41d7f419680ce23604fa1a8fa', 'network_id': '8cbcb6ae-c1b0-4d27-b01c-8317b88c9090', 'mac_address': '02:54:29:12:eb:df', '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.136.49.133', 'subnet_id': '2924aaf7-ecd0-4bdc-a44e-fd9aa058e975'}], 'security_groups': ['6773d6aa-fcf6-4d79-afdb-cdfdc4d45eab'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'afca91f41d7f419680ce23604fa1a8fa'}}
2025-10-31 20:02:37,751 - DEBUG - Services list from nova: [, , ]
2025-10-31 20:02:38,070 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1)
2025-10-31 20:02:38,448 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4581-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4581-1)
2025-10-31 20:02:38,449 - INFO - Waiting for VM ctest-vn1-vm1-00725469 to be up..
2025-10-31 20:02:38,488 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-31 20:02:43,597 - DEBUG - VM is in ACTIVE state now
2025-10-31 20:02:43,597 - INFO - VM name : ctest-vn1-vm1-00725469
2025-10-31 20:02:43,676 - DEBUG - VM ctest-vn1-vm1-00725469 ID is 01e4ee80-a5ab-446c-ae43-e6bd465213a3
2025-10-31 20:02:43,699 - DEBUG - VM ctest-vn1-vm1-00725469 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1
2025-10-31 20:02:43,775 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/01e4ee80-a5ab-446c-ae43-e6bd465213a3
2025-10-31 20:02:43,789 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/ba1968c6-857c-4519-870f-ccf3be40ed64
2025-10-31 20:02:47,042 - 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 1023ms')
2025-10-31 20:02:47,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00725469 failed!
2025-10-31 20:02:47,094 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45926560:ctest-vn1-73615377 is 129.236.111.65 and allocation pool is NOT set
2025-10-31 20:02:47,094 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45926560:ctest-vn1-73615377 is 181.136.49.129 and allocation pool is NOT set
2025-10-31 20:02:49,164 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.29 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 = 1.289/2.586/3.883/1.297 ms')
2025-10-31 20:02:49,164 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00725469 passed
2025-10-31 20:02:49,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 20:02:49,314 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00725469, IP 129.236.111.69, Port 22
2025-10-31 20:02:49,484 - DEBUG - VM ctest-vn1-vm1-00725469 is ready for SSH connections
2025-10-31 20:02:49,485 - INFO - Waiting for VM ctest-vn1-vm2-97587278 to be up..
2025-10-31 20:02:49,561 - DEBUG - VM is in ACTIVE state now
2025-10-31 20:02:49,562 - INFO - VM name : ctest-vn1-vm2-97587278
2025-10-31 20:02:49,632 - DEBUG - VM ctest-vn1-vm2-97587278 ID is 31e59b9a-af6e-4874-9165-a82268492a33
2025-10-31 20:02:49,632 - DEBUG - VM ctest-vn1-vm2-97587278 launched on Node cn-jenkins-deploy-platform-ansible-os-4581-1
2025-10-31 20:02:49,711 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/31e59b9a-af6e-4874-9165-a82268492a33
2025-10-31 20:02:49,720 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/542912eb-dfe1-46de-a446-73534e0fa170
2025-10-31 20:02:50,958 - 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=5.48 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.975 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.975/3.226/5.478/2.251 ms')
2025-10-31 20:02:50,959 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-97587278 passed
2025-10-31 20:02:51,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 20:02:51,106 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-97587278, IP 181.136.49.133, Port 22
2025-10-31 20:02:51,270 - DEBUG - VM ctest-vn1-vm2-97587278 is ready for SSH connections
2025-10-31 20:02:51,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 20:02:51,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 20:02:51,270 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-31 20:02:51,270 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 129.236.111.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-31 20:02:51,270 - DEBUG - ping -s 56 -c 3 -W 1 129.236.111.69
2025-10-31 20:02:54,214 - DEBUG - PING 129.236.111.69 (129.236.111.69): 56 data bytes
64 bytes from 129.236.111.69: seq=0 ttl=63 time=3.976 ms
64 bytes from 129.236.111.69: seq=1 ttl=63 time=0.725 ms
64 bytes from 129.236.111.69: seq=2 ttl=63 time=1.007 ms
--- 129.236.111.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.725/1.902/3.976 ms
2025-10-31 20:02:54,214 - INFO - Ping to IP 129.236.111.69 from VM ctest-vn1-vm2-97587278 passed
2025-10-31 20:02:54,214 - INFO - Detaching port 542912eb-dfe1-46de-a446-73534e0fa170 from VM ctest-vn1-vm2-97587278
2025-10-31 20:02:54,263 - INFO - Deleting VM ctest-vn1-vm2-97587278
2025-10-31 20:02:54,325 - INFO - Detaching port ba1968c6-857c-4519-870f-ccf3be40ed64 from VM ctest-vn1-vm1-00725469
2025-10-31 20:02:54,360 - INFO - Deleting VM ctest-vn1-vm1-00725469
2025-10-31 20:02:54,563 - DEBUG - Response for delete_port : ()
2025-10-31 20:02:54,693 - DEBUG - Response for delete_port : ()
2025-10-31 20:02:54,693 - INFO - Deleting VN ctest-vn1-73615377
2025-10-31 20:02:54,823 - DEBUG - Response for deleting network ()
2025-10-31 20:02:55,087 - DEBUG - No XMPP flaps were noticed during the test
2025-10-31 20:02:55,087 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-31 20:02:55,087 - INFO - --------------------------------------------------------------------------------
2025-10-31 20:02:55,824 - INFO - Deleted project: ctest-TestPorts-45926560, ID : afca91f4-1d7f-4196-80ce-23604fa1a8fa