r-hub / rhub

R-hub API client
https://r-hub.github.io/rhub/
Other
353 stars 52 forks source link

Failed builds on Windows R-release #491

Closed codymarquart closed 3 years ago

codymarquart commented 3 years ago

I have builds passing on all platforms except Windows R-release (errors included below). This build also passes on R-release using the win-builder service. There was a similar error reported in the comments of #67 , but not sure what was done to resolve it, I've tried with different command flags but have had no luck.

Preparing

   1#> Started by user r-hub Jenkins admin
   2#> Building remotely on windows-server3-cdf9107c (slave rtools3 swarm2 rtools4 swarm windows) in workspace C:\Users\rhub\workspace\rENA_0.2.4.tar.gz-26b86d779d994a37abcb9f1c930887a0
   3#> [rENA_0.2.4.tar.gz-26b86d779d994a37abcb9f1c930887a0] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\Users\rhub\AppData\Local\Temp\4\hudson7482534766762616522.ps1'"
   4#> StatusCode : 200
   5#> StatusDescription : OK
   6#> Content : {"status":"ok"}
   7#> RawContent : HTTP/1.1 200 OK
   8#> Transfer-Encoding: chunked
   9#> Connection: keep-alive
  10#> Vary: Accept-Encoding
  11#> Content-Type: application/json
  12#> Date: Sat, 06 Nov 2021 13:52:49 GMT
  13#> Set-Cookie: r-hub frontend=s%3A6f66b298...
  14#> Forms : {}
  15#> Headers : {[Transfer-Encoding, chunked], [Connection, keep-alive],
  16#> [Vary, Accept-Encoding], [Content-Type,
  17#> application/json]...}
  18#> Images : {}
  19#> InputFields : {}
  20#> Links : {}
  21#> ParsedHtml : System.__ComObject
  22#> RawContentLength : 15
  23#> VERBOSE: Checking rENA_0.2.4.tar.gz-26b86d779d994a37abcb9f1c930887a0
Creating new user

  25#> VERBOSE: Creating new user...
  26#> The command completed successfully.
  27#> PSPath : Microsoft.PowerShell.Core\FileSystem::C:\Users\USERgyReiKqh
  28#> kd\.R
  29#> PSParentPath : Microsoft.PowerShell.Core\FileSystem::C:\Users\USERgyReiKqh
  30#> kd
  31#> PSChildName : .R
  32#> PSDrive : C
  33#> PSProvider : Microsoft.PowerShell.Core\FileSystem
  34#> PSIsContainer : True
  35#> Name : .R
  36#> FullName : C:\Users\USERgyReiKqhkd\.R
  37#> Parent : USERgyReiKqhkd
  38#> Exists : True
  39#> Root : C:\
  40#> Extension : .R
  41#> CreationTime : 11/6/2021 1:53:02 PM
  42#> CreationTimeUtc : 11/6/2021 1:53:02 PM
  43#> LastAccessTime : 11/6/2021 1:53:02 PM
  44#> LastAccessTimeUtc : 11/6/2021 1:53:02 PM
  45#> LastWriteTime : 11/6/2021 1:53:02 PM
  46#> LastWriteTimeUtc : 11/6/2021 1:53:02 PM
  47#> Attributes : Directory
  48#> Mode : d-----
  49#> BaseName : .R
  50#> Target : {}
  51#> LinkType :
