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

failed to start event processor: failed to compute task config: failed to read config file #316

Closed
3 tasks done
kwuite opened this issue Jul 22, 2019 · 7 comments
Closed
3 tasks done

Comments

@kwuite
Copy link

kwuite commented Jul 22, 2019

Do you want to request a feature or report a bug?

BUG

What is the current behavior?

Unable to locally execute circle ci for testing my builds.

Can you provide an example?

git clone https://github.com/CircleCI-Public/circleci-demo-go.git
cd circleci-demo-go
circleci local execute --job build

Result

Docker image digest: sha256:463f8b03fa34e7609792bbc3e8983167fbb1221d9cefb1be401c0952973b3ebb
Error: failed to start event processor: failed to compute task config: failed to read config file: open circle.yml: no such file or directory

Config is valid

~/circleci-demo-go$ circleci config validate
Config file at .circleci/config.yml is valid.

Both docker and circleci are running within my user space without the need of sudo.

What is the expected behavior?

When I run the example code from "https://circleci.com/docs/2.0/local-cli/" I expect the config file to be found and that it runs the job.

Which version of the CLI and OS are you using? Did this work in previous versions?

Never used a previous version.

  • Windows 10 Pro 1903, build 18363.264
  • WSL: Linux MSI 4.4.0-18362-Microsoft Stub out Orb list command #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux
  • Ubuntu 18.04
  • 32g ram, 64bit, core i7-8750h
  • Docker version 18.09.6, build 481bc77

Please provide the output of circleci version and circleci diagnostic.

0.1.5725+b0a23c0

and

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /home/wemeet/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Trying an introspection query on API...
Ok.
Hello, Kelvin.

Related to: #290

@kwuite kwuite mentioned this issue Jul 24, 2019
3 tasks
@kwuite
Copy link
Author

kwuite commented Jul 24, 2019

Installed the cli with: curl -fLSs https://circle.ci/cli | sudo bash

@john-mcgowan-wowza
Copy link

@kwuite Unfortunately I haven't worked with the windows side of things in months.

But I think the issue I had was resolved by fixing up some SSH authentication stuff... But I'm not 100% sure. Sorry I can't be more helpful for you right now.

@kwuite
Copy link
Author

kwuite commented Jul 24, 2019

@john-mcgowan-wowza , are you suggesting the cli tool is pulling from git at startup?

Maybe it is trying to connect to some libraries to setup the docker environment. I guess it is time to read the source code then....

Anyways, thanks for replying and in case something pops up I gladly here your thoughts.

@royvandewater
Copy link
Contributor

Hi @kwuite! Would it be possible to try running this on the latest version of WSL? I don't have a windows machine on hand to test, but from the description, it sounds like they included some functionality that specifically targets enabling Docker filesystem interaction.

https://docs.microsoft.com/en-us/windows/wsl/wsl2-about

@kwuite
Copy link
Author

kwuite commented Aug 27, 2019

@royvandewater ,

Tried a few times but have not been able to get wsl2 even when im on the windows insider program. Will follow up once I get some more time for this.

@kwuite
Copy link
Author

kwuite commented Aug 28, 2019

Tried following this guide: https://docs.microsoft.com/en-us/windows/wsl/wsl2-install I had already joined the windows insider program (early this year) but I am unable to get the upgrade to build version 18917. As long as that is not possible for my machine I will not be able to test WSL2.

@kwuite
Copy link
Author

kwuite commented Dec 29, 2019

I can confirm CircleCI works with WSL2 and will not work with WSL because of the way the docker architecture works.

@kwuite kwuite closed this as completed Dec 29, 2019
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

3 participants