Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qa: switch to https protocol for the repo server #49021

Merged
merged 1 commit into from Dec 15, 2022
Merged

Conversation

lxbsz
Copy link
Member

@lxbsz lxbsz commented Nov 23, 2022

Since the git:// is not reachable any more and have switch to https://.

The git archive does not support the https protocol, so we couldn't user the git archive to retrieve the tar ball any more.

Fixes: https://tracker.ceph.com/issues/58290
Signed-off-by: Xiubo Li xiubli@redhat.com

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@lxbsz lxbsz requested a review from a team as a code owner November 23, 2022 05:29
@github-actions github-actions bot added cephfs Ceph File System tests labels Nov 23, 2022
@lxbsz lxbsz changed the title qa: switch git:// to https:// [RFC] qa: switch git:// to https:// Nov 23, 2022
qa/tasks/restart.py Outdated Show resolved Hide resolved
Copy link
Contributor

@mchangir mchangir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we have an array of git protocols in one place and use those to iterate over instead of manual changes all over the place ? Or is this a too naive approach ?

@lxbsz
Copy link
Member Author

lxbsz commented Nov 23, 2022

Could we have an array of git protocols in one place and use those to iterate over instead of manual changes all over the place ? Or is this a too naive approach ?

The git://git.ceph.com doesn't exist any more. If that's also true in future. IMO iterating this makes no sense.

@lxbsz lxbsz changed the title [RFC] qa: switch git:// to https:// [RFC] qa: switch to https protocol for the repo server Nov 24, 2022
@lxbsz lxbsz changed the title [RFC] qa: switch to https protocol for the repo server qa: switch to https protocol for the repo server Nov 24, 2022
qa/tasks/cephfs/xfstests_dev.py Outdated Show resolved Hide resolved
qa/tasks/restart.py Outdated Show resolved Hide resolved
qa/tasks/restart.py Outdated Show resolved Hide resolved
@github-actions
Copy link

github-actions bot commented Dec 6, 2022

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@vshankar
Copy link
Contributor

vshankar commented Dec 8, 2022

jenkins retest this please

@vshankar
Copy link
Contributor

vshankar commented Dec 8, 2022

qa/workunits/suites/fsx.sh Outdated Show resolved Hide resolved
@@ -2,7 +2,7 @@

set -e

git clone git://git.ceph.com/xfstests.git
git clone https://git.ceph.com/xfstests-dev.git
cd xfstests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cd xfstests-dev

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed it. Thanks.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to do the same in qa/run_xfstests-obsolete.sh (install_xfstests function).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@idryomov This change has passed test - can we do your suggested change in another fix pls?

Copy link
Contributor

@idryomov idryomov Dec 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reason it passed is that qa/run_xfstests-obsolete.sh is only used by RBD. If this was intended to be a CephFS-only PR, then just drop the change to qa/run_xfstests-obsolete.sh. I'll fix it myself (there is likely more to it then just cd xfstests-dev) and I'd like to avoid an inter-dependency between PRs when backporting.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the ptl-tool ?

src/script/ptl-tool.py

Copy link
Member Author

@lxbsz lxbsz Dec 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the os issue.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So it sounds like even your CephFS-only test wasn't complete enough...

I wonder where is restart.py being used. I do not see the task as part of fs suite run...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qa/suites/marginal/mds_restart/tasks/restart-workunit-backtraces.yaml ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qa/suites/marginal/mds_restart/tasks/restart-workunit-backtraces.yaml ?

Sure. But what is marginal? I don't seem to running that. @batrick ?

vshankar added a commit to vshankar/ceph that referenced this pull request Dec 12, 2022
* refs/pull/49021/head:
	qa: switch to https protocol for repos' server

Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Dhairya Parmar <dparmar@redhat.com>
@vshankar
Copy link
Contributor

jenkins retest this please

@lxbsz lxbsz force-pushed the git_https branch 2 times, most recently from be0484c to 7ea891e Compare December 12, 2022 11:29
Since the git:// is not reachable any more and have switch to
https://.

The git archive does not support the https protocol, so we couldn't
user the git archive to retrieve the tar ball any more, will split
this into 3 steps:

1, clone the whole ceph repo
2, checkout the commit/tag/branch
3, then change directory to qa/workunits/.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
@vshankar
Copy link
Contributor

jenkins test make check

@vshankar vshankar merged commit b2cd0fe into ceph:main Dec 15, 2022
@badone
Copy link
Contributor

badone commented Dec 15, 2022

Why no tracker for this? Do we have plans to backport this to quincy and pacific as they are both affected?

@lxbsz
Copy link
Member Author

lxbsz commented Dec 16, 2022

Why no tracker for this? Do we have plans to backport this to quincy and pacific as they are both affected?

Created one and will backport this.

@badone
Copy link
Contributor

badone commented Dec 22, 2022

@lxbsz Thanks very much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cephfs Ceph File System tests
Projects
None yet
7 participants