2025-11-17 18:14:00,188 - INFO - Domain Default found not creating 2025-11-17 18:14:00,444 - INFO - Project ctest-TestPorts-41503583 not found, creating it 2025-11-17 18:14:00,921 - INFO - Created Project:ctest-TestPorts-41503583, ID : e463804a-a812-48e1-b985-f2852fbb8043 2025-11-17 18:14:02,755 - INFO - ================================================================================ 2025-11-17 18:14:02,755 - INFO - STARTING TEST : test_ports_bindings 2025-11-17 18:14:02,755 - 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 18:14:03,039 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:14:03,039 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:14:03,039 - INFO - 2025-11-17 18:14:03,687 - DEBUG - Response for create_network : {'network': {'id': '5f6d6aff-cc2f-441a-9915-dd6ca425316c', 'name': 'ctest-vn-11323051', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'project_id': 'e463804aa81248e1b985f2852fbb8043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41503583', 'ctest-vn-11323051'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:14:03,874 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a3dfb2fb-5894-4bb1-aca6-dec99299fe2a', 'name': '', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '5f6d6aff-cc2f-441a-9915-dd6ca425316c', 'ip_version': 4, 'cidr': '178.152.255.64/26', 'allocation_pools': [{'start': '178.152.255.66', 'end': '178.152.255.126'}], 'gateway_ip': '178.152.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.152.255.66', 'tags': [], 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:03,896 - INFO - Created VN ctest-vn-11323051 2025-11-17 18:14:03,951 - DEBUG - VN ctest-vn-11323051 UUID is 5f6d6aff-cc2f-441a-9915-dd6ca425316c 2025-11-17 18:14:04,080 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41503583', 'ctest-vmi-54844533']} 2025-11-17 18:14:04,360 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-54844533', 'id': '745b0ccc-2947-4e95-bb2b-1aee875545ef', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '5f6d6aff-cc2f-441a-9915-dd6ca425316c', 'mac_address': '02:74:5b:0c:cc:29', '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': '178.152.255.67', 'subnet_id': 'a3dfb2fb-5894-4bb1-aca6-dec99299fe2a'}], 'security_groups': ['971a863f-e807-4ba7-92c3-f274cb3090aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:04,360 - DEBUG - Created port 745b0ccc-2947-4e95-bb2b-1aee875545ef 2025-11-17 18:14:04,475 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/745b0ccc-2947-4e95-bb2b-1aee875545ef 2025-11-17 18:14:04,810 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/745b0ccc-2947-4e95-bb2b-1aee875545ef 2025-11-17 18:14:04,853 - INFO - VMI 745b0ccc-2947-4e95-bb2b-1aee875545ef verification in API Server passed 2025-11-17 18:14:04,966 - DEBUG - Response for delete_port : () 2025-11-17 18:14:04,966 - INFO - Deleted port 745b0ccc-2947-4e95-bb2b-1aee875545ef 2025-11-17 18:14:04,967 - INFO - Deleting VN ctest-vn-11323051 2025-11-17 18:14:05,096 - DEBUG - Response for deleting network () 2025-11-17 18:14:05,374 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 18:14:05,374 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03] 2025-11-17 18:14:05,374 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:14:05,377 - INFO - ================================================================================ 2025-11-17 18:14:05,377 - INFO - STARTING TEST : test_ports_specific_subnet_ip 2025-11-17 18:14:05,377 - 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 18:14:05,674 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-11-17 18:14:05,674 - INFO - Initial checks done. Running the testcase now 2025-11-17 18:14:05,674 - INFO - 2025-11-17 18:14:05,890 - DEBUG - Response for create_network : {'network': {'id': '70769398-42ae-4921-b4bd-a72191673371', 'name': 'ctest-vn1-29699453', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'project_id': 'e463804aa81248e1b985f2852fbb8043', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41503583', 'ctest-vn1-29699453'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 18:14:06,115 - DEBUG - Response for create_subnet : {'subnet': {'id': '152f7a48-333d-46a8-8fa4-7cff7d6c135e', 'name': '', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '70769398-42ae-4921-b4bd-a72191673371', 'ip_version': 4, 'cidr': '174.108.32.128/26', 'allocation_pools': [{'start': '174.108.32.130', 'end': '174.108.32.190'}], 'gateway_ip': '174.108.32.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.108.32.130', 'tags': [], 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:06,340 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a853037f-6463-4d60-842b-0d2d2fe9427d', 'name': '', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '70769398-42ae-4921-b4bd-a72191673371', 'ip_version': 4, 'cidr': '54.216.101.0/26', 'allocation_pools': [{'start': '54.216.101.2', 'end': '54.216.101.62'}], 'gateway_ip': '54.216.101.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.216.101.2', 'tags': [], 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:06,362 - INFO - Created VN ctest-vn1-29699453 2025-11-17 18:14:06,419 - DEBUG - VN ctest-vn1-29699453 UUID is 70769398-42ae-4921-b4bd-a72191673371 2025-11-17 18:14:06,796 - DEBUG - Response for create_port : {'port': {'name': '908b4829-565a-408c-be9f-38aa6df6b18a', 'id': '908b4829-565a-408c-be9f-38aa6df6b18a', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '70769398-42ae-4921-b4bd-a72191673371', 'mac_address': '02:90:8b:48:29:56', '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': '174.108.32.133', 'subnet_id': '152f7a48-333d-46a8-8fa4-7cff7d6c135e'}], 'security_groups': ['971a863f-e807-4ba7-92c3-f274cb3090aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:07,006 - DEBUG - Response for create_port : {'port': {'name': '21b0d9a5-a444-4416-9c04-ba4059d71737', 'id': '21b0d9a5-a444-4416-9c04-ba4059d71737', 'tenant_id': 'e463804aa81248e1b985f2852fbb8043', 'network_id': '70769398-42ae-4921-b4bd-a72191673371', 'mac_address': '02:21:b0:d9:a5:a4', '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': '54.216.101.5', 'subnet_id': 'a853037f-6463-4d60-842b-0d2d2fe9427d'}], 'security_groups': ['971a863f-e807-4ba7-92c3-f274cb3090aa'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e463804aa81248e1b985f2852fbb8043'}} 2025-11-17 18:14:07,081 - DEBUG - Services list from nova: [, , ] 2025-11-17 18:14:07,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:14:08,087 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4744-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4744-1) 2025-11-17 18:14:08,087 - INFO - Waiting for VM ctest-vn1-vm1-82042277 to be up.. 2025-11-17 18:14:08,135 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 18:14:13,226 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:14:13,226 - INFO - VM name : ctest-vn1-vm1-82042277 2025-11-17 18:14:13,315 - DEBUG - VM ctest-vn1-vm1-82042277 ID is 753a46f2-1197-4eeb-b617-5e94524c631f 2025-11-17 18:14:13,341 - DEBUG - VM ctest-vn1-vm1-82042277 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:14:13,433 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/753a46f2-1197-4eeb-b617-5e94524c631f 2025-11-17 18:14:13,444 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/908b4829-565a-408c-be9f-38aa6df6b18a 2025-11-17 18:14:16,703 - 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 1000ms') 2025-11-17 18:14:16,703 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82042277 failed! 2025-11-17 18:14:16,763 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41503583:ctest-vn1-29699453 is 174.108.32.129 and allocation pool is NOT set 2025-11-17 18:14:16,763 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41503583:ctest-vn1-29699453 is 54.216.101.1 and allocation pool is NOT set 2025-11-17 18:14:20,830 - 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=10.1 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1004ms\r\nrtt min/avg/max/mdev = 10.139/10.139/10.139/0.000 ms') 2025-11-17 18:14:20,830 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82042277 passed 2025-11-17 18:14:20,983 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:20,983 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82042277, IP 174.108.32.133, Port 22 2025-11-17 18:14:21,154 - DEBUG - VM ctest-vn1-vm1-82042277 is ready for SSH connections 2025-11-17 18:14:21,154 - INFO - Waiting for VM ctest-vn1-vm2-78714909 to be up.. 2025-11-17 18:14:21,260 - DEBUG - VM is in ACTIVE state now 2025-11-17 18:14:21,260 - INFO - VM name : ctest-vn1-vm2-78714909 2025-11-17 18:14:21,356 - DEBUG - VM ctest-vn1-vm2-78714909 ID is c0ce5264-c2f3-49e1-9a11-93fcc7f33385 2025-11-17 18:14:21,357 - DEBUG - VM ctest-vn1-vm2-78714909 launched on Node cn-jenkins-deploy-platform-ansible-os-4744-1 2025-11-17 18:14:21,457 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/c0ce5264-c2f3-49e1-9a11-93fcc7f33385 2025-11-17 18:14:21,467 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/21b0d9a5-a444-4416-9c04-ba4059d71737 2025-11-17 18:14:22,712 - 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.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.502 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.502/2.648/4.795/2.146 ms') 2025-11-17 18:14:22,713 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-78714909 passed 2025-11-17 18:14:22,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:22,867 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-78714909, IP 54.216.101.5, Port 22 2025-11-17 18:14:23,045 - DEBUG - VM ctest-vn1-vm2-78714909 is ready for SSH connections 2025-11-17 18:14:23,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:23,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:23,045 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 18:14:23,045 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.108.32.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-11-17 18:14:23,045 - DEBUG - ping -s 56 -c 3 -W 1 174.108.32.133 2025-11-17 18:14:25,763 - DEBUG - PING 174.108.32.133 (174.108.32.133): 56 data bytes 64 bytes from 174.108.32.133: seq=0 ttl=63 time=3.660 ms 64 bytes from 174.108.32.133: seq=1 ttl=63 time=1.161 ms 64 bytes from 174.108.32.133: seq=2 ttl=63 time=1.132 ms --- 174.108.32.133 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.132/1.984/3.660 ms 2025-11-17 18:14:25,763 - INFO - Ping to IP 174.108.32.133 from VM ctest-vn1-vm2-78714909 passed 2025-11-17 18:14:25,763 - INFO - Detaching port 21b0d9a5-a444-4416-9c04-ba4059d71737 from VM ctest-vn1-vm2-78714909 2025-11-17 18:14:25,830 - INFO - Deleting VM ctest-vn1-vm2-78714909 2025-11-17 18:14:25,928 - INFO - Detaching port 908b4829-565a-408c-be9f-38aa6df6b18a from VM ctest-vn1-vm1-82042277 2025-11-17 18:14:25,967 - INFO - Deleting VM ctest-vn1-vm1-82042277 2025-11-17 18:14:26,320 - DEBUG - Response for delete_port : () 2025-11-17 18:14:26,573 - DEBUG - Response for delete_port : () 2025-11-17 18:14:26,573 - INFO - Deleting VN ctest-vn1-29699453 2025-11-17 18:14:26,748 - DEBUG - Response for deleting network () 2025-11-17 18:14:27,028 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 18:14:27,028 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22] 2025-11-17 18:14:27,028 - INFO - -------------------------------------------------------------------------------- 2025-11-17 18:14:27,833 - INFO - Deleted project: ctest-TestPorts-41503583, ID : e463804a-a812-48e1-b985-f2852fbb8043