Skip to content

Scriptcs linux build.sh failing #1306

@r-0-0-t

Description

@r-0-0-t

My output to

./build.sh
All packages listed in packages.config are already installed.
All packages listed in packages.config are already installed.

Build started 12/26/2019 2:39:56 PM.
__________________________________________________
Project "/home/ishan/scriptcs-scriptcs-ceb8443/ScriptCs.sln" (default target(s)):
	Target ValidateSolutionConfiguration:
		Building solution configuration "Release|Any CPU".
	Target Build:
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Contracts/ScriptCs.Contracts.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Core/ScriptCs.Core.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Core/ScriptCs.Core.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Core.Tests/ScriptCs.Core.Tests.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Hosting/ScriptCs.Hosting.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Engine.Mono/ScriptCs.Engine.Mono.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Engine.Mono/ScriptCs.Engine.Mono.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs.Engine.Roslyn/ScriptCs.Engine.Roslyn.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs/ScriptCs.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyDeployFilesToOutputDirectoryAlways:
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs/scriptcs' to '/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs/bin/Release/scriptcs'
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs/ScriptCs.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Engine.Roslyn.Tests/ScriptCs.Engine.Roslyn.Tests.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Hosting.Tests/ScriptCs.Hosting.Tests.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Engine.Mono.Tests/ScriptCs.Engine.Mono.Tests.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Engine.Mono.Tests/ScriptCs.Engine.Mono.Tests.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests/ScriptCs.Tests.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyDeployFilesToOutputDirectoryAlways:
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/src/ScriptCs/scriptcs' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests/bin/Release/scriptcs'
			Target _CopyAppConfigFile:
			Skipping target "_CopyAppConfigFile" because its outputs are up-to-date.
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests/ScriptCs.Tests.csproj".
		Project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target _GenerateTargetFrameworkMonikerAttribute:
			Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
			Target CoreCompile:
			Skipping target "CoreCompile" because its outputs are up-to-date.
			Target _CopyDeployFilesToOutputDirectoryAlways:
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/Duplicate.A.1.0.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/Duplicate.A.1.0.0.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/Duplicate.B.1.0.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/Duplicate.B.1.0.0.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/FrameworkAssemblyReferencer.1.0.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/FrameworkAssemblyReferencer.1.0.0.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/ScriptCs.Adder.Local.0.1.1.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/ScriptCs.Adder.Local.0.1.1.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/ScriptCs.Calculator.0.1.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/ScriptCs.Calculator.0.1.0.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/ScriptCs.Contracts.0.9.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/ScriptCs.Contracts.0.9.0.nupkg'
				Copying file from '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/Support/Gallery/ScriptCs.Logger.ScriptPack.0.1.0.nupkg' to '/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/Support/Gallery/ScriptCs.Logger.ScriptPack.0.1.0.nupkg'
		Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/ScriptCs.Tests.Acceptance.csproj".
Done building project "/home/ishan/scriptcs-scriptcs-ceb8443/ScriptCs.sln".

Build succeeded.
	 0 Warning(s)
	 0 Error(s)

Time Elapsed 00:00:02.8353470
xUnit.net console test runner (64-bit .NET 4.0.30319.42000)
Copyright (C) 2013 Outercurve Foundation.

xunit.dll:     Version 1.9.2.1705
Test assembly: /home/ishan/scriptcs-scriptcs-ceb8443/test/ScriptCs.Tests.Acceptance/bin/Release/ScriptCs.Tests.Acceptance.dll

Tests complete: 1 of 25
Tests complete: 2 of 25
Tests complete: 3 of 25
Tests complete: 4 of 25
Tests complete: 5 of 25
Tests complete: 6 of 25
Tests complete: 7 of 25
Tests complete: 8 of 25
Tests complete: 9 of 25
Tests complete: 10 of 25
Tests complete: 11 of 25
Tests complete: 12 of 25
Tests complete: 13 of 25
Tests complete: 14 of 25
Tests complete: 15 of 25
Tests complete: 16 of 25
Tests complete: 17 of 25
Tests complete: 18 of 25
Tests complete: 19 of 25
Tests complete: 20 of 25
Tests complete: 21 of 25
Tests complete: 22 of 25
Tests complete: 23 of 25
Tests complete: 24 of 25
Tests complete: 25 of 25
Tests complete: 26 of 25
Tests complete: 27 of 25
Tests complete: 28 of 25
Tests complete: 29 of 25
ScriptCs.Tests.Acceptance.Packages.PackageContainsAFrameworkAssemblyReference [SKIP]
   Failing with a path length exception

