2025-11-12 09:06:18,317 - INFO - Domain Default found not creating
2025-11-12 09:06:18,484 - INFO - Project ctest-TestPorts-45192007 not found, creating it
2025-11-12 09:06:18,949 - INFO - Created Project:ctest-TestPorts-45192007, ID : e5ee73a8-7dc9-4a93-86b2-ca70586aaf01
2025-11-12 09:06:20,417 - INFO - ================================================================================
2025-11-12 09:06:20,418 - INFO - STARTING TEST : test_ports_bindings
2025-11-12 09:06:20,418 - 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-12 09:06:20,672 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-11-12 09:06:20,672 - INFO - Initial checks done. Running the testcase now
2025-11-12 09:06:20,673 - INFO -
2025-11-12 09:06:21,250 - DEBUG - Response for create_network : {'network': {'id': '4e433a09-798e-40f2-a4d7-16cb61b90019', 'name': 'ctest-vn-53674857', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45192007', 'ctest-vn-53674857'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 09:06:21,406 - DEBUG - Response for create_subnet : {'subnet': {'id': '6127d778-adf6-4711-a05e-951d853ea88b', 'name': '', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '4e433a09-798e-40f2-a4d7-16cb61b90019', 'ip_version': 4, 'cidr': '182.132.117.0/26', 'allocation_pools': [{'start': '182.132.117.2', 'end': '182.132.117.62'}], 'gateway_ip': '182.132.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '182.132.117.2', 'tags': [], 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:21,424 - INFO - Created VN ctest-vn-53674857
2025-11-12 09:06:21,479 - DEBUG - VN ctest-vn-53674857 UUID is 4e433a09-798e-40f2-a4d7-16cb61b90019
2025-11-12 09:06:21,589 - DEBUG - Read virtual machine interface {'fq_name': ['default-domain', 'ctest-TestPorts-45192007', 'ctest-vmi-02120516']}
2025-11-12 09:06:21,851 - DEBUG - Response for create_port : {'port': {'name': 'ctest-vmi-02120516', 'id': '43d2ee03-b9e4-4cae-95c0-f1e4d787cf86', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '4e433a09-798e-40f2-a4d7-16cb61b90019', 'mac_address': '02:43:d2:ee:03:b9', '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': '182.132.117.3', 'subnet_id': '6127d778-adf6-4711-a05e-951d853ea88b'}], 'security_groups': ['ebc1df6d-a6bc-44e2-a449-84593cb916bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:21,851 - DEBUG - Created port 43d2ee03-b9e4-4cae-95c0-f1e4d787cf86
2025-11-12 09:06:21,959 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/43d2ee03-b9e4-4cae-95c0-f1e4d787cf86
2025-11-12 09:06:22,255 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/43d2ee03-b9e4-4cae-95c0-f1e4d787cf86
2025-11-12 09:06:22,286 - INFO - VMI 43d2ee03-b9e4-4cae-95c0-f1e4d787cf86 verification in API Server passed
2025-11-12 09:06:22,370 - DEBUG - Response for delete_port : ()
2025-11-12 09:06:22,370 - INFO - Deleted port 43d2ee03-b9e4-4cae-95c0-f1e4d787cf86
2025-11-12 09:06:22,370 - INFO - Deleting VN ctest-vn-53674857
2025-11-12 09:06:22,479 - DEBUG - Response for deleting network ()
2025-11-12 09:06:22,733 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:06:22,734 - INFO - END TEST : test_ports_bindings : PASSED[0:00:02]
2025-11-12 09:06:22,734 - INFO - --------------------------------------------------------------------------------
2025-11-12 09:06:22,736 - INFO - ================================================================================
2025-11-12 09:06:22,737 - INFO - STARTING TEST : test_ports_specific_subnet_ip
2025-11-12 09:06:22,737 - 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-12 09:06:23,020 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2025-11-12 09:06:23,020 - INFO - Initial checks done. Running the testcase now
2025-11-12 09:06:23,021 - INFO -
2025-11-12 09:06:23,199 - DEBUG - Response for create_network : {'network': {'id': '9a5c1a1b-67ce-4ad6-9222-68ec1106063e', 'name': 'ctest-vn1-83144150', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestPorts-45192007', 'ctest-vn1-83144150'], 'port_security_enabled': True, 'description': ''}}
2025-11-12 09:06:23,415 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7d3adfb-4a03-44fe-a1d0-a24bf274b5e5', 'name': '', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '9a5c1a1b-67ce-4ad6-9222-68ec1106063e', 'ip_version': 4, 'cidr': '68.179.120.0/26', 'allocation_pools': [{'start': '68.179.120.2', 'end': '68.179.120.62'}], 'gateway_ip': '68.179.120.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '68.179.120.2', 'tags': [], 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:23,588 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f48c2858-a84d-49f3-8700-e5a1e01b23ae', 'name': '', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '9a5c1a1b-67ce-4ad6-9222-68ec1106063e', 'ip_version': 4, 'cidr': '205.89.163.192/26', 'allocation_pools': [{'start': '205.89.163.194', 'end': '205.89.163.254'}], 'gateway_ip': '205.89.163.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.89.163.194', 'tags': [], 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:23,607 - INFO - Created VN ctest-vn1-83144150
2025-11-12 09:06:23,659 - DEBUG - VN ctest-vn1-83144150 UUID is 9a5c1a1b-67ce-4ad6-9222-68ec1106063e
2025-11-12 09:06:23,965 - DEBUG - Response for create_port : {'port': {'name': '408ccf65-ec44-419d-8dd7-b1ed19137f4d', 'id': '408ccf65-ec44-419d-8dd7-b1ed19137f4d', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '9a5c1a1b-67ce-4ad6-9222-68ec1106063e', 'mac_address': '02:40:8c:cf:65:ec', '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': '68.179.120.5', 'subnet_id': 'b7d3adfb-4a03-44fe-a1d0-a24bf274b5e5'}], 'security_groups': ['ebc1df6d-a6bc-44e2-a449-84593cb916bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:24,130 - DEBUG - Response for create_port : {'port': {'name': '98225890-38c8-485e-9587-90792d3e27f7', 'id': '98225890-38c8-485e-9587-90792d3e27f7', 'tenant_id': 'e5ee73a87dc94a9386b2ca70586aaf01', 'network_id': '9a5c1a1b-67ce-4ad6-9222-68ec1106063e', 'mac_address': '02:98:22:58:90:38', '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': '205.89.163.197', 'subnet_id': 'f48c2858-a84d-49f3-8700-e5a1e01b23ae'}], 'security_groups': ['ebc1df6d-a6bc-44e2-a449-84593cb916bc'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'e5ee73a87dc94a9386b2ca70586aaf01'}}
2025-11-12 09:06:24,191 - DEBUG - Services list from nova: [, , ]
2025-11-12 09:06:24,532 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1)
2025-11-12 09:06:25,075 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4702-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4702-1)
2025-11-12 09:06:25,075 - INFO - Waiting for VM ctest-vn1-vm1-29994649 to be up..
2025-11-12 09:06:25,117 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-11-12 09:06:30,206 - DEBUG - VM is in ACTIVE state now
2025-11-12 09:06:30,206 - INFO - VM name : ctest-vn1-vm1-29994649
2025-11-12 09:06:30,278 - DEBUG - VM ctest-vn1-vm1-29994649 ID is 88c2af3e-cf5c-4e9b-b4aa-a402820fca53
2025-11-12 09:06:30,295 - DEBUG - VM ctest-vn1-vm1-29994649 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1
2025-11-12 09:06:30,384 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/88c2af3e-cf5c-4e9b-b4aa-a402820fca53
2025-11-12 09:06:30,393 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/408ccf65-ec44-419d-8dd7-b1ed19137f4d
2025-11-12 09:06:33,662 - 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-11-12 09:06:33,663 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29994649 failed!
2025-11-12 09:06:33,719 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45192007:ctest-vn1-83144150 is 68.179.120.1 and allocation pool is NOT set
2025-11-12 09:06:33,719 - DEBUG - Gateway for vn default-domain:ctest-TestPorts-45192007:ctest-vn1-83144150 is 205.89.163.193 and allocation pool is NOT set
2025-11-12 09:06:35,779 - 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=10.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.566 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.566/5.316/10.067/4.750 ms')
2025-11-12 09:06:35,779 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29994649 passed
2025-11-12 09:06:35,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:06:35,927 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29994649, IP 68.179.120.5, Port 22
2025-11-12 09:06:36,082 - DEBUG - VM ctest-vn1-vm1-29994649 is ready for SSH connections
2025-11-12 09:06:36,082 - INFO - Waiting for VM ctest-vn1-vm2-18524778 to be up..
2025-11-12 09:06:36,167 - DEBUG - VM is in ACTIVE state now
2025-11-12 09:06:36,167 - INFO - VM name : ctest-vn1-vm2-18524778
2025-11-12 09:06:36,257 - DEBUG - VM ctest-vn1-vm2-18524778 ID is bb0fdddf-8b30-4d55-ab95-35cd80a19564
2025-11-12 09:06:36,257 - DEBUG - VM ctest-vn1-vm2-18524778 launched on Node cn-jenkins-deploy-platform-ansible-os-4702-1
2025-11-12 09:06:36,329 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/bb0fdddf-8b30-4d55-ab95-35cd80a19564
2025-11-12 09:06:36,337 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/98225890-38c8-485e-9587-90792d3e27f7
2025-11-12 09:06:37,579 - 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.25 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.470 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.470/1.861/3.252/1.391 ms')
2025-11-12 09:06:37,579 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1-vm2-18524778 passed
2025-11-12 09:06:37,727 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:06:37,727 - DEBUG - Waiting to SSH to VM ctest-vn1-vm2-18524778, IP 205.89.163.197, Port 22
2025-11-12 09:06:37,901 - DEBUG - VM ctest-vn1-vm2-18524778 is ready for SSH connections
2025-11-12 09:06:37,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:06:37,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:06:37,901 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-11-12 09:06:37,901 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 68.179.120.5, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123
2025-11-12 09:06:37,902 - DEBUG - ping -s 56 -c 3 -W 1 68.179.120.5
2025-11-12 09:06:40,601 - DEBUG - PING 68.179.120.5 (68.179.120.5): 56 data bytes
64 bytes from 68.179.120.5: seq=0 ttl=63 time=3.395 ms
64 bytes from 68.179.120.5: seq=1 ttl=63 time=1.276 ms
64 bytes from 68.179.120.5: seq=2 ttl=63 time=1.049 ms
--- 68.179.120.5 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.049/1.906/3.395 ms
2025-11-12 09:06:40,601 - INFO - Ping to IP 68.179.120.5 from VM ctest-vn1-vm2-18524778 passed
2025-11-12 09:06:40,602 - INFO - Detaching port 98225890-38c8-485e-9587-90792d3e27f7 from VM ctest-vn1-vm2-18524778
2025-11-12 09:06:40,654 - INFO - Deleting VM ctest-vn1-vm2-18524778
2025-11-12 09:06:40,741 - INFO - Detaching port 408ccf65-ec44-419d-8dd7-b1ed19137f4d from VM ctest-vn1-vm1-29994649
2025-11-12 09:06:40,779 - INFO - Deleting VM ctest-vn1-vm1-29994649
2025-11-12 09:06:41,011 - DEBUG - Response for delete_port : ()
2025-11-12 09:06:41,159 - DEBUG - Response for delete_port : ()
2025-11-12 09:06:41,159 - INFO - Deleting VN ctest-vn1-83144150
2025-11-12 09:06:41,294 - DEBUG - Response for deleting network ()
2025-11-12 09:06:41,561 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:06:41,562 - INFO - END TEST : test_ports_specific_subnet_ip : PASSED[0:00:19]
2025-11-12 09:06:41,562 - INFO - --------------------------------------------------------------------------------
2025-11-12 09:06:42,258 - INFO - Deleted project: ctest-TestPorts-45192007, ID : e5ee73a8-7dc9-4a93-86b2-ca70586aaf01