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

make it work in CircleCI env #85

Open
yaroslavvb opened this issue Jul 28, 2019 · 0 comments
Open

make it work in CircleCI env #85

yaroslavvb opened this issue Jul 28, 2019 · 0 comments
Labels

Comments

@yaroslavvb
Copy link
Collaborator

Currently failing because public keypair is only partially setup

('still waiting for thread make_task(1.integration_test)',) {}
('Timeout exceeded (60 sec) for /home/circleci/.ssh/id_rsa.pub',) {}
Exception are  [AssertionError('Private key /home/circleci/.ssh/id_rsa exists but public key /home/circleci/.ssh/id_rsa.pub not found, delete /home/circleci/.ssh/id_rsa and run again to regenerate pair',), AssertionError("Couldn't find /home/circleci/.ssh/id_rsa.pub",)]
Traceback (most recent call last):
  File "tests/integration_test.py", line 68, in <module>
    main()
  File "tests/integration_test.py", line 54, in main
    launcher()
  File "tests/integration_test.py", line 44, in launcher
    job = ncluster.make_job(**vars(args))
  File "/home/circleci/repo/venv/lib/python3.6/site-packages/ncluster/aws_backend.py", line 1278, in make_job
    raise exceptions[0]
  File "/home/circleci/repo/venv/lib/python3.6/site-packages/ncluster/aws_backend.py", line 1259, in make_task_fn
    **kwargs)
  File "/home/circleci/repo/venv/lib/python3.6/site-packages/ncluster/aws_backend.py", line 1026, in make_task
    util.setup_local_ssh_keys()
  File "/home/circleci/repo/venv/lib/python3.6/site-packages/ncluster/util.py", line 299, in setup_local_ssh_keys
    assert os.path.exists(ID_RSA_PUB), f"Private key {ID_RSA} exists but public key {ID_RSA_PUB} not found, delete {ID_RSA} and run again to regenerate pair"
AssertionError: Private key /home/circleci/.ssh/id_rsa exists but public key /home/circleci/.ssh/id_rsa.pub not found, delete /home/circleci/.ssh/id_rsa and run again to regenerate pair
Exiting
yaroslavvb added a commit that referenced this issue Jul 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant