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

Trace out the reasons for Heroku builds failure for review apps. #5189

Open
asadiqbal08 opened this issue Apr 6, 2022 · 1 comment
Open
Assignees

Comments

@asadiqbal08
Copy link
Contributor

asadiqbal08 commented Apr 6, 2022

Steps to Reproduce

Heroku builds getting failed whenever there is a PR up in micromaster repository. We need to trace out the reasons for this failure.

Expected Behavior

Build should be deployable without any error like mitxpro, mitxonline etc.

Actual Behavior

Build are not getting passed for any pull request.

@asadiqbal08
Copy link
Contributor Author

For testing, I created a Testing PR to identify the reasons but not much from the logs. In the PR, I tried to install the node packages from npm instead of using yarn and the build complains about 2 things.

  • Sentry-cli
ERROR in Sentry CLI Plugin: Command failed: /tmp/build_7bc17d91/node_modules/@sentry/webpack-plugin/node_modules/@sentry/cli/sentry-cli releases new 0.219.0

error: An organization slug is required (provide with --org)

Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.
Please attach the full debug log to all bug reports.
  • postinstall
           Entrypoint mini-css-extract-plugin = *
           [0] ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/lib!./node_modules/sass-loader/dist/cjs.js!./static/scss/public_style/web-icons.css 6.93 KiB {0} [built]
               + 1 hidden module
       npm ERR! code ELIFECYCLE
       npm ERR! errno 2
       npm ERR! [email protected] postinstall: `./webpack_if_prod.sh`
       npm ERR! Exit status 2
       npm ERR! 
       npm ERR! Failed at the [email protected] postinstall script.
       npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
       
       npm ERR! A complete log of this run can be found in:
       npm ERR!     /tmp/npmcache.leMyI/_logs/2022-04-06T09_44_58_645Z-debug.log
-----> Build failed
       

However, the yarn installation is not showing any details logs earlier.

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

No branches or pull requests

2 participants