2025-11-17 20:36:25,150 - INFO - Domain Default found not creating
2025-11-17 20:36:25,314 - INFO - Project ctest-TestPorts-83968255 not found, creating it
2025-11-17 20:36:25,767 - INFO - Created Project:ctest-TestPorts-83968255, ID : 2cdc520f-e7fc-4fe8-99bc-2e70c8e8a5ed
2025-11-17 20:36:27,440 - INFO - ================================================================================
2025-11-17 20:36:27,440 - INFO - STARTING TEST : test_ports_bindings
2025-11-17 20:36:27,440 - 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-17 20:36:27,694 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-17 20:36:27,694 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:36:27,694 - INFO -
2025-11-17 20:36:28,283 - DEBUG - Response for create_network : {'network': {'id': 'd02eb0ed-4fdb-4ea8-8874-5171cb21d306', 'name': 'ctest-vn-61998772', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83968255', 'ctest-vn-61998772'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:36:28,492 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9e3288f-4dd8-414c-b8c8-2b1c276678e6', 'name': '', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': 'd02eb0ed-4fdb-4ea8-8874-5171cb21d306', 'ip_version': 4, 'cidr': '118.192.207.128/26', 'allocation_pools': [{'start': '118.192.207.130', 'end': '118.192.207.190'}], 'gateway_ip': '118.192.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.192.207.130', 'tags': [], 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:28,509 - INFO - Created VN ctest-vn-61998772
2025-11-17 20:36:28,559 - DEBUG - VN ctest-vn-61998772 UUID is d02eb0ed-4fdb-4ea8-8874-5171cb21d306
2025-11-17 20:36:28,676 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-83968255', 'ctest-vmi-46931247']}
2025-11-17 20:36:28,929 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-46931247', 'id': '992048bd-a09a-474a-bbe2-530822e4de39', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': 'd02eb0ed-4fdb-4ea8-8874-5171cb21d306', 'mac_address': '02:99:20:48:bd:a0', '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': '118.192.207.131', 'subnet_id': 'b9e3288f-4dd8-414c-b8c8-2b1c276678e6'}], 'security_groups': ['8ac28b80-6514-4ca0-8db1-1c1d9c06a146'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:28,929 - DEBUG - Created port 992048bd-a09a-474a-bbe2-530822e4de39
2025-11-17 20:36:29,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/992048bd-a09a-474a-bbe2-530822e4de39
2025-11-17 20:36:29,368 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/992048bd-a09a-474a-bbe2-530822e4de39
2025-11-17 20:36:29,403 - INFO - VMI 992048bd-a09a-474a-bbe2-530822e4de39 verification in API Server passed
2025-11-17 20:36:29,489 - DEBUG - Response for delete_port : ()
2025-11-17 20:36:29,489 - INFO - Deleted port 992048bd-a09a-474a-bbe2-530822e4de39
2025-11-17 20:36:29,489 - INFO - Deleting VN ctest-vn-61998772
2025-11-17 20:36:29,586 - DEBUG - Response for deleting network ()
2025-11-17 20:36:29,845 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:36:29,845 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-17 20:36:29,845 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:36:29,848 - INFO - ================================================================================
2025-11-17 20:36:29,848 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-17 20:36:29,848 - 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-17 20:36:30,134 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-17 20:36:30,134 - INFO - Initial checks done. Running the testcase now
2025-11-17 20:36:30,134 - INFO -
2025-11-17 20:36:30,298 - DEBUG - Response for create_network : {'network': {'id': '1a63a3db-c591-428f-8230-874465e0678a', 'name': 'ctest-vn1-21281344', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-83968255', 'ctest-vn1-21281344'], 'port_security_enabled': True, 'description': ''}}
2025-11-17 20:36:30,529 - DEBUG - Response for create_subnet : {'subnet': {'id': '71540453-0b24-4b40-9408-b23f5c34ae5b', 'name': '', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': '1a63a3db-c591-428f-8230-874465e0678a', 'ip_version': 4, 'cidr': '134.200.153.128/26', 'allocation_pools': [{'start': '134.200.153.130', 'end': '134.200.153.190'}], 'gateway_ip': '134.200.153.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.200.153.130', 'tags': [], 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:30,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '81b53968-1a1e-4f9b-9075-73a99b556507', 'name': '', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': '1a63a3db-c591-428f-8230-874465e0678a', 'ip_version': 4, 'cidr': '5.72.239.192/26', 'allocation_pools': [{'start': '5.72.239.194', 'end': '5.72.239.254'}], 'gateway_ip': '5.72.239.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.72.239.194', 'tags': [], 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:30,758 - INFO - Created VN ctest-vn1-21281344
2025-11-17 20:36:30,811 - DEBUG - VN ctest-vn1-21281344 UUID is 1a63a3db-c591-428f-8230-874465e0678a
2025-11-17 20:36:31,115 - DEBUG - Response for create_port : {'port': {'name': '40434352-c55c-4ea1-90fd-e1b421a6c8a8', 'id': '40434352-c55c-4ea1-90fd-e1b421a6c8a8', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': '1a63a3db-c591-428f-8230-874465e0678a', 'mac_address': '02:40:43:43:52:c5', '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': '134.200.153.133', 'subnet_id': '71540453-0b24-4b40-9408-b23f5c34ae5b'}], 'security_groups': ['8ac28b80-6514-4ca0-8db1-1c1d9c06a146'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:31,293 - DEBUG - Response for create_port : {'port': {'name': 'b8a775a3-09bc-46d1-935b-3bc2476a2a87', 'id': 'b8a775a3-09bc-46d1-935b-3bc2476a2a87', 'tenant_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed', 'network_id': '1a63a3db-c591-428f-8230-874465e0678a', 'mac_address': '02:b8:a7:75:a3:09', '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': '5.72.239.197', 'subnet_id': '81b53968-1a1e-4f9b-9075-73a99b556507'}], 'security_groups': ['8ac28b80-6514-4ca0-8db1-1c1d9c06a146'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2cdc520fe7fc4fe899bc2e70c8e8a5ed'}}
2025-11-17 20:36:31,354 - DEBUG - Services list from nova: [, , ]
2025-11-17 20:36:31,696 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1)
2025-11-17 20:36:32,098 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4746-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4746-1)
2025-11-17 20:36:32,098 - INFO - Waiting for VM ctest-vn1-vm1-58534703 to be up..
2025-11-17 20:36:32,138 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-17 20:36:37,214 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:36:37,214 - INFO - VM name : ctest-vn1-vm1-58534703
2025-11-17 20:36:37,294 - DEBUG - VM ctest-vn1-vm1-58534703 ID is 06f90040-6cc5-4980-9f5f-b4974c0a15ed
2025-11-17 20:36:37,316 - DEBUG - VM ctest-vn1-vm1-58534703 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1
2025-11-17 20:36:37,397 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/06f90040-6cc5-4980-9f5f-b4974c0a15ed
2025-11-17 20:36:37,405 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/40434352-c55c-4ea1-90fd-e1b421a6c8a8
2025-11-17 20:36:40,661 - 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 1010ms')
2025-11-17 20:36:40,662 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-58534703 failed!
2025-11-17 20:36:40,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83968255:ctest-vn1-21281344 is 134.200.153.129 and allocation pool is NOT set
2025-11-17 20:36:40,716 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-83968255:ctest-vn1-21281344 is 5.72.239.193 and allocation pool is NOT set
2025-11-17 20:36:44,787 - 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=12.6 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 = 12.606/12.606/12.606/0.000 ms')
2025-11-17 20:36:44,787 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-58534703 passed
2025-11-17 20:36:44,939 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:36:44,940 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-58534703, IP 134.200.153.133, Port 22
2025-11-17 20:36:45,109 - DEBUG - VM ctest-vn1-vm1-58534703 is ready for SSH connections
2025-11-17 20:36:45,109 - INFO - Waiting for VM ctest-vn1-vm2-87912915 to be up..
2025-11-17 20:36:45,190 - DEBUG - VM is in ACTIVE state now
2025-11-17 20:36:45,190 - INFO - VM name : ctest-vn1-vm2-87912915
2025-11-17 20:36:45,272 - DEBUG - VM ctest-vn1-vm2-87912915 ID is 552139bc-1963-4fbe-87af-d8da59b9da5d
2025-11-17 20:36:45,272 - DEBUG - VM ctest-vn1-vm2-87912915 launched on Node cn-jenkins-deploy-platform-ansible-os-4746-1
2025-11-17 20:36:45,355 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/552139bc-1963-4fbe-87af-d8da59b9da5d
2025-11-17 20:36:45,363 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b8a775a3-09bc-46d1-935b-3bc2476a2a87
2025-11-17 20:36:46,598 - 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.60 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.527 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.527/2.061/3.596/1.534 ms')
2025-11-17 20:36:46,598 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-87912915 passed
2025-11-17 20:36:46,747 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:36:46,748 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-87912915, IP 5.72.239.197, Port 22
2025-11-17 20:36:46,903 - DEBUG - VM ctest-vn1-vm2-87912915 is ready for SSH connections
2025-11-17 20:36:46,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:36:46,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:36:46,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-17 20:36:46,903 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.200.153.133, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-17 20:36:46,904 - DEBUG - ping -s 56 -c 3 -W 1 134.200.153.133
2025-11-17 20:36:50,627 - DEBUG - PING 134.200.153.133 (134.200.153.133): 56 data bytes
64 bytes from 134.200.153.133: seq=0 ttl=63 time=3.677 ms
64 bytes from 134.200.153.133: seq=1 ttl=63 time=0.952 ms
64 bytes from 134.200.153.133: seq=2 ttl=63 time=1.001 ms
--- 134.200.153.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.952/1.876/3.677 ms
2025-11-17 20:36:50,627 - INFO - Ping to IP 134.200.153.133 from VM ctest-vn1-vm2-87912915 passed
2025-11-17 20:36:50,628 - INFO - Detaching port b8a775a3-09bc-46d1-935b-3bc2476a2a87 from VM ctest-vn1-vm2-87912915
2025-11-17 20:36:50,688 - INFO - Deleting VM ctest-vn1-vm2-87912915
2025-11-17 20:36:50,767 - INFO - Detaching port 40434352-c55c-4ea1-90fd-e1b421a6c8a8 from VM ctest-vn1-vm1-58534703
2025-11-17 20:36:50,809 - INFO - Deleting VM ctest-vn1-vm1-58534703
2025-11-17 20:36:51,040 - DEBUG - Response for delete_port : ()
2025-11-17 20:36:51,221 - DEBUG - Response for delete_port : ()
2025-11-17 20:36:51,221 - INFO - Deleting VN ctest-vn1-21281344
2025-11-17 20:36:51,359 - DEBUG - Response for deleting network ()
2025-11-17 20:36:51,629 - DEBUG - No XMPP flaps were noticed during the test
2025-11-17 20:36:51,629 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2025-11-17 20:36:51,629 - INFO - --------------------------------------------------------------------------------
2025-11-17 20:36:52,763 - INFO - Deleted project: ctest-TestPorts-83968255, ID : 2cdc520f-e7fc-4fe8-99bc-2e70c8e8a5ed