Skip to content

Instantly share code, notes, and snippets.

View mandel-macaque's full-sized avatar
🖥️
Coding

Manuel de la Pena mandel-macaque

🖥️
Coding
View GitHub Profile
<#
.SYNOPSIS
Returns the target url to be used when setting the status. The target url allows users to get back to the CI event that updated the status.
#>
function Get-TargetUrl {
$targetUrl = $Env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI + "$Env:SYSTEM_TEAMPROJECT/_build/index?buildId=$Env:BUILD_BUILDID&view=ms.vss-test-web.test-result-details"
return $targetUrl
}
<#
<# .SYNOPSIS Returns the target url to be used when setting the status. The target url allows users to get back to the CI event that updated the status. #> function Get-TargetUrl { $targetUrl = $Env:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI + "$Env:SYSTEM_TEAMPROJECT/_build/index?buildId=$Env:BUILD_BUILDID&view=ms.vss-test-web.test-result-details" return $targetUrl } <# .SYNOPSIS Returns the url to the Html Report index page stored in xamarin-storage. #> function Get-XamarinStorageIndexUrl { param ( [Parameter(Mandatory)] [String] $Path ) return "http://xamarin-storage/$Path/jenkins-results/tests/index.html" } <# .SYNOPSIS Sets a new status in github for the current build. .DESCRIPTION .PARAMETER Status The status value to be set in GitHub. The available values are: * error * failure * pending * success If the wrong value is passed a validation error with be thrown. .PARA
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
4>Done Building Project "/Users/mandel/Xamarin/xharness/src/Microsoft.DotNet.XHarness.iOS.Shared/Microsoft.DotNet.XHarness.iOS.Shared.csproj" (Clean target(s)).
1>Project "/Users/mandel/Xamarin/xharness/XHarness.sln" (1) is building "/Users/mandel/Xamarin/xharness/tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests/Microsoft.DotNet.XHarness.Tests.Runners.Tests.csproj" (2) on node 1 (Clean target(s)).
2>/usr/local/share/dotnet/sdk/3.1.201/Microsoft.Common.CurrentVersion.targets(1655,5): error : Project '../../src/Microsoft.DotNet.XHarness.Tests.Runners/Microsoft.DotNet.XHarness.Tests.Runners.csproj' targets 'netstandard2.1;netcoreapp3.1'. It cannot be referenced by a project
if ! "$XCODE_DEVELOPER_ROOT/usr/bin/xcodebuild" -checkFirstLaunchStatus; then
if ! test -z "$PROVISION_XCODE"; then
# Remove sudo's cache as well, otherwise nothing will happen.
$SUDO find /var/folders -name '*com.apple.dt.Xcode.InstallCheckCache*' -print -delete 2>/dev/null | sed 's/^\(.*\)$/ Deleted Xcode cache file: \1 (this is normal)/' || true
# Run the first launch tasks
log "Executing '$SUDO $XCODE_DEVELOPER_ROOT/usr/bin/xcodebuild -runFirstLaunch'"
$SUDO "$XCODE_DEVELOPER_ROOT/usr/bin/xcodebuild" -runFirstLaunch
log "Executed '$SUDO $XCODE_DEVELOPER_ROOT/usr/bin/xcodebuild -runFirstLaunch'"
else
fail "Xcode has pending first launch tasks. Execute '$XCODE_DEVELOPER_ROOT/usr/bin/xcodebuild -runFirstLaunch' to execute those tasks."
arin.Linker.SdkTest.NoLLVMFailuresInWatchOS("System.Net.Http.dll") : Redundant known failures: should be removed from dictionary for System.Net.Http.dll
Expected:
But was: "LLVM failed for 'HttpContent.CopyToAsync': non-finally/catch/fault clause.
LLVM failed for 'HttpContent.LoadIntoBufferAsync': non-finally/catch/fault clause.
LLVM failed for 'd__47.MoveNext': non-finally/catch/fault clause."
at Xamarin.Linker.SdkTest.NoLLVMFailuresInWatchOS (System.String asm) [0x00255] in :0
class MyClass ()
{
}
class YourClass ()
{
}
static void Print(MyClass o)
{
12:31:10.2031260 *** Executing monotouchtest/iOS on device 'XQAiPodTouch5f' ***
12:31:10.2097510 /Users/mandel/Xamarin/xamarin-macios/master/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch --list-crash-reports=/var/folders/q_/0bkgg2v13s7b35rtg3n2d8xm0000gn/T/tmp7a682b58.tmp --devname XQAiPodTouch5f
12:31:10.4918450 Using Xcode 11.4 found in /Applications/Xcode114.app/Contents/Developer
12:31:12.3079460 Starting test run
12:31:12.3091180 Starting tcp tunnel between mac port: 52999 and devie port 52999.
12:31:12.3096990 The tcp tunnel output is 12:31:12.3095870 /Users/mandel/Xamarin/xamarin-macios/master/xamarin-macios/_ios-build/Library/Frameworks/Xamarin.iOS.framework/Versions/Current/bin/mlaunch --tcp-tunnel=52999:52999 -v --devname XQAiPodTouch5f
12:31:12.5846900 The tcp tunnel output is 12:31:12.5845000 Using Xcode 11.4 found in /Applications/Xcode114.app/Contents/Developer
12:31:18.8206660 The tcp tunnel output is 12:31:18.8206500 Please connect the device
using System;
using System.Collections.Generic;
using Mono.Options;
namespace TestCommandSet {
public enum TemplateType {
Managed,
Native,
}
=== Visual Studio Community 2019 for Mac ===
Version 8.4.8 (build 2)
Installation UUID: 8d12e55e-3489-463f-ac52-8cb4573c5a81
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 5.16.1.25 (issue-7441-d16-3-vsmac / 881172e73)
Package version: 612000039
=== Mono Framework MDK ===
diff --git a/tests/xharness/Jenkins.cs b/tests/xharness/Jenkins.cs
index 37bb3319e..863e18117 100644
--- a/tests/xharness/Jenkins.cs
+++ b/tests/xharness/Jenkins.cs
@@ -39,7 +39,6 @@ namespace Xharness
public bool IncludeOldSimulatorTests;
public bool IncludeDevice;
public bool IncludeXtro;
- public bool IncludeCecil;
public bool IncludeDocs;