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

[internal] e2e:docker test fails on lerna publish #4415

Closed
bugzpodder opened this issue May 6, 2018 · 3 comments
Closed

[internal] e2e:docker test fails on lerna publish #4415

bugzpodder opened this issue May 6, 2018 · 3 comments

Comments

@bugzpodder
Copy link

Tried to run yarn e2e:docker and tasks/e2e-kitchensink,e2e-simple.
Fails: (I also see a slightly different error message before - invalid token)

+ cd ../..
+ ./node_modules/.bin/lerna publish --independent --yes '--force-publish=*' --skip-git --cd-version=prerelease --exact --npm-tag=latest
lerna info version 2.9.1
lerna info versioning independent
lerna info Checking for updated packages...
lerna info Comparing with v1.1.0.
lerna info Checking for prereleased packages...

Changes:
 - babel-plugin-named-asset-import: 0.1.0 => 0.1.1-0
 - babel-preset-react-app: 3.1.1 => 3.1.2-0
 - confusing-browser-globals: 1.0.0 => 1.0.1-0
 - create-react-app: 1.5.1 => 1.5.2-0
 - eslint-config-react-app: 2.1.0 => 2.1.1-0
 - react-dev-utils: 5.0.0 => 5.0.1-0
 - react-error-overlay: 4.0.0 => 4.0.1-0
 - react-scripts: 1.1.0 => 1.1.1-0

lerna info auto-confirmed 
lerna info publish Publishing packages to npm...
lerna ERR! publish Retrying failed publish: confusing-browser-globals
lerna ERR! publish Retrying failed publish: babel-plugin-named-asset-import
lerna ERR! publish Retrying failed publish: babel-preset-react-app
lerna ERR! publish Retrying failed publish: babel-plugin-named-asset-import
lerna ERR! publish Retrying failed publish: confusing-browser-globals
lerna ERR! publish Retrying failed publish: babel-preset-react-app
lerna ERR! publish Retrying failed publish: babel-plugin-named-asset-import
lerna ERR! publish Retrying failed publish: babel-preset-react-app
lerna ERR! publish Retrying failed publish: confusing-browser-globals
lerna ERR! publish Retrying failed publish: babel-plugin-named-asset-import
lerna ERR! publish Retrying failed publish: babel-preset-react-app
lerna ERR! publish Retrying failed publish: confusing-browser-globals
lerna ERR! publish Ran out of retries while publishing babel-plugin-named-asset-import Error: Command failed: yarn publish --tag latest --new-version 0.1.1-0
lerna ERR! publish error Couldn't publish package.
lerna ERR! publish yarn publish v1.6.0
lerna ERR! publish [1/4] Bumping version...
lerna ERR! publish info Current version: 0.1.1-0
lerna ERR! publish [2/4] Logging in...
lerna ERR! publish [3/4] Publishing...
lerna ERR! publish info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
lerna ERR! publish 
lerna ERR! publish     at Promise.all.then.arr (/home/node/create-react-app/node_modules/lerna/node_modules/execa/index.js:236:11)
lerna ERR! publish     at process._tickCallback (internal/process/next_tick.js:109:7)
lerna ERR! execute callback with error
lerna ERR! Error: Command failed: yarn publish --tag latest --new-version 0.1.1-0
lerna ERR! error Couldn't publish package.
lerna ERR! yarn publish v1.6.0
lerna ERR! [1/4] Bumping version...
lerna ERR! info Current version: 0.1.1-0
lerna ERR! [2/4] Logging in...
lerna ERR! [3/4] Publishing...
lerna ERR! info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
lerna ERR! 
lerna ERR!     at Promise.all.then.arr (/home/node/create-react-app/node_modules/lerna/node_modules/execa/index.js:236:11)
lerna WARN complete Waiting for 3 child processes to exit. CTRL-C to exit immediately.
lerna ERR! publish Ran out of retries while publishing babel-preset-react-app Error: Command failed: yarn publish --tag latest --new-version 3.1.2-0
lerna ERR! publish error Couldn't publish package.
lerna ERR! publish yarn publish v1.6.0
lerna ERR! publish [1/4] Bumping version...
lerna ERR! publish info Current version: 3.1.2-0
lerna ERR! publish [2/4] Logging in...
lerna ERR! publish [3/4] Publishing...
lerna ERR! publish info Visit https://yarnpkg.com/en/docs/cli/publish for documentation about this command.
lerna ERR! publish 
lerna ERR! publish     at Promise.all.then.arr (/home/node/create-react-app/node_modules/lerna/node_modules/execa/index.js:236:11)
lerna ERR! publish     at process._tickCallback (internal/process/next_tick.js:109:7)
lerna ERR! publish Ran out of retries while publishing confusing-browser-globals Error: Command failed: yarn publish --tag latest --new-version 1.0.1-0

@iansu
Copy link
Contributor

iansu commented May 11, 2018

The docker tests have been broken for a while and running the tests locally doesn't generally work. We'd like to fix that but we have limited time and resources. PRs welcome!

@bugzpodder
Copy link
Author

bugzpodder commented May 13, 2018

hack to be able to run the e2e:docker script #4454
Ref verdaccio/verdaccio#212 (comment)

@iansu
Copy link
Contributor

iansu commented May 13, 2018

Thanks! It would be nice if we could figure out a way to resolve this so that the tests would work on Travis/Appveyor and in Docker.

@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants