Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure - ERROR at //build/timestamp.gni:31:19: Script returned non-zero exit code. #8331

Open
simonhong opened this issue Feb 20, 2020 · 1 comment

Comments

@simonhong
Copy link
Collaborator

@simonhong simonhong commented Feb 20, 2020

Recently, PR builder failed with this.

21:48:06  ERROR at //build/timestamp.gni:31:19: Script returned non-zero exit code.
21:48:06  build_timestamp = exec_script(compute_build_timestamp,
21:48:06                    ^----------
21:48:06  Current dir: /Users/jenkins/jenkins/workspace/fix_tor_profile_destroyer_dcheck/src/out/Release/
21:48:06  Command: python /Users/jenkins/jenkins/workspace/fix_tor_profile_destroyer_dcheck/src/build/compute_build_timestamp.py official
21:48:06  Returned 1.
21:48:06  stderr:
21:48:06  
21:48:06  Traceback (most recent call last):
21:48:06    File "/Users/jenkins/jenkins/workspace/fix_tor_profile_destroyer_dcheck/src/build/compute_build_timestamp.py", line 127, in <module>
21:48:06      sys.exit(main())
21:48:06    File "/Users/jenkins/jenkins/workspace/fix_tor_profile_destroyer_dcheck/src/build/compute_build_timestamp.py", line 113, in main
21:48:06      last_commit_timestamp = int(open(lastchange_file).read())
21:48:06  IOError: [Errno 2] No such file or directory: '/Users/jenkins/jenkins/workspace/fix_tor_profile_destroyer_dcheck/src/build/util/LASTCHANGE.committime'
21:48:06  
21:48:06  See //base/BUILD.gn:34:1: whence it was imported.
21:48:06  import("//build/timestamp.gni")
21:48:06  ^-----------------------------
21:48:06  See //BUILD.gn:70:5: which caused the file to be included.
21:48:06      "//base:base_perftests",
21:48:06      ^----------------------
21:48:06  null
21:48:06  null
21:48:06  npm ERR! code ELIFECYCLE
21:48:06  npm ERR! errno 1
21:48:06  npm ERR! brave@1.7.2 build: `node ./scripts/commands.js build "Release" "--channel=nightly" "--skip_signing"`
21:48:06  npm ERR! Exit status 1
21:48:06  npm ERR! 
21:48:06  npm ERR! Failed at the brave@1.7.2 build script.
21:48:06  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
@NejcZdovc
Copy link
Member

@NejcZdovc NejcZdovc commented Feb 20, 2020

++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.