Project

General

Profile

Actions

Bug #18342

closed

--ceph-repo doesn't work

Added by Nathan Cutler over 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

In latest teuthology, I specify ceph/ceph.git using --ceph-repo, but it still looks for master in ceph/ceph-ci.git:

smithfarm@teuthology:~/teuthology$ ./virtualenv/bin/teuthology-suite -c master --ceph-repo https://github.com/ceph/ceph.git -s fs --filter "recovery/{begin.yaml clusters/4-remote-clients.yaml fs/xfs.yaml mount/fuse.yaml objectstore/filestore.yaml overrides/{debug.yaml frag_enable.yaml fuse-unmounted.yaml whitelist_wrongly_marked_down.yaml} tasks/volume-client.yaml}" --priority 101 --email ncutler@suse.cz -m smithi
2016-12-22 22:07:06,244.244 INFO:teuthology.suite.run:ceph sha1: 566ad2d8b57dc25c4d2bd143df9a94a22c018991
2016-12-22 22:07:06,484.484 INFO:teuthology.suite.run:ceph version: 11.1.0-6184.g566ad2d
2016-12-22 22:07:06,484.484 INFO:teuthology.suite.run:teuthology branch: master
2016-12-22 22:07:06,496.496 INFO:teuthology.suite.run:branch master not in ceph-ci; will use master for ceph-qa-suite
Traceback (most recent call last):
  File "./virtualenv/bin/teuthology-suite", line 11, in <module>
    load_entry_point('teuthology', 'console_scripts', 'teuthology-suite')()
  File "/home/smithfarm/teuthology/scripts/suite.py", line 138, in main
    return teuthology.suite.main(args)
  File "/home/smithfarm/teuthology/teuthology/suite/__init__.py", line 86, in main
    run = Run(conf)
  File "/home/smithfarm/teuthology/teuthology/suite/run.py", line 46, in __init__
    self.base_config = self.create_initial_config()
  File "/home/smithfarm/teuthology/teuthology/suite/run.py", line 95, in create_initial_config
    suite_hash = self.choose_suite_hash(suite_branch)
  File "/home/smithfarm/teuthology/teuthology/suite/run.py", line 262, in choose_suite_hash
    util.schedule_fail(message=str(exc), name=self.name)
  File "/home/smithfarm/teuthology/teuthology/suite/util.py", line 71, in schedule_fail
    raise ScheduleFailError(message, name)
teuthology.exceptions.ScheduleFailError: Scheduling smithfarm-2016-12-22_22:07:05-fs-master---basic-smithi failed: Branch 'master' not found in repo: ceph-ci!
Actions #1

Updated by Nathan Cutler over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Yuri Weinstein over 7 years ago

Some nightlies failed as well :

Create Paste
Followup Paste
QR
Cron <teuthology@teuthology> /home/teuthology/bin/cron_wrapper teuthology-suite -v -c hammer -m $MACHINE_NAME -k distro -s rgw -e $CEPH_QA_EMAIL ~/vps.yaml

stdout:
stderr:
2016-12-22 19:05:01,974.974 INFO:teuthology.suite.run:kernel sha1: distro
2016-12-22 19:05:02,726.726 DEBUG:teuthology.repo_utils:git ls-remote https://github.com/ceph/ceph-ci hammer -> None
Traceback (most recent call last):
  File "/home/teuthology/src/teuthology_master/virtualenv/bin/teuthology-suite", line 9, in <module>
    load_entry_point('teuthology', 'console_scripts', 'teuthology-suite')()
  File "/home/teuthology/src/teuthology_master/scripts/suite.py", line 138, in main
    return teuthology.suite.main(args)
  File "/home/teuthology/src/teuthology_master/teuthology/suite/__init__.py", line 86, in main
    run = Run(conf)
  File "/home/teuthology/src/teuthology_master/teuthology/suite/run.py", line 46, in __init__
    self.base_config = self.create_initial_config()
  File "/home/teuthology/src/teuthology_master/teuthology/suite/run.py", line 89, in create_initial_config
    ceph_hash = self.choose_ceph_hash()
  File "/home/teuthology/src/teuthology_master/teuthology/suite/run.py", line 170, in choose_ceph_hash
    util.schedule_fail(message=str(exc), name=self.name)
  File "/home/teuthology/src/teuthology_master/teuthology/suite/util.py", line 71, in schedule_fail
    raise ScheduleFailError(message, name)
teuthology.exceptions.ScheduleFailError: Scheduling teuthology-2016-12-22_19:05:01-rgw-hammer-distro-basic-openstack failed: Branch 'hammer' not found in repo: ceph-ci.git!
Actions #3

Updated by Zack Cerza over 7 years ago

  • Status changed from New to Closed

Nathan - you still need to use --suite-repo as well as --ceph-repo for the time being.

Yuri - the run you mention isn't in Sepia so it either needs configuration changes (similar to what I did in Sepia) or to use --ceph-repo/--suite-repo.

Actions #4

Updated by Nathan Cutler over 7 years ago

Thanks, Zack!

Actions #5

Updated by Jiang Yu almost 7 years ago

Hello everyone, I encountered the same problem in the jewel branch, what are the good suggestions?

teuthworker@teuthologymanagement:~/bin$ worker_start

