usgs-coupled / iphreeqc

5 stars 4 forks source link

iphreeqc-unit-2010-windows-git fails #29

Closed scharlton2 closed 1 year ago

scharlton2 commented 1 year ago
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building in workspace C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace
using credential 7e981a50-72b1-4b3a-95e8-6ae595565325
 > git.exe rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git.exe config remote.origin.url git@code.chs.usgs.gov:coupled/iphreeqc.git # timeout=10
Cleaning workspace
 > git.exe rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git.exe reset --hard # timeout=10
 > git.exe clean -fdx # timeout=10
Fetching upstream changes from git@code.chs.usgs.gov:coupled/iphreeqc.git
 > git.exe --version # timeout=10
using GIT_SSH to set credentials Must enable deploy keys in Settings->Repository->Deploy keys on code.chs.usgs.gov
 > git.exe fetch --tags --progress -- git@code.chs.usgs.gov:coupled/iphreeqc.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git.exe rev-parse "refs/remotes/origin/master^{commit}" # timeout=10
 > git.exe rev-parse "refs/remotes/origin/origin/master^{commit}" # timeout=10
Checking out Revision 4e416c421f502fe40af9608e9d77e8deab8f3c96 (refs/remotes/origin/master)
 > git.exe config core.sparsecheckout # timeout=10
 > git.exe checkout -f 4e416c421f502fe40af9608e9d77e8deab8f3c96 # timeout=10
Commit message: "Merge commit 'ad57aa549f45beecd2ae1bb6f2bbb2508af4bba4'"
 > git.exe rev-list --no-walk b6a74d9d273c691a35eb60688bc8e43c1ad6e299 # timeout=10
[workspace] $ powershell.exe -NoProfile -NonInteractive -ExecutionPolicy Bypass -File C:\Windows\TEMP\jenkins1748685075516995436.ps1
The next 2 lines were added 7/23/2020 for googletest agreement
phreeqc.dat and llnl.dat were old versions
Microsoft (R) Build Engine version 4.8.3761.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 3/7/2023 1:08:17 PM.
Project "C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.2010.sln" on node 1 (unit target(s)).
ValidateSolutionConfiguration:
  Building solution configuration "Release|x64".
