Project

General

Profile

Bug #18444

running job yaml using teuthology cli broken

Added by Vasu Kulkarni over 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
01/06/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:

Description

previously trying to run simple job yaml using teuthology would work with defaults, right now it tries to get 'master' branch from ceph-ci which doesn't exist and breaks


vasu@teuthology:~/teuthology/teuthology/virtualenv/bin$ ./teuthology test.yaml

2017-01-06 23:49:11,021.021 WARNING:teuthology.report:No job_id found; not reporting results
2017-01-06 23:49:11,023.023 INFO:teuthology.run:Tasks not found; will attempt to fetch
2017-01-06 23:49:11,023.023 INFO:teuthology.repo_utils:Cloning git://git.ceph.com/ceph-ci.git master from upstream
2017-01-06 23:49:11,043.043 ERROR:teuthology.repo_utils:Cloning into '/home/vasu/src/git.ceph.com_ceph-c_master'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin

2017-01-06 23:49:11,044.044 CRITICAL:root:  File "./teuthology", line 9, in <module>
    load_entry_point('teuthology', 'console_scripts', 'teuthology')()
  File "/home/vasu/teuthology/teuthology/scripts/run.py", line 34, in main
    teuthology.run.main(args)
  File "/home/vasu/teuthology/teuthology/teuthology/run.py", line 359, in main
    config["suite_path"] = fetch_tasks_if_needed(config)
  File "/home/vasu/teuthology/teuthology/teuthology/run.py", line 102, in fetch_tasks_if_needed
    fetch_qa_suite(suite_branch),
  File "/home/vasu/teuthology/teuthology/teuthology/repo_utils.py", line 310, in fetch_qa_suite
    branch, lock=lock)
  File "/home/vasu/teuthology/teuthology/teuthology/repo_utils.py", line 265, in fetch_repo
    enforce_repo_state(url, dest_path, branch)
  File "/home/vasu/teuthology/teuthology/teuthology/repo_utils.py", line 84, in enforce_repo_state
    clone_repo(repo_url, dest_path, branch)
  File "/home/vasu/teuthology/teuthology/teuthology/repo_utils.py", line 133, in clone_repo
    raise BranchNotFoundError(branch, repo_url)

History

#1 Updated by Yuri Weinstein over 2 years ago

Just a guess, maybe a remote repo should be added to /home/vasu/ ?

#2 Updated by Tamilarasi muthamizhan about 2 years ago

  • Assignee set to Vasu Kulkarni

Vasu, is this still an issue?

Also available in: Atom PDF