Hi, since this morning, I cannot run the checkout step anymore. I did not change anything on my config, and all the projects of my organisation are now failing on checkout with the following error :
Directory (/home/circleci/project) you are trying to checkout to is not empty and not a git repository
I tried to rotate the GH access following the CCI recomandation due to the Security Alert of the 7 January, but it’s not helping me.
Do you have any idea of what I can try to solve that error, or where I can investigate ?
I’m also having this issue, no matter what I do, it’s broken.
Even after removing cache, re-authorizing it, etc, still broken:
“you are trying to checkout to is not empty and not a git repository”
Can anyone from CircleCI comment on this? I’m about to look for another CI solution, we have been paying thousands of dollars, zero support on this issue.
It’s so maddening that CircleCI doesn’t even monitor these discussions.
In my case, we also had browser-tools installing before checkout in the steps list, but weren’t specifying a version. Moving checkout to the top was all I needed to do to get my build running again. Thank you @JamJacques for the assist!
Our project already specified browser-tools v1.4.0, so I’m not even sure that a change there was the issue. But like @unixmonkey, moving the checkout step above the browser install steps seems to have fixed it.
However today they are both causing problems. install-chrome fails with :
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_245.4-4ubuntu3.17_amd64.deb 404 Not Found [IP: 185.125.190.39 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/udev_245.4-
4ubuntu3.17_amd64.deb 404 Not Found [IP: 185.125.190.39 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
adding a step before fixes this:
- run: sudo apt-get update
But then install-chromedriver fails because it leaves behind a license file in my working directory
adding a step after fixes this:
- run: sudo rm -fR ~/MYWORKINGDIRECTORY/*
These both feel like workarounds – shouldn’t the orb work out of the box?