rake karma fails periodically
rake karma
seems to fail periodically due to wrong dependencies being installed.
- https://gitlab.com/gitlab-org/gitlab-ce/builds/16040250
- https://gitlab.com/gitlab-org/gitlab-ce/builds/16058351
error "css-selector-tokenizer#regexpu-core@^1.0.0" doesn't satisfy found match of "regexpu-core@2.0.0"
error "es6-promise" is wrong version: expected "3.0.2", got "4.0.5"
error "loader-utils" is wrong version: expected "1.1.0", got "0.2.16"
error "readable-stream" is wrong version: expected "2.0.6", got "2.2.2"
error "regexpu-core" is wrong version: expected "1.0.0", got "2.0.0"
warning "babel-loader#loader-utils@^0.2.11" could be deduped from "0.2.16" to "loader-utils@0.2.16"
error "css-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
error "exports-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
error "file-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
error "jszip#es6-promise@~3.0.2" doesn't satisfy found match of "es6-promise@4.0.5"
error "jszip#pako@~1.0.2" doesn't satisfy found match of "pako@0.2.9"
error "jszip#readable-stream@~2.0.6" doesn't satisfy found match of "readable-stream@2.2.2"
error "react-dev-utils#ansi-html@0.0.5" doesn't satisfy found match of "ansi-html@0.0.7"
error "react-dev-utils#filesize@3.3.0" doesn't satisfy found match of "filesize@3.5.4"
error "react-dev-utils#sockjs-client@1.0.1" doesn't satisfy found match of "sockjs-client@1.1.1"
error "url-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
error "vue" is wrong version: expected "2.2.6", got "2.2.4"
error "vue-loader#loader-utils@^1.1.0" doesn't satisfy found match of "loader-utils@0.2.16"
error "vue-loader#lru-cache@^4.0.1" doesn't satisfy found match of "lru-cache@2.2.4"
error "webpack" is wrong version: expected "2.3.3", got "2.2.1"
warning "webpack#acorn@^4.0.4" could be deduped from "4.0.11" to "acorn@4.0.11"
warning "webpack#loader-utils@^0.2.16" could be deduped from "0.2.16" to "loader-utils@0.2.16"
error "webpack#webpack-sources@^0.1.4" doesn't satisfy found match of "webpack#webpack-sources@0.2.3"
warning "webpack-bundle-analyzer#filesize@^3.5.4" could be deduped from "3.5.4" to "filesize@3.5.4"
warning "karma-webpack#loader-utils@^0.2.5" could be deduped from "0.2.16" to "loader-utils@0.2.16"
error "nodemon#es6-promise@^3.0.2" doesn't satisfy found match of "es6-promise@4.0.5"
error "webpack-dev-server" is wrong version: expected "2.4.2", got "2.3.0"
warning "webpack-dev-server#ansi-html@0.0.7" could be deduped from "0.0.7" to "ansi-html@0.0.7"
error "webpack-dev-server#sockjs-client@1.1.1" doesn't satisfy found match of "webpack-dev-server#sockjs-client@1.1.2"
error "react-dev-utils#ansi-html" is wrong version: expected "0.0.5", got "0.0.7"
warning "eslint#concat-stream#readable-stream@^2.2.2" could be deduped from "2.2.2" to "readable-stream@2.2.2"
error "css-loader#css-selector-tokenizer#regexpu-core@^1.0.0" doesn't satisfy found match of "regexpu-core@2.0.0"
error "react-dev-utils#filesize" is wrong version: expected "3.3.0", got "3.5.4"
error "webpack-dev-server#http-proxy-middleware" is wrong version: expected "0.17.4", got "0.17.3"
error "vue-loader#lru-cache" is wrong version: expected "4.0.2", got "2.2.4"
error "jszip#pako" is wrong version: expected "1.0.5", got "0.2.9"
warning "karma-phantomjs-launcher#phantomjs-prebuilt#es6-promise@~4.0.3" could be deduped from "4.0.5" to "es6-promise@4.0.5"
error "react-dev-utils#sockjs-client" is wrong version: expected "1.0.1", got "1.1.1"
error "webpack#uglify-js" is wrong version: expected "2.8.21", got "2.7.5"
error "nodemon#update-notifier#repeating@^1.1.2" doesn't satisfy found match of "repeating@2.0.1"
warning "karma#useragent#lru-cache@2.2.x" could be deduped from "2.2.4" to "lru-cache@2.2.4"
error "vue-loader#vue-style-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
error "webpack#watchpack" is wrong version: expected "1.3.1", got "1.2.1"
error "pdfjs-dist#worker-loader#loader-utils@^1.0.2" doesn't satisfy found match of "loader-utils@0.2.16"
warning "babel-preset-es2015#babel-plugin-transform-es2015-unicode-regex#regexpu-core@^2.0.0" could be deduped from "2.0.0" to "regexpu-core@2.0.0"
warning "webpack#node-libs-browser#browserify-zlib#pako@~0.2.0" could be deduped from "0.2.9" to "pako@0.2.9"
warning "babel-generator#detect-indent#repeating@^2.0.0" could be deduped from "2.0.1" to "repeating@2.0.1"
error "sockjs-client#faye-websocket" is wrong version: expected "0.7.3", got "0.11.1"
error "update-notifier#repeating" is wrong version: expected "1.1.3", got "2.0.1"
warning "webpack#node-libs-browser#stream-http#readable-stream@^2.1.0" could be deduped from "2.2.2" to "readable-stream@2.2.2"
warning "npmlog#are-we-there-yet#readable-stream@^2.0.0 || ^1.1.13" could be deduped from "2.2.2" to "readable-stream@2.2.2"
warning "got#duplexify#readable-stream@^2.0.0" could be deduped from "2.2.2" to "readable-stream@2.2.2"
warning "got#read-all-stream#readable-stream@^2.0.0" could be deduped from "2.2.2" to "readable-stream@2.2.2"
error Found 37 errors.
Error: You have unmet dependencies. (`yarn check` command failed)
I downloaded the build artifacts, and it looks like yarn check
looks fine. Retrying the build usually fixes the problem.
Based on the versions that were installed and the history of git blame yarn.lock
, it seems to me that these error messages are consistent with a case where an old set of dependencies were used.
The Job ID in the build log looks correct. However, is it possible that the runner is fetching the wrong file?
/cc: @ayufan, @tmaczukin