2025-10-29 14:40:20,399 - INFO - Domain Default found not creating
2025-10-29 14:40:20,561 - INFO - Project ctest-TestPorts-44066233 not found, creating it
2025-10-29 14:40:21,022 - INFO - Created Project:ctest-TestPorts-44066233, ID : 810253be-a587-4a95-a73f-600943b8905d
2025-10-29 14:40:22,596 - INFO - ================================================================================
2025-10-29 14:40:22,596 - INFO - STARTING TEST : test_ports_bindings
2025-10-29 14:40:22,596 - 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-29 14:40:22,856 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-10-29 14:40:22,856 - INFO - Initial checks done. Running the testcase now
2025-10-29 14:40:22,856 - INFO -
2025-10-29 14:40:23,477 - DEBUG - Response for create_network : {'network': {'id': '8d6a319d-9165-4bfb-b9ed-a211767f6927', 'name': 'ctest-vn-10168465', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'project_id': '810253bea5874a95a73f600943b8905d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44066233', 'ctest-vn-10168465'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 14:40:23,647 - DEBUG - Response for create_subnet : {'subnet': {'id': '5822a1fe-41b2-43a2-afca-3610eb0cbbd3', 'name': '', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': '8d6a319d-9165-4bfb-b9ed-a211767f6927', 'ip_version': 4, 'cidr': '57.229.138.0/26', 'allocation_pools': [{'start': '57.229.138.2', 'end': '57.229.138.62'}], 'gateway_ip': '57.229.138.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.229.138.2', 'tags': [], 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:23,665 - INFO - Created VN ctest-vn-10168465
2025-10-29 14:40:23,718 - DEBUG - VN ctest-vn-10168465 UUID is 8d6a319d-9165-4bfb-b9ed-a211767f6927
2025-10-29 14:40:23,833 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-44066233', 'ctest-vmi-34058014']}
2025-10-29 14:40:24,109 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-34058014', 'id': '1ad1a8ed-46df-47fb-93cb-556c66e3714c', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': '8d6a319d-9165-4bfb-b9ed-a211767f6927', 'mac_address': '02:1a:d1:a8:ed:46', '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': '57.229.138.3', 'subnet_id': '5822a1fe-41b2-43a2-afca-3610eb0cbbd3'}], 'security_groups': ['86813a60-e4a8-420b-af06-e9f7c5adc2c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:24,109 - DEBUG - Created port 1ad1a8ed-46df-47fb-93cb-556c66e3714c
2025-10-29 14:40:24,218 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ad1a8ed-46df-47fb-93cb-556c66e3714c
2025-10-29 14:40:24,570 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/1ad1a8ed-46df-47fb-93cb-556c66e3714c
2025-10-29 14:40:24,603 - INFO - VMI 1ad1a8ed-46df-47fb-93cb-556c66e3714c verification in API Server passed
2025-10-29 14:40:24,697 - DEBUG - Response for delete_port : ()
2025-10-29 14:40:24,697 - INFO - Deleted port 1ad1a8ed-46df-47fb-93cb-556c66e3714c
2025-10-29 14:40:24,697 - INFO - Deleting VN ctest-vn-10168465
2025-10-29 14:40:24,802 - DEBUG - Response for deleting network ()
2025-10-29 14:40:25,060 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 14:40:25,060 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2025-10-29 14:40:25,060 - INFO - --------------------------------------------------------------------------------
2025-10-29 14:40:25,062 - INFO - ================================================================================
2025-10-29 14:40:25,062 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-29 14:40:25,062 - 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-29 14:40:25,353 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.129': '0'}} with
2025-10-29 14:40:25,353 - INFO - Initial checks done. Running the testcase now
2025-10-29 14:40:25,353 - INFO -
2025-10-29 14:40:25,542 - DEBUG - Response for create_network : {'network': {'id': 'b90e7d59-68f3-463d-8940-7eb98698078f', 'name': 'ctest-vn1-28958367', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'project_id': '810253bea5874a95a73f600943b8905d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-44066233', 'ctest-vn1-28958367'], 'port_security_enabled': True, 'description': ''}}
2025-10-29 14:40:25,718 - DEBUG - Response for create_subnet : {'subnet': {'id': '335635ce-cad0-4778-9937-d277d68be465', 'name': '', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': 'b90e7d59-68f3-463d-8940-7eb98698078f', 'ip_version': 4, 'cidr': '140.107.213.128/26', 'allocation_pools': [{'start': '140.107.213.130', 'end': '140.107.213.190'}], 'gateway_ip': '140.107.213.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '140.107.213.130', 'tags': [], 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:25,877 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a555a69-4935-4cd8-a10c-140248889219', 'name': '', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': 'b90e7d59-68f3-463d-8940-7eb98698078f', 'ip_version': 4, 'cidr': '162.250.151.0/26', 'allocation_pools': [{'start': '162.250.151.2', 'end': '162.250.151.62'}], 'gateway_ip': '162.250.151.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.250.151.2', 'tags': [], 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:25,898 - INFO - Created VN ctest-vn1-28958367
2025-10-29 14:40:25,950 - DEBUG - VN ctest-vn1-28958367 UUID is b90e7d59-68f3-463d-8940-7eb98698078f
2025-10-29 14:40:26,244 - DEBUG - Response for create_port : {'port': {'name': '09c9a5e6-7e8c-4784-832e-49958b5dffab', 'id': '09c9a5e6-7e8c-4784-832e-49958b5dffab', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': 'b90e7d59-68f3-463d-8940-7eb98698078f', 'mac_address': '02:09:c9:a5:e6:7e', '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': '140.107.213.133', 'subnet_id': '335635ce-cad0-4778-9937-d277d68be465'}], 'security_groups': ['86813a60-e4a8-420b-af06-e9f7c5adc2c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:26,408 - DEBUG - Response for create_port : {'port': {'name': 'ae9c4850-a27d-4264-8f22-2686d94689b7', 'id': 'ae9c4850-a27d-4264-8f22-2686d94689b7', 'tenant_id': '810253bea5874a95a73f600943b8905d', 'network_id': 'b90e7d59-68f3-463d-8940-7eb98698078f', 'mac_address': '02:ae:9c:48:50:a2', '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': '162.250.151.5', 'subnet_id': '0a555a69-4935-4cd8-a10c-140248889219'}], 'security_groups': ['86813a60-e4a8-420b-af06-e9f7c5adc2c2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '810253bea5874a95a73f600943b8905d'}}
2025-10-29 14:40:26,474 - DEBUG - Services list from nova: [, , ]
2025-10-29 14:40:26,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1)
2025-10-29 14:40:27,299 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4522-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4522-1)
2025-10-29 14:40:27,299 - INFO - Waiting for VM ctest-vn1-vm1-62438670 to be up..
2025-10-29 14:40:27,343 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-29 14:40:32,418 - DEBUG - VM is in ACTIVE state now
2025-10-29 14:40:32,418 - INFO - VM name : ctest-vn1-vm1-62438670
2025-10-29 14:40:32,491 - DEBUG - VM ctest-vn1-vm1-62438670 ID is b528af6e-b93c-4079-930c-f56a50e8ed5b
2025-10-29 14:40:32,510 - DEBUG - VM ctest-vn1-vm1-62438670 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1
2025-10-29 14:40:32,579 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/b528af6e-b93c-4079-930c-f56a50e8ed5b
2025-10-29 14:40:32,587 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/09c9a5e6-7e8c-4784-832e-49958b5dffab
2025-10-29 14:40:35,852 - 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 1030ms')
2025-10-29 14:40:35,852 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62438670 failed!
2025-10-29 14:40:35,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44066233:ctest-vn1-28958367 is 140.107.213.129 and allocation pool is NOT set
2025-10-29 14:40:35,910 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-44066233:ctest-vn1-28958367 is 162.250.151.1 and allocation pool is NOT set
2025-10-29 14:40:39,975 - 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=9.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 9.408/9.408/9.408/0.000 ms')
2025-10-29 14:40:39,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-62438670 passed
2025-10-29 14:40:40,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:40:40,126 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-62438670, IP 140.107.213.133, Port 22
2025-10-29 14:40:40,281 - DEBUG - VM ctest-vn1-vm1-62438670 is ready for SSH connections
2025-10-29 14:40:40,281 - INFO - Waiting for VM ctest-vn1-vm2-13267532 to be up..
2025-10-29 14:40:40,368 - DEBUG - VM is in ACTIVE state now
2025-10-29 14:40:40,368 - INFO - VM name : ctest-vn1-vm2-13267532
2025-10-29 14:40:40,447 - DEBUG - VM ctest-vn1-vm2-13267532 ID is 62273a5f-09b0-4f9e-8925-4ea3127a8d73
2025-10-29 14:40:40,447 - DEBUG - VM ctest-vn1-vm2-13267532 launched on Node cn-jenkins-deploy-platform-ansible-os-4522-1
2025-10-29 14:40:40,534 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/62273a5f-09b0-4f9e-8925-4ea3127a8d73
2025-10-29 14:40:40,542 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/ae9c4850-a27d-4264-8f22-2686d94689b7
2025-10-29 14:40:41,775 - 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=3.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.768/3.100/1.332 ms')
2025-10-29 14:40:41,775 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-13267532 passed
2025-10-29 14:40:41,926 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:40:41,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-13267532, IP 162.250.151.5, Port 22
2025-10-29 14:40:42,086 - DEBUG - VM ctest-vn1-vm2-13267532 is ready for SSH connections
2025-10-29 14:40:42,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:40:42,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:40:42,086 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-29 14:40:42,086 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 140.107.213.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-29 14:40:42,086 - DEBUG - ping -s 56 -c 3 -W 1 140.107.213.133
2025-10-29 14:40:44,792 - DEBUG - PING 140.107.213.133 (140.107.213.133): 56 data bytes
64 bytes from 140.107.213.133: seq=0 ttl=63 time=4.358 ms
64 bytes from 140.107.213.133: seq=1 ttl=63 time=0.893 ms
64 bytes from 140.107.213.133: seq=2 ttl=63 time=0.880 ms
--- 140.107.213.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.880/2.043/4.358 ms
2025-10-29 14:40:44,792 - INFO - Ping to IP 140.107.213.133 from VM ctest-vn1-vm2-13267532 passed
2025-10-29 14:40:44,792 - INFO - Detaching port ae9c4850-a27d-4264-8f22-2686d94689b7 from VM ctest-vn1-vm2-13267532
2025-10-29 14:40:44,844 - INFO - Deleting VM ctest-vn1-vm2-13267532
2025-10-29 14:40:44,917 - INFO - Detaching port 09c9a5e6-7e8c-4784-832e-49958b5dffab from VM ctest-vn1-vm1-62438670
2025-10-29 14:40:44,951 - INFO - Deleting VM ctest-vn1-vm1-62438670
2025-10-29 14:40:45,195 - DEBUG - Response for delete_port : ()
2025-10-29 14:40:45,360 - DEBUG - Response for delete_port : ()
2025-10-29 14:40:45,360 - INFO - Deleting VN ctest-vn1-28958367
2025-10-29 14:40:45,498 - DEBUG - Response for deleting network ()
2025-10-29 14:40:45,760 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 14:40:45,760 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2025-10-29 14:40:45,760 - INFO - --------------------------------------------------------------------------------
2025-10-29 14:40:46,465 - INFO - Deleted project: ctest-TestPorts-44066233, ID : 810253be-a587-4a95-a73f-600943b8905d