Breaking (ctrl+c) a S3 sync fails to clean up #650

Closed
kaihendry opened this Issue Feb 14, 2014 · 2 comments

Comments

Projects
None yet
3 participants
[root@sgd test]# aws s3 sync s3://resumetest .
^CCleaning up. Please wait...







2^CTraceback (most recent call last):
  File "/usr/bin/aws", line 23, in 
    sys.exit(main())
  File "/usr/bin/aws", line 19, in main
    return awscli.clidriver.main()
  File "/usr/lib/python3.3/site-packages/awscli/clidriver.py", line 46, in main
    return driver.main()
  File "/usr/lib/python3.3/site-packages/awscli/clidriver.py", line 188, in main
    return command_table[parsed_args.command](remaining, parsed_args)
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3.py", line 151, in __call__
    remaining, parsed_globals)
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3.py", line 262, in __call__
    return self._do_command(parsed_args, parsed_globals)
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3.py", line 274, in _do_command
    return cmd.run()
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3.py", line 613, in run
    file_list.append(components[i].call(files[i]))
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3handler.py", line 95, in call
    self._shutdown()
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/s3handler.py", line 102, in _shutdown
    self.executor.join()
  File "/usr/lib/python3.3/site-packages/awscli/customizations/s3/executor.py", line 93, in join
    thread.join()
  File "/usr/lib/python3.3/threading.py", line 1028, in join
    self._block.wait()
  File "/usr/lib/python3.3/threading.py", line 284, in wait
    waiter.acquire()
KeyboardInterrupt
[root@sgd test]#

More detailed log is here: http://ix.io/auN

I get exactly the same result, generally after running into the problem from Issue 657: #657

laupow commented Feb 21, 2014

I concur this also happens to me when doing a sync described in #648

The bucket I'm trying to sync is large (100k+ items) and while I don't see the traceback the process seems to "clean up" forever when I break

jamesls closed this in 4263d0d Feb 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment