Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save filipenevola/c41981ba87fa03bfaa25f0b6ec03b746 to your computer and use it in GitHub Desktop.
Save filipenevola/c41981ba87fa03bfaa25f0b6ec03b746 to your computer and use it in GitHub Desktop.
Meteor Windows Dev Bundle Log - fail to build 14.13.0.0
Started by upstream project "meteor-dev-bundle-windows" build number 317
originally caused by:
Started by upstream project "meteor-dev-bundle" build number 1128
originally caused by:
Started by user Filipe Névola
Running as Filipe Névola
[EnvInject] - Loading node environment variables.
[EnvInject] - Preparing an environment for the build.
[EnvInject] - Keeping Jenkins system variables.
[EnvInject] - Keeping Jenkins build variables.
[EnvInject] - Injecting contributions.
Building remotely on Windows Server 2019 (windows_x64 windows_x86) in workspace C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://github.com/meteor/meteor.git
> git init C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64 # timeout=10
Fetching upstream changes from https://github.com/meteor/meteor.git
> git --version # timeout=10
> git fetch --tags --progress https://github.com/meteor/meteor.git +refs/heads/*:refs/remotes/meteor/*
> git config remote.meteor.url https://github.com/meteor/meteor.git # timeout=10
> git config --add remote.meteor.fetch +refs/heads/*:refs/remotes/meteor/* # timeout=10
> git config remote.meteor.url https://github.com/meteor/meteor.git # timeout=10
Fetching upstream changes from https://github.com/meteor/meteor.git
> git fetch --tags --progress https://github.com/meteor/meteor.git +refs/heads/*:refs/remotes/meteor/*
Checking out Revision 0f32b0007877dbf1301c10f65bd97b03cc9008ed (detached)
> git config core.sparsecheckout # timeout=10
> git checkout -f 0f32b0007877dbf1301c10f65bd97b03cc9008ed
Commit message: "dev-bundle-14.13.0.0"
> git rev-list --no-walk 0f32b0007877dbf1301c10f65bd97b03cc9008ed # timeout=10
[EnvInject] - Executing scripts and injecting environment variables after the SCM step.
[windows_x64] $ cmd /c call C:\Users\jenkins\AppData\Local\Temp\jenkins1212585729222039361.bat
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>rmdir /s /q jenkins-dist
The system cannot find the file specified.
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>md jenkins-dist
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>del dev_bundle*.tar.gz
Could Not Find C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\dev_bundle*.tar.gz
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>powershell "Set-ExecutionPolicy ByPass -Scope CurrentUser"
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>set
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\jenkins\AppData\Roaming
BUILD_CAUSE=UPSTREAMTRIGGER
BUILD_CAUSE_UPSTREAMTRIGGER=true
BUILD_DISPLAY_NAME=#317
BUILD_ID=317
BUILD_NUMBER=317
BUILD_TAG=jenkins-meteor-dev-bundle-windows-platform=windows_x64-317
BUILD_URL=https://jenkins.meteor.io/job/meteor-dev-bundle-windows/platform=windows_x64/317/
ChocolateyInstall=C:\ProgramData\chocolatey
COMMONPROGRAMFILES=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=EC2AMAZ-C55D5TA
COMSPEC=C:\Windows\system32\cmd.exe
DriverData=C:\Windows\System32\Drivers\DriverData
EXECUTOR_NUMBER=0
EXEPATH=C:\Program Files\Git\bin
GIT_BRANCH=detached
GIT_COMMIT=0f32b0007877dbf1301c10f65bd97b03cc9008ed
GIT_PREVIOUS_COMMIT=0f32b0007877dbf1301c10f65bd97b03cc9008ed
GIT_PREVIOUS_SUCCESSFUL_COMMIT=d7c56e9cfcd9249d4de5e2463ea8808f82c3f9d7
GIT_URL=https://github.com/meteor/meteor.git
HOME=C:\Users\jenkins
HOMEDRIVE=C:
HOMEPATH=\Users\jenkins
HUDSON_COOKIE=e80056ae-d477-4d42-96a5-f22d91e2ed57
HUDSON_HOME=/var/lib/jenkins
HUDSON_SERVER_COOKIE=a1dbfa4a934c9f37
HUDSON_URL=https://jenkins.meteor.io/
JENKINS_HOME=/var/lib/jenkins
JENKINS_SERVER_COOKIE=a1dbfa4a934c9f37
JENKINS_URL=https://jenkins.meteor.io/
JOB_BASE_NAME=platform=windows_x64
JOB_DISPLAY_URL=https://jenkins.meteor.io/job/meteor-dev-bundle-windows/platform=windows_x64/display/redirect
JOB_NAME=meteor-dev-bundle-windows/platform=windows_x64
JOB_URL=https://jenkins.meteor.io/job/meteor-dev-bundle-windows/platform=windows_x64/
LOCALAPPDATA=C:\Users\jenkins\AppData\Local
LOGNAME=jenkins
MASTER_BUILD_NUMBER=1128
MASTER_DATE=2020-10-01
METEOR_DEV_BUNDLE=meteor/dev-bundle-14.13.0.0
MSYSTEM=MINGW64
NODE_LABELS=Windows Server 2019 windows_x64 windows_x86
NODE_NAME=Windows Server 2019
NUMBER_OF_PROCESSORS=2
OLDPWD=C:/Users/jenkins
OS=Windows_NT
PATH=C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Users\jenkins\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Python27;C:\Python27\Scripts;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\Amazon\cfn-bootstrap;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Program Files\7-Zip;C:\Program Files\Microsoft VS Code\bin;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Users\jenkins\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\7-Zip
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
platform=windows_x64
PLINK_PROTOCOL=ssh
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=4f01
ProgramData=C:\ProgramData
PROGRAMFILES=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=jenkins@EC2AMAZ-C55D5TA $P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\AWS Tools\PowerShell\
PUBLIC=C:\Users\Public
PWD=C:/jenkins
ROOT_BUILD_CAUSE=MANUALTRIGGER
ROOT_BUILD_CAUSE_MANUALTRIGGER=true
RUN_CHANGES_DISPLAY_URL=https://jenkins.meteor.io/job/meteor-dev-bundle-windows/platform=windows_x64/317/display/redirect?page=changes
RUN_DISPLAY_URL=https://jenkins.meteor.io/job/meteor-dev-bundle-windows/platform=windows_x64/317/display/redirect
SHELL=c:\program files\git\bin\bash.exe
SHLVL=1
SSH_CLIENT=54.85.45.42 51683 22
SSH_CONNECTION=54.85.45.42 51683 172.31.44.160 22
SYSTEMDRIVE=C:
SYSTEMROOT=C:\Windows
TEMP=C:\Users\jenkins\AppData\Local\Temp
TERM=cygwin
TMP=C:\Users\jenkins\AppData\Local\Temp
USER=jenkins
USERDOMAIN=WORKGROUP
USERNAME=jenkins
USERPROFILE=C:\Users\jenkins
WINDIR=C:\Windows
WORKSPACE=C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64
_=C:/Program Files (x86)/Common Files/Oracle/Java/javapath_target_3893296/java
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>powershell -file .\scripts\generate-dev-bundle.ps1
Downloading 7-zip 'extra'...
Placing 7za.exe from extra.7z in \bin...
Directory: C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 10/1/2020 10:24 AM mongodb
Directory: C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\mongodb
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 10/1/2020 10:24 AM bin
Downloading Mongo from https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2012plus-4.2.8.zip...
Extracting Mongo C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\mongodb\mongo.zip...
Putting MongoDB mongod.exe in mongodb\bin
Putting MongoDB mongo.exe in mongodb\bin
Removing the old Mongo zip...
Removing the old Mongo directory...
Downloading Node.js from https://nodejs.org/dist/v14.13.0/node-v14.13.0-win-x64.7z
Extracting Node 7z file...
Downloading Node headers from https://nodejs.org/download/release/v14.13.0/node-v14.13.0-headers.tar.gz
Downloading node.lib from https://nodejs.org/download/release/v14.13.0/win-x64/node.lib
Installing npm@6.14.8...
DEBUG: + npm@6.14.8
DEBUG: added 434 packages from 885 contributors in 16.191s
Location of node.exe:
C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\bin\node.exe
Node process.versions:
{
node: '14.13.0',
v8: '8.4.371.19-node.16',
uv: '1.40.0',
zlib: '1.2.11',
brotli: '1.0.9',
ares: '1.16.1',
modules: '83',
nghttp2: '1.41.0',
napi: '7',
llhttp: '2.1.2',
openssl: '1.1.1g',
cldr: '37.0',
icu: '67.1',
tz: '2020a',
unicode: '13.0'
}
Location of npm.cmd:
C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\bin\npm.cmd
Npm 'version':
{
npm: '6.14.8',
ares: '1.16.1',
brotli: '1.0.9',
cldr: '37.0',
icu: '67.1',
llhttp: '2.1.2',
modules: '83',
napi: '7',
nghttp2: '1.41.0',
node: '14.13.0',
openssl: '1.1.1g',
tz: '2020a',
unicode: '13.0',
uv: '1.40.0',
v8: '8.4.371.19-node.16',
zlib: '1.2.11'
}
Writing 'package.json' from C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\scripts\dev-bundle-server-package.js to C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib
> fibers@4.0.3 install C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers
> node build.js || nodejs build.js
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers>if not defined npm_config_node_gyp (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --release ) else (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
fibers.cc
coroutine.cc
c:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbxxx\server-lib\node_modules\fibers\src\coroutine.cc(153): warning C4552: '!': result of expression not used [C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers\build\fibers.vcxproj]
win_delay_load_hook.cc
coro.c
Creating library C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers\build\Release\fibers.lib and object C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers\build\Release\fibers.exp
fibers.vcxproj -> C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers\build\Release\\fibers.node
Installed in `C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\server-lib\node_modules\fibers\bin\win32-x64-83\fibers.node`
added 39 packages from 50 contributors and audited 40 packages in 10.685s
found 0 vulnerabilities
Directory: C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 10/1/2020 10:25 AM etc
Writing 'package.json' from C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\scripts\dev-bundle-tool-package.js to C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib
> fibers@4.0.3 install C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers
> node build.js || nodejs build.js
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers>if not defined npm_config_node_gyp (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --release ) else (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --release )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
fibers.cc
coroutine.cc
c:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbxxx\lib\node_modules\fibers\src\coroutine.cc(153): warning C4552: '!': result of expression not used [C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers\build\fibers.vcxproj]
win_delay_load_hook.cc
coro.c
Creating library C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers\build\Release\fibers.lib and object C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers\build\Release\fibers.exp
fibers.vcxproj -> C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers\build\Release\\fibers.node
Installed in `C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\fibers\bin\win32-x64-83\fibers.node`
> pathwatcher@8.1.0 install C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\pathwatcher
> node-gyp rebuild
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\pathwatcher>if not defined npm_config_node_gyp (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
main.cc
common.cc
handle_map.cc
pathwatcher_win.cc
win_delay_load_hook.cc
Creating library C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\pathwatcher\build\Release\pathwatcher.lib and object C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\pathwatcher\build\Release\pathwatcher.exp
pathwatcher.vcxproj -> C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\pathwatcher\build\Release\\pathwatcher.node
> sqlite3@4.1.0 install C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Platform.targets(67,5): error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Retarget solution". [C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\gdbXXX\lib\node_modules\sqlite3\build\deps\action_before_build.vcxproj]
npm.cmd : gyp ERR! build error
At C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64\scripts\generate-dev-bundle.ps1:301 char:3
+ & "$($Commands.npm)" install
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (gyp ERR! build error :String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>copy dev_bundle*.tar.gz jenkins-dist
dev_bundle*.tar.gz
The system cannot find the file specified.
0 file(s) copied.
jenkins@EC2AMAZ-C55D5TA C:\jenkins\workspace\meteor-dev-bundle-windows\platform\windows_x64>exit 1
Build step 'Execute Windows batch command' marked build as failure
Publish artifacts to S3 Bucket Build is still running
Publish artifacts to S3 Bucket Using S3 profile: s3
Publish artifacts to S3 Bucket No file(s) found: jenkins-dist/**
Finished: FAILURE
@StorytellerCZ
Copy link

Looks like an issue with npm installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment