2025-11-03 09:00:18,304 - INFO - Domain Default found not creating
2025-11-03 09:00:18,453 - INFO - Project ctest-TestPorts-17074676 not found, creating it
2025-11-03 09:00:18,913 - INFO - Created Project:ctest-TestPorts-17074676, ID : 086af555-01f0-4e9e-a890-9fda5b3982b8
2025-11-03 09:00:20,335 - INFO - ================================================================================
2025-11-03 09:00:20,335 - INFO - STARTING TEST : test_ports_bindings
2025-11-03 09:00:20,335 - 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-03 09:00:20,587 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-03 09:00:20,587 - INFO - Initial checks done. Running the testcase now
2025-11-03 09:00:20,587 - INFO -
2025-11-03 09:00:21,126 - DEBUG - Response for create_network : {'network': {'id': '9523ddaf-f93c-44e7-8fd7-ab15737e3ef4', 'name': 'ctest-vn-57495588', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'project_id': '086af55501f04e9ea8909fda5b3982b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17074676', 'ctest-vn-57495588'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 09:00:21,609 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3cd7b58-edde-4c6e-91c2-375ef653dd42', 'name': '', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '9523ddaf-f93c-44e7-8fd7-ab15737e3ef4', 'ip_version': 4, 'cidr': '90.239.136.128/26', 'allocation_pools': [{'start': '90.239.136.130', 'end': '90.239.136.190'}], 'gateway_ip': '90.239.136.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.239.136.130', 'tags': [], 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:21,637 - INFO - Created VN ctest-vn-57495588
2025-11-03 09:00:21,706 - DEBUG - VN ctest-vn-57495588 UUID is 9523ddaf-f93c-44e7-8fd7-ab15737e3ef4
2025-11-03 09:00:21,845 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-17074676', 'ctest-vmi-24082801']}
2025-11-03 09:00:22,083 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-24082801', 'id': 'd056f9fb-aaf6-4645-ab58-430827841cb0', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '9523ddaf-f93c-44e7-8fd7-ab15737e3ef4', 'mac_address': '02:d0:56:f9:fb:aa', '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': '90.239.136.131', 'subnet_id': 'b3cd7b58-edde-4c6e-91c2-375ef653dd42'}], 'security_groups': ['0322629d-c598-4376-8bea-d9061b7d7874'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:22,083 - DEBUG - Created port d056f9fb-aaf6-4645-ab58-430827841cb0
2025-11-03 09:00:22,187 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d056f9fb-aaf6-4645-ab58-430827841cb0
2025-11-03 09:00:22,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d056f9fb-aaf6-4645-ab58-430827841cb0
2025-11-03 09:00:22,516 - INFO - VMI d056f9fb-aaf6-4645-ab58-430827841cb0 verification in API Server passed
2025-11-03 09:00:22,593 - DEBUG - Response for delete_port : ()
2025-11-03 09:00:22,593 - INFO - Deleted port d056f9fb-aaf6-4645-ab58-430827841cb0
2025-11-03 09:00:22,593 - INFO - Deleting VN ctest-vn-57495588
2025-11-03 09:00:22,686 - DEBUG - Response for deleting network ()
2025-11-03 09:00:22,941 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:00:22,941 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-03 09:00:22,941 - INFO - --------------------------------------------------------------------------------
2025-11-03 09:00:22,944 - INFO - ================================================================================
2025-11-03 09:00:22,944 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-03 09:00:22,944 - 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-03 09:00:23,237 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-11-03 09:00:23,237 - INFO - Initial checks done. Running the testcase now
2025-11-03 09:00:23,237 - INFO -
2025-11-03 09:00:23,407 - DEBUG - Response for create_network : {'network': {'id': '95483988-4e5b-4d74-824a-779e7a72187a', 'name': 'ctest-vn1-82077772', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'project_id': '086af55501f04e9ea8909fda5b3982b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-17074676', 'ctest-vn1-82077772'], 'port_security_enabled': True, 'description': ''}}
2025-11-03 09:00:23,585 - DEBUG - Response for create_subnet : {'subnet': {'id': '64d83611-4220-44ac-863c-8168b99a527c', 'name': '', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '95483988-4e5b-4d74-824a-779e7a72187a', 'ip_version': 4, 'cidr': '143.70.64.64/26', 'allocation_pools': [{'start': '143.70.64.66', 'end': '143.70.64.126'}], 'gateway_ip': '143.70.64.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.70.64.66', 'tags': [], 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:23,737 - DEBUG - Response for create_subnet : {'subnet': {'id': '1647f261-8fb9-4532-ba0a-433de8a12c8a', 'name': '', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '95483988-4e5b-4d74-824a-779e7a72187a', 'ip_version': 4, 'cidr': '40.15.95.128/26', 'allocation_pools': [{'start': '40.15.95.130', 'end': '40.15.95.190'}], 'gateway_ip': '40.15.95.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.15.95.130', 'tags': [], 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:23,755 - INFO - Created VN ctest-vn1-82077772
2025-11-03 09:00:23,807 - DEBUG - VN ctest-vn1-82077772 UUID is 95483988-4e5b-4d74-824a-779e7a72187a
2025-11-03 09:00:24,105 - DEBUG - Response for create_port : {'port': {'name': '39f19101-197e-4bb9-9a45-71ccbd14c257', 'id': '39f19101-197e-4bb9-9a45-71ccbd14c257', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '95483988-4e5b-4d74-824a-779e7a72187a', 'mac_address': '02:39:f1:91:01:19', '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': '143.70.64.69', 'subnet_id': '64d83611-4220-44ac-863c-8168b99a527c'}], 'security_groups': ['0322629d-c598-4376-8bea-d9061b7d7874'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:24,260 - DEBUG - Response for create_port : {'port': {'name': 'c4171a2a-8c89-45f3-b1d5-b1008b02aad9', 'id': 'c4171a2a-8c89-45f3-b1d5-b1008b02aad9', 'tenant_id': '086af55501f04e9ea8909fda5b3982b8', 'network_id': '95483988-4e5b-4d74-824a-779e7a72187a', 'mac_address': '02:c4:17:1a:2a:8c', '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': '40.15.95.133', 'subnet_id': '1647f261-8fb9-4532-ba0a-433de8a12c8a'}], 'security_groups': ['0322629d-c598-4376-8bea-d9061b7d7874'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '086af55501f04e9ea8909fda5b3982b8'}}
2025-11-03 09:00:24,320 - DEBUG - Services list from nova: [, , ]
2025-11-03 09:00:24,687 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4602-1)
2025-11-03 09:00:25,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4602-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4602-1)
2025-11-03 09:00:25,097 - INFO - Waiting for VM ctest-vn1-vm1-13474288 to be up..
2025-11-03 09:00:25,140 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-03 09:00:30,219 - DEBUG - VM is in ACTIVE state now
2025-11-03 09:00:30,219 - INFO - VM name : ctest-vn1-vm1-13474288
2025-11-03 09:00:30,286 - DEBUG - VM ctest-vn1-vm1-13474288 ID is f89fde9a-25bb-4829-9e9c-314b86d86179
2025-11-03 09:00:30,305 - DEBUG - VM ctest-vn1-vm1-13474288 launched on Node cn-jenkins-deploy-platform-ansible-os-4602-1
2025-11-03 09:00:30,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/f89fde9a-25bb-4829-9e9c-314b86d86179
2025-11-03 09:00:30,404 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/39f19101-197e-4bb9-9a45-71ccbd14c257
2025-11-03 09:00:33,643 - 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 1006ms')
2025-11-03 09:00:33,643 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13474288 failed!
2025-11-03 09:00:33,698 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17074676:ctest-vn1-82077772 is 143.70.64.65 and allocation pool is NOT set
2025-11-03 09:00:33,699 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-17074676:ctest-vn1-82077772 is 40.15.95.129 and allocation pool is NOT set
2025-11-03 09:00:35,762 - 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=2.67 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 2.131/2.398/2.665/0.267 ms')
2025-11-03 09:00:35,762 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13474288 passed
2025-11-03 09:00:35,910 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:00:35,911 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13474288, IP 143.70.64.69, Port 22
2025-11-03 09:00:36,069 - DEBUG - VM ctest-vn1-vm1-13474288 is ready for SSH connections
2025-11-03 09:00:36,070 - INFO - Waiting for VM ctest-vn1-vm2-17364617 to be up..
2025-11-03 09:00:36,138 - DEBUG - VM is in ACTIVE state now
2025-11-03 09:00:36,138 - INFO - VM name : ctest-vn1-vm2-17364617
2025-11-03 09:00:36,205 - DEBUG - VM ctest-vn1-vm2-17364617 ID is 45f27d34-05e5-4361-a54a-3af2c910ae22
2025-11-03 09:00:36,205 - DEBUG - VM ctest-vn1-vm2-17364617 launched on Node cn-jenkins-deploy-platform-ansible-os-4602-1
2025-11-03 09:00:36,271 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/45f27d34-05e5-4361-a54a-3af2c910ae22
2025-11-03 09:00:36,279 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c4171a2a-8c89-45f3-b1d5-b1008b02aad9
2025-11-03 09:00:37,511 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.383 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.383/1.503/2.624/1.120 ms')
2025-11-03 09:00:37,511 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-17364617 passed
2025-11-03 09:00:37,662 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:00:37,662 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-17364617, IP 40.15.95.133, Port 22
2025-11-03 09:00:37,835 - DEBUG - VM ctest-vn1-vm2-17364617 is ready for SSH connections
2025-11-03 09:00:37,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:00:37,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:00:37,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-03 09:00:37,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 143.70.64.69, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-11-03 09:00:37,835 - DEBUG - ping -s 56 -c 3 -W 1 143.70.64.69
2025-11-03 09:00:40,499 - DEBUG - PING 143.70.64.69 (143.70.64.69): 56 data bytes
64 bytes from 143.70.64.69: seq=0 ttl=63 time=4.131 ms
64 bytes from 143.70.64.69: seq=1 ttl=63 time=0.946 ms
64 bytes from 143.70.64.69: seq=2 ttl=63 time=1.076 ms
--- 143.70.64.69 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.946/2.051/4.131 ms
2025-11-03 09:00:40,499 - INFO - Ping to IP 143.70.64.69 from VM ctest-vn1-vm2-17364617 passed
2025-11-03 09:00:40,499 - INFO - Detaching port c4171a2a-8c89-45f3-b1d5-b1008b02aad9 from VM ctest-vn1-vm2-17364617
2025-11-03 09:00:40,551 - INFO - Deleting VM ctest-vn1-vm2-17364617
2025-11-03 09:00:40,629 - INFO - Detaching port 39f19101-197e-4bb9-9a45-71ccbd14c257 from VM ctest-vn1-vm1-13474288
2025-11-03 09:00:40,669 - INFO - Deleting VM ctest-vn1-vm1-13474288
2025-11-03 09:00:40,890 - DEBUG - Response for delete_port : ()
2025-11-03 09:00:41,023 - DEBUG - Response for delete_port : ()
2025-11-03 09:00:41,023 - INFO - Deleting VN ctest-vn1-82077772
2025-11-03 09:00:41,134 - DEBUG - Response for deleting network ()
2025-11-03 09:00:41,393 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 09:00:41,393 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-03 09:00:41,393 - INFO - --------------------------------------------------------------------------------
2025-11-03 09:00:42,067 - INFO - Deleted project: ctest-TestPorts-17074676, ID : 086af555-01f0-4e9e-a890-9fda5b3982b8