Skip to content
Failed

Console Output

Started by user sarbian
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace /home/jenkins/jobs/MechJeb2-Dev/workspace
The recommended git tool is: NONE
No credentials specified
 > git rev-parse --resolve-git-dir /home/jenkins/jobs/MechJeb2-Dev/workspace/.git # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/MuMech/MechJeb2.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Fetching upstream changes from https://github.com/MuMech/MechJeb2.git
 > git --version # timeout=10
 > git --version # 'git version 2.43.0'
 > git fetch --tags --force --progress -- https://github.com/MuMech/MechJeb2.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/dev^{commit} # timeout=10
Checking out Revision 201c3d05026561224e4264a0f68109cde6cf3602 (refs/remotes/origin/dev)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 201c3d05026561224e4264a0f68109cde6cf3602 # timeout=10
Commit message: "ReturnToMoon: the quite stable solution"
 > git rev-list --no-walk 201c3d05026561224e4264a0f68109cde6cf3602 # timeout=10
[workspace] $ /bin/sh -xe /tmp/jenkins16676755100730604649.sh
+ mkdir -p /home/jenkins/jobs/MechJeb2-Dev/workspace/build
++ awk -F '"' '/^\[.*AssemblyFileVersion/{print $2}' MechJeb2/Properties/AssemblyInfo.cs
+ VERSION=2.14.3.0
++ awk '/^Version/{print $2}' /home/ksp/readme.txt
+ KSP_VERSION=1.12.5
+ sed -i 's/AssemblyInformationalVersion("\(.*\)")/AssemblyInformationalVersion("Dev #1373 Sarbian")/' MechJeb2/Properties/AssemblyInfo.cs
+ nuget restore
MSBuild auto-detection: using msbuild version '15.0' from '/usr/lib/mono/msbuild/15.0/bin'.
Restoring NuGet package xunit.abstractions.2.0.0.
Restoring NuGet package xunit.2.1.0.
Restoring NuGet package xunit.core.2.1.0.
Restoring NuGet package xunit.assert.2.1.0.
Adding package 'xunit.core.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Adding package 'xunit.abstractions.2.0.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Adding package 'xunit.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Adding package 'xunit.assert.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.assert.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.core.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.abstractions.2.0.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Restoring NuGet package xunit.extensibility.execution.2.1.0.
Restoring NuGet package xunit.extensibility.core.2.1.0.
Restoring NuGet package JetBrains.Annotations.2023.3.0.
Adding package 'xunit.extensibility.core.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Adding package 'xunit.extensibility.execution.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Adding package 'JetBrains.Annotations.2023.3.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.extensibility.core.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'JetBrains.Annotations.2023.3.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'
Added package 'xunit.extensibility.execution.2.1.0' to folder '/home/jenkins/jobs/MechJeb2-Dev/workspace/packages'

NuGet Config files used:
    /home/jenkins/.config/NuGet/NuGet.Config

Feeds used:
    /home/jenkins/.nuget/packages/
    https://api.nuget.org/v3/index.json

Installed:
    7 package(s) to packages.config projects
[EnvInject] - Injecting environment variables from a build step.
[EnvInject] - Injecting as environment variables the properties content 
KSPDIR=${WORKSPACE}/build/

[EnvInject] - Variables injected successfully.
Path To MSBuild.exe: /usr/bin/msbuild
FATAL: Unable to use this plugin on this kind of operation system
Executing the command /usr/bin/msbuild /p:TargetFrameworkSDKToolsDirectory=/home/mstools /p:CustomAfterMicrosoftCommonTargets=/home/mstools/noCopyLocal.targets /p:ReferencePath=/home/ksp/KSP_Data/Managed /p:PostBuildEvent= MechJeb2.sln from /home/jenkins/jobs/MechJeb2-Dev/workspace
[workspace] $ /usr/bin/msbuild /p:TargetFrameworkSDKToolsDirectory=/home/mstools /p:CustomAfterMicrosoftCommonTargets=/home/mstools/noCopyLocal.targets /p:ReferencePath=/home/ksp/KSP_Data/Managed /p:PostBuildEvent= MechJeb2.sln
Microsoft (R) Build Engine version 16.5.0-ci for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/09/2023 15:33:22.
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2.sln" (1) is building "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2/MechJeb2.csproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2/MechJeb2.csproj" (2) is building "/home/jenkins/jobs/MechJeb2-Dev/workspace/alglib/alglib.csproj" (3:2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
/usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.8-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/jenkins/jobs/MechJeb2-Dev/workspace/alglib/alglib.csproj]
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/alglib/alglib.csproj" (default targets) -- FAILED.
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2/MechJeb2.csproj" (2) is building "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLibBindings/MechJebLibBindings.csproj" (4:2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLibBindings/MechJebLibBindings.csproj" (4:2) is building "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLib/MechJebLib.csproj" (5:3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLib/MechJebLib.csproj" (default targets) -- FAILED.
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLibBindings/MechJebLibBindings.csproj" (default targets) -- FAILED.
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2/MechJeb2.csproj" (default targets) -- FAILED.
Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2.sln" (1) is building "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLibTest/MechJebLibTest.csproj" (6) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/Debug/".
  Creating directory "obj/Debug/".
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJebLibTest/MechJebLibTest.csproj" (default targets) -- FAILED.
Done Building Project "/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2.sln" (default targets) -- FAILED.

Build FAILED.

"/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2.sln" (default target) (1) ->
"/home/jenkins/jobs/MechJeb2-Dev/workspace/MechJeb2/MechJeb2.csproj" (default target) (2) ->
"/home/jenkins/jobs/MechJeb2-Dev/workspace/alglib/alglib.csproj" (default target) (3:2) ->
(ResolveAssemblyReferences target) -> 
  /usr/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2101,5): error MSB3248: Parameter "AssemblyFiles" has invalid value "/usr/lib/mono/4.8-api/mscorlib.dll". Could not load file or assembly 'System.Reflection.Metadata, Version=1.4.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. [/home/jenkins/jobs/MechJeb2-Dev/workspace/alglib/alglib.csproj]

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.64
Build step 'Build a Visual Studio project or solution using MSBuild' marked build as failure
Skipped archiving because build is not successful
Triggering a new build of MechJeb2-CKAN-REPO
Finished: FAILURE