Starting 5 workers for plana
Starting 5 workers for mira
Starting 8 workers for vps
Starting 1 workers for burnupi
Starting 5 workers for tala
Starting 1 workers for saya
Starting 1 workers for multi
teuthworker@teuthologymanagement:~/bin$ ps -ef | grep 2017-07-15 11:41:44,868.868 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:44,926.926 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:44,985.985 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:44,988.988 INFO:teuthology.repo_utils:Fetching master from upstream
2017-07-15 11:41:45,026.026 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,033.033 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,042.042 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,047.047 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,093.093 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,097.097 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,114.114 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,127.127 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,129.129 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,137.137 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,138.138 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,148.148 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,175.175 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,182.182 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,158.158 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,186.186 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,192.192 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,201.201 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,216.216 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,218.218 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,219.219 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,232.232 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:45,238.238 INFO:root:teuthology version: 1.0.0-2783503
2017-07-15 11:41:59,653.653 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:41:59,659.659 INFO:teuthology.repo_utils:Bootstrapping /home/teuthworker/src/github.com_ceph_teuthology_master
2017-07-15 11:42:08,805.805 INFO:teuthology.repo_utils:Bootstrap exited with status 0
2017-07-15 11:42:08,810.810 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,811.811 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,813.813 INFO:teuthology.repo_utils:Cloning https://github.com/ceph/ceph-ci.git master from upstream
2017-07-15 11:42:08,818.818 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,819.819 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,819.819 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,827.827 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,828.828 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,828.828 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,834.834 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,835.835 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,835.835 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,843.843 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,843.843 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,844.844 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,850.850 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,851.851 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,851.851 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,858.858 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,859.859 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,859.859 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,865.865 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,866.866 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,866.866 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,873.873 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,874.874 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,874.874 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,880.880 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,881.881 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,881.881 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,888.888 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,888.888 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,889.889 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,895.895 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,895.895 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,896.896 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,902.902 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,903.903 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,903.903 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,908.908 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,961.961 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,962.962 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,962.962 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,968.968 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,969.969 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,969.969 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,974.974 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,975.975 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,975.975 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,981.981 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:08,981.981 INFO:teuthology.repo_utils:/home/teuthworker/src/github.com_ceph_teuthology_master was just updated; assuming it is current
2017-07-15 11:42:08,982.982 INFO:teuthology.repo_utils:Resetting repo at /home/teuthworker/src/github.com_ceph_teuthology_master to branch master
2017-07-15 11:42:08,988.988 INFO:teuthology.repo_utils:Skipping bootstrap as it was already done in the last 60s
2017-07-15 11:42:10,540.540 ERROR:teuthology.repo_utils:Cloning into '/home/teuthworker/src/github.com_ceph_ceph-c_master'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin
Unexpected end of command stream

2017-07-15 11:42:10,542.542 INFO:teuthology.repo_utils:Cloning https://github.com/ceph/ceph-ci.git master from upstream
2017-07-15 11:42:10,542.542 CRITICAL:teuthology:Uncaught exception
Traceback (most recent call last):
File "/home/teuthworker/src/teuthology_master/virtualenv/bin/teuthology-worker", line 11, in <module>
load_entry_point('teuthology', 'console_scripts', 'teuthology-worker')()
File "/home/teuthworker/src/teuthology_master/scripts/worker.py", line 7, in main
teuthology.worker.main(parse_args())
File "/home/teuthworker/src/teuthology_master/teuthology/worker.py", line 83, in main
fetch_qa_suite('master')
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 310, in fetch_qa_suite
branch, lock=lock)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 265, in fetch_repo
enforce_repo_state(url, dest_path, branch)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 84, in enforce_repo_state
clone_repo(repo_url, dest_path, branch)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 133, in clone_repo
raise BranchNotFoundError(branch, repo_url)
BranchNotFoundError: Branch 'master' not found in repo: https://github.com/ceph/ceph-ci.git!
Traceback (most recent call last):
File "/home/teuthworker/src/teuthology_master/virtualenv/bin/teuthology-worker", line 11, in <module>
load_entry_point('teuthology', 'console_scripts', 'teuthology-worker')()
File "/home/teuthworker/src/teuthology_master/scripts/worker.py", line 7, in main
teuthology.worker.main(parse_args())
File "/home/teuthworker/src/teuthology_master/teuthology/worker.py", line 83, in main
fetch_qa_suite('master')
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 310, in fetch_qa_suite
branch, lock=lock)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 265, in fetch_repo
enforce_repo_state(url, dest_path, branch)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 84, in enforce_repo_state
clone_repo(repo_url, dest_path, branch)
File "/home/teuthworker/src/teuthology_master/teuthology/repo_utils.py", line 133, in clone_repo
raise BranchNotFoundError(branch, repo_url)
teuthology.exceptions.BranchNotFoundError: Branch 'master' not found in repo: https://github.com/ceph/ceph-ci.git!
2017-07-15 11:42:17,628.628 ERROR:teuthology.repo_utils:Cloning into '/home/teuthworker/src/github.com_ceph_ceph-c_master'...
warning: Could not find remote branch master to clone.
fatal: Remote branch master not found in upstream origin
Unexpected end of command stream

Actions #6

Updated by Nathan Cutler almost 7 years ago

@Jiang - see comment #3

Actions

Also available in: Atom PDF