2025-11-05 08:19:01,192 - INFO - Domain Default found not creating
2025-11-05 08:19:01,325 - INFO - Project ctest-TestPorts-78318665 not found, creating it
2025-11-05 08:19:01,748 - INFO - Created Project:ctest-TestPorts-78318665, ID : 74cdcf81-9b8c-442e-9239-3ffd2acb2d1f
2025-11-05 08:19:03,155 - INFO - ================================================================================
2025-11-05 08:19:03,155 - INFO - STARTING TEST : test_ports_bindings
2025-11-05 08:19:03,155 - 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-05 08:19:03,412 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with
2025-11-05 08:19:03,412 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:19:03,412 - INFO -
2025-11-05 08:19:03,942 - DEBUG - Response for create_network : {'network': {'id': 'd39ace77-10b8-42e4-ba32-4f7a80b84a08', 'name': 'ctest-vn-95531223', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78318665', 'ctest-vn-95531223'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:19:04,153 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd02b8d64-64b0-4df0-ae42-f1f7235ea8f2', 'name': '', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': 'd39ace77-10b8-42e4-ba32-4f7a80b84a08', 'ip_version': 4, 'cidr': '157.242.95.64/26', 'allocation_pools': [{'start': '157.242.95.66', 'end': '157.242.95.126'}], 'gateway_ip': '157.242.95.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '157.242.95.66', 'tags': [], 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:04,173 - INFO - Created VN ctest-vn-95531223
2025-11-05 08:19:04,223 - DEBUG - VN ctest-vn-95531223 UUID is d39ace77-10b8-42e4-ba32-4f7a80b84a08
2025-11-05 08:19:04,327 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-78318665', 'ctest-vmi-05778613']}
2025-11-05 08:19:04,585 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-05778613', 'id': '872c2976-4e28-415e-a335-2ee81c42202c', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': 'd39ace77-10b8-42e4-ba32-4f7a80b84a08', 'mac_address': '02:87:2c:29:76:4e', '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': '157.242.95.67', 'subnet_id': 'd02b8d64-64b0-4df0-ae42-f1f7235ea8f2'}], 'security_groups': ['54d37c98-7267-4a8d-a43e-393282ee5af8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:04,585 - DEBUG - Created port 872c2976-4e28-415e-a335-2ee81c42202c
2025-11-05 08:19:04,687 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/872c2976-4e28-415e-a335-2ee81c42202c
2025-11-05 08:19:04,974 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/872c2976-4e28-415e-a335-2ee81c42202c
2025-11-05 08:19:05,003 - INFO - VMI 872c2976-4e28-415e-a335-2ee81c42202c verification in API Server passed
2025-11-05 08:19:05,083 - DEBUG - Response for delete_port : ()
2025-11-05 08:19:05,083 - INFO - Deleted port 872c2976-4e28-415e-a335-2ee81c42202c
2025-11-05 08:19:05,083 - INFO - Deleting VN ctest-vn-95531223
2025-11-05 08:19:05,179 - DEBUG - Response for deleting network ()
2025-11-05 08:19:05,432 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:19:05,432 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-05 08:19:05,432 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:19:05,435 - INFO - ================================================================================
2025-11-05 08:19:05,435 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-05 08:19:05,435 - 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-05 08:19:05,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.18': '0'}} with
2025-11-05 08:19:05,720 - INFO - Initial checks done. Running the testcase now
2025-11-05 08:19:05,721 - INFO -
2025-11-05 08:19:05,884 - DEBUG - Response for create_network : {'network': {'id': '0886ad8b-284b-4f91-b720-32b28640dfbb', 'name': 'ctest-vn1-68289339', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-78318665', 'ctest-vn1-68289339'], 'port_security_enabled': True, 'description': ''}}
2025-11-05 08:19:06,023 - DEBUG - Response for create_subnet : {'subnet': {'id': '56453626-886f-4fed-96a7-4152e7e199ae', 'name': '', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': '0886ad8b-284b-4f91-b720-32b28640dfbb', 'ip_version': 4, 'cidr': '65.60.210.128/26', 'allocation_pools': [{'start': '65.60.210.130', 'end': '65.60.210.190'}], 'gateway_ip': '65.60.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '65.60.210.130', 'tags': [], 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:06,176 - DEBUG - Response for create_subnet : {'subnet': {'id': '84ab9335-63f1-44b6-9160-b7c70d77e059', 'name': '', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': '0886ad8b-284b-4f91-b720-32b28640dfbb', 'ip_version': 4, 'cidr': '100.10.28.0/26', 'allocation_pools': [{'start': '100.10.28.2', 'end': '100.10.28.62'}], 'gateway_ip': '100.10.28.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.10.28.2', 'tags': [], 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:06,193 - INFO - Created VN ctest-vn1-68289339
2025-11-05 08:19:06,247 - DEBUG - VN ctest-vn1-68289339 UUID is 0886ad8b-284b-4f91-b720-32b28640dfbb
2025-11-05 08:19:06,538 - DEBUG - Response for create_port : {'port': {'name': '47cb5942-0bbc-4294-838d-bc74f9c0eb84', 'id': '47cb5942-0bbc-4294-838d-bc74f9c0eb84', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': '0886ad8b-284b-4f91-b720-32b28640dfbb', 'mac_address': '02:47:cb:59:42:0b', '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': '65.60.210.133', 'subnet_id': '56453626-886f-4fed-96a7-4152e7e199ae'}], 'security_groups': ['54d37c98-7267-4a8d-a43e-393282ee5af8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:06,693 - DEBUG - Response for create_port : {'port': {'name': '7d27ad6e-627f-4e2e-8e5a-35bad745958c', 'id': '7d27ad6e-627f-4e2e-8e5a-35bad745958c', 'tenant_id': '74cdcf819b8c442e92393ffd2acb2d1f', 'network_id': '0886ad8b-284b-4f91-b720-32b28640dfbb', 'mac_address': '02:7d:27:ad:6e:62', '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': '100.10.28.5', 'subnet_id': '84ab9335-63f1-44b6-9160-b7c70d77e059'}], 'security_groups': ['54d37c98-7267-4a8d-a43e-393282ee5af8'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '74cdcf819b8c442e92393ffd2acb2d1f'}}
2025-11-05 08:19:06,743 - DEBUG - Services list from nova: [, , ]
2025-11-05 08:19:07,068 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1)
2025-11-05 08:19:07,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4635-1)
2025-11-05 08:19:07,433 - INFO - Waiting for VM ctest-vn1-vm1-92932491 to be up..
2025-11-05 08:19:07,469 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-05 08:19:12,536 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:19:12,536 - INFO - VM name : ctest-vn1-vm1-92932491
2025-11-05 08:19:12,631 - DEBUG - VM ctest-vn1-vm1-92932491 ID is 47fd7744-5fbd-49f7-96d6-eb3cad1a7e2a
2025-11-05 08:19:12,650 - DEBUG - VM ctest-vn1-vm1-92932491 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1
2025-11-05 08:19:12,868 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/47fd7744-5fbd-49f7-96d6-eb3cad1a7e2a
2025-11-05 08:19:12,877 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/47cb5942-0bbc-4294-838d-bc74f9c0eb84
2025-11-05 08:19:16,133 - 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 1016ms')
2025-11-05 08:19:16,133 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92932491 failed!
2025-11-05 08:19:16,187 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78318665:ctest-vn1-68289339 is 65.60.210.129 and allocation pool is NOT set
2025-11-05 08:19:16,188 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-78318665:ctest-vn1-68289339 is 100.10.28.1 and allocation pool is NOT set
2025-11-05 08:19:18,251 - 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.64 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.336 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.336/1.989/3.643/1.653 ms')
2025-11-05 08:19:18,251 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-92932491 passed
2025-11-05 08:19:18,399 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:18,400 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92932491, IP 65.60.210.133, Port 22
2025-11-05 08:19:18,465 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-11-05 08:19:18,532 - DEBUG - VM ctest-vn1-vm1-92932491 is NOT ready for SSH connections, VM status: ACTIVE
2025-11-05 08:19:23,533 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:23,533 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-92932491, IP 65.60.210.133, Port 22
2025-11-05 08:19:23,687 - DEBUG - VM ctest-vn1-vm1-92932491 is ready for SSH connections
2025-11-05 08:19:23,687 - INFO - Waiting for VM ctest-vn1-vm2-36995086 to be up..
2025-11-05 08:19:23,749 - DEBUG - VM is in ACTIVE state now
2025-11-05 08:19:23,749 - INFO - VM name : ctest-vn1-vm2-36995086
2025-11-05 08:19:23,812 - DEBUG - VM ctest-vn1-vm2-36995086 ID is d721a02f-7423-4401-8405-5ed0a8d2d85e
2025-11-05 08:19:23,813 - DEBUG - VM ctest-vn1-vm2-36995086 launched on Node cn-jenkins-deploy-platform-ansible-os-4635-1
2025-11-05 08:19:23,879 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine/d721a02f-7423-4401-8405-5ed0a8d2d85e
2025-11-05 08:19:23,887 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-machine-interface/7d27ad6e-627f-4e2e-8e5a-35bad745958c
2025-11-05 08:19:25,117 - 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=2.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.397 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.397/1.579/2.762/1.182 ms')
2025-11-05 08:19:25,117 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-36995086 passed
2025-11-05 08:19:25,263 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:25,264 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-36995086, IP 100.10.28.5, Port 22
2025-11-05 08:19:25,423 - DEBUG - VM ctest-vn1-vm2-36995086 is ready for SSH connections
2025-11-05 08:19:25,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:25,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:25,423 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-05 08:19:25,423 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 65.60.210.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123
2025-11-05 08:19:25,424 - DEBUG - ping -s 56 -c 3 -W 1 65.60.210.133
2025-11-05 08:19:28,347 - DEBUG - PING 65.60.210.133 (65.60.210.133): 56 data bytes
64 bytes from 65.60.210.133: seq=0 ttl=63 time=3.702 ms
64 bytes from 65.60.210.133: seq=1 ttl=63 time=0.858 ms
64 bytes from 65.60.210.133: seq=2 ttl=63 time=0.865 ms
--- 65.60.210.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.858/1.808/3.702 ms
2025-11-05 08:19:28,347 - INFO - Ping to IP 65.60.210.133 from VM ctest-vn1-vm2-36995086 passed
2025-11-05 08:19:28,347 - INFO - Detaching port 7d27ad6e-627f-4e2e-8e5a-35bad745958c from VM ctest-vn1-vm2-36995086
2025-11-05 08:19:28,390 - INFO - Deleting VM ctest-vn1-vm2-36995086
2025-11-05 08:19:28,453 - INFO - Detaching port 47cb5942-0bbc-4294-838d-bc74f9c0eb84 from VM ctest-vn1-vm1-92932491
2025-11-05 08:19:28,484 - INFO - Deleting VM ctest-vn1-vm1-92932491
2025-11-05 08:19:28,671 - DEBUG - Response for delete_port : ()
2025-11-05 08:19:28,805 - DEBUG - Response for delete_port : ()
2025-11-05 08:19:28,806 - INFO - Deleting VN ctest-vn1-68289339
2025-11-05 08:19:28,933 - DEBUG - Response for deleting network ()
2025-11-05 08:19:29,188 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 08:19:29,188 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:24]
2025-11-05 08:19:29,188 - INFO - --------------------------------------------------------------------------------
2025-11-05 08:19:29,844 - INFO - Deleted project: ctest-TestPorts-78318665, ID : 74cdcf81-9b8c-442e-9239-3ffd2acb2d1f