Bug 44756 - Surface an error for user not logged in on macOS Build Server
Summary: Surface an error for user not logged in on macOS Build Server
Status: RESOLVED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: XMA ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: 4.4.0 (C10)
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-26 21:57 UTC by Cody Beyer (MSFT)
Modified: 2016-12-29 19:46 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Cody Beyer (MSFT) 2016-09-26 21:57:16 UTC
# Description

Currently, when attempting to connect to a Mac which is not logged in, the connection will fail without any error message

This can be confusing, so it may be prudent to surface an error message that states that the user is not currently logged in. Within the logs, the following is logged:

>The user '...' must be logged in on the mac in order to start the agent. Please make sure the user '...' is logged in and try to connect to the mac again."

# Steps to Reproduce

	1. Ensure Mac is powered on and not logged in
	2. Create single view iOS app in Visual Studio
	3. Attempt to connect to macOS system

# Expected Results

Error message should display informing user of logged in status

# Actual Results

Nothing occurs, the connection fails with no apparent feedback

# Versions

Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA096
Microsoft Architecture and Modeling Tools
    
UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA096
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA096
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA096
Microsoft Visual C++ 2015

Windows Phone SDK 8.0 - ENU   00322-80000-00000-AA096
Windows Phone SDK 8.0 - ENU

Application Insights Tools for Visual Studio Package   7.7.10922.3
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015.1 (Beta8)   14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

Command Bus, Event Stream and Async Manager   Merq
Provides ICommandBus, IEventStream and IAsyncManager MEF services for loosely coupled Visual Studio extension components communication and integration.

Common Azure Tools   1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.2.0.688 (94c1c37)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   7.0.1.0 (6165b56)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   10.0.0.1 (29910bb)
Visual Studio extension to enable development for Xamarin.iOS.


=== Xamarin Studio Community ===

Version 6.1.1 (build 15)
Installation UUID: db6fedd8-26e4-45a4-94d2-c23baa31cc61
Runtime:
	Mono 4.6.0 (mono-4.6.0-branch/8d0eee7) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 406000251

=== NuGet ===

Version: 3.4.3.0

=== Xamarin.Profiler ===

Not Installed

=== Apple Developer Tools ===

Xcode 8.0 (11246)
Build 8A218a

=== Xamarin.Mac ===

Version: 2.10.0.102 (Xamarin Studio Community)

=== Xamarin.Android ===

Version: 7.0.1.0 (Xamarin Studio Community)
Android SDK: /Users/beyer/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		6.0 (API level 23)

SDK Tools Version: 25.1.2
SDK Platform Tools Version: 24.0.0
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Xamarin Android Player ===

Not Installed

=== Xamarin.iOS ===

Version: 10.0.1.5 (Xamarin Studio Community)
Hash: c9eb5b0
Branch: xcode8
Build date: 2016-09-16 20:50:23-0400

=== Build Information ===

Release ID: 601010015
Git revision: fa52f02641726146e2589ed86ec4097fbe101888
Build date: 2016-09-22 08:03:02-04
Xamarin addins: 75d65712af93d54dc39ae4c42b21dfa574859fd6
Build lane: monodevelop-lion-cycle8-sr0

=== Operating System ===

Mac OS X 10.12.0
Darwin clb-macbook.local 16.0.0 Darwin Kernel Version 16.0.0
    Mon Aug 29 17:56:20 PDT 2016
    root:xnu-3789.1.32~3/RELEASE_X86_64 x86_64

=== Enabled user installed addins ===

DNX 0.6
VSCodeDebugger 1.1
Comment 1 mag@xamarin.com 2016-12-20 18:28:45 UTC
Moving to cycle10 to analyze and provide a proper solution
Comment 2 xamarin-release-manager 2016-12-29 19:44:22 UTC
Fixed in version 99.1.0.405 (master)

Author: Mauro Agnoletti
Commit: 4ede52a3de4bb0a96d873c9bca9a69af09d5940a (xamarin/XamarinVS)