2026-05-27 23:15:15,891 - INFO - Domain Default found not creating
2026-05-27 23:15:16,156 - INFO - Project ctest-TestPorts-03429442 not found, creating it
2026-05-27 23:15:16,634 - INFO - Created Project:ctest-TestPorts-03429442, ID : f0f3f397-fe4c-4d3d-9fc3-bf4d675c621a
2026-05-27 23:15:18,258 - INFO - ================================================================================
2026-05-27 23:15:18,258 - INFO - STARTING TEST : test_ports_bindings
2026-05-27 23:15:18,258 - 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-05-27 23:15:18,514 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-05-27 23:15:18,514 - INFO - Initial checks done. Running the testcase now
2026-05-27 23:15:18,514 - INFO -
2026-05-27 23:15:19,114 - DEBUG - Response for create_network : {'network': {'id': 'bae3ad8f-82f5-47c0-9222-b5c3d2354568', 'name': 'ctest-vn-21534696', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03429442', 'ctest-vn-21534696'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:15:19,309 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc64d894-c514-4faa-a183-dbbdbe254879', 'name': '', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': 'bae3ad8f-82f5-47c0-9222-b5c3d2354568', 'ip_version': 4, 'cidr': '25.117.217.128/26', 'allocation_pools': [{'start': '25.117.217.130', 'end': '25.117.217.190'}], 'gateway_ip': '25.117.217.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '25.117.217.130', 'tags': [], 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:19,330 - INFO - Created VN ctest-vn-21534696
2026-05-27 23:15:19,384 - DEBUG - VN ctest-vn-21534696 UUID is bae3ad8f-82f5-47c0-9222-b5c3d2354568
2026-05-27 23:15:19,495 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-03429442', 'ctest-vmi-40660216']}
2026-05-27 23:15:19,733 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-40660216', 'id': 'd9647d4a-a2e0-4c84-ac61-22712ab1386b', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': 'bae3ad8f-82f5-47c0-9222-b5c3d2354568', 'mac_address': '02:d9:64:7d:4a:a2', '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': '25.117.217.131', 'subnet_id': 'fc64d894-c514-4faa-a183-dbbdbe254879'}], 'security_groups': ['0a444020-dc06-4a4d-8aad-98a4d4d677b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:19,734 - DEBUG - Created port d9647d4a-a2e0-4c84-ac61-22712ab1386b
2026-05-27 23:15:19,836 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d9647d4a-a2e0-4c84-ac61-22712ab1386b
2026-05-27 23:15:20,172 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/d9647d4a-a2e0-4c84-ac61-22712ab1386b
2026-05-27 23:15:20,213 - INFO - VMI d9647d4a-a2e0-4c84-ac61-22712ab1386b verification in API Server passed
2026-05-27 23:15:20,311 - DEBUG - Response for delete_port : ()
2026-05-27 23:15:20,311 - INFO - Deleted port d9647d4a-a2e0-4c84-ac61-22712ab1386b
2026-05-27 23:15:20,311 - INFO - Deleting VN ctest-vn-21534696
2026-05-27 23:15:20,419 - DEBUG - Response for deleting network ()
2026-05-27 23:15:20,685 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 23:15:20,685 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2026-05-27 23:15:20,685 - INFO - --------------------------------------------------------------------------------
2026-05-27 23:15:20,687 - INFO - ================================================================================
2026-05-27 23:15:20,687 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2026-05-27 23:15:20,687 - 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-05-27 23:15:20,971 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.17': '0'}} with
2026-05-27 23:15:20,971 - INFO - Initial checks done. Running the testcase now
2026-05-27 23:15:20,971 - INFO -
2026-05-27 23:15:21,150 - DEBUG - Response for create_network : {'network': {'id': '77633e4e-de5f-46c6-a856-b9968a2dc468', 'name': 'ctest-vn1-63056378', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-03429442', 'ctest-vn1-63056378'], 'port_security_enabled': True, 'description': ''}}
2026-05-27 23:15:21,341 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b5815ec3-c028-4863-a5ac-c823d088e134', 'name': '', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': '77633e4e-de5f-46c6-a856-b9968a2dc468', 'ip_version': 4, 'cidr': '153.130.162.0/26', 'allocation_pools': [{'start': '153.130.162.2', 'end': '153.130.162.62'}], 'gateway_ip': '153.130.162.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.130.162.2', 'tags': [], 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:21,487 - DEBUG - Response for create_subnet : {'subnet': {'id': '454106b8-5690-4c3e-acc8-729e5c9f7f88', 'name': '', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': '77633e4e-de5f-46c6-a856-b9968a2dc468', 'ip_version': 4, 'cidr': '101.151.244.64/26', 'allocation_pools': [{'start': '101.151.244.66', 'end': '101.151.244.126'}], 'gateway_ip': '101.151.244.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '101.151.244.66', 'tags': [], 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:21,511 - INFO - Created VN ctest-vn1-63056378
2026-05-27 23:15:21,564 - DEBUG - VN ctest-vn1-63056378 UUID is 77633e4e-de5f-46c6-a856-b9968a2dc468
2026-05-27 23:15:21,884 - DEBUG - Response for create_port : {'port': {'name': '622832ac-e2e4-49e2-985a-2f4a40d7e598', 'id': '622832ac-e2e4-49e2-985a-2f4a40d7e598', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': '77633e4e-de5f-46c6-a856-b9968a2dc468', 'mac_address': '02:62:28:32:ac:e2', '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': '153.130.162.5', 'subnet_id': 'b5815ec3-c028-4863-a5ac-c823d088e134'}], 'security_groups': ['0a444020-dc06-4a4d-8aad-98a4d4d677b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:22,085 - DEBUG - Response for create_port : {'port': {'name': 'e5801719-6fa2-49e0-a5e9-da33e1a80c19', 'id': 'e5801719-6fa2-49e0-a5e9-da33e1a80c19', 'tenant_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a', 'network_id': '77633e4e-de5f-46c6-a856-b9968a2dc468', 'mac_address': '02:e5:80:17:19:6f', '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': '101.151.244.69', 'subnet_id': '454106b8-5690-4c3e-acc8-729e5c9f7f88'}], 'security_groups': ['0a444020-dc06-4a4d-8aad-98a4d4d677b1'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'f0f3f397fe4c4d3d9fc3bf4d675c621a'}}
2026-05-27 23:15:22,145 - DEBUG - Services list from nova: [, , ]
2026-05-27 23:15:22,514 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5835-1)
2026-05-27 23:15:22,919 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5835-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5835-1)
2026-05-27 23:15:22,919 - INFO - Waiting for VM ctest-vn1-vm1-20996935 to be up..
2026-05-27 23:15:22,959 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-05-27 23:15:28,042 - DEBUG - VM is in ACTIVE state now
2026-05-27 23:15:28,042 - INFO - VM name : ctest-vn1-vm1-20996935
2026-05-27 23:15:28,121 - DEBUG - VM ctest-vn1-vm1-20996935 ID is 011ff171-7080-4e3b-ad54-9af0891bc35d
2026-05-27 23:15:28,141 - DEBUG - VM ctest-vn1-vm1-20996935 launched on Node cn-jenkins-deploy-platform-ansible-os-5835-1
2026-05-27 23:15:28,221 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/011ff171-7080-4e3b-ad54-9af0891bc35d
2026-05-27 23:15:28,231 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/622832ac-e2e4-49e2-985a-2f4a40d7e598
2026-05-27 23:15:31,478 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms')
2026-05-27 23:15:31,478 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20996935 failed!
2026-05-27 23:15:31,534 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03429442:ctest-vn1-63056378 is 153.130.162.1 and allocation pool is NOT set
2026-05-27 23:15:31,534 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-03429442:ctest-vn1-63056378 is 101.151.244.65 and allocation pool is NOT set
2026-05-27 23:15:35,607 - 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=2 ttl=63 time=6.45 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1014ms\r\nrtt min/avg/max/mdev = 6.449/6.449/6.449/0.000 ms')
2026-05-27 23:15:35,608 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm1-20996935 passed
2026-05-27 23:15:35,756 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 23:15:35,756 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-20996935, IP 153.130.162.5, Port 22
2026-05-27 23:15:35,920 - DEBUG - VM ctest-vn1-vm1-20996935 is ready for SSH connections
2026-05-27 23:15:35,920 - INFO - Waiting for VM ctest-vn1-vm2-79780028 to be up..
2026-05-27 23:15:35,996 - DEBUG - VM is in ACTIVE state now
2026-05-27 23:15:35,996 - INFO - VM name : ctest-vn1-vm2-79780028
2026-05-27 23:15:36,068 - DEBUG - VM ctest-vn1-vm2-79780028 ID is b5d45a62-ba3d-4c65-8323-058f7cd3c09e
2026-05-27 23:15:36,069 - DEBUG - VM ctest-vn1-vm2-79780028 launched on Node cn-jenkins-deploy-platform-ansible-os-5835-1
2026-05-27 23:15:36,142 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b5d45a62-ba3d-4c65-8323-058f7cd3c09e
2026-05-27 23:15:36,150 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/e5801719-6fa2-49e0-a5e9-da33e1a80c19
2026-05-27 23:15:37,384 - 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=3.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.479 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 = 0.479/1.812/3.145/1.333 ms')
2026-05-27 23:15:37,385 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm2-79780028 passed
2026-05-27 23:15:37,536 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 23:15:37,536 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-79780028, IP 101.151.244.69, Port 22
2026-05-27 23:15:37,692 - DEBUG - VM ctest-vn1-vm2-79780028 is ready for SSH connections
2026-05-27 23:15:37,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 23:15:37,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 23:15:37,692 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-05-27 23:15:37,692 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.130.162.5, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2026-05-27 23:15:37,693 - DEBUG - ping -s 56 -c 3 -W 1 153.130.162.5
2026-05-27 23:15:41,428 - DEBUG - PING 153.130.162.5 (153.130.162.5): 56 data bytes
64 bytes from 153.130.162.5: seq=0 ttl=63 time=3.574 ms
64 bytes from 153.130.162.5: seq=1 ttl=63 time=0.843 ms
64 bytes from 153.130.162.5: seq=2 ttl=63 time=0.974 ms
--- 153.130.162.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.843/1.797/3.574 ms
2026-05-27 23:15:41,428 - INFO - Ping to IP 153.130.162.5 from VM ctest-vn1-vm2-79780028 passed
2026-05-27 23:15:41,428 - INFO - Detaching port e5801719-6fa2-49e0-a5e9-da33e1a80c19 from VM ctest-vn1-vm2-79780028
2026-05-27 23:15:41,480 - INFO - Deleting VM ctest-vn1-vm2-79780028
2026-05-27 23:15:41,556 - INFO - Detaching port 622832ac-e2e4-49e2-985a-2f4a40d7e598 from VM ctest-vn1-vm1-20996935
2026-05-27 23:15:41,597 - INFO - Deleting VM ctest-vn1-vm1-20996935
2026-05-27 23:15:41,847 - DEBUG - Response for delete_port : ()
2026-05-27 23:15:42,010 - DEBUG - Response for delete_port : ()
2026-05-27 23:15:42,010 - INFO - Deleting VN ctest-vn1-63056378
2026-05-27 23:15:42,129 - DEBUG - Response for deleting network ()
2026-05-27 23:15:42,385 - DEBUG - No XMPP flaps were noticed during the test
2026-05-27 23:15:42,385 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:22]
2026-05-27 23:15:42,385 - INFO - --------------------------------------------------------------------------------
2026-05-27 23:15:43,150 - INFO - Deleted project: ctest-TestPorts-03429442, ID : f0f3f397-fe4c-4d3d-9fc3-bf4d675c621a