Downloading and unpacking package file

  53#> VERBOSE: Downloading
  54#> https://builder.r-hub.io/file/5202edeba06443a2a871c3f748fd1d73
  55#> VERBOSE: GET https://builder.r-hub.io/file/5202edeba06443a2a871c3f748fd1d73
  56#> with 0-byte payload
  57#> VERBOSE: received 221547-byte response of content type application/octet-stream
  58#> VERBOSE: Getting R version from symbolic name...
  59#> VERBOSE: GET http://rversions.r-pkg.org/r-release-win with 0-byte payload
  60#> VERBOSE: received 166-byte response of content type application/json
  61#> VERBOSE: Starting sub-process as new user...
  62#> Name Value
  63#> ---- -----
  64#> ALLUSERSPROFILE C:\ProgramData
  65#> APPDATA C:\Users\USERgyReiKqhkd\AppData\Roaming
  66#> CommonProgramFiles C:\Program Files (x86)\Common Files
  67#> CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
  68#> CommonProgramW6432 C:\Program Files\Common Files
  69#> COMPUTERNAME WIN-BUILDER-3
  70#> ComSpec C:\windows\system32\cmd.exe
  71#> FP_NO_HOST_CHECK NO
  72#> home C:\Users\USERgyReiKqhkd
  73#> HOMEDRIVE C:
  74#> HOMEPATH \Users\USERgyReiKqhkd
  75#> JAGS_HOME c:/R/jags/JAGS-4.3.0
  76#> LOCAL_SOFT c:/R/local330
  77#> LOCALAPPDATA C:\Users\USERgyReiKqhkd\AppData\Local
  78#> NUMBER_OF_PROCESSORS 4
  79#> OS Windows_NT
  80#> Path C:\Program Files (x86)\Common Files\Oracle\Ja...
  81#> PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;....
  82#> PROCESSOR_ARCHITECTURE x86
  83#> PROCESSOR_ARCHITEW6432 AMD64
  84#> PROCESSOR_IDENTIFIER Intel64 Family 6 Model 79 Stepping 1, Genuine...
  85#> PROCESSOR_LEVEL 6
  86#> PROCESSOR_REVISION 4f01
  87#> ProgramData C:\ProgramData
  88#> ProgramFiles C:\Program Files (x86)
  89#> ProgramFiles(x86) C:\Program Files (x86)
  90#> ProgramW6432 C:\Program Files
  91#> PSExecutionPolicyPreference Bypass
  92#> PSModulePath C:\Users\USERgyReiKqhkd\Documents\WindowsPowe...
  93#> PUBLIC C:\Users\Public
  94#> R_MAKEVARS_WIN c:\R\Makevars.win
  95#> R_MAKEVARS_WIN64 c:\R\Makevars.win64
  96#> RTOOLS40_HOME C:\rtools40
  97#> SystemDrive C:
  98#> SystemRoot C:\windows
  99#> TEMP C:\Users\USERgyReiKqhkd\AppData\Local\Temp
 100#> TMP C:\Users\USERgyReiKqhkd\AppData\Local\Temp
 101#> USERDOMAIN WIN-BUILDER-3
 102#> USERNAME USERgyReiKqhkd
 103#> USERPROFILE C:\Users\USERgyReiKqhkd
 104#> windir C:\windows
 105#> windows_tracing_flags 3
 106#> windows_tracing_logfile C:\BVTBin\Tests\installpackage\csilogfile.log
 107#> setting _R_CHECK_FORCE_SUGGESTS_ to false
 108#> setting R_COMPILE_AND_INSTALL_PACKAGES to never
 109#> setting _R_CHECK_THINGS_IN_CHECK_DIR_ to false
 110#> setting R_REMOTES_STANDALONE to true
 111#> setting R_REMOTES_NO_ERRORS_FROM_WARNINGS to true
 112#> Exception calling "Start" with "0" argument(s): "The system cannot find the
 113#> file specified"
 114#> At C:\Users\USERgyReiKqhkd\slave.ps1:124 char:5
 115#> + [void]$Process.Start()
 116#> + ~~~~~~~~~~~~~~~~~~~~~~
 117#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 118#> + FullyQualifiedErrorId : Win32Exception
 119#>
 120#> Exception calling "BeginOutputReadLine" with "0" argument(s): "StandardOut has
 121#> not been redirected or the process hasn't started yet."
 122#> At C:\Users\USERgyReiKqhkd\slave.ps1:127 char:5
 123#> + $Process.BeginOutputReadLine()
 124#> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 125#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 126#> + FullyQualifiedErrorId : InvalidOperationException
 127#>
 128#> Exception calling "BeginErrorReadLine" with "0" argument(s): "StandardError
 129#> has not been redirected."
 130#> At C:\Users\USERgyReiKqhkd\slave.ps1:128 char:5
 131#> + $Process.BeginErrorReadLine()
 132#> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 133#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 134#> + FullyQualifiedErrorId : InvalidOperationException
 135#>
 136#> Build timed out (after 30 minutes). Marking the build as failed.
 137#> Build was aborted
 138#> Pinging https://builder.r-hub.io/build/FAILURE/rENA_0.2.4.tar.gz-26b86d779d994a37abcb9f1c930887a0/2021-11-06T14:23:25Z
 139#> {"status":"ok"}
 140#> Finished: FAILURE