Tests complete: 30 of 25
Tests complete: 31 of 25
Tests complete: 32 of 25
Tests complete: 33 of 25
Tests complete: 34 of 25
Tests complete: 35 of 25
Tests complete: 36 of 25
Tests complete: 37 of 25
Tests complete: 38 of 25
ScriptCs.Tests.Acceptance.ScriptLibraries.UsingAMethodInAScriptLibraryInTheRepl [SKIP]
   Failing with a path length exception

Tests complete: 39 of 25
Tests complete: 40 of 25
Tests complete: 41 of 25
Tests complete: 42 of 25
ScriptCs.Tests.Acceptance.ScriptLibraries.LoadingFromANonRootedScript() [01.01.04] Then the ScriptCs.Calculator instance is created [FAIL]
   Should.Core.Exceptions.ContainsException : Assert.Contains() failure: Not found: Type:Calculator
   Stack Trace:
     at ScriptCs.Tests.Acceptance.ScriptLibraries+<>c__DisplayClass2_0.<LoadingFromANonRootedScript>b__3 () [0x00000] in <efda06db24ad468180d97ed0e43d0242>:0 
     at Xbehave.Sdk.SyncStep+<>c__DisplayClass2.<Execute>b__0 (System.Object o) [0x00012] in <144257056183456eba0fe56eb538ddbc>:0

Tests complete: 43 of 25
Tests complete: 44 of 25
Tests complete: 45 of 25
Tests complete: 46 of 25
Tests complete: 47 of 25
Tests complete: 48 of 25
Tests complete: 49 of 25
Tests complete: 50 of 25
Tests complete: 51 of 25
Tests complete: 52 of 25
Tests complete: 53 of 25
Tests complete: 54 of 25
Tests complete: 55 of 25
Tests complete: 56 of 25
Tests complete: 57 of 25
Tests complete: 58 of 25
Tests complete: 59 of 25
Tests complete: 60 of 25
Tests complete: 61 of 25
Tests complete: 62 of 25
Tests complete: 63 of 25
Tests complete: 64 of 25
Tests complete: 65 of 25
Tests complete: 66 of 25
Tests complete: 67 of 25
Tests complete: 68 of 25
Tests complete: 69 of 25
Tests complete: 70 of 25
Tests complete: 71 of 25
Tests complete: 72 of 25
Tests complete: 73 of 25
Tests complete: 74 of 25
Tests complete: 75 of 25
Tests complete: 76 of 25
Tests complete: 77 of 25
Tests complete: 78 of 25
Tests complete: 79 of 25
Tests complete: 80 of 25
Tests complete: 81 of 25
Tests complete: 82 of 25
Tests complete: 83 of 25
Tests complete: 84 of 25
Tests complete: 85 of 25
Tests complete: 86 of 25
Tests complete: 87 of 25
Tests complete: 88 of 25
Tests complete: 89 of 25
Tests complete: 90 of 25
Tests complete: 91 of 25
Tests complete: 92 of 25
Tests complete: 93 of 25
Tests complete: 94 of 25
Tests complete: 95 of 25
Tests complete: 96 of 25
Tests complete: 97 of 25
Tests complete: 98 of 25
Tests complete: 99 of 25
Tests complete: 100 of 25
Tests complete: 101 of 25
101 total, 1 failed, 2 skipped, took 29.253 seconds

Expected Output :

Build passes and scriptcs works in bash.

System Information

Ubuntu 18.04.1 LTS , 64bit, mono installed.
mono information:

Mono JIT compiler version 6.6.0.161 (tarball Tue Dec 10 10:36:32 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          yes(610)
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions