2025-11-02 16:24:03,413 - INFO - Domain Default found not creating
2025-11-02 16:24:03,573 - INFO - Project ctest-TestPorts-27450271 not found, creating it
2025-11-02 16:24:04,053 - INFO - Created Project:ctest-TestPorts-27450271, ID : d4a296a8-7d3f-42d4-9a71-15e896461f7d
2025-11-02 16:24:05,614 - INFO - ================================================================================
2025-11-02 16:24:05,614 - INFO - STARTING TEST : test_ports_bindings
2025-11-02 16:24:05,614 - 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-11-02 16:24:05,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-02 16:24:05,870 - INFO - Initial checks done. Running the testcase now
2025-11-02 16:24:05,870 - INFO -
2025-11-02 16:24:06,468 - DEBUG - Response for create_network : {'network': {'id': '01f60d6e-a850-46c1-8bbb-9206b4929288', 'name': 'ctest-vn-66935721', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'project_id': 'd4a296a87d3f42d49a7115e896461f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27450271', 'ctest-vn-66935721'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 16:24:06,635 - DEBUG - Response for create_subnet : {'subnet': {'id': '259d439f-d907-4a37-be0f-0a42921e461a', 'name': '', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': '01f60d6e-a850-46c1-8bbb-9206b4929288', 'ip_version': 4, 'cidr': '16.212.152.0/26', 'allocation_pools': [{'start': '16.212.152.2', 'end': '16.212.152.62'}], 'gateway_ip': '16.212.152.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.212.152.2', 'tags': [], 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:06,653 - INFO - Created VN ctest-vn-66935721
2025-11-02 16:24:06,704 - DEBUG - VN ctest-vn-66935721 UUID is 01f60d6e-a850-46c1-8bbb-9206b4929288
2025-11-02 16:24:06,811 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-27450271', 'ctest-vmi-19064190']}
2025-11-02 16:24:07,050 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-19064190', 'id': '37e77037-a3eb-4c02-94f6-c738461d9984', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': '01f60d6e-a850-46c1-8bbb-9206b4929288', 'mac_address': '02:37:e7:70:37:a3', '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': '16.212.152.3', 'subnet_id': '259d439f-d907-4a37-be0f-0a42921e461a'}], 'security_groups': ['f91b6e26-8ff4-4429-8199-aa7a862929a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:07,050 - DEBUG - Created port 37e77037-a3eb-4c02-94f6-c738461d9984
2025-11-02 16:24:07,160 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/37e77037-a3eb-4c02-94f6-c738461d9984
2025-11-02 16:24:07,491 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/37e77037-a3eb-4c02-94f6-c738461d9984
2025-11-02 16:24:07,522 - INFO - VMI 37e77037-a3eb-4c02-94f6-c738461d9984 verification in API Server passed
2025-11-02 16:24:07,611 - DEBUG - Response for delete_port : ()
2025-11-02 16:24:07,612 - INFO - Deleted port 37e77037-a3eb-4c02-94f6-c738461d9984
2025-11-02 16:24:07,612 - INFO - Deleting VN ctest-vn-66935721
2025-11-02 16:24:07,711 - DEBUG - Response for deleting network ()
2025-11-02 16:24:07,965 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 16:24:07,965 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-02 16:24:07,965 - INFO - --------------------------------------------------------------------------------
2025-11-02 16:24:07,968 - INFO - ================================================================================
2025-11-02 16:24:07,968 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-02 16:24:07,968 - 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-11-02 16:24:08,253 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0'}} with
2025-11-02 16:24:08,253 - INFO - Initial checks done. Running the testcase now
2025-11-02 16:24:08,254 - INFO -
2025-11-02 16:24:08,434 - DEBUG - Response for create_network : {'network': {'id': 'ace32994-dd7b-4ad6-beb7-11fa53f59599', 'name': 'ctest-vn1-10644277', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'project_id': 'd4a296a87d3f42d49a7115e896461f7d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-27450271', 'ctest-vn1-10644277'], 'port_security_enabled': True, 'description': ''}}
2025-11-02 16:24:08,644 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd5dff840-ff08-48e9-81a5-f9720bc7d9f6', 'name': '', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': 'ace32994-dd7b-4ad6-beb7-11fa53f59599', 'ip_version': 4, 'cidr': '96.119.6.128/26', 'allocation_pools': [{'start': '96.119.6.130', 'end': '96.119.6.190'}], 'gateway_ip': '96.119.6.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.119.6.130', 'tags': [], 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:08,844 - DEBUG - Response for create_subnet : {'subnet': {'id': '3171f5e0-7180-4f68-9ee7-3264b639df92', 'name': '', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': 'ace32994-dd7b-4ad6-beb7-11fa53f59599', 'ip_version': 4, 'cidr': '44.136.210.128/26', 'allocation_pools': [{'start': '44.136.210.130', 'end': '44.136.210.190'}], 'gateway_ip': '44.136.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.136.210.130', 'tags': [], 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:08,865 - INFO - Created VN ctest-vn1-10644277
2025-11-02 16:24:08,916 - DEBUG - VN ctest-vn1-10644277 UUID is ace32994-dd7b-4ad6-beb7-11fa53f59599
2025-11-02 16:24:09,232 - DEBUG - Response for create_port : {'port': {'name': '665ee9a7-793f-49d3-85e8-ed2885540df5', 'id': '665ee9a7-793f-49d3-85e8-ed2885540df5', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': 'ace32994-dd7b-4ad6-beb7-11fa53f59599', 'mac_address': '02:66:5e:e9:a7:79', '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': '96.119.6.133', 'subnet_id': 'd5dff840-ff08-48e9-81a5-f9720bc7d9f6'}], 'security_groups': ['f91b6e26-8ff4-4429-8199-aa7a862929a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:09,426 - DEBUG - Response for create_port : {'port': {'name': 'abdf37dc-18b6-4b5b-a1b6-fcd84b1f65d6', 'id': 'abdf37dc-18b6-4b5b-a1b6-fcd84b1f65d6', 'tenant_id': 'd4a296a87d3f42d49a7115e896461f7d', 'network_id': 'ace32994-dd7b-4ad6-beb7-11fa53f59599', 'mac_address': '02:ab:df:37:dc:18', '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': '44.136.210.133', 'subnet_id': '3171f5e0-7180-4f68-9ee7-3264b639df92'}], 'security_groups': ['f91b6e26-8ff4-4429-8199-aa7a862929a6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd4a296a87d3f42d49a7115e896461f7d'}}
2025-11-02 16:24:09,486 - DEBUG - Services list from nova: [, , ]
2025-11-02 16:24:09,856 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1)
2025-11-02 16:24:10,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4594-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4594-1)
2025-11-02 16:24:10,277 - INFO - Waiting for VM ctest-vn1-vm1-05933810 to be up..
2025-11-02 16:24:10,318 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-02 16:24:15,398 - DEBUG - VM is in ACTIVE state now
2025-11-02 16:24:15,398 - INFO - VM name : ctest-vn1-vm1-05933810
2025-11-02 16:24:15,479 - DEBUG - VM ctest-vn1-vm1-05933810 ID is 4bb79faf-522d-4c9d-8166-4d813800d82b
2025-11-02 16:24:15,505 - DEBUG - VM ctest-vn1-vm1-05933810 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1
2025-11-02 16:24:15,581 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4bb79faf-522d-4c9d-8166-4d813800d82b
2025-11-02 16:24:15,590 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/665ee9a7-793f-49d3-85e8-ed2885540df5
2025-11-02 16:24:18,847 - 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 1006ms')
2025-11-02 16:24:18,847 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05933810 failed!
2025-11-02 16:24:18,904 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27450271:ctest-vn1-10644277 is 96.119.6.129 and allocation pool is NOT set
2025-11-02 16:24:18,904 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-27450271:ctest-vn1-10644277 is 44.136.210.129 and allocation pool is NOT set
2025-11-02 16:24:22,972 - 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=4.12 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1007ms\r\nrtt min/avg/max/mdev = 4.119/4.119/4.119/0.000 ms')
2025-11-02 16:24:22,972 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05933810 passed
2025-11-02 16:24:23,120 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:24:23,120 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05933810, IP 96.119.6.133, Port 22
2025-11-02 16:24:23,276 - DEBUG - VM ctest-vn1-vm1-05933810 is ready for SSH connections
2025-11-02 16:24:23,276 - INFO - Waiting for VM ctest-vn1-vm2-33575519 to be up..
2025-11-02 16:24:23,356 - DEBUG - VM is in ACTIVE state now
2025-11-02 16:24:23,356 - INFO - VM name : ctest-vn1-vm2-33575519
2025-11-02 16:24:23,431 - DEBUG - VM ctest-vn1-vm2-33575519 ID is 5219654e-ab22-4a27-99bf-34626c4345e1
2025-11-02 16:24:23,432 - DEBUG - VM ctest-vn1-vm2-33575519 launched on Node cn-jenkins-deploy-platform-ansible-os-4594-1
2025-11-02 16:24:23,513 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/5219654e-ab22-4a27-99bf-34626c4345e1
2025-11-02 16:24:23,522 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/abdf37dc-18b6-4b5b-a1b6-fcd84b1f65d6
2025-11-02 16:24:24,759 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.25 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 = 1.252/2.842/4.432/1.590 ms')
2025-11-02 16:24:24,759 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-33575519 passed
2025-11-02 16:24:24,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:24:24,908 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-33575519, IP 44.136.210.133, Port 22
2025-11-02 16:24:25,064 - DEBUG - VM ctest-vn1-vm2-33575519 is ready for SSH connections
2025-11-02 16:24:25,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:24:25,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:24:25,064 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-02 16:24:25,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 96.119.6.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123
2025-11-02 16:24:25,064 - DEBUG - ping -s 56 -c 3 -W 1 96.119.6.133
2025-11-02 16:24:27,762 - DEBUG - PING 96.119.6.133 (96.119.6.133): 56 data bytes
64 bytes from 96.119.6.133: seq=0 ttl=63 time=3.966 ms
64 bytes from 96.119.6.133: seq=1 ttl=63 time=0.907 ms
64 bytes from 96.119.6.133: seq=2 ttl=63 time=0.865 ms
--- 96.119.6.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.865/1.912/3.966 ms
2025-11-02 16:24:27,762 - INFO - Ping to IP 96.119.6.133 from VM ctest-vn1-vm2-33575519 passed
2025-11-02 16:24:27,762 - INFO - Detaching port abdf37dc-18b6-4b5b-a1b6-fcd84b1f65d6 from VM ctest-vn1-vm2-33575519
2025-11-02 16:24:27,812 - INFO - Deleting VM ctest-vn1-vm2-33575519
2025-11-02 16:24:27,875 - INFO - Detaching port 665ee9a7-793f-49d3-85e8-ed2885540df5 from VM ctest-vn1-vm1-05933810
2025-11-02 16:24:27,926 - INFO - Deleting VM ctest-vn1-vm1-05933810
2025-11-02 16:24:28,221 - DEBUG - Response for delete_port : ()
2025-11-02 16:24:28,425 - DEBUG - Response for delete_port : ()
2025-11-02 16:24:28,425 - INFO - Deleting VN ctest-vn1-10644277
2025-11-02 16:24:28,572 - DEBUG - Response for deleting network ()
2025-11-02 16:24:28,826 - DEBUG - No XMPP flaps were noticed during the test
2025-11-02 16:24:28,826 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:21]
2025-11-02 16:24:28,826 - INFO - --------------------------------------------------------------------------------
2025-11-02 16:24:29,584 - INFO - Deleted project: ctest-TestPorts-27450271, ID : d4a296a8-7d3f-42d4-9a71-15e896461f7d