gaborcsardi commented 3 years ago

Thanks for the report, this should be fixed now.

codymarquart commented 3 years ago

Confirmed, my build checks out OK now. Thanks for the quick response.

yangjasp commented 2 years ago

I am experiencing what appears to be the same issue as the original poster here. My builds are also passing on all platforms except Windows R-release. Below is the build log:

Preparing
   1#> Started by user r-hub Jenkins admin
   2#> Building remotely on win2022.iotwjus4p5merbek114fbzbqud.dx.internal.cloudapp.net-8ad97dc7 (slave rtools4 swarm windows-ucrt windows) in workspace C:\Users\rhub\workspace\optimall_0.1.2.tar.gz-72425ebbf1e640b5826ef732fa0f5109
   3#> [optimall_0.1.2.tar.gz-72425ebbf1e640b5826ef732fa0f5109] $ powershell.exe -NonInteractive -ExecutionPolicy ByPass "& 'C:\Users\rhub\AppData\Local\Temp\2\hudson2722235775958907735.ps1'"
   4#> StatusCode : 200
   5#> StatusDescription : OK
   6#> Content : {"status":"ok"}
   7#> RawContent : HTTP/1.1 200 OK
   8#> Transfer-Encoding: chunked
   9#> Connection: keep-alive
  10#> Vary: Accept-Encoding
  11#> Content-Type: application/json
  12#> Date: Mon, 07 Nov 2022 14:43:05 GMT
  13#> Set-Cookie: r-hub frontend=s%3Acb85d44a...
  14#> Forms : {}
  15#> Headers : {[Transfer-Encoding, chunked], [Connection, keep-alive], [Vary, Accept-Encoding], [Content-Type,
  16#> application/json]...}
  17#> Images : {}
  18#> InputFields : {}
  19#> Links : {}
  20#> ParsedHtml : System.__ComObject
  21#> RawContentLength : 15
  22#> VERBOSE: Checking optimall_0.1.2.tar.gz-72425ebbf1e640b5826ef732fa0f5109
Creating new user
  24#> VERBOSE: Creating new user...
  25#> The command completed successfully.
  26#> PSPath : Microsoft.PowerShell.Core\FileSystem::C:\Users\USEROMXNoLqiHe\.R
  27#> PSParentPath : Microsoft.PowerShell.Core\FileSystem::C:\Users\USEROMXNoLqiHe
  28#> PSChildName : .R
  29#> PSDrive : C
  30#> PSProvider : Microsoft.PowerShell.Core\FileSystem
  31#> PSIsContainer : True
  32#> Name : .R
  33#> FullName : C:\Users\USEROMXNoLqiHe\.R
  34#> Parent : USEROMXNoLqiHe
  35#> Exists : True
  36#> Root : C:\
  37#> Extension : .R
  38#> CreationTime : 11/7/2022 3:43:22 PM
  39#> CreationTimeUtc : 11/7/2022 2:43:22 PM
  40#> LastAccessTime : 11/7/2022 3:43:22 PM
  41#> LastAccessTimeUtc : 11/7/2022 2:43:22 PM
  42#> LastWriteTime : 11/7/2022 3:43:22 PM
  43#> LastWriteTimeUtc : 11/7/2022 2:43:22 PM
  44#> Attributes : Directory
  45#> Mode : d-----
  46#> BaseName : .R
  47#> Target : {}
  48#> LinkType :
