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

random files not syncing #506

Closed
b1alpha opened this issue Nov 22, 2017 · 7 comments
Closed

random files not syncing #506

b1alpha opened this issue Nov 22, 2017 · 7 comments

Comments

@b1alpha
Copy link

b1alpha commented Nov 22, 2017

Error

Some files sync, others do not. No errors in the sync log. Files just not syncing right off the bat, then not picking up changes on host.

Tried docker-sync sync no change

Docker Driver

d4m

Sync strategy

native_osx

your docker-sync.yml

--- 
options: 
  verbose: true
syncs: 
  appcode-native-sync: 
    src: ./
    sync_excludes: 
      - public/js/bower_components
      - node_modules
      - vendor
    sync_host_ip: auto
    sync_host_port: 10872
    sync_strategy: native_osx
version: "2"

OS

OSX Version 10.13.1

@EugenMayer
Copy link
Owner

EugenMayer commented Nov 22, 2017

please remove remove

    sync_host_ip: auto
    sync_host_port: 10872

Try running the boilerplates https://github.com/EugenMayer/docker-sync-boilerplate and reopen the issue if you can reproduct it with https://github.com/EugenMayer/docker-sync-boilerplate/tree/master/default ( be sure to create default/app/index.html before you start testing ).

In addition run https://github.com/EugenMayer/docker-sync/wiki/3.-Tests#automated-integration-tests and see if any of those tests fail.

See #410 for how to provide informations or when this can happen. We need far more informations. Restart your d4m an see if syncing works again.

@EugenMayer
Copy link
Owner

@EugenMayer EugenMayer reopened this Nov 22, 2017
@b1alpha
Copy link
Author

b1alpha commented Nov 22, 2017

I tried the boilerplate got some failing ones.
Unison - Fail - did not sync even after restarting the docker4m and macbook
RSYNC - Pass - seems to work fine
Simplest - Pass - seems fine
Unison-Root-User - Fail - Does not work, even after docker-sync-stack clean && docker-sync-stack start

Not Tested
unison-ftp-user, unison-new-user, default

How do I uninstall all the things that were installed and re-install. Clean the state of my macbook?

@b1alpha
Copy link
Author

b1alpha commented Nov 22, 2017

Tests Seem to Pass
Adding RSpec hook to stub command execution... OK

Randomized with seed 64345
....*........

Pending: (Failures listed here are expected and do not affect your suite's status)

  1) native_osx strategy start is a manual debugging test
     # Temporarily skipped with xit
     # ./spec/integration/native-osx_strategy_spec.rb:45


Finished in 1 minute 2.71 seconds (files took 0.36324 seconds to load)
13 examples, 0 failures, 1 pending

Randomized with seed 64345```

@b1alpha
Copy link
Author

b1alpha commented Nov 22, 2017

Manual Test Steps Outdated

I cant run these steps, how do I do this?

Manual Tests (sync and performance)

Hint: You can also use the docker-sync-boilerplate

Pull this repo and then

cd docker-sync/example (no such folder)
thor stack:start (no such task)
Open a new shell and run

cd docker-sync/example
echo "NEWVALUE" >> data1/somefile.txt
echo "NOTTHEOTHER" >> data2/somefile.txt

@EugenMayer
Copy link
Owner

please run only the default (since that is the native_osx one) boilerplate, if that test fails, you reproduced something, if that does not fail, you have a configuration issue.

Since all tests already are working, you most probably have an usage/application/configuration issue

@EugenMayer
Copy link
Owner

closing due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants