Transient build failure - undefined is not an object (evaluating 'modules[moduleId].call')
https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/19158651
1) Jobs GET /:project/jobs/:id/raw storage form when job has trace in file sends the right headers
Failure/Error: visit namespace_project_job_path(namespace, project, job)
Capybara::Poltergeist::JavascriptError:
One or more errors were raised in the Javascript code on the page. If you don't care about these errors, you can ignore them by setting js_errors: false in your Poltergeist configuration (see documentation for details).
TypeError: undefined is not an object (evaluating 'modules[moduleId].call')
TypeError: undefined is not an object (evaluating 'modules[moduleId].call')
at http://127.0.0.1:34437/assets/webpack/runtime.bundle.js:55 in __webpack_require__
at http://127.0.0.1:34437/assets/webpack/job_details.bundle.js:8 in ../../../node_modules/babel-loader/lib/index.js!../../../node_modules/vue-loader/lib/selector.js?type=script&index=0!./jobs/components/header.vue
at http://127.0.0.1:34437/assets/webpack/runtime.bundle.js:55 in __webpack_require__
at http://127.0.0.1:34437/assets/webpack/job_details.bundle.js:322 in ./jobs/components/header.vue
at http://127.0.0.1:34437/assets/webpack/runtime.bundle.js:55 in __webpack_require__
at http://127.0.0.1:34437/assets/webpack/job_details.bundle.js:429 in ./jobs/job_details_bundle.js
at http://127.0.0.1:34437/assets/webpack/runtime.bundle.js:55 in __webpack_require__
at http://127.0.0.1:34437/assets/webpack/runtime.bundle.js:26 in webpackJsonpCallback
# ./spec/features/projects/jobs_spec.rb:470:in `block (5 levels) in <top (required)>'
# ./spec/spec_helper.rb:90:in `block (2 levels) in <top (required)>'
Update
This issue no longer exists in master as of !12327 (merged), but we still do not fully understand what caused it in the first place. It can still be reliably reproduced in CI by forking SHA 18ef5be6 or earlier and is worth investigating further.
Edited by Mike Greiling