2026-01-23 13:09:30,439 - INFO - Domain Default found not creating
2026-01-23 13:09:30,639 - INFO - Project ctest-TestPorts-04281871 not found, creating it
2026-01-23 13:09:31,113 - INFO - Created Project:ctest-TestPorts-04281871, ID : 6da01af5-ed29-4b33-bc33-50823a6240fb
2026-01-23 13:09:32,754 - INFO - ================================================================================
2026-01-23 13:09:32,754 - INFO - STARTING TEST : test_ports_bindings
2026-01-23 13:09:32,754 - 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
2026-01-23 13:09:33,012 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-01-23 13:09:33,012 - INFO - Initial checks done. Running the testcase now
2026-01-23 13:09:33,013 - INFO -
2026-01-23 13:09:33,569 - DEBUG - Response for create_network : {'network': {'id': 'aefe7a1f-8303-4ae5-aa7f-13139c010afb', 'name': 'ctest-vn-56807880', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'project_id': '6da01af5ed294b33bc3350823a6240fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04281871', 'ctest-vn-56807880'], 'port_security_enabled': True, 'description': ''}}
2026-01-23 13:09:33,736 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a14f29f4-0d0a-43e0-be87-47a083ede862', 'name': '', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'aefe7a1f-8303-4ae5-aa7f-13139c010afb', 'ip_version': 4, 'cidr': '115.198.140.128/26', 'allocation_pools': [{'start': '115.198.140.130', 'end': '115.198.140.190'}], 'gateway_ip': '115.198.140.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.198.140.130', 'tags': [], 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:33,754 - INFO - Created VN ctest-vn-56807880
2026-01-23 13:09:33,807 - DEBUG - VN ctest-vn-56807880 UUID is aefe7a1f-8303-4ae5-aa7f-13139c010afb
2026-01-23 13:09:33,922 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-04281871', 'ctest-vmi-55640589']}
2026-01-23 13:09:34,152 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-55640589', 'id': '9356b7ea-2eef-4644-ac58-5abfe78536c4', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'aefe7a1f-8303-4ae5-aa7f-13139c010afb', 'mac_address': '02:93:56:b7:ea:2e', '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': '115.198.140.131', 'subnet_id': 'a14f29f4-0d0a-43e0-be87-47a083ede862'}], 'security_groups': ['2b5601dd-1db2-4519-bbee-1b4962eeb2f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:34,152 - DEBUG - Created port 9356b7ea-2eef-4644-ac58-5abfe78536c4
2026-01-23 13:09:34,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9356b7ea-2eef-4644-ac58-5abfe78536c4
2026-01-23 13:09:34,552 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/9356b7ea-2eef-4644-ac58-5abfe78536c4
2026-01-23 13:09:34,585 - INFO - VMI 9356b7ea-2eef-4644-ac58-5abfe78536c4 verification in API Server passed
2026-01-23 13:09:34,671 - DEBUG - Response for delete_port : ()
2026-01-23 13:09:34,671 - INFO - Deleted port 9356b7ea-2eef-4644-ac58-5abfe78536c4
2026-01-23 13:09:34,671 - INFO - Deleting VN ctest-vn-56807880
2026-01-23 13:09:34,772 - DEBUG - Response for deleting network ()
2026-01-23 13:09:35,024 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 13:09:35,024 - INFO - END TEST : test_ports_bindings : PASSED[0:00:03]
2026-01-23 13:09:35,024 - INFO - --------------------------------------------------------------------------------
2026-01-23 13:09:35,027 - INFO - ================================================================================
2026-01-23 13:09:35,027 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-01-23 13:09:35,027 - 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
2026-01-23 13:09:35,313 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-01-23 13:09:35,313 - INFO - Initial checks done. Running the testcase now
2026-01-23 13:09:35,313 - INFO -
2026-01-23 13:09:35,519 - DEBUG - Response for create_network : {'network': {'id': 'f870b1f0-bb4e-4f2f-af52-58479ed1fb85', 'name': 'ctest-vn1-85261844', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'project_id': '6da01af5ed294b33bc3350823a6240fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-04281871', 'ctest-vn1-85261844'], 'port_security_enabled': True, 'description': ''}}
2026-01-23 13:09:35,732 - DEBUG - Response for create_subnet : {'subnet': {'id': '21c9edc0-20ba-450a-bd1c-55aed475fd08', 'name': '', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'f870b1f0-bb4e-4f2f-af52-58479ed1fb85', 'ip_version': 4, 'cidr': '136.192.133.0/26', 'allocation_pools': [{'start': '136.192.133.2', 'end': '136.192.133.62'}], 'gateway_ip': '136.192.133.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.192.133.2', 'tags': [], 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:35,900 - DEBUG - Response for create_subnet : {'subnet': {'id': '7584a3cd-c4a8-46bb-99c8-d5f9383d4d4e', 'name': '', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'f870b1f0-bb4e-4f2f-af52-58479ed1fb85', 'ip_version': 4, 'cidr': '204.175.242.128/26', 'allocation_pools': [{'start': '204.175.242.130', 'end': '204.175.242.190'}], 'gateway_ip': '204.175.242.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.175.242.130', 'tags': [], 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:35,924 - INFO - Created VN ctest-vn1-85261844
2026-01-23 13:09:35,983 - DEBUG - VN ctest-vn1-85261844 UUID is f870b1f0-bb4e-4f2f-af52-58479ed1fb85
2026-01-23 13:09:36,288 - DEBUG - Response for create_port : {'port': {'name': 'b1e11c34-e0a3-4b3e-8429-a6e87c8f80c5', 'id': 'b1e11c34-e0a3-4b3e-8429-a6e87c8f80c5', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'f870b1f0-bb4e-4f2f-af52-58479ed1fb85', 'mac_address': '02:b1:e1:1c:34:e0', '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': '136.192.133.5', 'subnet_id': '21c9edc0-20ba-450a-bd1c-55aed475fd08'}], 'security_groups': ['2b5601dd-1db2-4519-bbee-1b4962eeb2f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:36,491 - DEBUG - Response for create_port : {'port': {'name': '4392c5c0-d2f3-443d-a384-7f8aaf2a59b1', 'id': '4392c5c0-d2f3-443d-a384-7f8aaf2a59b1', 'tenant_id': '6da01af5ed294b33bc3350823a6240fb', 'network_id': 'f870b1f0-bb4e-4f2f-af52-58479ed1fb85', 'mac_address': '02:43:92:c5:c0:d2', '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': '204.175.242.133', 'subnet_id': '7584a3cd-c4a8-46bb-99c8-d5f9383d4d4e'}], 'security_groups': ['2b5601dd-1db2-4519-bbee-1b4962eeb2f6'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6da01af5ed294b33bc3350823a6240fb'}}
2026-01-23 13:09:36,545 - DEBUG - Services list from nova: [, , ]
2026-01-23 13:09:36,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5070-1)
2026-01-23 13:09:37,336 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5070-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5070-1)
2026-01-23 13:09:37,336 - INFO - Waiting for VM ctest-vn1-vm1-08675129 to be up..
2026-01-23 13:09:37,378 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-01-23 13:09:42,449 - DEBUG - VM is in ACTIVE state now
2026-01-23 13:09:42,450 - INFO - VM name : ctest-vn1-vm1-08675129
2026-01-23 13:09:42,516 - DEBUG - VM ctest-vn1-vm1-08675129 ID is e6e5b1c8-bda3-4b74-acf4-0e7a44c22da2
2026-01-23 13:09:42,533 - DEBUG - VM ctest-vn1-vm1-08675129 launched on Node cn-jenkins-deploy-platform-ansible-os-5070-1
2026-01-23 13:09:42,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/e6e5b1c8-bda3-4b74-acf4-0e7a44c22da2
2026-01-23 13:09:42,616 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b1e11c34-e0a3-4b3e-8429-a6e87c8f80c5
2026-01-23 13:09:45,880 - 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')
2026-01-23 13:09:45,880 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08675129 failed!
2026-01-23 13:09:45,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04281871:ctest-vn1-85261844 is 136.192.133.1 and allocation pool is NOT set
2026-01-23 13:09:45,939 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-04281871:ctest-vn1-85261844 is 204.175.242.129 and allocation pool is NOT set
2026-01-23 13:09:50,015 - 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=7.51 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1013ms\r\nrtt min/avg/max/mdev = 7.512/7.512/7.512/0.000 ms')
2026-01-23 13:09:50,015 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08675129 passed
2026-01-23 13:09:50,163 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-23 13:09:50,163 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08675129, IP 136.192.133.5, Port 22
2026-01-23 13:09:50,323 - DEBUG - VM ctest-vn1-vm1-08675129 is ready for SSH connections
2026-01-23 13:09:50,323 - INFO - Waiting for VM ctest-vn1-vm2-02907814 to be up..
2026-01-23 13:09:50,396 - DEBUG - VM is in ACTIVE state now
2026-01-23 13:09:50,396 - INFO - VM name : ctest-vn1-vm2-02907814
2026-01-23 13:09:50,477 - DEBUG - VM ctest-vn1-vm2-02907814 ID is bc927601-d57f-423f-8d87-841216a691b5
2026-01-23 13:09:50,477 - DEBUG - VM ctest-vn1-vm2-02907814 launched on Node cn-jenkins-deploy-platform-ansible-os-5070-1
2026-01-23 13:09:50,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/bc927601-d57f-423f-8d87-841216a691b5
2026-01-23 13:09:50,562 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4392c5c0-d2f3-443d-a384-7f8aaf2a59b1
2026-01-23 13:09:51,804 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.833 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.833/2.264/3.695/1.431 ms')
2026-01-23 13:09:51,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-02907814 passed
2026-01-23 13:09:51,959 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-23 13:09:51,959 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-02907814, IP 204.175.242.133, Port 22
2026-01-23 13:09:52,114 - DEBUG - VM ctest-vn1-vm2-02907814 is ready for SSH connections
2026-01-23 13:09:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-23 13:09:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-23 13:09:52,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-01-23 13:09:52,114 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 136.192.133.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-01-23 13:09:52,114 - DEBUG - ping -s 56 -c 3 -W 1 136.192.133.5
2026-01-23 13:09:54,864 - DEBUG - PING 136.192.133.5 (136.192.133.5): 56 data bytes
64 bytes from 136.192.133.5: seq=0 ttl=63 time=4.072 ms
64 bytes from 136.192.133.5: seq=1 ttl=63 time=1.177 ms
64 bytes from 136.192.133.5: seq=2 ttl=63 time=1.022 ms
--- 136.192.133.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.022/2.090/4.072 ms
2026-01-23 13:09:54,864 - INFO - Ping to IP 136.192.133.5 from VM ctest-vn1-vm2-02907814 passed
2026-01-23 13:09:54,864 - INFO - Detaching port 4392c5c0-d2f3-443d-a384-7f8aaf2a59b1 from VM ctest-vn1-vm2-02907814
2026-01-23 13:09:54,913 - INFO - Deleting VM ctest-vn1-vm2-02907814
2026-01-23 13:09:54,988 - INFO - Detaching port b1e11c34-e0a3-4b3e-8429-a6e87c8f80c5 from VM ctest-vn1-vm1-08675129
2026-01-23 13:09:55,027 - INFO - Deleting VM ctest-vn1-vm1-08675129
2026-01-23 13:09:55,250 - DEBUG - Response for delete_port : ()
2026-01-23 13:09:55,441 - DEBUG - Response for delete_port : ()
2026-01-23 13:09:55,442 - INFO - Deleting VN ctest-vn1-85261844
2026-01-23 13:09:55,583 - DEBUG - Response for deleting network ()
2026-01-23 13:09:55,840 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 13:09:55,840 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:20]
2026-01-23 13:09:55,840 - INFO - --------------------------------------------------------------------------------
2026-01-23 13:09:56,563 - INFO - Deleted project: ctest-TestPorts-04281871, ID : 6da01af5-ed29-4b33-bc33-50823a6240fb