The target "_ConvertPdbFiles" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets (34,37)" does not exist in the project, and will be ignored.
The target "_CollectPdbFiles" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets (34,70)" does not exist in the project, and will be ignored.
The target "_CollectMdbFiles" listed in a BeforeTargets attribute at "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets (41,38)" does not exist in the project, and will be ignored.
The target "_CopyMdbFiles" listed in an AfterTargets attribute at "C:\Program Files (x86)\MSBuild\4.0\Microsoft.Common.Targets\ImportAfter\Xamarin.Common.targets (41,71)" does not exist in the project, and will be ignored.
Project "C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.2010.sln" (1) is building "C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "x64\Release\".
InitializeBuildStatus:
  Creating "x64\Release\unit.unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
  c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\CL.exe /c /I"C:\3RDPARTY\cppunit-1.13.2-VS2010/include" /I../src /I../src/phreeqcpp /I../src/phreeqcpp/common /I../src/phreeqcpp/PhreeqcKeywords /Zi /nologo /W1 /WX- /MP /O2 /D CPPUNIT /D WIN32 /D NDEBUG /D _CONSOLE /D SWIG_SHARED_OBJ /D PHREEQC_CPP /D PHREEQC_CLASS /D USE_PHRQ_ALLOC /D _CRT_SECURE_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"x64\Release\\" /Fd"x64\Release\vc100.pdb" /Gd /TP /errorReport:queue ..\src\CSelectedOutput.cpp ..\src\phreeqcpp\common\Parser.cxx ..\src\phreeqcpp\common\PHRQ_base.cxx ..\src\phreeqcpp\common\PHRQ_io.cpp ..\src\phreeqcpp\common\Utils.cxx ..\src\phreeqcpp\Dictionary.cpp ..\src\phreeqcpp\PhreeqcKeywords\Keywords.cpp ..\src\phreeqcpp\SelectedOutput.cpp ..\src\phreeqcpp\UserPunch.cpp FileTest.cpp TestCVar.cpp TestIPhreeqc.cpp TestIPhreeqcLib.cpp TestSelectedOutput.cpp TestVar.cpp unit.cpp ..\src\IPhreeqc.cpp ..\src\IPhreeqcLib.cpp ..\src\phreeqcpp\cxxKinetics.cxx ..\src\phreeqcpp\cxxMix.cxx ..\src\phreeqcpp\dumper.cpp ..\src\phreeqcpp\Exchange.cxx ..\src\phreeqcpp\ExchComp.cxx ..\src\phreeqcpp\GasComp.cxx ..\src\phreeqcpp\GasPhase.cxx ..\src\phreeqcpp\ISolution.cxx ..\src\phreeqcpp\ISolutionComp.cxx ..\src\phreeqcpp\KineticsComp.cxx ..\src\phreeqcpp\NameDouble.cxx ..\src\phreeqcpp\NumKeyword.cxx ..\src\phreeqcpp\PBasic.cpp ..\src\phreeqcpp\Phreeqc.cpp ..\src\phreeqcpp\PPassemblage.cxx ..\src\phreeqcpp\PPassemblageComp.cxx ..\src\phreeqcpp\Pressure.cxx ..\src\phreeqcpp\Reaction.cxx ..\src\phreeqcpp\ReadClass.cxx ..\src\phreeqcpp\runner.cpp ..\src\phreeqcpp\Solution.cxx ..\src\phreeqcpp\SolutionIsotope.cxx ..\src\phreeqcpp\SS.cxx ..\src\phreeqcpp\SSassemblage.cxx ..\src\phreeqcpp\SScomp.cxx ..\src\phreeqcpp\StorageBin.cxx ..\src\phreeqcpp\StorageBinList.cpp ..\src\phreeqcpp\Surface.cxx ..\src\phreeqcpp\SurfaceCharge.cxx ..\src\phreeqcpp\SurfaceComp.cxx ..\src\phreeqcpp\System.cxx ..\src\phreeqcpp\Temperature.cxx ..\src\phreeqcpp\Use.cpp ..\src\phreeqcpp\advection.cpp ..\src\phreeqcpp\basicsubs.cpp ..\src\phreeqcpp\cl1.cpp ..\src\phreeqcpp\cvdense.cpp ..\src\phreeqcpp\cvode.cpp ..\src\phreeqcpp\dense.cpp ..\src\phreeqcpp\gases.cpp ..\src\phreeqcpp\input.cpp ..\src\phreeqcpp\integrate.cpp ..\src\phreeqcpp\inverse.cpp ..\src\phreeqcpp\isotopes.cpp ..\src\phreeqcpp\kinetics.cpp ..\src\phreeqcpp\mainsubs.cpp ..\src\phreeqcpp\model.cpp ..\src\phreeqcpp\nvector.cpp ..\src\phreeqcpp\nvector_serial.cpp ..\src\phreeqcpp\parse.cpp ..\src\phreeqcpp\phqalloc.cpp ..\src\phreeqcpp\PHRQ_io_output.cpp ..\src\phreeqcpp\pitzer.cpp ..\src\phreeqcpp\pitzer_structures.cpp ..\src\phreeqcpp\prep.cpp ..\src\phreeqcpp\print.cpp ..\src\phreeqcpp\read.cpp ..\src\phreeqcpp\readtr.cpp ..\src\phreeqcpp\sit.cpp ..\src\phreeqcpp\smalldense.cpp ..\src\phreeqcpp\spread.cpp ..\src\phreeqcpp\step.cpp ..\src\phreeqcpp\structures.cpp ..\src\phreeqcpp\sundialsmath.cpp ..\src\phreeqcpp\tally.cpp ..\src\phreeqcpp\tidy.cpp ..\src\phreeqcpp\transport.cpp ..\src\phreeqcpp\utilities.cpp
  CSelectedOutput.cpp
  Parser.cxx
  PHRQ_base.cxx
  PHRQ_io.cpp
  Utils.cxx
  Dictionary.cpp
  Keywords.cpp
  SelectedOutput.cpp
  UserPunch.cpp
  FileTest.cpp
  TestCVar.cpp
  TestIPhreeqc.cpp
  TestIPhreeqcLib.cpp
  TestSelectedOutput.cpp
