ember-cli / ember-exam

Run your tests with randomization, splitting, and parallelization for beautiful tests.
MIT License
286 stars 62 forks source link

'ember exam --server' doesn't work with ember-cli 3.19.0 to 3.20.0 update #589

Closed sepuckett86 closed 3 years ago

sepuckett86 commented 4 years ago

After updating ember-cli from 3.19.0 to 3.20.0 tests no longer run with ember exam --server and this is what is displayed:

Randomizing tests with seed: false
process is not captured
step2yeung commented 4 years ago

Hi @sepuckett86!

Thanks for reporting this! Any chance you have a repo we can debug this with?

sepuckett86 commented 4 years ago

Sorry I can't share the repo but here is a list of our dependencies in case that helps. We're on octane.

"devDependencies": {
    "@csstools/postcss-sass": "^4.0.0",
    "@ember/edition-utils": "^1.2.0",
    "@ember/optional-features": "^1.3.0",
    "@ember/render-modifiers": "^1.0.2",
    "@glimmer/component": "^1.0.0",
    "@glimmer/tracking": "^1.0.0",
    "@orbit/jsonapi": "^0.16.5",
    "autoprefixer": "^9.7.5",
    "babel-eslint": "^10.1.0",
    "broccoli-asset-rev": "^3.0.0",
    "cropperjs": "^1.5.6",
    "d3": "^5.16.0",
    "els-intl-addon": "^1.0.2",
    "ember-a11y-testing": "^3.0.2",
    "ember-active-storage": "^1.0.1",
    "ember-animated": "^0.10.1",
    "ember-auto-import": "^1.5.3",
    "ember-cli": "~3.20.0",
    "ember-cli-app-version": "^3.2.0",
    "ember-cli-babel": "^7.19.0",
    "ember-cli-code-coverage": "1.0.0-beta.9",
    "ember-cli-dependency-checker": "^3.2.0",
    "ember-cli-deprecation-workflow": "^1.0.1",
    "ember-cli-htmlbars": "^5.2.0",
    "ember-cli-inject-live-reload": "^2.0.2",
    "ember-cli-inline-content": "^0.4.1",
    "ember-cli-mirage": "^1.1.6",
    "ember-cli-sass": "^10.0.1",
    "ember-cli-segment": "^4.1.0",
    "ember-cli-showdown": "^4.5.0",
    "ember-cli-sri": "^2.1.1",
    "ember-cli-uglify": "^3.0.0",
    "ember-concurrency": "^1.1.7",
    "ember-concurrency-decorators": "^2.0.1",
    "ember-css-modules": "^1.3.0",
    "ember-css-modules-sass": "^1.0.1",
    "ember-exam": "^5.0.1",
    "ember-export-application-global": "^2.0.1",
    "ember-feature-flags": "^6.0.0",
    "ember-file-upload": "^3.0.4",
    "ember-freestyle": "^0.12.0",
    "ember-intl": "^4.3.2",
    "ember-load-initializers": "^2.1.1",
    "ember-maybe-import-regenerator": "^0.1.6",
    "ember-modifier": "^1.0.3",
    "ember-orbit": "^0.16.6",
    "ember-phone-input": "^5.0.0",
    "ember-qunit": "^4.6.0",
    "ember-resolver": "^8.0.0",
    "ember-router-scroll": "^3.3.2",
    "ember-simple-auth": "^3.0.0",
    "ember-simple-auth-token": "^5.0.0",
    "ember-source": "3.17.3",
    "ember-template-lint": "^2.6.0",
    "ember-truth-helpers": "^2.1.0",
    "eslint": "^7.5.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-ember": "^8.9.1",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-prettier": "^3.1.3",
    "loader.js": "^4.7.0",
    "normalize.css": "^8.0.1",
    "postcss-preset-env": "^6.7.0",
    "postcss-scss": "^2.1.1",
    "prettier": "^1.19.1",
    "qunit-dom": "^1.0.0",
    "sass": "^1.26.5",
    "swiper": "^5.3.8",
    "uuid": "^8.0.0",
    "zxcvbn": "^4.4.2"
  },
kamilio commented 4 years ago

I am having the same problem while upgrading ember.

stack: Error: process is not captured
at Object.addHandler (node_modules/ember-cli/lib/utilities/will-interrupt-process.js:79:13)
at new Builder (node_modules/ember-cli/lib/models/builder.js:40:30)
at Win.checkIfSymlinksNeedToBeEnabled.then (node_modules/ember-cli/lib/commands/test.js:185:25)
at tryCatcher (node_modules/rsvp/dist/rsvp.js:326:21)
at invokeCallback (node_modules/rsvp/dist/rsvp.js:498:33)
at node_modules/rsvp/dist/rsvp.js:562:16
at flush (node_modules/rsvp/dist/rsvp.js:2441:7)
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

Unfortunately, can't share repo either.

step2yeung commented 4 years ago

Hey @kamilio and @sepuckett86 I was unable to reproduce this with ember-super-rentals or travis-web.. It has ember-cli@3.21.2 and I added ember-exam@5.0.1 and I was unable to reproduce the error.

If you can create a reproduction with a sharable repo or an opensource repo like travis-web, please report back

Turbo87 commented 3 years ago

closing due to inactivity