Skip to content

qa/tests: initial checkin for octopus-x tests - #35008

Closed
yuriw wants to merge 1 commit into
ceph:masterfrom
yuriw:wip-yuriw-octopus-x-master
Closed

yuriw wants to merge 1 commit into
ceph:masterfrom
yuriw:wip-yuriw-octopus-x-master

Conversation

@yuriw

@yuriw yuriw commented May 11, 2020

Copy link
Copy Markdown
Contributor

Signed-off-by: Yuri Weinstein [email protected]

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

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 backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@yuriw
yuriw requested a review from jdurgin May 11, 2020 19:03
@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from 2fd51b1 to ce94b76 Compare May 11, 2020 19:05
@yuriw

yuriw commented May 11, 2020

Copy link
Copy Markdown
Contributor Author

@jdurgin disregard splits for now and I removed all workloads, so we can see if we can deploy cluster first, and then we can try to change node assignments and start re-adding all back.

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch 4 times, most recently from 4c743f6 to 4639222 Compare May 11, 2020 23:44
@yuriw
yuriw requested a review from sebastian-philipp May 12, 2020 03:30
@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from 4639222 to 791d324 Compare May 12, 2020 20:28
@yuriw

yuriw commented May 12, 2020 •

Copy link
Copy Markdown
Contributor Author

teuthology@teuthology:~$ CEPH_BRANCH=master; MACHINE_NAME=smithi; teuthology-suite -v -c $CEPH_BRANCH --ceph-repo https://github.com/ceph/ceph.git --suite-repo https://github.com/yuriw/ceph.git -k distro -n 7 -m $MACHINE_NAME -s upgrade/octopus-x/parallel -t master -e $CEPH_QA_EMAIL -p 50 -S 01aea7f7e15f208a7bb740d5267b0b56a220983f --suite-branch wip-yuriw-octopus-x-master -l 1

http://pulpito.ceph.com/teuthology-2020-05-12_22:51:59-upgrade:octopus-x:parallel-master-distro-basic-smithi

@yuriw

yuriw commented May 13, 2020 •

Copy link
Copy Markdown
Contributor Author

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from c16b68c to e50ff57 Compare May 18, 2020 20:33
@yuriw
yuriw requested a review from a team as a code owner May 18, 2020 20:33
@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from e50ff57 to 9bb5988 Compare May 18, 2020 21:25
@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from efe102d to 61fb600 Compare May 19, 2020 15:25
@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch 4 times, most recently from 7e6cacc to 971f4b1 Compare May 20, 2020 16:16
@yuriw

yuriw commented May 20, 2020 •

Copy link
Copy Markdown
Contributor Author

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch 2 times, most recently from 03e67f3 to dd9f476 Compare May 20, 2020 18:44
@yuriw

yuriw commented Jun 2, 2020 •

Copy link
Copy Markdown
Contributor Author

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch 3 times, most recently from 5c9767e to d77ee7c Compare June 3, 2020 22:02
@sebastian-philipp

Copy link
Copy Markdown
Contributor

ping @yuriw how is it going? need help?

@yuriw

yuriw commented Jun 15, 2020

Copy link
Copy Markdown
Contributor Author

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from d77ee7c to 2ce82ed Compare June 15, 2020 16:55
@yuriw

yuriw commented Jun 15, 2020

Copy link
Copy Markdown
Contributor Author

changed in 3-upgrade-sequence/wait.yaml
- ceph versions | jq -e '.overall | length == 1'
- ceph versions | jq -e '.overall | keys' | grep $sha1

Testing http://pulpito.ceph.com/teuthology-2020-06-15_16:57:02-upgrade:octopus-x:parallel-master-distro-basic-smithi/

@djgalloway

Copy link
Copy Markdown
Contributor

Yuri asked me to comment here.

We can start pushing dev container builds to our own quay.ceph.io registry. That'll happen as soon as ceph/ceph-build#1592 is merged.

ceph.git will have to be modified wherever quay.io is hardcoded too.

@sebastian-philipp

Copy link
Copy Markdown
Contributor

Yuri asked me to comment here.

We can start pushing dev container builds to our own quay.ceph.io registry. That'll happen as soon as ceph/ceph-build#1592 is merged.

ceph.git will have to be modified wherever quay.io is hardcoded too.

Which is done by in #35395 by @kshtsk

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from 2ce82ed to 2420da2 Compare June 17, 2020 16:30
@yuriw

yuriw commented Jun 17, 2020

Copy link
Copy Markdown
Contributor Author

@sebastian-philipp

Copy link
Copy Markdown
Contributor

warning. See #35761

@yuriw

yuriw commented Jun 25, 2020 •

Copy link
Copy Markdown
Contributor Author

@sebastian-philipp thx I am rebasing every time (when remember :) ) before rerunning the test

This is a command line I use

CEPH_BRANCH=master; MACHINE_NAME=smithi; teuthology-suite -v -c $CEPH_BRANCH --ceph-repo https://github.com/ceph/ceph.git --suite-repo https://github.com/yuriw/ceph.git -k distro -m $MACHINE_NAME -s upgrade/octopus-x/parallel -t master -e $CEPH_QA_EMAIL -p 50 --suite-branch wip-yuriw-octopus-x-master -l 1