Downloading and unpacking package file
  50#> VERBOSE: Downloading https://builder.r-hub.io/file/2c031a4c0b014b888cc88b0355a85be2
  51#> VERBOSE: GET https://builder.r-hub.io/file/2c031a4c0b014b888cc88b0355a85be2 with 0-byte payload
  52#> VERBOSE: received 3084635-byte response of content type application/octet-stream
  53#> VERBOSE: Getting R version from symbolic name...
  54#> VERBOSE: GET http://rversions.r-pkg.org/r-release-win with 0-byte payload
  55#> VERBOSE: received 168-byte response of content type application/json
  56#> VERBOSE: Starting sub-process as new user...
  57#> Name Value
  58#> ---- -----
  59#> ALLUSERSPROFILE C:\ProgramData
  60#> APPDATA C:\Users\USEROMXNoLqiHe\AppData\Roaming
  61#> CommonProgramFiles C:\Program Files (x86)\Common Files
  62#> CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
  63#> CommonProgramW6432 C:\Program Files\Common Files
  64#> COMPUTERNAME win2022
  65#> ComSpec C:\Windows\system32\cmd.exe
  66#> DriverData C:\Windows\System32\Drivers\DriverData
  67#> home C:\Users\USEROMXNoLqiHe
  68#> HOMEDRIVE C:
  69#> HOMEPATH \Users\USEROMXNoLqiHe
  70#> LOCALAPPDATA C:\Users\USEROMXNoLqiHe\AppData\Local
  71#> MIKTEX_ENV_EXCEPTION_PATH c:\temp
  72#> NUMBER_OF_PROCESSORS 2
  73#> OS Windows_NT
  74#> Path C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windo...
  75#> PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL
  76#> PROCESSOR_ARCHITECTURE x86
  77#> PROCESSOR_ARCHITEW6432 AMD64
  78#> PROCESSOR_IDENTIFIER Intel64 Family 6 Model 85 Stepping 7, GenuineIntel
  79#> PROCESSOR_LEVEL 6
  80#> PROCESSOR_REVISION 5507
  81#> ProgramData C:\ProgramData
  82#> ProgramFiles C:\Program Files (x86)
  83#> ProgramFiles(x86) C:\Program Files (x86)
  84#> ProgramW6432 C:\Program Files
  85#> PSExecutionPolicyPreference Bypass
  86#> PSModulePath C:\Users\USEROMXNoLqiHe\Documents\WindowsPowerShell\Modules;C:\Program Files (x86)\Wi...
  87#> PUBLIC C:\Users\Public
  88#> RTOOLS40_HOME C:\rtools40
  89#> RTOOLS42_HOME C:\rtools42
  90#> SystemDrive C:
  91#> SystemRoot C:\Windows
  92#> TEMP C:\Users\USEROM~1\AppData\Local\Temp
  93#> TMP C:\Users\USEROM~1\AppData\Local\Temp
  94#> USERDOMAIN win2022
  95#> USERNAME USEROMXNoLqiHe
  96#> USERPROFILE C:\Users\USEROMXNoLqiHe
  97#> windir C:\Windows
  98#> setting _R_CHECK_FORCE_SUGGESTS_ to false
  99#> setting R_COMPILE_AND_INSTALL_PACKAGES to never
 100#> setting R_REMOTES_STANDALONE to true
 101#> setting R_REMOTES_NO_ERRORS_FROM_WARNINGS to true
 102#> Exception calling "Start" with "0" argument(s): "The system cannot find the file specified"
 103#> At C:\Users\USEROMXNoLqiHe\slave.ps1:127 char:5
 104#> + [void]$Process.Start()
 105#> + ~~~~~~~~~~~~~~~~~~~~~~
 106#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 107#> + FullyQualifiedErrorId : Win32Exception
 108#>
 109#> Exception calling "BeginOutputReadLine" with "0" argument(s): "StandardOut has not been redirected or the process
 110#> hasn't started yet."
 111#> At C:\Users\USEROMXNoLqiHe\slave.ps1:130 char:5
 112#> + $Process.BeginOutputReadLine()
 113#> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 114#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 115#> + FullyQualifiedErrorId : InvalidOperationException
 116#>
 117#> Exception calling "BeginErrorReadLine" with "0" argument(s): "StandardError has not been redirected."
 118#> At C:\Users\USEROMXNoLqiHe\slave.ps1:131 char:5
 119#> + $Process.BeginErrorReadLine()
 120#> + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 121#> + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
 122#> + FullyQualifiedErrorId : InvalidOperationException
 123#>
 124#> Build timed out (after 30 minutes). Marking the build as failed.
 125#> Build was aborted
 126#> Pinging https://builder.r-hub.io/build/FAILURE/optimall_0.1.2.tar.gz-72425ebbf1e640b5826ef732fa0f5109/2022-11-07T15:13:47Z
 127#> {"status":"ok"}
 128#> Finished: FAILURE