fabric8-analytics / fabric8-analytics-worker

fabric8-analytics worker for gathering raw data
GNU General Public License v3.0
8 stars 45 forks source link

TaskError: Unable to clone: https://github.com/omalley/base64.git #359

Open SaketJNU opened 6 years ago

SaketJNU commented 6 years ago

Hi, I want to run the "github_manifest" job to run locally. Job has been scheduled successfully with a response code 201, but is being failed in later stage and i am getting no result. I am tying to the jobs with Fedora-25 on Thinkpad T460s system. The logs of worker attached in https://gist.github.com/SaketJNU/d39af188e6045536e80b214cabea1f0b. I am getting reasons, "why it is being failed?"

Thanks, Saket

jpopelka commented 6 years ago

Looks similar to #283 but the cause is different:

[DEBUG] f8a_worker.utils: running command ['git', 'clone', 'https://github.com/omalley/base64.git', '/tmp/tmpjp79u70x', '--depth', '1']
fatal: unable to access 'https://github.com/omalley/base64.git/': Could not resolve host: github.com; Unknown error

which is strange, because it works ok for me:

$ docker run -ti registry.devshift.net/bayesian/cucos-worker git clone https://github.com/omalley/base64.git --depth 1
Cloning into 'base64'...
remote: Counting objects: 16, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 16 (delta 0), reused 14 (delta 0), pack-reused 0
Unpacking objects: 100% (16/16), done.