2025-10-23 16:05:44,262 - INFO - Domain Default found not creating
2025-10-23 16:05:44,418 - INFO - Project ctest-TestPorts-39920289 not found, creating it
2025-10-23 16:05:44,898 - INFO - Created Project:ctest-TestPorts-39920289, ID : 5348e073-46fe-4109-8293-98db0b01ca01
2025-10-23 16:05:46,475 - INFO - ================================================================================
2025-10-23 16:05:46,475 - INFO - STARTING TEST : test_ports_bindings
2025-10-23 16:05:46,475 - 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-23 16:05:46,732 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-23 16:05:46,732 - INFO - Initial checks done. Running the testcase now
2025-10-23 16:05:46,732 - INFO -
2025-10-23 16:05:47,375 - DEBUG - Response for create_network : {'network': {'id': 'b77fb6d4-226c-414c-bf6c-92a17e24db7a', 'name': 'ctest-vn-69815928', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'project_id': '5348e07346fe4109829398db0b01ca01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39920289', 'ctest-vn-69815928'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 16:05:47,576 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a9cc5ef-3bbf-486a-b5e4-694016a65985', 'name': '', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'b77fb6d4-226c-414c-bf6c-92a17e24db7a', 'ip_version': 4, 'cidr': '29.52.244.192/26', 'allocation_pools': [{'start': '29.52.244.194', 'end': '29.52.244.254'}], 'gateway_ip': '29.52.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.52.244.194', 'tags': [], 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:47,594 - INFO - Created VN ctest-vn-69815928
2025-10-23 16:05:47,647 - DEBUG - VN ctest-vn-69815928 UUID is b77fb6d4-226c-414c-bf6c-92a17e24db7a
2025-10-23 16:05:47,755 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-39920289', 'ctest-vmi-09680423']}
2025-10-23 16:05:48,018 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-09680423', 'id': '29d09178-2ac2-411a-9c7b-4d05c047d755', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'b77fb6d4-226c-414c-bf6c-92a17e24db7a', 'mac_address': '02:29:d0:91:78:2a', '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': '29.52.244.195', 'subnet_id': '8a9cc5ef-3bbf-486a-b5e4-694016a65985'}], 'security_groups': ['4e104d71-f2be-42b6-852c-3cd78ce9ac65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:48,018 - DEBUG - Created port 29d09178-2ac2-411a-9c7b-4d05c047d755
2025-10-23 16:05:48,123 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/29d09178-2ac2-411a-9c7b-4d05c047d755
2025-10-23 16:05:48,465 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/29d09178-2ac2-411a-9c7b-4d05c047d755
2025-10-23 16:05:48,501 - INFO - VMI 29d09178-2ac2-411a-9c7b-4d05c047d755 verification in API Server passed
2025-10-23 16:05:48,596 - DEBUG - Response for delete_port : ()
2025-10-23 16:05:48,596 - INFO - Deleted port 29d09178-2ac2-411a-9c7b-4d05c047d755
2025-10-23 16:05:48,596 - INFO - Deleting VN ctest-vn-69815928
2025-10-23 16:05:48,711 - DEBUG - Response for deleting network ()
2025-10-23 16:05:48,980 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 16:05:48,980 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-10-23 16:05:48,980 - INFO - --------------------------------------------------------------------------------
2025-10-23 16:05:48,982 - INFO - ================================================================================
2025-10-23 16:05:48,982 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-10-23 16:05:48,982 - 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-23 16:05:49,264 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2025-10-23 16:05:49,264 - INFO - Initial checks done. Running the testcase now
2025-10-23 16:05:49,265 - INFO -
2025-10-23 16:05:49,453 - DEBUG - Response for create_network : {'network': {'id': 'a7064248-7b7a-4f36-ba62-362c91de618e', 'name': 'ctest-vn1-43467717', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'project_id': '5348e07346fe4109829398db0b01ca01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-39920289', 'ctest-vn1-43467717'], 'port_security_enabled': True, 'description': ''}}
2025-10-23 16:05:49,683 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fe601be8-06a2-486a-8b43-39d589729ee7', 'name': '', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'a7064248-7b7a-4f36-ba62-362c91de618e', 'ip_version': 4, 'cidr': '144.65.33.128/26', 'allocation_pools': [{'start': '144.65.33.130', 'end': '144.65.33.190'}], 'gateway_ip': '144.65.33.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '144.65.33.130', 'tags': [], 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:49,847 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3a3a122-b5f6-4f05-abdf-65fd9f1a3b44', 'name': '', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'a7064248-7b7a-4f36-ba62-362c91de618e', 'ip_version': 4, 'cidr': '34.61.150.128/26', 'allocation_pools': [{'start': '34.61.150.130', 'end': '34.61.150.190'}], 'gateway_ip': '34.61.150.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '34.61.150.130', 'tags': [], 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:49,871 - INFO - Created VN ctest-vn1-43467717
2025-10-23 16:05:49,927 - DEBUG - VN ctest-vn1-43467717 UUID is a7064248-7b7a-4f36-ba62-362c91de618e
2025-10-23 16:05:50,254 - DEBUG - Response for create_port : {'port': {'name': '8390e466-6dba-4769-8f96-77d42886e75c', 'id': '8390e466-6dba-4769-8f96-77d42886e75c', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'a7064248-7b7a-4f36-ba62-362c91de618e', 'mac_address': '02:83:90:e4:66:6d', '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': '144.65.33.133', 'subnet_id': 'fe601be8-06a2-486a-8b43-39d589729ee7'}], 'security_groups': ['4e104d71-f2be-42b6-852c-3cd78ce9ac65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:50,437 - DEBUG - Response for create_port : {'port': {'name': '90911b4e-0e70-4aee-b94e-f449e2b9f783', 'id': '90911b4e-0e70-4aee-b94e-f449e2b9f783', 'tenant_id': '5348e07346fe4109829398db0b01ca01', 'network_id': 'a7064248-7b7a-4f36-ba62-362c91de618e', 'mac_address': '02:90:91:1b:4e:0e', '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': '34.61.150.133', 'subnet_id': 'f3a3a122-b5f6-4f05-abdf-65fd9f1a3b44'}], 'security_groups': ['4e104d71-f2be-42b6-852c-3cd78ce9ac65'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '5348e07346fe4109829398db0b01ca01'}}
2025-10-23 16:05:50,501 - DEBUG - Services list from nova: [, , ]
2025-10-23 16:05:50,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1)
2025-10-23 16:05:51,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4462-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4462-1)
2025-10-23 16:05:51,274 - INFO - Waiting for VM ctest-vn1-vm1-82841605 to be up..
2025-10-23 16:05:51,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-23 16:05:56,401 - DEBUG - VM is in ACTIVE state now
2025-10-23 16:05:56,401 - INFO - VM name : ctest-vn1-vm1-82841605
2025-10-23 16:05:56,479 - DEBUG - VM ctest-vn1-vm1-82841605 ID is 132cff29-f7ef-4eae-85f3-8b75724ab65c
2025-10-23 16:05:56,504 - DEBUG - VM ctest-vn1-vm1-82841605 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1
2025-10-23 16:05:56,591 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/132cff29-f7ef-4eae-85f3-8b75724ab65c
2025-10-23 16:05:56,600 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/8390e466-6dba-4769-8f96-77d42886e75c
2025-10-23 16:05:59,867 - 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 1022ms')
2025-10-23 16:05:59,867 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82841605 failed!
2025-10-23 16:05:59,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39920289:ctest-vn1-43467717 is 144.65.33.129 and allocation pool is NOT set
2025-10-23 16:05:59,923 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-39920289:ctest-vn1-43467717 is 34.61.150.129 and allocation pool is NOT set
2025-10-23 16:06:04,017 - 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.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1032ms\r\nrtt min/avg/max/mdev = 10.586/10.586/10.586/0.000 ms')
2025-10-23 16:06:04,017 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82841605 passed
2025-10-23 16:06:04,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:04,179 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82841605, IP 144.65.33.133, Port 22
2025-10-23 16:06:04,248 - 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-10-23 16:06:04,348 - DEBUG - VM ctest-vn1-vm1-82841605 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-23 16:06:09,349 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:09,349 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82841605, IP 144.65.33.133, Port 22
2025-10-23 16:06:09,507 - DEBUG - VM ctest-vn1-vm1-82841605 is ready for SSH connections
2025-10-23 16:06:09,507 - INFO - Waiting for VM ctest-vn1-vm2-08150997 to be up..
2025-10-23 16:06:09,582 - DEBUG - VM is in ACTIVE state now
2025-10-23 16:06:09,582 - INFO - VM name : ctest-vn1-vm2-08150997
2025-10-23 16:06:09,657 - DEBUG - VM ctest-vn1-vm2-08150997 ID is ba5056cd-2197-44f9-a890-7f6f822f6d70
2025-10-23 16:06:09,657 - DEBUG - VM ctest-vn1-vm2-08150997 launched on Node cn-jenkins-deploy-platform-ansible-os-4462-1
2025-10-23 16:06:09,736 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/ba5056cd-2197-44f9-a890-7f6f822f6d70
2025-10-23 16:06:09,746 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/90911b4e-0e70-4aee-b94e-f449e2b9f783
2025-10-23 16:06:11,002 - 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.02 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.429 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.429/2.224/4.019/1.795 ms')
2025-10-23 16:06:11,002 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-08150997 passed
2025-10-23 16:06:11,151 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:11,151 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-08150997, IP 34.61.150.133, Port 22
2025-10-23 16:06:11,311 - DEBUG - VM ctest-vn1-vm2-08150997 is ready for SSH connections
2025-10-23 16:06:11,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:11,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:11,311 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-23 16:06:11,311 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 144.65.33.133, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123
2025-10-23 16:06:11,311 - DEBUG - ping -s 56 -c 3 -W 1 144.65.33.133
2025-10-23 16:06:14,054 - DEBUG - PING 144.65.33.133 (144.65.33.133): 56 data bytes
64 bytes from 144.65.33.133: seq=0 ttl=63 time=3.716 ms
64 bytes from 144.65.33.133: seq=1 ttl=63 time=1.140 ms
64 bytes from 144.65.33.133: seq=2 ttl=63 time=1.132 ms
--- 144.65.33.133 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.132/1.996/3.716 ms
2025-10-23 16:06:14,055 - INFO - Ping to IP 144.65.33.133 from VM ctest-vn1-vm2-08150997 passed
2025-10-23 16:06:14,055 - INFO - Detaching port 90911b4e-0e70-4aee-b94e-f449e2b9f783 from VM ctest-vn1-vm2-08150997
2025-10-23 16:06:14,113 - INFO - Deleting VM ctest-vn1-vm2-08150997
2025-10-23 16:06:14,187 - INFO - Detaching port 8390e466-6dba-4769-8f96-77d42886e75c from VM ctest-vn1-vm1-82841605
2025-10-23 16:06:14,227 - INFO - Deleting VM ctest-vn1-vm1-82841605
2025-10-23 16:06:14,475 - DEBUG - Response for delete_port : ()
2025-10-23 16:06:14,629 - DEBUG - Response for delete_port : ()
2025-10-23 16:06:14,629 - INFO - Deleting VN ctest-vn1-43467717
2025-10-23 16:06:14,769 - DEBUG - Response for deleting network ()
2025-10-23 16:06:15,029 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 16:06:15,030 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:27]
2025-10-23 16:06:15,030 - INFO - --------------------------------------------------------------------------------
2025-10-23 16:06:15,777 - INFO - Deleted project: ctest-TestPorts-39920289, ID : 5348e073-46fe-4109-8293-98db0b01ca01