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

Lando pull database from pantheon incorrectly reports success. #26

Closed
NickDickinsonWilde opened this issue Jun 11, 2020 · 3 comments
Closed

Comments

@NickDickinsonWilde
Copy link

System/Setup

Windows 10 - most recently with Docker in WSL2 mode but seen it in HyperV mode as well.
Seen it in at least half a dozen Lando versions, but it is a minor issue and only when I'm working from a phone tether or other bad internet connection, so keep not getting around to it.

recipe: pantheon
config:
  framework: drupal8
  xdebug: false

(also other config like the pantheon ID/name - but that is unrelated to the issue]

Issue

Running lando pull [options including a database],
Get this response:

Pulling your database... This miiiiight take a minute
mysqldump: Error 2013: Lost connection to MySQL server during query when dumping table `cache_dynamic_page_cache` at row: 18
15.1MiB 0:01:19 [ 193KiB/s] [                              <=>                 ]
*GREEN*Pull completed successfully!*GREEN*

Expected behaviour would be a RED or even white text failure ending.

Seems to not be properly catching the error which was output. (To be clear, the database is left at an unusable state, but that's expected). This may be fixed in other work when doing #10 I suppose, but wanted to surface it at least.

@pirog
Copy link
Member

pirog commented Jun 11, 2020

@NickDickinsonWilde the pull script uses set -e so any errors will cause the script to stop. If you are on the most recent version my best guess is that the error you are seeing just doesnt return a non-zero code so its not being detected as an error. If so there isn't much we can do.

@stale
Copy link

stale bot commented Dec 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.

@stale
Copy link

stale bot commented Jun 22, 2021

We haven't heard anything here for about a year so we are automatically closing this issue to keep things tidy. If this is in error then please post in this thread and request the issue be reopened!

@stale stale bot closed this as completed Jun 22, 2021
@rtfm-47 rtfm-47 transferred this issue from lando/lando Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants