Project

General

Profile

Bug #18384

Cannot clone ceph/s3-tests.git (missing branch)

Added by Nathan Cutler 11 months ago. Updated 8 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
-
Target version:
-
Start date:
01/02/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
hammer,jewel,kraken
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Release:
Needs Doc:
No

Description

s3tests task fails due to missing branch name (consequence of the recent migration of ceph-qa-suite.git into ceph.git)

2017-01-02T17:22:23.402 INFO:teuthology.run_tasks:Running task s3tests...
2017-01-02T17:22:23.449 DEBUG:tasks.s3tests:s3tests config is {'client.0': {'rgw_server': 'client.0', 'slow_backend': True}}
2017-01-02T17:22:23.451 INFO:tasks.s3tests:Downloading s3-tests...
2017-01-02T17:22:23.453 INFO:tasks.s3tests:Using branch 'wip-hammer-backports' for s3tests
2017-01-02T17:22:23.455 INFO:teuthology.orchestra.run.smithi065:Running: 'git clone -b wip-hammer-backports git://git.ceph.com/git/s3-tests.git /home/ubuntu/cephtest/s3-tests'
2017-01-02T17:22:23.463 INFO:teuthology.orchestra.run.smithi065.stderr:Cloning into '/home/ubuntu/cephtest/s3-tests'...
2017-01-02T17:22:23.514 INFO:teuthology.orchestra.run.smithi065.stderr:fatal: Remote branch wip-hammer-backports not found in upstream origin

This was fixed in master by 21160124028ab123b5c547499d911b0a1397214f which adds "force-branch: ceph-master" to the s3tests yaml facets. This forces the s3tests task to use the given branch of ceph/s3-tests.git.

We need "force-branch: ceph-kraken", "force-branch: ceph-jewel", and "force-branch: hammer" for kraken, jewel, and hammer, respectively.


Related issues

Copied to Ceph - Backport #18385: hammer: Cannot clone ceph/s3-tests.git (missing branch) Resolved
Copied to Ceph - Backport #18386: jewel: Cannot clone ceph/s3-tests.git (missing branch) Resolved
Copied to Ceph - Backport #18387: kraken: Cannot clone ceph/s3-tests.git (missing branch) Resolved

History

#1 Updated by Nathan Cutler 11 months ago

  • Subject changed from Cannot clone ceph/s3-tests.git in hammer integration testing (missing branch) to Cannot clone ceph/s3-tests.git (missing branch)
  • Description updated (diff)

#2 Updated by Nathan Cutler 11 months ago

  • Assignee deleted (Nathan Cutler)

I don't know what the "right" fix here is, but the following workaround is available iff the wip branch (argument to --ceph) does not contain any commits that touch qa/tasks or qa/suites:

For wip branches based on hammer:

--ceph wip-hammer-backports --suite-repo https://github.com/ceph/ceph.git --suite-branch hammer

For wip branches based on jewel:

--ceph wip-jewel-backports --suite-repo https://github.com/ceph/ceph.git --suite-branch jewel

For wip branches based on master:

--ceph wip-foo-fix --suite-repo https://github.com/ceph/ceph.git --suite-branch master

#3 Updated by Nathan Cutler 11 months ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • Assignee set to Nathan Cutler
  • Backport set to hammer,jewel,kraken

#4 Updated by Nathan Cutler 11 months ago

  • Status changed from In Progress to Pending Backport

#5 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #18385: hammer: Cannot clone ceph/s3-tests.git (missing branch) added

#6 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #18386: jewel: Cannot clone ceph/s3-tests.git (missing branch) added

#7 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #18387: kraken: Cannot clone ceph/s3-tests.git (missing branch) added

#8 Updated by Nathan Cutler 8 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF