2025-10-30 14:40:10,879 - INFO - Domain Default found not creating
2025-10-30 14:40:11,037 - INFO - Project ctest-TestPorts-41857274 not found, creating it
2025-10-30 14:40:11,504 - INFO - Created Project:ctest-TestPorts-41857274, ID : 6b06f97f-5a02-48aa-a23f-d4e3d7925c0b
2025-10-30 14:40:12,980 - INFO - ================================================================================
2025-10-30 14:40:12,981 - INFO - STARTING TEST : test_ports_bindings
2025-10-30 14:40:12,981 - 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-30 14:40:13,234 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-30 14:40:13,235 - INFO - Initial checks done. Running the testcase now
2025-10-30 14:40:13,235 - INFO -
2025-10-30 14:40:13,772 - DEBUG - Response for create_network : {'network': {'id': '8202fdf5-e608-4899-b819-85d45cc6a8c5', 'name': 'ctest-vn-67099892', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41857274', 'ctest-vn-67099892'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:40:13,979 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f633fdd3-9f20-4fe6-8b75-15d1c4ebc79e', 'name': '', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': '8202fdf5-e608-4899-b819-85d45cc6a8c5', 'ip_version': 4, 'cidr': '6.90.126.0/26', 'allocation_pools': [{'start': '6.90.126.2', 'end': '6.90.126.62'}], 'gateway_ip': '6.90.126.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.90.126.2', 'tags': [], 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:14,014 - INFO - Created VN ctest-vn-67099892
2025-10-30 14:40:14,064 - DEBUG - VN ctest-vn-67099892 UUID is 8202fdf5-e608-4899-b819-85d45cc6a8c5
2025-10-30 14:40:14,170 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-41857274', 'ctest-vmi-37506962']}
2025-10-30 14:40:14,417 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-37506962', 'id': 'e7ca18fa-eccd-41ab-975c-409943bc788b', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': '8202fdf5-e608-4899-b819-85d45cc6a8c5', 'mac_address': '02:e7:ca:18:fa:ec', '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': '6.90.126.3', 'subnet_id': 'f633fdd3-9f20-4fe6-8b75-15d1c4ebc79e'}], 'security_groups': ['21fed867-48ea-45fb-ad09-d830810873bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:14,417 - DEBUG - Created port e7ca18fa-eccd-41ab-975c-409943bc788b
2025-10-30 14:40:14,524 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e7ca18fa-eccd-41ab-975c-409943bc788b
2025-10-30 14:40:14,826 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e7ca18fa-eccd-41ab-975c-409943bc788b
2025-10-30 14:40:14,859 - INFO - VMI e7ca18fa-eccd-41ab-975c-409943bc788b verification in API Server passed
2025-10-30 14:40:14,946 - DEBUG - Response for delete_port : ()
2025-10-30 14:40:14,946 - INFO - Deleted port e7ca18fa-eccd-41ab-975c-409943bc788b
2025-10-30 14:40:14,946 - INFO - Deleting VN ctest-vn-67099892
2025-10-30 14:40:15,045 - DEBUG - Response for deleting network ()
2025-10-30 14:40:15,306 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:40:15,306 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-30 14:40:15,306 - INFO - --------------------------------------------------------------------------------
2025-10-30 14:40:15,310 - INFO - ================================================================================
2025-10-30 14:40:15,310 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-30 14:40:15,310 - 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-30 14:40:15,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.254': '0'}} with
2025-10-30 14:40:15,602 - INFO - Initial checks done. Running the testcase now
2025-10-30 14:40:15,602 - INFO -
2025-10-30 14:40:15,817 - DEBUG - Response for create_network : {'network': {'id': 'b639e086-46a0-469b-a21e-1f5c61b5ff61', 'name': 'ctest-vn1-83630159', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-41857274', 'ctest-vn1-83630159'], 'port_security_enabled': True, 'description': ''}}
2025-10-30 14:40:15,976 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b987a67b-0469-429a-94f6-a66753341bec', 'name': '', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': 'b639e086-46a0-469b-a21e-1f5c61b5ff61', 'ip_version': 4, 'cidr': '88.41.193.192/26', 'allocation_pools': [{'start': '88.41.193.194', 'end': '88.41.193.254'}], 'gateway_ip': '88.41.193.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.41.193.194', 'tags': [], 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:16,136 - DEBUG - Response for create_subnet : {'subnet': {'id': '692f18d7-7fa2-416d-8df8-52b11857975b', 'name': '', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': 'b639e086-46a0-469b-a21e-1f5c61b5ff61', 'ip_version': 4, 'cidr': '3.34.72.0/26', 'allocation_pools': [{'start': '3.34.72.2', 'end': '3.34.72.62'}], 'gateway_ip': '3.34.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.34.72.2', 'tags': [], 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:16,163 - INFO - Created VN ctest-vn1-83630159
2025-10-30 14:40:16,220 - DEBUG - VN ctest-vn1-83630159 UUID is b639e086-46a0-469b-a21e-1f5c61b5ff61
2025-10-30 14:40:16,543 - DEBUG - Response for create_port : {'port': {'name': '8258a747-e69a-49a0-988a-df0f1ebef3c6', 'id': '8258a747-e69a-49a0-988a-df0f1ebef3c6', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': 'b639e086-46a0-469b-a21e-1f5c61b5ff61', 'mac_address': '02:82:58:a7:47:e6', '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': '88.41.193.197', 'subnet_id': 'b987a67b-0469-429a-94f6-a66753341bec'}], 'security_groups': ['21fed867-48ea-45fb-ad09-d830810873bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:16,738 - DEBUG - Response for create_port : {'port': {'name': '69c74294-d46a-41eb-89c2-09250903c613', 'id': '69c74294-d46a-41eb-89c2-09250903c613', 'tenant_id': '6b06f97f5a0248aaa23fd4e3d7925c0b', 'network_id': 'b639e086-46a0-469b-a21e-1f5c61b5ff61', 'mac_address': '02:69:c7:42:94:d4', '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': '3.34.72.5', 'subnet_id': '692f18d7-7fa2-416d-8df8-52b11857975b'}], 'security_groups': ['21fed867-48ea-45fb-ad09-d830810873bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6b06f97f5a0248aaa23fd4e3d7925c0b'}}
2025-10-30 14:40:16,809 - DEBUG - Services list from nova: [, , ]
2025-10-30 14:40:17,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1)
2025-10-30 14:40:17,555 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4545-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4545-1)
2025-10-30 14:40:17,555 - INFO - Waiting for VM ctest-vn1-vm1-61316973 to be up..
2025-10-30 14:40:17,594 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-30 14:40:22,671 - DEBUG - VM is in ACTIVE state now
2025-10-30 14:40:22,672 - INFO - VM name : ctest-vn1-vm1-61316973
2025-10-30 14:40:22,743 - DEBUG - VM ctest-vn1-vm1-61316973 ID is 4e2de14e-1b2b-4af2-bf62-142afa35ed3b
2025-10-30 14:40:22,766 - DEBUG - VM ctest-vn1-vm1-61316973 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1
2025-10-30 14:40:22,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4e2de14e-1b2b-4af2-bf62-142afa35ed3b
2025-10-30 14:40:22,852 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/8258a747-e69a-49a0-988a-df0f1ebef3c6
2025-10-30 14:40:26,100 - 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 1015ms')
2025-10-30 14:40:26,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61316973 failed!
2025-10-30 14:40:26,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41857274:ctest-vn1-83630159 is 88.41.193.193 and allocation pool is NOT set
2025-10-30 14:40:26,156 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-41857274:ctest-vn1-83630159 is 3.34.72.1 and allocation pool is NOT set
2025-10-30 14:40:28,226 - 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=9.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.08 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.075/5.633/9.192/3.558 ms')
2025-10-30 14:40:28,227 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-61316973 passed
2025-10-30 14:40:28,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 14:40:28,380 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-61316973, IP 88.41.193.197, Port 22
2025-10-30 14:40:28,550 - DEBUG - VM ctest-vn1-vm1-61316973 is ready for SSH connections
2025-10-30 14:40:28,550 - INFO - Waiting for VM ctest-vn1-vm2-00845895 to be up..
2025-10-30 14:40:28,636 - DEBUG - VM is in ACTIVE state now
2025-10-30 14:40:28,636 - INFO - VM name : ctest-vn1-vm2-00845895
2025-10-30 14:40:28,712 - DEBUG - VM ctest-vn1-vm2-00845895 ID is a5490267-bcfe-4325-8f34-c6b5094e13ec
2025-10-30 14:40:28,712 - DEBUG - VM ctest-vn1-vm2-00845895 launched on Node cn-jenkins-deploy-platform-ansible-os-4545-1
2025-10-30 14:40:28,938 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a5490267-bcfe-4325-8f34-c6b5094e13ec
2025-10-30 14:40:28,946 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/69c74294-d46a-41eb-89c2-09250903c613
2025-10-30 14:40:30,180 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.610/2.720/1.109 ms')
2025-10-30 14:40:30,180 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-00845895 passed
2025-10-30 14:40:30,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 14:40:30,334 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-00845895, IP 3.34.72.5, Port 22
2025-10-30 14:40:30,495 - DEBUG - VM ctest-vn1-vm2-00845895 is ready for SSH connections
2025-10-30 14:40:30,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 14:40:30,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 14:40:30,495 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-30 14:40:30,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 88.41.193.197, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123
2025-10-30 14:40:30,496 - DEBUG - ping -s 56 -c 3 -W 1 88.41.193.197
2025-10-30 14:40:33,173 - DEBUG - PING 88.41.193.197 (88.41.193.197): 56 data bytes
64 bytes from 88.41.193.197: seq=0 ttl=63 time=4.033 ms
64 bytes from 88.41.193.197: seq=1 ttl=63 time=1.415 ms
64 bytes from 88.41.193.197: seq=2 ttl=63 time=1.118 ms
--- 88.41.193.197 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.118/2.188/4.033 ms
2025-10-30 14:40:33,173 - INFO - Ping to IP 88.41.193.197 from VM ctest-vn1-vm2-00845895 passed
2025-10-30 14:40:33,173 - INFO - Detaching port 69c74294-d46a-41eb-89c2-09250903c613 from VM ctest-vn1-vm2-00845895
2025-10-30 14:40:33,222 - INFO - Deleting VM ctest-vn1-vm2-00845895
2025-10-30 14:40:33,327 - INFO - Detaching port 8258a747-e69a-49a0-988a-df0f1ebef3c6 from VM ctest-vn1-vm1-61316973
2025-10-30 14:40:33,359 - INFO - Deleting VM ctest-vn1-vm1-61316973
2025-10-30 14:40:33,604 - DEBUG - Response for delete_port : ()
2025-10-30 14:40:33,738 - DEBUG - Response for delete_port : ()
2025-10-30 14:40:33,739 - INFO - Deleting VN ctest-vn1-83630159
2025-10-30 14:40:33,879 - DEBUG - Response for deleting network ()
2025-10-30 14:40:34,149 - DEBUG - No XMPP flaps were noticed during the test
2025-10-30 14:40:34,149 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-10-30 14:40:34,149 - INFO - --------------------------------------------------------------------------------
2025-10-30 14:40:34,876 - INFO - Deleted project: ctest-TestPorts-41857274, ID : 6b06f97f-5a02-48aa-a23f-d4e3d7925c0b