FileTest.cpp(22): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestVar.cpp
  unit.cpp
  IPhreeqc.cpp
  IPhreeqcLib.cpp
  cxxKinetics.cxx
TestIPhreeqcLib.cpp(441): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(1328): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(1371): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(1547): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  cxxMix.cxx
TestIPhreeqcLib.cpp(2085): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2135): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2297): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2389): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2575): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2772): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(2875): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(3137): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(3224): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(3358): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
TestIPhreeqcLib.cpp(3998): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  dumper.cpp
  Exchange.cxx
  ExchComp.cxx
  GasComp.cxx
  GasPhase.cxx
  ISolution.cxx
  ISolutionComp.cxx
  KineticsComp.cxx
  NameDouble.cxx
  NumKeyword.cxx
  PBasic.cpp
  Phreeqc.cpp
  PPassemblage.cxx
  PPassemblageComp.cxx
  Pressure.cxx
  Reaction.cxx
  ReadClass.cxx
  runner.cpp
  Solution.cxx
  SolutionIsotope.cxx
  SS.cxx
  SSassemblage.cxx
  SScomp.cxx
  StorageBin.cxx
  StorageBinList.cpp
  Surface.cxx
  SurfaceCharge.cxx
  SurfaceComp.cxx
  System.cxx
  Temperature.cxx
  Use.cpp
  advection.cpp
  basicsubs.cpp
  cl1.cpp
  cvdense.cpp
  cvode.cpp
  dense.cpp
  gases.cpp
  input.cpp
  integrate.cpp
  inverse.cpp
  isotopes.cpp
  kinetics.cpp
  mainsubs.cpp
  model.cpp
  nvector.cpp
  nvector_serial.cpp
  parse.cpp
  phqalloc.cpp
  PHRQ_io_output.cpp
  pitzer.cpp
  pitzer_structures.cpp
  prep.cpp
  print.cpp
  read.cpp
  readtr.cpp
  sit.cpp
  smalldense.cpp
  spread.cpp
  step.cpp
  structures.cpp
  sundialsmath.cpp
  tally.cpp
  tidy.cpp
  transport.cpp
  utilities.cpp
Done Building Project "C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.2010.sln" (unit target(s)) -- FAILED.

Build FAILED.

"C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.2010.sln" (unit target) (1) ->
"C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj" (default target) (2) ->
(ClCompile target) -> 
  FileTest.cpp(22): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(441): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(1328): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(1371): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(1547): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2085): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2135): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2297): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2389): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2575): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2772): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(2875): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(3137): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(3224): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(3358): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]
  TestIPhreeqcLib.cpp(3998): error C3861: 'snprintf': identifier not found [C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace\unit\unit.vcxproj]

    0 Warning(s)
    16 Error(s)

Time Elapsed 00:00:52.00
.\x64\Release\unit.exe : The term '.\x64\Release\unit.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, 
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ .\x64\Release\unit.exe
+ ~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\x64\Release\unit.exe:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Build step 'PowerShell' marked build as failure
INFO: Starting to record.
INFO: Processing CppUnit-1.12.1 (default)
ERROR: Step ‘Publish xUnit test result report’ failed: [CppUnit-1.12.1 (default)] - No test report file(s) were found with the pattern '**/unit/results.xml' relative to 'C:\Jenkins\jobs\iphreeqc-unit-2010-windows-git\workspace' for the testing framework 'CppUnit-1.12.1 (default)'.
Did you enter a pattern relative to (and within) the workspace directory?
Did you generate the result report(s) for 'CppUnit-1.12.1 (default)'?"