Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Install WSL on Windows hosts when proxy tests are enabled.." fails intermittently with repeated "adduser: Only one or two names allowed." until operation canceled #4397

Open
ahsonkhan opened this issue Mar 1, 2023 · 3 comments
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.

Comments

@ahsonkhan
Copy link
Member

From unrelated PR:
#4393

On Win2022_Win32Api_debug_tests_x64
https://dev.azure.com/azure-sdk/public/_build/results?buildId=2597158&view=logs&j=62f96420-69e0-55c5-87e4-47c3c06a1c78&t=569ea126-27b5-5a23-71c4-ce1c427a6ea6&l=13328

2023-03-01T01:46:00.5056187Z ##[section]Starting: Install WSL on Windows hosts when proxy tests are enabled..
2023-03-01T01:46:00.5190074Z ==============================================================================
2023-03-01T01:46:00.5190676Z Task         : PowerShell
2023-03-01T01:46:00.5190895Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-03-01T01:46:00.5191234Z Version      : 2.212.0
2023-03-01T01:46:00.5191458Z Author       : Microsoft Corporation
2023-03-01T01:46:00.5191742Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-03-01T01:46:00.5192099Z ==============================================================================
2023-03-01T01:46:01.5860267Z Generating script.
2023-03-01T01:46:01.6316297Z ========================== Starting Command Output ===========================
2023-03-01T01:46:01.6574046Z ##[command]"C:\Program Files\PowerShell\7\pwsh.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\a469cf37-7939-4632-8131-96dc791c0e2c.ps1'"
2023-03-01T01:46:02.1133251Z w�s�l� �-�-�u�p�d�a�t�e� �-�-�w�e�b�-�d�o�w�n�l�o�a�d�
2023-03-01T01:46:02.1135312Z �
2023-03-01T01:46:34.6269336Z �D�o�w�n�l�o�a�d�i�n�g�:� �W�i�n�d�o�w�s� �S�u�b�s�y�s�t�e�m� �f�o�r� �L�i�n�u�x�
2023-03-01T01:46:34.6272232Z �
2023-03-01T01:46:34.6277331Z �
2023-03-01T01:46:34.6286867Z �
2023-03-01T01:46:34.6295130Z �I�n�s�t�a�l�l�i�n�g�:� �W�i�n�d�o�w�s� �S�u�b�s�y�s�t�e�m� �f�o�r� �L�i�n�u�x�
2023-03-01T01:46:34.6297089Z �
2023-03-01T01:46:34.6300165Z �
2023-03-01T01:46:34.6326085Z �
2023-03-01T01:46:34.6356399Z �W�i�n�d�o�w�s� �S�u�b�s�y�s�t�e�m� �f�o�r� �L�i�n�u�x� �h�a�s� �b�e�e�n� �i�n�s�t�a�l�l�e�d�.�
2023-03-01T01:46:34.6377288Z �
2023-03-01T01:46:34.6384952Z �
2023-03-01T01:46:34.6405284Z �
2023-03-01T01:46:34.6408091Z �
2023-03-01T01:46:34.6410020Z �
2023-03-01T01:46:34.6410895Z �w�s�l� �-�-�v�e�r�s�i�o�n�
2023-03-01T01:46:34.6411600Z �
2023-03-01T01:46:34.9516803Z �W�S�L� �v�e�r�s�i�o�n�:� �1�.�1�.�3�.�0�
2023-03-01T01:46:34.9518294Z �
2023-03-01T01:46:34.9519565Z �K�e�r�n�e�l� �v�e�r�s�i�o�n�:� �5�.�1�5�.�9�0�.�1�
2023-03-01T01:46:34.9520252Z �
2023-03-01T01:46:34.9521100Z �W�S�L�g� �v�e�r�s�i�o�n�:� �1�.�0�.�4�9�
2023-03-01T01:46:34.9521567Z �
2023-03-01T01:46:34.9522024Z �M�S�R�D�C� �v�e�r�s�i�o�n�:� �1�.�2�.�3�7�7�0�
2023-03-01T01:46:34.9522467Z �
2023-03-01T01:46:34.9522982Z �D�i�r�e�c�t�3�D� �v�e�r�s�i�o�n�:� �1�.�6�0�8�.�2�-�6�1�0�6�4�2�1�8�
2023-03-01T01:46:34.9540148Z �
2023-03-01T01:46:34.9559633Z �D�X�C�o�r�e� �v�e�r�s�i�o�n�:� �1�0�.�0�.�2�5�1�3�1�.�1�0�0�2�-�2�2�0�5�3�1�-�1�7�0�0�.�r�s�-�o�n�e�c�o�r�e�-�b�a�s�e�2�-�h�y�p�
2023-03-01T01:46:34.9576345Z �
2023-03-01T01:46:34.9600923Z �W�i�n�d�o�w�s� �v�e�r�s�i�o�n�:� �1�0�.�0�.�2�0�3�4�8�.�1�5�4�7�
2023-03-01T01:46:34.9604703Z �
2023-03-01T01:46:34.9619735Z �W�S�L� �i�n�s�t�a�l�l� �o�f� �u�b�u�n�t�u�.�
2023-03-01T01:46:34.9620774Z �
2023-03-01T01:47:33.7992460Z adduser: Only one or two names allowed.
2023-03-01T01:47:34.0451960Z adduser: Only one or two names allowed.
2023-03-01T01:47:34.3090514Z adduser: Only one or two names allowed.
...
2023-03-01T01:48:06.4226063Z adduser: Only one or two names allowed.
2023-03-01T01:48:06.6416411Z adduser: Only one or two names allowed.
2023-03-01T01:48:06.8603802Z adduser: Only one or two names allowed.
2023-03-01T01:48:07.0679236Z adduser: Only one or two names allowed.
2023-03-01T01:48:07.2763055Z adduser: Only one or two names allowed.
2023-03-01T01:48:07.2882469Z �Installing, this may take a few minutes...
2023-03-01T01:48:07.2892989Z 
2023-03-01T01:48:07.2900654Z Please create a default UNIX user account. The username does not need to match your Windows username.
2023-03-01T01:48:07.2912470Z 
2023-03-01T01:48:07.2916766Z For more information visit: https://aka.ms/wslusers
2023-03-01T01:48:07.2927510Z 
2023-03-01T01:48:07.4889111Z adduser: Only one or two names allowed.
2023-03-01T01:48:07.7009238Z adduser: Only one or two names allowed.
2023-03-01T01:48:07.9142542Z adduser: Only one or two names allowed.
...
2023-03-01T02:34:58.9657845Z adduser: Only one or two names allowed.
2023-03-01T02:34:59.1753474Z adduser: Only one or two names allowed.
2023-03-01T02:34:59.3827180Z adduser: Only one or two names allowed.
2023-03-01T02:34:59.5920161Z adduser: Only one or two names allowed.
2023-03-01T02:34:59.8015666Z adduser: Only one or two names allowed.
2023-03-01T02:35:00.0206205Z adduser: Only one or two names allowed.
2023-03-01T02:35:00.2476662Z adduser: Only one or two names allowed.
2023-03-01T02:35:00.4678607Z adduser: Only one or two names allowed.
2023-03-01T02:35:00.6803694Z adduser: Only one or two names allowed.
2023-03-01T02:35:00.8921961Z adduser: Only one or two names allowed.
2023-03-01T02:35:01.6092409Z Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username:
...
UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: Enter new UNIX username: E
2023-03-01T02:35:01.8506526Z ##[error]The operation was canceled.
2023-03-01T02:35:01.8606824Z ##[section]Finishing: Install WSL on Windows hosts when proxy tests are enabled..

cc @danieljurek

@ahsonkhan ahsonkhan added the Central-EngSys This issue is owned by the Engineering System team. label Mar 1, 2023
@ahsonkhan
Copy link
Member Author

A re-run didn't succeed.

@jeromelaban
Copy link

I'm getting this issue as well in another repo that uses WSL in Azure DevOps hosted agents, it used to work properly about a month ago. Did you find anything that could work around it? Thanks!

@RickWinter RickWinter added the EngSys This issue is impacting the engineering system. label Mar 27, 2023
@joshmouch
Copy link

It may be completely unrelated, but I got this "adduser:..." error when I did an "Enter-PSSession" to a server to install a disto instead of "ssh" to the server. The difference may have been that the first used an Active Directory admin and the later used a local machine admin account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team. EngSys This issue is impacting the engineering system.
Projects
None yet
Development

No branches or pull requests

4 participants