I need to be able to specify -S for SHA1 from https://quay.ceph.io/repository/ceph-ci/ceph?tab=tags
I tried after @jdurgin suggested but it did not work.

@sebastian-philipp @jdurgin suggestions ?

thiis last run http://pulpito.ceph.com/teuthology-2020-06-24_17:06:17-upgrade:octopus-x:parallel-master-distro-basic-smithi/

@sebastian-philipp

Copy link
Copy Markdown
Contributor
2020-06-24T17:27:06.750 INFO:teuthology.orchestra.run.smithi001.stderr:DEBUG:cephadm:Running command: /usr/bin/docker pull quay.ceph.io/ceph-ci/ceph:2a9a479f35c974c41e5916ad6a8669bf57f37b98
2020-06-24T17:27:11.749 INFO:teuthology.orchestra.run.smithi001.stderr:DEBUG:cephadm:/usr/bin/docker:stderr Error response from daemon: manifest for quay.ceph.io/ceph-ci/ceph:2a9a479f35c974c41e5916ad6a8669bf57f37b98 not found: manifest unknown: manifest unknown
2020-06-24T17:27:11.754 INFO:teuthology.orchestra.run.smithi001.stderr:INFO:cephadm:Non-zero exit code 1 from /usr/bin/docker pull quay.ceph.io/ceph-ci/ceph:2a9a479f35c974c41e5916ad6a8669bf57f37b98
2020-06-24T17:27:11.754 INFO:teuthology.orchestra.run.smithi001.stderr:INFO:cephadm:/usr/bin/docker:stderr Error response from daemon: manifest for quay.ceph.io/ceph-ci/ceph:2a9a479f35c974c41e5916ad6a8669bf57f37b98 not found: manifest unknown: manifest unknown

hm. sounds familiar to ceph/ceph-build#1603

@yuriw
yuriw force-pushed the wip-yuriw-octopus-x-master branch from a8a9b58 to 38ab785 Compare June 26, 2020 19:21
@sebastian-philipp

Copy link
Copy Markdown
Contributor

from the run:

2020-06-26T19:41:44.164 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 93, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 1194, in task
    lambda: ceph_clients(ctx=ctx, config=config),
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 55, in nested
    raise exc[1]
  File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 1079, in initialize_config
    yield
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 31, in nested
    vars.append(enter())
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 615, in ceph_osds
    assert devs   ## FIXME ##
AssertionError

Looks as if one of the remotes doesn't have "scratch" devices?

teuthology.get_scratch_devices(remote)

is empty here.

@yuriw

yuriw commented Jun 27, 2020

Copy link
Copy Markdown
Contributor Author

#35808

@yuriw

yuriw commented Jun 27, 2020

Copy link
Copy Markdown
Contributor Author

This PT to be closed !

@djgalloway

Copy link
Copy Markdown
Contributor

from the run:

2020-06-26T19:41:44.164 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 93, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 1194, in task
    lambda: ceph_clients(ctx=ctx, config=config),
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 55, in nested
    raise exc[1]
  File "/usr/lib/python3.6/contextlib.py", line 99, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 1079, in initialize_config
    yield
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 31, in nested
    vars.append(enter())
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/github.com_yuriw_ceph_wip-yuriw-octopus-x-master/qa/tasks/cephadm.py", line 615, in ceph_osds
    assert devs   ## FIXME ##
AssertionError

Looks as if one of the remotes doesn't have "scratch" devices?

teuthology.get_scratch_devices(remote)

is empty here.

It shouldn't have been. The machine locked two smithis.

2020-06-26T19:39:00.842 INFO:tasks.cephadm:Deploying OSDs...
2020-06-26T19:39:00.852 DEBUG:teuthology.orchestra.remote:smithi079:/scratch_devs is 72B
2020-06-26T19:39:00.905 DEBUG:teuthology.misc:devs=['/dev/vg_nvme/lv_1', '/dev/vg_nvme/lv_2', '/dev/vg_nvme/lv_3', '/dev/vg_nvme/lv_4']
2020-06-26T19:39:00.906 INFO:teuthology.orchestra.run.smithi079:> stat /dev/vg_nvme/lv_1 && sudo dd if=/dev/vg_nvme/lv_1 of=/dev/null count=1 && ! mount | grep -q /dev/vg_nvme/lv_1

...

2020-06-26T19:39:01.118 DEBUG:teuthology.orchestra.remote:smithi164:/scratch_devs is 72B
2020-06-26T19:39:01.168 DEBUG:teuthology.misc:devs=['/dev/vg_nvme/lv_1', '/dev/vg_nvme/lv_2', '/dev/vg_nvme/lv_3', '/dev/vg_nvme/lv_4']
2020-06-26T19:39:01.169 INFO:teuthology.orchestra.run.smithi164:> stat /dev/vg_nvme/lv_1 && sudo dd if=/dev/vg_nvme/lv_1 of=/dev/null count=1 && ! mount | grep -q /dev/vg_nvme/lv_1

@stale

stale Bot commented Aug 29, 2020

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@stale stale Bot added the stale label Aug 29, 2020
@sebastian-philipp

Copy link
Copy Markdown
Contributor

unstale

@stale stale Bot removed the stale label Dec 8, 2020
@yuriw yuriw closed this Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants