Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 564827

Summary: Please install Rust on SWT build machines
Product: Community Reporter: Lakshmi P Shanmugam <lshanmug>
Component: CI-JenkinsAssignee: Mikaël Barbero <mikael.barbero>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic.gurr, mikael.barbero, niraj.modi, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=564825
Whiteboard:
Bug Depends on:    
Bug Blocks: 549585    

Description Lakshmi P Shanmugam CLA 2020-07-01 06:06:30 EDT
For Chromium browser support (Bug 405031), we need Rust (https://www.rust-lang.org/en-US/install.html) to be installed on the SWT Windows and Mac build machines.

Can you please install Rust on the respective machines:

1. Windows agent - windows-server-2016-1

2. Mac agent - b9h15-macos10.12
Comment 1 Mikaël Barbero CLA 2020-07-01 08:36:22 EDT
Done. Connections to both agents have been restarted to re-read environment ($PATH).
Comment 2 Lakshmi P Shanmugam CLA 2020-07-15 06:38:38 EDT
Looks like the PATH is not updated. I get cargo not found error on both machines.

On Mac, echo $PATH gives /usr/bin:/bin:/usr/sbin:/sbin
On Windows, set path gives https://ci.eclipse.org/releng/job/Test-job-lakshmi/4/console

@Mikael, can you please check?
Comment 3 Frederic Gurr CLA 2020-07-15 07:36:19 EDT
PATH has been updated for Mac and Windows agents. Please try again.
Comment 4 Lakshmi P Shanmugam CLA 2020-07-15 09:14:51 EDT
Thanks, works now!
Comment 5 Frederic Gurr CLA 2020-07-15 09:18:23 EDT
Thanks for the feedback. Closing.
Comment 6 Niraj Modi CLA 2020-07-16 06:15:26 EDT
Hi Mikaël,
It looks like rust install on Windows build machine defaulted to 'i686-pc-windows-gnu', but SWT chromium rust build process needs 'x86_64-pc-windows-msvc' platform.

Can you please re-install rust (using Customize install options), sharing the steps below:
1. Launch rust installer file: rustup-init.exe
2. In rust installer console, choose below options for a Custom installation(choose option 2 and proceed as below):
-----------------------------------------------------------------------------
1) Proceed with installation (default)
2) Customize installation
3) Cancel installation
>2

I'm going to ask you the value of each of these installation options.
You may simply press the Enter key to leave unchanged.

Default host triple?
x86_64-pc-windows-msvc

Default toolchain? (stable/beta/nightly/none)
stable

Profile (which tools and data to install)? (minimal/default/complete)
default

Modify PATH variable? (y/n)
y
-----------------------------------------------------------------------------

Thanks!
Comment 7 Frederic Gurr CLA 2020-07-16 13:29:18 EDT
Please try again.
Comment 8 Niraj Modi CLA 2020-07-17 04:23:58 EDT
(In reply to Frederic Gurr from comment #7)
> Please try again.

Thanks Frederic for the quick update, we are verifying.
Comment 9 Niraj Modi CLA 2020-07-17 05:04:21 EDT
(In reply to Niraj Modi from comment #8)
> (In reply to Frederic Gurr from comment #7)
> > Please try again.
> 
> Thanks Frederic for the quick update, we are verifying.

We are good now, resolving now. Thanks!
Comment 10 Frederic Gurr CLA 2020-07-17 05:14:03 EDT
Ok. Closing again.